/*=========================================
    Hero Section
=========================================*/

.academy-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding: 140px 0 60px;
    overflow: hidden;
    /* margin-top: 52px; */

    background:
        linear-gradient(
            90deg,
            rgba(9, 9, 9, 0.45) 0%,
            rgba(9, 9, 9, 0.2) 35%,
            rgba(9, 9, 9, 0.08) 100%
        ),
        url("../images/academy_hero_banner.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.academy-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

/*=========================================
    Hero Badge
=========================================*/

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 22px;
    margin-bottom: 24px;

    border: 1px solid var(--color-border);
    border-radius: 50px;

    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);

    color: var(--color-primary);

    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);

    letter-spacing: 2px;
    text-transform: uppercase;
}

/*=========================================
    Hero Title
=========================================*/

.hero-title {
    margin-bottom: 28px;
    font-family: var(--font-heading);
    font-size: clamp(42px, 4vw, 72px);
    font-weight: var(--fw-bold);
    line-height: 1.1;
    color: var(--color-text);
}

.hero-title span {
    color: var(--color-primary);
}

/*=========================================
    Hero Description
=========================================*/

.hero-description {
    max-width: 580px;
    margin-bottom: 40px;
    color: var(--color-text-light);
    font-size: var(--fs-lg);
    font-weight: var(--fw-regular);
    line-height: 1.8;
}

/*=========================================
    Hero Buttons
=========================================*/

