/* About us page styles */

.aboutpage header {
    background: #fff;
    box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.03);
    padding: 15px 0;
}

.aboutpage header.--bg {
    padding: 2px 0;
}

/* Mobile navbar styles for about page */
@media screen and (max-width: 769px) {
    .aboutpage header {
        height: 60px;
        background: #fff;
        box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.03);
        padding: 15px 0;
    }
    
    .aboutpage header.--bg {
        padding: 15px 0;
    }
    
    .aboutpage header ul {
        display: none;
    }
    
    .aboutpage header .btnmenu {
        display: block;
        cursor: pointer;
    }
    
    .aboutpage header .logo {
        width: 180px;
    }
    
    /* Ensure mobile nav dropdown appears correctly on about page */
    .aboutpage .nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: auto;
        z-index: 600;
        background-color: #fff;
        opacity: 0;
        pointer-events: none;
        padding-top: 30px;
        padding-bottom: 30px;
        border-top: 1px solid #eeeeee;
        box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.03);
        transition: .4s;
    }
    
    .aboutpage .nav.active {
        opacity: 1;
        pointer-events: auto;
        transition: .4s;
    }
}

.aboutpage header li a {
    font-family: Inter;
    font-weight: 600;
}

.about__hero_heading {
    color: #FFF;
    font-family: var(--font-family-Font-1, Inter);
    font-size: var(--font-size-36, 36px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--line-height-48, 48px);
    margin-bottom: 20px;
}

.about__hero_subheading {
    color: #FFF;
    font-family: Inter;
    font-size: var(--font-size-16, 16px);
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: var(--item-spacing-25, 35px);
}

.about__hero_subheading_founder {
    font-weight: 600;
}

.about__us_values {
    font-family: Inter !important;
}

.aboutus__values_heading {
    color: #2D3748;
    text-align: center;
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    margin: 40px;
}

.aboutus__values_details {
    margin: 0px !important;
    padding: 0px !important;
}

.aboutus__values_title {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.aboutus__values_title h5 {
    color: var(--BS-Oxford-Blue, var(--color-azure-23, #2D3748));
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: var(--line-height-25, 25px); /* 138.889% */
}

.aboutus__values_mission {
    margin-top: 20px;
}

.about__scabout {
    font-family: Arial, sans-serif;
}

.about__scabout h2 {
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.about__scabout h3 {
    color: var(--BS-Pomegranate, var(--color-red-54, #F04923));
    font-family: var(--font-family-Font-1, Inter);
    font-size: var(--font-size-20, 20px);
    font-style: normal;
    font-weight: var(--font-weight-600, 600);
    line-height: var(--line-height-27_3, 27.3px); 
}

.about__scabout_text1 strong{
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.about__team {
    margin-top: 80px;
    margin-bottom: 80px;
}

.about__team h1 {
    color: #2D3748;
    text-align: center;
    font-family: var(--font-family-Font-1, Inter);
    font-size: var(--font-size-36, 36px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--line-height-48, 48px);
}

.about__teamwrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.about__team_member:hover .about__team_bio {
    display: block;
}

.about__team_member {
    font-family: Inter;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: #F4F8FA;
    box-shadow: 0 2px 8px 0 rgba(16, 78, 161, 0.25);
    position: relative;
    overflow: hidden;
    min-height: 450px; /* Set fixed height to maintain card size */
    transition: all 0.4s ease;
}

.about__team_member:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: rgba(45, 55, 72, 0.85);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about__team_details {
    transition: all 0.3s ease;
    opacity: 1;
}

.about__team_bio {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #F4F8FA;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
    text-align: left;
    z-index: 3;
    transform: translateY(30px);
}

.about__team_bio p {
    color: #2D3748;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
}

.about__team_bio h3 {
    color: #2D3748;
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.about__team_linkedin {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.about__team_member:hover .about__team_details {
    opacity: 0;
    pointer-events: none;
}

.about__team_member:hover .about__team_bio {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Show dark overlay on hover */
.about__team_member:hover:before {
    opacity: 1;
}

/* Card lift effect on hover */
.about__team_member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(16, 78, 161, 0.4);
}

.about__team_member {
    font-family: Inter;
    text-align: center;
    padding: 20px;
    border-radius: 12px var(--opacity-80, 12px) 12px 12px;
    background: var(--color-grey-97, #F4F8FA);
    box-shadow: 0 2px 8px 0 rgba(16, 78, 161, 0.25);
}

.about__team_img {
    max-height: 340px;
    max-width: 340px;
}

.about__team_name {
    text-align: center;
    font-family: Inter;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    color: #2D3748;
    margin-top: 10px;
    margin-bottom: 10px;
}

.about__team_position {
    color: #104EA1;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}



.about__footer {
    margin-top: 180px !important;
    display: block;
    flex-basis: 100%;
    width: 100%;
}


.cta-banner {
    position: relative;
}

.cta-banner-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.cta-banner-text {
    position: relative;
    z-index: 2;
    color: white;
    font-family: Inter;
}

.cta-banner-text h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-banner-text h6 {
    font-size: 14px;
}

.about__footer_btn {
    font-family: Inter;
}

@media screen and (max-width: 480px) {
    .about__footer_btn {
        margin-left: 25px;
    }
}