.lang-btn {
    width: 110px !important;
    height: 40px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    background: #015fc6 !important;
    color: rgb(241, 240, 240) !important;
    border-radius: 10px !important;
    border: 1px solid #015fc6 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
    font-family: 'Cairo', sans-serif !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1 !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.lang-btn * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.lang-btn:hover {
    background-color: white !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    color: #015fc6 !important;
    text-decoration: none !important;
}

.lang-btn i {
    font-size: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
}

@media (max-width: 1199px) {
    .lang-btn {
        margin-top: 10px;
        margin-left: 0;
    }
}

.navbar-nav .nav-item.lang-switch {
    margin-left: 15px;
}

@media (max-width: 1199px) {
    .navbar-nav .nav-item.lang-switch {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Professional Image Slider Styles */
.professional-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background: #015fc6;
    margin-bottom: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    opacity: 0;
    /* Remove default animation here */
}

.slide.active .slide-content {
    opacity: 1;
}

.slide-content-animate {
    animation: slideUpFade 1s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translate(-50%, 40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.slide-content h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Cairo', sans-serif;
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #015fc6;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(36, 135, 206, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-btn:hover {
    background: #015fc6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 95, 198, 0.6);
    color: white;
    text-decoration: none;
}

.slider-navigation {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}

.nav-dot:hover {
    background: white;
    transform: scale(1.1);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.slider-arrows:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    right: 30px;
}

.next-arrow {
    left: 30px;
}

.slider-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    z-index: 4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .professional-slider {
        height: 70vh;
    }

    .slide-content h2 {
        font-size: 1.1rem;
    }

    .slide-content p {
        font-size: 0.80rem;
        padding: 0 px;
        max-width: 95vw;
    }

    .slider-arrows {
        width: 40px;
        height: 40px;
    }

    .prev-arrow {
        right: 15px;
    }

    .next-arrow {
        left: 15px;
    }

    .slide-btn {
        display: inline-block;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .slide-content h2 {
        font-size: 1.0rem;
    }

    .slide-content p {
        font-size: 0.7rem;
        padding: 0 0px;
    }

    .slide-btn {
        display: inline-block;
        padding: 3px 5px;
        font-size: 0.5rem;
    }
}

@media (max-width: 991px) {
    .professional-slider {
        margin-top: 0 !important;
    }
}

/* Services Page Styles */
.service-card {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dotted-border {
    border: 2px dotted #d1d5db;
    border-radius: 50%;
    padding: 18px;
    transition: border-color 0.3s, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.service-card:hover .dotted-border {
    border-color: #3b78fc;
    transform: rotate(12deg) scale(1.12);
    box-shadow: 0 4px 16px 0 rgba(37, 99, 235, 0.10);
}

/* Partners Page Styles */
.custom-container {
    max-width: 1200px;
    margin: 0 auto;

}

@media (max-width: 768px) {
    .custom-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

.header-title {
    text-align: center;
    margin-bottom: 40px;
    height: 150px;
    padding-top: 30px;
    background-color: #015fc6;
}

.header-title h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.header-title p {
    color: #f0f6f7;
    font-size: 1.1rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.certificate-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.certificate-image {
    height: 200px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
}

.certificate-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f39c12;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.certificate-content {
    padding: 25px;
    display: flex;


}

.certificate-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.certificate-info {
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.info-item i {
    margin-left: 8px;
    width: 16px;
    color: #3498db;
}

.certificate-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
}

.status-active {
    background: #d5f4e6;
    color: #27ae60;
}

.status-expired {
    background: #fadbd8;
    color: #e74c3c;
}

.view-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: 15px;
}

.view-button:hover {
    background: #2980b9;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.modal-subtitle {
    opacity: 0.9;
}

.close-button {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
}

.modal-body {
    padding: 30px;
}

.modal-info {
    display: grid;
    gap: 15px;
}

.modal-info-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.modal-info-item i {
    margin-left: 12px;
    color: #3498db;
    width: 20px;
}

.modal-info-label {
    font-weight: 600;
    color: #2c3e50;
    margin-left: 10px;
}

.modal-info-value {
    color: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.2rem;
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .header-title h1 {
        font-size: 2rem;
    }

    .custom-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .certificate-card {
        margin: 0 4px;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.certificate-card {
    animation: fadeIn 0.6s ease forwards;
}

.certificate-card:nth-child(1) {
    animation-delay: 0.1s;
}

.certificate-card:nth-child(2) {
    animation-delay: 0.2s;
}

.certificate-card:nth-child(3) {
    animation-delay: 0.3s;
}

.certificate-card:nth-child(4) {
    animation-delay: 0.4s;
}

.certificate-card:nth-child(5) {
    animation-delay: 0.5s;
}

.certificate-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Feedback Page Styles */
:root {
    --primary-color: #015fc6;
    --secondary-color: #1ebe5a;
    --accent-color: #015fc6;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.main-container {
    max-width: 480px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.head-title {
    background: #015fc6;
    padding: 30px 25px;
    text-align: center;
    position: relative;
}

.company-name {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 400;
}

.form-body {
    padding: 30px 25px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    background: white;
    color: var(--text-primary);
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 167, 0.1);
    transform: translateY(-1px);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #16a085 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 190, 90, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
}

.input-icon .form-input {
    padding-left: 45px;
}

.form-footer {
    background: var(--accent-color);
    padding: 20px 25px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}


/* Services Details Page Styles */
.service-img {
    width: 600px;
    height: 420px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 100%;
}

@media (max-width: 768px) {
    .service-img {
        width: 100%;
        height: 180px;
    }

    #service-details {
        flex-direction: column !important;
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .service-img {
        height: 120px;
    }
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    display: none;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    display: none;
}

/* RTL/LTR specific styles */
[dir="rtl"] .lang-toggle {
    right: auto;
    left: 15px;
}

[dir="rtl"] .input-icon i {
    left: auto;
    right: 15px;
}

[dir="rtl"] .input-icon .form-input {
    padding-left: 18px;
    padding-right: 45px;
}

/* Responsive Design */
@media (max-width: 480px) {
    /* body {
            padding: 10px;
        } */

    /* .container {
            margin: 10px auto;
            border-radius: 16px;
        } */

    .header {
        padding: 25px 20px;
    }

    .form-body {
        padding: 25px 20px;
    }

    .company-name {
        font-size: 18px;
    }
}

/* Animation for form appearance */
.container {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}