html {
    scroll-behavior: smooth;
}

body {
    background: var(--teflie-background-warm) !important;
}

.section-title {
    font-size: 40px;
    font-weight: 550;
    line-height: 120%;
    letter-spacing: 0.5px;
}

/* Banner Section Style */

.hero-banner-container {
    height: 580px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 20.39%, rgba(0, 0, 0, 0) 45%);
}

.hero-banner-content {
    position: relative;
    display: flex;
    padding: 100px 0 70px;
    align-items: end;
    gap: var(--teflie-space-md);
}

.hero-banner-content .hero-banner-text {
    flex: 0 0 60%;
}

.hero-banner-content .hero-banner-accreditation {
    flex: 0 0 40%;
}

.hero-banner .ast-container {
    height: 100%;
}

.hero-banner-title {
    color: var(--teflie-white);
    font-weight: var(--teflie-font-weight-semibold);
    font-size: 56px;
    line-height: 130%;
    letter-spacing: 0.5px;
    margin-bottom: var(--teflie-space-sm);
}

.accreditation-text {
    line-height: 1.5;
    font-size: 16px;
    color: var(--teflie-white);
    margin-bottom: var(--teflie-space-md);
    font-weight: var(--teflie-font-weight-regular);
}

.hero-banner-summary {
    font-size: 18px;
    color: var(--teflie-white);
    font-weight: var(--teflie-font-weight-regular);
    margin-bottom: 0;
    line-height: 1.5;
    letter-spacing: 0;
}

.accreditation-logos {
    display: inline-flex !important;
    align-items: center;
    gap: var(--teflie-space-md);
}

/* .accreditation-logo img {
    max-height: 36px;
    object-fit: contain;
} */

/* Mission Section */

.mission-section {
    padding: 50px 20px;
}

.mission-section .ast-container {
    gap: 20px;
    justify-content: center;
    align-items: center; 
}

.top-container {
    margin-bottom: 25px;
    flex: 1;
}

.top-container .section-title {
    font-size: 32px;
    font-weight: 600;
}

.bottom-container {
    flex: 1;
}

.bottom-container .section-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    color: var(--teflie-navy-blue);
    width: 700px;
    margin: 25px auto 30px;
}

.bottom-container img {
    border-radius: 22px !important;
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Core Value Section */

.core-value-section {
    padding: 50px 20px;
    background-color: var(--teflie-background-vanilla);
}

.core-value-section .ast-container {
    flex-direction: column !important;
    text-align: center;
}

.values-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.value-card {
    background: var(--teflie-white);
    border-radius: 24px;
    padding: 16px 20px 25px;
    text-align: left;
    width: 200px;
    height: 160px;
    box-shadow: 0px 4px 6px 0px #0000000A;
}

.value-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

/* Team Section */

.team-section {
    padding: 50px 20px;
}

.team-section .ast-container {
    display: block !important;
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.team-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.team-tabs button.tab-btn {
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    color: #525252;
    background: var(--teflie-white);
    border: 1px solid #ECE9E1;
}

.team-tabs button.tab-btn:hover {
    border: 1px solid var(--teflie-turquoise);
    background: linear-gradient(0deg, rgba(7, 173, 165, 0.1), rgba(7, 173, 165, 0.1));
    color: #3F3F3F;
    font-weight: 700;
}

.team-tabs button.tab-btn.active {
    border: 1px solid var(--teflie-turquoise);
    background: linear-gradient(0deg, rgba(7, 173, 165, 0.1), rgba(7, 173, 165, 0.1));
    color: #3F3F3F;
    font-weight: 700;
}

.team-grid {
    display: none;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.team-grid.active {
    display: flex;
}

.team-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    height: 400px;
    width: 270px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    background-size: cover;
}

/* .team-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;   
    justify-content: center;
    background: #f3f3f3;
} */

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 20px 0px;
    background: linear-gradient(180deg, rgba(0, 19, 20, 0) 0%, rgba(0, 19, 20, 0.8) 100%);
    backdrop-filter: blur(2px);
    color: var(--teflie-white);
}

.team-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--teflie-white);
}