.hero-buttons-academy {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/*=========================================
    Primary Button
=========================================*/

.btn-gold {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    background: var(--color-primary);
    color: var(--color-bg);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: var(--transition);
}

.btn-gold:hover {
    color: var(--color-bg);
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(212, 175, 55, 0.35);
}

/*=========================================
    Outline Button
=========================================*/

.btn-outline-gold {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 36px;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    transform: translateY(-3px);
}

/*=========================================
    Responsive
=========================================*/

@media (max-width: 991px) {
    .academy-hero {
        min-height: auto;
        padding: 130px 1rem 80px;
        background-position: 72% center;
    }

    .hero-content {
        max-width: 560px;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-description {
        max-width: 500px;
        font-size: var(--fs-md);
    }
}

@media (max-width: 767px) {
    .academy-hero {
        display: flex;
        align-items: flex-start;

        min-height: 760px;

        padding: 110px 0 60px;

        /* Push the model further right */
        background-position: 78% center;

        background-size: cover;
    }

    .hero-content {
        max-width: 100%;
        margin: 50px auto;
    }

    .hero-badge {
        padding: 9px 18px;
        font-size: 12px;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .hero-title {
        max-width: 320px;
        font-size: 46px;
        line-height: 1.08;
        margin-bottom: 18px;
    }

    .hero-description {
        max-width: 320px;
        font-size: 17px;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .hero-buttons-academy {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .btn-gold,
    .btn-outline-gold {
        width: 100%;

        justify-content: center;
    }

    /* .academy-hero .container {
        padding-left: 24px;
        padding-right: 24px;
    } */

    .hero-title,
    .hero-description {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .academy-hero {
        min-height: 700px;

        padding: 100px 0 50px;

        /* Move the model even further right */
        background-position: 68% center;
    }

    .hero-badge {
        font-size: 11px;

        padding: 8px 16px;
    }

    .hero-title {
        max-width: 280px;

        font-size: 42px;
    }

    .hero-description {
        max-width: 290px;

        font-size: 16px;
    }
}

/*=========================================
 Academy Highlights
=========================================*/

.academy-highlights {
    padding: 36px 0px 0px 0px;
}

.academy-highlights {
    position: relative;
    margin-top: -40px;
    z-index: 10;
}

.highlight-wrapper {
    /* background: rgba(15, 15, 15, 0.96); */

    backdrop-filter: blur(18px);

    border: 1px solid rgba(212, 175, 55, 1);

    border-radius: 18px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(212, 175, 55, 0.08);
}

.highlight-item {
    height: 100%;

    padding: 28px 22px;

    text-align: center;

    border-right: 1px solid rgba(212, 175, 55, 0.18);

    transition: var(--transition);
}

.highlight-item:hover {
    background: rgba(212, 175, 55, 0.05);

    transform: translateY(-6px);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);

    color: var(--color-primary);
    font-size: 24px;
}

.highlight-item h4 {
    color: var(--color-text);
    font-size: 18px;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    line-height: 1.35;
}

.highlight-item p {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 991px) {
    .academy-highlights {
        padding: 36px 0px 0px 0px;
    }

    .highlight-item {
        border-right: none;

        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    }

    .highlight-item.border-0 {
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    .academy-highlights {
        margin-top: -70px;
    }

    .highlight-item {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .academy-highlights {
        padding: 0px 16px;
    }

    .highlight-wrapper {
        padding: 0;
        border-radius: 18px;
        overflow: hidden;
    }

    .highlight-wrapper .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }

    .highlight-wrapper .col-md-6 {
        width: 50%;
    }

    .highlight-item {
        padding: 22px 15px;
        min-height: 200px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;

        border-right: 1px solid rgba(212, 175, 55, 0.12);
        border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    }

    /* Remove right border from every 2nd card */
    .highlight-wrapper .col-md-6:nth-child(even) .highlight-item {
        border-right: none;
    }

    /* Remove bottom border from last row */
    .highlight-wrapper .col-md-6:nth-child(3) .highlight-item,
    .highlight-wrapper .col-md-6:nth-child(4) .highlight-item {
        border-bottom: none;
    }

    .highlight-icon {
        width: 52px;
        height: 52px;
        margin: 0 auto 14px;
    }

    .highlight-icon i {
        font-size: 22px;
    }

    .highlight-item h4 {
        font-size: 15px;
        line-height: 1.35;
        margin-bottom: 10px;
    }

    .highlight-item p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 0;
    }
}

@media (max-width: 380px) {
    .highlight-item {
        padding: 18px 12px;
        min-height: 180px;
    }

    .highlight-item h4 {
        font-size: 14px;
    }

    .highlight-item p {
        font-size: 12px;
    }

    .highlight-icon {
        width: 46px;
        height: 46px;
    }
}

/*=====================================
    COURSES
=====================================*/

.academy-courses {
    background: var(--bg-section);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 60px;
    gap: 20px;
}

.section-subtitle {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
}

.section-title {
    position: relative;
    color: #fff;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -22px;
    width: 118px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #f8d977);
    border-radius: 100px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.course-card {
    background: #111;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 22px;
    overflow: hidden;
    transition: 0.4s;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.18);
}

.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.6s;
}

.course-card:hover img {
    transform: scale(1.08);
}

.course-badge {
    position: absolute;
    left: 18px;
    top: 18px;

    background: linear-gradient(90deg, var(--color-primary), #f4d06f);

    color: #111;
    padding: 6px 13px;

    border-radius: 40px;

    font-size: 0.8rem;
    font-weight: 700;
}

.course-content {
    padding: 28px;
}

.course-content h3 {
    color: #fff;
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.course-content p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 25px;
}

.course-meta {
    display: flex;
    justify-content: space-between;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    padding: 14px 0;
    margin-bottom: 25px;
}

.course-meta span {
    color: #d8d8d8;
    font-size: 0.9rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-footer small {
    color: #888;
}

.course-footer h4 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
}

.btn-gold-sm {
    padding: 12px 22px;
    border-radius: 10px;
    background: var(--color-primary);
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

.btn-gold-sm:hover {
    background: var(--color-primary-light);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.18);
}

.courseSwiper {
    padding: 60px 0px !important;
}

/* Pagination */
.courseSwiper .swiper-pagination {
    position: static;
    margin-top: 35px;
    bottom: 0 !important;
}

/* Default (inactive) dots */
.courseSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.35s ease;
    opacity: 1;
}

.courseSwiper .swiper-pagination-bullet-active {
    width: 28px;
    background: linear-gradient(90deg, #d4af37, #f4d06f);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* =========================================
   POPULAR COURSES GRID
========================================= */

.popular-courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Large Tablets / Small Laptops */
@media (max-width: 1199px) {
    .popular-courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 550px) {
    .popular-courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/*=====================================
    COURSES RESPONSIVE
=====================================*/

@media (max-width: 576px) {
    .academy-courses {
        padding: 50px 24px 0px 24px !important;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 35px;
    }

    .section-title {
        font-size: 1.7rem;
        line-height: 1.05;
    }

    .section-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .section-header .btn-outline-gold {
        width: auto;
        justify-content: center;
        text-align: center;
        padding: 14px 22px;
    }

    .course-content {
        padding: 22px;
    }

    .course-content h3 {
        font-size: 1.5rem;
    }

    .course-meta {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }

    .course-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .course-footer .btn-gold-sm {
        width: 100%;
        text-align: center;
    }

    .courseSwiper {
        padding-bottom: 50px;
    }
}

@media (min-width: 577px) and (max-width: 991px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/*======================================
    WHY CHOOSE US
======================================*/

.academy-why {
    background: var(--bg-section);
}

.why-image {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.why-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: 0.6s;
}

.why-image:hover img {
    transform: scale(1.05);
}

.why-text {
    color: #aaaaaa;
    line-height: 1.9;
    margin: 36px 0 40px;
}

.gold-text {
    color: var(--color-primary);
}

.why-list {
    row-gap: 22px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #f2f2f2;
    font-size: 1.05rem;
    font-weight: 500;
}

.why-item i {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    color: var(--color-primary);
    font-size: 18px;
    flex-shrink: 0;
    transition: 0.3s;
}

.why-item:hover i {
    background: var(--color-primary);
    color: #111;
    transform: rotate(-10deg);
}

@media (max-width: 991px) {
    .academy-why {
        padding: 70px 24px;
    }

    .why-list {
        margin-top: 30px;
    }

    .why-image {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .why-text {
        margin: 42px 0 38px;
    }

    .why-item {
        justify-content: flex-start;
        font-size: 0.95rem;
    }
}

/*======================================
    Placement Partners
======================================*/

.placement-partners {
    background: var(--bg-section);
    overflow: hidden;
}

.partner-wrapper {
    margin-top: 60px;

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 20px;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.01)
    );

    overflow: hidden;

    padding: 30px 0;
}

.partner-track {
    display: flex;
    align-items: center;
    gap: 70px;

    width: max-content;

    animation: partnerScroll 28s linear infinite;
}

.partner-wrapper:hover .partner-track {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
}

.partner-logo img {
    height: 55px;
    width: auto;

    filter: grayscale(100%) brightness(0.9);

    opacity: 0.75;

    transition: 0.35s;
}

.partner-logo:hover img {
    filter: none;

    opacity: 1;

    transform: scale(1.08);
}

@keyframes partnerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 991px) {
    .placement-partners {
        padding: 70px 24px;
    }
}

@media (max-width: 768px) {
    .partner-track {
        gap: 45px;
    }

    .partner-logo img {
        height: 40px;
    }
    .partner-wrapper {
        padding: 22px 0px;
    }
}

/*======================================
Student Feedback Section 
======================================*/

.student-feedback {
    background: var(--bg-section);
}

.feedbackSwiper {
    padding: 74px 100px 64px 18px;
}

.feedback-card {
    position: relative;

    background: #111;

    border: 1px solid rgba(212, 175, 55, 0.18);

    border-radius: 26px;

    padding: 90px 40px 40px;

    text-align: center;

    transition: 0.4s;
}

/* .feedback-card::before {
    content: "❝";
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 70px;
    color: rgba(212, 175, 55, 0.12);
    line-height: 1;
} */

.feedback-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.18);
}

.student-img {
    position: absolute;
    left: 50%;
    top: -45px;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 5px solid #111;
    object-fit: cover;
}

.stars {
    color: var(--color-primary);
    font-size: 20px;
    margin-bottom: 25px;
}

.feedback-text {
    color: #bdbdbd;
    line-height: 1.9;
    margin-bottom: 30px;
    min-height: 140px;
}

.feedback-card h4 {
    color: #fff;
    margin-bottom: 6px;
}

.feedback-card span {
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* Default (inactive) dots */
.feedbackSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.35s ease;
    opacity: 1;
}

.feedbackSwiper .swiper-pagination-bullet-active {
    width: 28px;
    background: linear-gradient(90deg, #d4af37, #f4d06f);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.feedbackSwiper .swiper-slide {
    width: 380px;
}

/*======================================
    Student Feedback Responsive
======================================*/

/* Large Tablets */
@media (max-width: 991px) {
    .student-feedback {
        padding: 70px 24px;
    }
    .feedbackSwiper {
        padding: 70px 22px 60px;
    }

    .feedbackSwiper .swiper-slide {
        width: 340px;
    }

    .feedback-card {
        padding: 80px 30px 35px;
    }

    .feedback-text {
        min-height: auto;
        line-height: 1.8;
    }
}

/*======================================
    Mobile
======================================*/

@media (max-width: 767px) {
    .feedbackSwiper {
        padding: 65px 15px 55px;
    }

    .feedbackSwiper .swiper-slide {
        width: 100%;
    }

    .feedback-card {
        padding: 70px 25px 30px;

        border-radius: 20px;
    }

    .student-img {
        width: 75px;
        height: 75px;

        top: -38px;

        border-width: 4px;
    }

    .stars {
        font-size: 18px;

        margin-bottom: 18px;
    }

    .feedback-text {
        font-size: 15px;

        line-height: 1.8;

        margin-bottom: 22px;

        min-height: auto;
    }

    .feedback-card h4 {
        font-size: 1.5rem;
    }

    .feedback-card span {
        font-size: 0.9rem;
    }

    .feedbackSwiper .swiper-pagination {
        margin-top: 25px;
    }
}

/*======================================
    Small Mobile
======================================*/

@media (max-width: 480px) {
    .feedbackSwiper {
        padding: 60px 10px 50px;
    }

    .feedback-card {
        padding: 65px 20px 25px;
    }

    .student-img {
        width: 70px;
        height: 70px;

        top: -35px;
    }

    .feedback-text {
        font-size: 14px;

        line-height: 1.7;
    }

    .feedback-card h4 {
        font-size: 1.35rem;
    }

    .feedback-card span {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 70px 1rem;
    }
}

/*==============================
    FAQ
==============================*/

.faq-section {
    background: var(--bg-section);
    overflow: hidden;
}

.section-description {
    max-width: 720px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .section-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-top: 38px;
    }
}

.faq-wrapper {
    /* max-width: 900px; */
    margin: 60px auto 0;
}

.faq-item {
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: #0d0d0d;
    margin-bottom: 18px;
    transition: 0.35s;
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    border: 0;
    background: none;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-question i {
    color: var(--color-text);
    transition: 0.35s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 28px 24px;
    color: var(--color-primary-light);
    line-height: 1.8;
    font-size: 0.96rem;
}

.faq-item.active .faq-answer {
    max-height: 250px;
}

/* Mobile */

@media (max-width: 767px) {
    .faq-question {
        padding: 18px;
        font-size: 1rem;
        text-align: left;
    }

    .faq-answer p {
        padding: 0 18px 18px;
    }
}
