@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

*:not(i) {
    font-family: 'Tajawal', serif !important;
}


.language-switcher {
    display: inline-block;
    position: relative;
    width: 134px;
    height: 33px;
    direction: ltr;
}

.switch-toggle {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background: #E0E0E0; /* Light gray for inactive side */
    border-radius: 16.5px;
    text-decoration: none;
    overflow: hidden;
}

/* Inactive language labels */
.toggle-label.inactive {
    position: absolute;
    width: 67px;
    height: 33px;
    line-height: 33px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #313F76;
    z-index: 1;
    pointer-events: none;
}

.toggle-label.en {
    left: 0;
}

.toggle-label.ar {
    right: 0;
}

/* Thumb (slider) */
.toggle-slider {
    position: absolute;
    top: 0;
    width: 67px;
    height: 33px;
    background: #313F76;
    border-radius: 16.5px;
    transition: left 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-slider .active-lang {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
}

/* Thumb Position */
.language-switcher.en-active .toggle-slider {
    left: 0;
}

.language-switcher.ar-active .toggle-slider {
    left: 67px;
}

/* Ensure the header menubar uses flex layout */
.header__area-menubar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Add transparent blur effect to header */
.transparent-blur {
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Optional border */
}

/* Center container takes available space and centers its content */
.header__area-menubar-center {
    flex: 1;
    text-align: center;
}

/* Navigation links style */
.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 15px; /* Adjust gap between links as needed */
}

.nav-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    height: 47px;
    border-radius: 32px;
    gap: 4px;
    padding: 14px 24px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
    background: transparent; /* Inactive background color, adjust if needed */
    color: #313F76; /* Inactive text color */
}

.nav-links li a:hover {
    background: #313F76; /* Change background on hover */
    color: #fff; /* Change text color on hover */
}

/* Make header sticky with smooth transition */
.header__sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    transition: all 0.3s ease;
}