.team-info p {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.team-info .linkedin-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 25px;
    height: 25px;
}

.team-bio {
    position: absolute;
    inset: 0;
    padding: 30px 20px;
    background: rgb(0 0 0 / 58%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--teflie-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
    z-index: 3;
}

.team-bio h3,
.team-bio h4 {
    color: var(--teflie-white) !important;
}

.team-card:hover .team-bio {
    opacity: 1;
    visibility: visible;
}


/* Video Guide Section */

.video-guide-section {
  background: #ECE9E1;
  padding: 50px 20px;
}

.video-guide-section .video-guide-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: var(--teflie-white);
    border-radius: 40px;
    overflow: hidden;
    width: 640px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 360px;
}

.card-content {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.text-content {
    width: 460px;
}

.card-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--teflie-navy-blue);
}

.card-content p {
    font-size: 16px;
    font-weight: 500;
    color: #2B2D42CC;
}

.card-content .btn {
    width: 210px;
}

/* Career Section */

.career-section {
    padding: var(--teflie-space-xl) 0;
}

.career-section .ast-container {
    display: block;
    border-radius: 24px;
    min-height: 460px;
    background-size: cover !important;
    background-position: right !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
}

.career-section .content-box {
    background: var(--teflie-light-pink);
    padding: 45px 40px;
    border-radius: 16px;
    max-width: 560px;
    margin-left: 10px;
    backdrop-filter: blur(50px);
}

.career-section .content-box h3 {
    font-size: 40px;
    line-height: 120%;
    font-weight: 450;
    color: #3F3F3F;
}

.career-section .content-box p {
    font-size: 18px;
    line-height: 140%;
    font-weight: 500;
    margin: 16px 0 22px;
    color:var(--teflie-navy-blue);
}

.career-section .image-box {
    display: none;
}

/* Grow Section */

.grow-section {
  background: #CCE7E2;
  padding: 60px 0;
}

.grow-section .ast-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 0 40px;
}

.grow-section .image-box,
.grow-section .text-box {
    flex: 1;
}

.grow-section .image-box img {
    border-radius: 24px;
}

.text-box h2 {
    font-size: 40px;
    font-weight: 450;
    margin-bottom: 20px;
    color: #3F3F3F;
}

.text-box p {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
}