/* RESPONSIVE HEADER STYLES */
@media (max-width: 991px) {
    .header__area {
        padding: 10px 15px;
    }

    .header__area-menubar {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .header__area-menubar-center {
        order: 2;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .header__area-menubar-left,
    .header__area-menubar-right {
        order: 1;
        flex: 1;
    }

    .header__area-menubar-left {
        text-align: left;
    }

    .header__area-menubar-right {
        text-align: right;
    }

    .nav-links li a {
        width: 90px; /* Slightly reduce width */
        height: 40px; /* Adjust height */
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .header__area-menubar-center {
        display: none;
    }

    .language-switcher {
        width: 120px;
        height: 30px;
    }

    .toggle-label.inactive {
        width: 60px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
    }

    .toggle-slider {
        width: 60px;
        height: 30px;
        border-radius: 15px;
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 480px) {
    .header__area {
        padding: 8px 10px;
    }

    .header__area-menubar-left-logo a img {
        max-width: 140px;
    }

    .header__area-menubar-right {
        flex: none;
    }
}

/* Partners Section Styling */
.partners-section {
    padding: 60px 0;
    text-align: center;
}

.partners-heading {
    margin-bottom: 50px;
    position: relative;
}

.partners-heading h2 {
    font-size: 64px;
    color: #313F76;
    font-weight: 500;
    margin-bottom: 10px;
}

.heading-underline {
    width: 250px;
    height: 4px;
    background-color: #f2b632;
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    top: -5px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.partner-item {
    flex: 0 0 calc(20% - 30px);
    margin: 15px;
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 4px 14px 35px 0 #0E59F214;
    border: 0.5px solid #0E59F23D;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.partner-item:nth-child(5) {
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .partner-item {
        flex: 0 0 calc(33.33% - 30px);
    }
}

@media (max-width: 768px) {
    .partner-item {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 480px) {
    .partner-item {
        flex: 0 0 calc(100% - 30px);
    }
}

.section__linear-background {
    background: linear-gradient(176.01deg, rgba(49, 63, 118, 0.0663) -22.17%, rgba(255, 255, 255, 0.39) 87.75%);
}

.about__one-heading {
    margin-top: 48px;
}

/* Features Section: Flex container to wrap two features per row */
.features-section {
    display: flex;
    flex-wrap: wrap;
    gap: 90px;
    background-color: #fff;
    box-shadow: 4px 17px 40px 0 #00000014;
    border-radius: 56px;
    padding: 56px;
    transform: translateY(-50%);
    position: relative;
    z-index: 9;
    margin-bottom: -100px;
}

/* Individual Feature Box: Flex layout for horizontal icon and text */
.feature-box {
    display: flex;
    align-items: flex-start;
    flex: 1 1 calc(50% - 90px); /* Two per row with gap adjustment */
}

/* Icon Container: Keep icon to the left */
.icon-container {
    flex-shrink: 0;
    margin-right: 20px;
    width: 80px;
    height: 80px;
    background-color: #dcaf27;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon Image: Adjust as needed */
.icon-container img {
    width: 45px;
    height: 45px;

    /*making the image white colored*/
    filter: brightness(0) invert(1);
    object-fit: contain;
}

/* Text Container: Holds title and description */
.text-container {
    flex: 1;
}

/* Title */
.feature-box h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 22px;
    color: #000000;
}

/* Description */
.feature-box p {
    font-weight: 300;
    font-size: 18px;
    color: #656565;
}

@media (max-width: 768px) {
    .feature-box {
        flex: 1 1 100%;
    }

    .features-section {
        transform: translateY(-30%);
    }
}


/*======================================================================
 * Contact Us Area Style
 *======================================================================*/

/* Wrapper with background image + dark overlay */
.contact-us-area {
    background-position: center center;
    background-size: cover;
    background-image: url('/assets/img/contact-us.jpeg'); /* Replace with your actual image path */
    position: relative;
    padding: 80px 0; /* Adjust top/bottom spacing as needed */
    margin: 50px 0;
}

.contact-us-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay with 70% opacity */
    z-index: 1;
}

@media (min-width: 992px) {
    .contact-us-area::after {
        content: "";
        position: absolute;
        top: 0;
        left: 45%;
        width: 55%;
        height: 100%;
        background-color: #53535333; /* Subtle translucent panel */
        backdrop-filter: blur(40px)
    }
}

/* Ensure children are above the overlay */
.contact-us-area > * {
    position: relative;
    z-index: 2;
}

/* Left Column: heading, subheading, details */
.contact-us-left {
    color: #ffffff;
    margin-bottom: 40px;
}

.contact-btn {
    display: inline-block;
    background: var(--primary-color-1); /* Adjust or use your brand color */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-decoration: none;
    font-weight: 500;
}

.contact-us-left h2 {
    max-width: 400px;
    font-weight: 700;
    font-size: 52px;
    color: #fff;
    margin-top: 48px;
    margin-bottom: 42px;
}

.contact-us-left p {
    margin-bottom: 30px;
    opacity: 0.8;
    max-width: 300px;
    font-weight: 300;
    font-size: 22px;
    color: #fff;

}

/* Contact details list (Address, Email, Phone) */
.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-details .icon {
    font-size: 2rem;
    margin-right: 12px;
    color: #f6f6f6; /* Or #fff if you prefer white icons */
}

.contact-details h5 {
    margin-bottom: 5px;
    color: #A1A0A0;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
}

.contact-details p {
    font-weight: 400;
    font-size: 22px;
}

/* Right Column: "Contact Us" heading + form */
.contact-us-right {
    padding: 30px;
    border-radius: 8px;
}

.contact-us-right h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 40px;
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 50px;
    position: relative;
}

.contact-form label {
    display: block;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 24px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    padding-left: 0 !important;
    padding-right: 0;
    border-radius: 0;
    outline: none;
    border: none !important;
    font-size: 22px;
    background-color: transparent !important;
    color: #ffffff !important;
}

/* Add a line element after each input/textarea */
.contact-form .form-group::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.3s ease;
}

/* When input/textarea is focused, target its parent's after element */
.contact-form input:focus + .form-line,
.contact-form textarea:focus + .form-line {
    background-color: #ffffff;
    height: 2px;
}

.contact-form button {
    background: var(--primary-color-1);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 35px; /* Spacing between icons as shown in the photo */
    margin-top: 56px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-icon a:hover {
    opacity: 0.8; /* Subtle hover effect */
}

.social-icon img {
    width: 24px; /* Adjust size to match the photo */
    height: 24px;
    filter: brightness(0) invert(1); /* Makes icons white */
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .contact-us-left {
        margin-bottom: 30px;
    }

    .contact-us-left h2 {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .contact-btn {
        margin-bottom: 15px;
    }

    .contact-us-left h2 {
        font-size: 1.75rem;
    }

    .contact-us-left p {
        max-width: 100%;
    }
}