@media screen and (max-width:768px) {
    .section-title {
        font-size: 24px !important;
    }
    
    .hero-banner-slider .ast-container,
    .mission-section .ast-container {
        height: 100%;
        padding-left: var(--teflie-space-sm) !important;
        padding-right: var(--teflie-space-sm) !important;
    }

    /* Banner Section Style */

    .hero-banner-container {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-banner-overlay {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 32.15%, rgba(0, 0, 0, 0) 54.38%);
    }
    
    .hero-banner-content {
        flex-direction: column;
        padding: 40px 0 60px;
        justify-content: flex-end;
        height: 100%;
        gap: var(--teflie-space-lg);
        overflow: hidden;
    }
    
    .hero-banner-content .hero-banner-text {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        width: 100%;
    }

    .hero-banner-button .desktop-text {
        display: none;
   }
    
    .hero-banner-content .hero-banner-accreditation {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .hero-banner-title {
        font-size: 32px;
        line-height: 120%;
        margin-bottom: var(--teflie-space-md);
    }

    .rating-image img {
        max-height: 24px;
    }
    
    .accreditation-text {
        font-size: 14px;
        margin-bottom: var(--teflie-space-sm);
    }
    
    .accreditation-logos {
        flex-wrap: wrap;
        gap: var(--teflie-space-sm);
    }
    
    /* .accreditation-logo img {
        max-height: 28px;
    } */

    /* Mission Section */

   .mission-section {
        padding: 40px 0;
        text-align: center;
    }

    .top-container .flight-icon {
        width: 200px;
        height: 55px;
    }

    .bottom-container .section-description {
        width: auto;
        font-size: 14px;
        font-weight: 400;
        text-align: left;
    }

    .bottom-container img {
        height: 310px;
        object-fit: contain;
    }

    /* Core Value Section */

    .values-container {
        gap: 15px;
    }

    .value-card {
        width: calc(50% - 10px) !important;
        padding: 12px 12px 0;
        text-align: center;
        height: 135px;
    }

    .value-card img {
        width: 52px;
        margin-bottom: 0;
    }

    .value-card p {
        font-size: 14px;
        font-weight: 600;
    }

    /* Team Section */

    .team-section {
        padding: 50px 0;
    }

    .team-section .section-title {
        margin-bottom: 30px;
    }

    .team-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        gap: 15px;
    }

    button.tab-btn {
        padding: 8px 12px !important;
        font-size: 16px !important;
        white-space: nowrap;
    }

    .team-grid {
        gap: 1px;
        justify-content: space-between;
    }

    .team-card {
        width: calc(50% - 8px);
        background: transparent;
        height: auto;
        display: flex;
        flex-direction: column;
        border-radius: 0;
    }

    /* .team-card::before {
        content: '';
        position: absolute;
        bottom: 72px;
        left: 0;
        right: 0;
        height: 240px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
        border-radius: 24px;
        pointer-events: none;
        z-index: 1;
    } */

    .team-info {
        padding: 16px 16px 0px;
        position: static;
        padding: 14px 0 0 0;
        background: transparent;
        backdrop-filter: none;
    }

    .team-info h3,
    .team-bio h3 {
        font-size: 16px;
        margin-bottom: 2px;
        color: #3F3F3F !important;
    }

    .team-info p,
    .team-bio p {
        font-size: 15px;
        color: #3F3F3FCC !important;
        margin-bottom: 0;
    }

    .team-info .linkedin-btn {
        position: absolute;
        bottom: 82px;
        right: 12px;
        width: 40px;
        height: 40px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px;
        z-index: 2;
    }

    .team-card img {
        width: 100%;
        height: 210px;
        object-fit: cover;
        border-radius: 24px;
        position: relative;
    }

    .team-info .linkedin-btn img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .team-bio {
        opacity: 1;
        visibility: visible;
        padding: 16px 16px 0px;
        position: static;
        padding: 6px 0 25px 0;
        background: transparent;
        backdrop-filter: none;
        align-items: flex-start;
    }

    /* Video Guide Section */

    .card-content {
        flex-direction: column;
        gap: 5px;
    }

    .text-content {
        width: 100%;
    }

    .card-image img {
        min-height: auto;
    }

    .card-content .btn {
        width: 100%;
    }

    .card-content h3 {
        font-weight: 700;
        font-size: 16px;
        margin-bottom: 5px;
    }

    .card-content p {
        font-size: 14px;
        font-weight: 400;
    }

    /* Carrer Section */

    .career-section .ast-container {
        background-image: none !important;
    }

    .career-section .image-box {
        display: block;
        height: 260px;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        width: 100%;
        border-radius: 24px 24px 0 0 ;
    }

    .career-section .content-box {
        margin-left: 0;
        padding: 16px;
        border-radius: 0 0 24px 24px;
    }

    .career-section .content-box h3 {
        font-size: 24px;
    }

    .career-section .content-box p {
        font-size: 14px;
        font-weight: 400;
    }

    .content-box .join-btn {
        width: 100%;
    }

    .story-card {
        margin: 0 15px;
    }

    /* Grow Section */

    .grow-section .ast-container {
        flex-direction: column-reverse;
    }

    section.grow-section {
        padding: 40px 10px;
    }

    .grow-section .image-box {
        padding: 0 10px;
    }

    .grow-section .image-box {
        padding: 0 10px;
    }

    .text-box h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .text-box p {
        font-size: 16px !important;
        margin-bottom: 20px;
    }

}