/* =============================================================
   ITM College — Homepage CSS
   Full Figma-Exact Implementation
   ============================================================= */

/* ---------- Reset / Base ---------- */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Global Side Container as per User Request */
.main-side-container {
    margin-left: 6%;
    margin-right: 6%;
    position: relative;
}

@media (max-width: 768px) {
    .main-side-container {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* ============================================================
   SECTION 1 — HERO SLIDER
   ============================================================ */

/* Slider Wrapper */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #2C3E8B;
    padding-top: 0;
    /* Removed padding to allow header overlap */
}

/* Individual Slide */
.hs-slide {
    position: absolute;
    inset: 0;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    padding: 180px 0 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    z-index: 1;
}

.hs-slide--active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    position: relative;
}

/* Slide Colors per User Request */
.hero-slider .hs-slide:nth-child(2) {
    background-color: #009246;
}

.hero-slider .hs-slide:nth-child(3) {
    background-color: rgba(57, 80, 162, 0.65);
}

/* Slide Inner Grid */
.hs-slide__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    width: 100%;
    gap: 0 40px;
    min-height: calc(100vh - 200px);
    /* Reduced height to pull images up */
}

/* Content — left column */
.hs-slide__content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    padding-bottom: 20px;
}

.hs-slide__heading {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 62px;
    font-weight: 800;
    color: #ffffff;
}

.hs-slide__desc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 36px;
    max-width: 480px;
}

/* CTA Button */
.hs-slide__cta {
    display: inline-block;
    padding: 14px 36px;
    background: #0CAF49;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    align-self: flex-start;
}

.hs-slide__cta:hover {
    background: #09933e;
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

/* Hero Image — right column */
.hs-slide__image-wrap {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.hs-slide__image {
    width: 100%;
    /* max-width: 520px; */
    height: auto;
    display: block;
    object-fit: contain;
    object-position: bottom center;
}

/* Stats Row — left column bottom */
.hs-slide__stats {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding-top: 20px;
    padding-bottom: 40px;
}

.hs-stat {
    padding: 0 36px 0 0;
    position: relative;
}

.hs-stat+.hs-stat {
    padding-left: 36px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.35);
}

.hs-stat__value {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 24px;
    margin-bottom: 14px;
}

.hs-stat__label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 4px;
    display: block;
}

/* Vertical Numbered Pagination */
.hs-pagination {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-350%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hs-pag-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.3s;
}

.hs-pag-item:hover {
    opacity: 0.85;
}

.hs-pag-item--active {
    opacity: 1;
}

.hs-pag-item__num {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    min-width: 22px;
}

.hs-pag-item__track {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hs-pag-item__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.3s, transform 0.3s;
}

.hs-pag-item--active .hs-pag-item__dot {
    opacity: 1;
    transform: scale(1);
}

.hs-pag-item__line {
    width: 28px;
    height: 2px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 2px;
    transition: background 0.3s, width 0.3s;
}

.hs-pag-item--active .hs-pag-item__line {
    background: #ffffff;
    width: 36px;
}


/* ============================================================
   SECTION 2 — WELCOME / ABOUT (Since 2021)
   ============================================================ */

.welcome-section {
    padding: 80px 0;
    background: #f8f8fc;
}

.welcome-section__inner {
    width: 100%;
}

.welcome-section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.welcome-section__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin: 0 0 16px;
}

.welcome-section__desc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    color: #777;
    line-height: 1.8;
    margin: 0;
}

/* 3-column body grid */
.welcome-section__body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 60px;
}

/* LEFT — Since + text + button */
.welcome-section__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.welcome-since {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.welcome-since__label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.welcome-since__year {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: #111;
    line-height: 1;
    letter-spacing: -2px;
}

.welcome-section__text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.welcome-section__btn {
    display: inline-block;
    padding: 13px 32px;
    background: #0CAF49;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.3s;
}

.welcome-section__btn:hover {
    background: #09933e;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* CENTER — Circular student image */
.welcome-section__image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 380px;
    flex-shrink: 0;
}

.welcome-image-circle {
    width: 100%;
    height: 100%;
    background: #2C3E8B;
    border-radius: 160px;
    overflow: hidden;
    position: relative;
    position: relative;
    z-index: 10;
}

.welcome-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Spinning circular text badge */
.welcome-circle-badge {
    position: absolute;
    bottom: 10px;
    right: 85%;
    width: 140px;
    height: 140px;
    z-index: 30;
    /* Place ON TOP of image circle per Figma */
    background: transparent;
    border-radius: 50%;
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); */
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.welcome-circle-badge svg {
    width: 100%;
    height: 100%;
    animation: rotateBadge 12s linear infinite;
}

@keyframes rotateBadge {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Centered static text inside the spinning badge */
.welcome-circle-badge__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    pointer-events: none;
    text-align: center;
}

.welcome-circle-badge__since {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1;
}

.welcome-circle-badge__year {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* RIGHT — 4 stat counters in 2x2 grid */
.welcome-section__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
}

.welcome-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.welcome-stat__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.welcome-stat__icon svg {
    width: 22px;
    height: 22px;
}

.welcome-stat__icon--blue {
    background: #E8EFFF;
}

.welcome-stat__icon--yellow {
    background: #FFF8E1;
}

.welcome-stat__value {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.welcome-stat__label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.82rem;
    color: #888;
    font-weight: 500;
}


/* ============================================================
   SECTION 3 — LEARNING EXPERIENCE (6 Course Cards)
   ============================================================ */

.learning-section {
    padding: 80px 0;
    background: #ffffff;
}

.learning-section__inner {
    width: 100%;
}

.learning-section__head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.learning-section__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #111;
    margin: 0 0 14px;
}

.learning-section__desc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.92rem;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

/* 3-column grid for the 6 cards */
.learning-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* B/* Each card in slider */
.placement-card {
    flex: 0 0 calc(33.333% - 30px);
    /* 3 cards visible */
    margin: 0 15px;
    /* Creates the gap */
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Base card */
.lc-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

/* LightGallery Interaction */
.placement-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.placement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.placement-card__image {
    position: relative;
    overflow: hidden;
}

.placement-card__image img {
    transition: transform 0.5s ease;
}

.placement-card:hover .placement-card__image img {
    transform: scale(1.05);
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.2); */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 5;
}

.video-play-overlay svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.placement-card:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
}

.placement-card:hover .video-play-overlay svg {
    transform: scale(1.1);
}

/* LightGallery Caption Styling override */
.lg-sub-html .lg-caption h4 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

.lg-sub-html .lg-caption p {
    margin: 0;
    color: #ccc;
    font-size: 0.9rem;
}

.lc-card:hover {
    transform: translateY(-6px);
}

.lc-card__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.lc-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.lc-card:hover .lc-card__image img {
    transform: scale(1.05);
}

.lc-card__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 20px 20px 22px;
}

.lc-card__info {
    flex: 1;
}

.lc-card__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.4;
}

.lc-card__desc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    margin: 0;
}

/* Arrow button */
.lc-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    flex-shrink: 0;
    text-decoration: none;
    color: #fff;
    transition: background 0.3s;
}

.explore-button {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lc-card__btn svg {
    width: 16px;
    height: 16px;
}

.lc-card__btn:hover {
    background: rgb(255, 255, 255);
    transform: rotate(45deg);
    color: #000000;
}

/* Color variants */
.lc-card--blue {
    background: #3b82f6;
}

.lc-card--yellow {
    background: #f59e0b;
}

.lc-card--lavender {
    background: #7c3aed;
}

.lc-card--purple {
    background: #8B2FC9;
}

.lc-card--green {
    background: #0CAF49;
}

.lc-card--teal {
    background: #0D9488;
}


/* ============================================================
   SECTION 4 — PLACEMENT / SUCCESS STORIES
   ============================================================ */

.placement-section {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

.placement-section__inner {
    width: 100%;
}

.placement-section__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    gap: 60px;
}

.placement-head__left {
    flex: 0 0 65%;
}

.placement-head__right {
    flex: 1;
}

.placement-section__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.placement-section__title span {
    color: #3950A2;
}

.placement-head__right p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 19px;
    color: #767676;
    line-height: auto;
    margin: 0;
}

/* Slider wrapper — overflow hidden */
.placement-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.placement-slider {
    position: relative;
    width: 100%;
    padding: 0;
}

/* Slider wrapper — clips overflow */
.placement-slider-wrap {
    overflow: hidden;
    margin: 0;
    padding: 0 15px;
}

/* Track — flex row */
.placement-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Student card */
.placement-card {
    flex: 0 0 calc(33.333% - 20px);
    width: 380px;
    height: 480px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
    .placement-card {
        flex: 0 0 calc(50% - 15px);
        width: 340px;
        height: 440px;
        margin: 0 7.5px;
    }

    .placement-track {
        gap: 15px;
    }

    .placement-slider-wrap {
        padding: 0 12px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .placement-card {
        flex: 0 0 100%;
        width: 100%;
        height: 420px;
        margin: 0 10px;
    }

    .placement-track {
        gap: 20px;
    }

    .placement-slider-wrap {
        padding: 0 5px;
        margin: 0 -5px;
    }

    .placement-btn--prev,
    .placement-btn--next {
        width: 40px;
        height: 40px;
        z-index: 20;
    }

    .placement-btn--prev {
        left: 5px;
    }

    .placement-btn--next {
        right: 5px;
    }
}

.placement-card__image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.placement-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PLACED badge */
.placement-card__badge {
    position: absolute;
    top: 20px;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 0 20px 20px 0;
    line-height: 1.1;
}

.placement-card__badge strong {
    display: block;
    font-size: 1.1rem;
    color: #fff;
    line-height: 1;
}

/* Info overlay */
.placement-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.placement-info__label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.7rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
}

.placement-info__value {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.85rem;
    color: #2C3E8B;
    font-weight: 600;
    margin-bottom: 4px;
}

.placement-info__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #eee;
}

.student-name {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: #888;
}

/* Navigation Arrows */
.placement-nav {
    /* Absolute positioning relative to .placement-slider */
}

.placement-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #C7BFEC;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2C3E8B;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.placement-btn:hover {
    background: #2C3E8B;
    border-color: #2C3E8B;
    color: #fff;
}

.placement-btn svg {
    width: 20px;
    height: 20px;
}

.placement-btn--prev {
    left: 0;
}

.placement-btn--next {
    right: 0;
}

.student-role {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.75rem;
    color: #888;
}

/* Overlay card (dark course highlight) */
.placement-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 139, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.overlay-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}


/* ============================================================
   SECTION 5 — HIRING PARTNERS MARQUEE
   ============================================================ */

.partners-section {
    padding: 0;
    background: #fff;
    overflow: hidden;
}

.partners-section__inner {
    width: 100%;
    overflow: hidden;
}

.partners-box {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100px;
    background: #fff;
    border: 1px solid #121212;
    border-radius: 12px;
    margin: 40px 0;
    padding: 0 20px;
    overflow: hidden;
}

/* Left header block */
.partners-box__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 30px;
    border-right: 1.5px solid #e8e8e8;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 140px;
}

.p-count {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #3300CC;
    line-height: 1;
}

.p-label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
}

/* Scrolling logo track */
.partners-box__logos {
    overflow: hidden;
    flex: 1;
    -webkit-mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
    mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-left: 40px;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.p-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 1 !important;
}

.p-logo img {
    display: block;
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    -webkit-filter: grayscale(0) !important;
}


/* ============================================================
/* ============================================================
   SECTION — GALLERY (2-Column Reference Layout)
   ============================================================ */

.gallery-section {
    padding: 80px 0;
    background: #fdfdfd;
}

.gallery-section__inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

/* ── Column wrappers ── */
.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Shared card base ── */
.gallery-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

/* ── Info Card (Blue) ── */
.gallery-card--info {
    background: #2C3E8B;
    color: #fff;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    height: 220px;
}

.gallery-card__tag {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.75;
    margin-bottom: 8px;
    display: block;
}

.gallery-card__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.1;
}

.gallery-card__desc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 20px;
    opacity: 0.88;
}

/* ── Left column image sizes ── */
.gallery-card--left-mid {
    height: auto;
    flex-shrink: 0;
}

.gallery-card--left-bottom {
    flex: 1;
    min-height: 280px;
}

/* ── Right column: large top image ── */
.gallery-card--right-top {
    flex: 1;
    min-height: 280px;
}

/* ── Right column: bottom row (single full-width image) ── */
.gallery-bottom-row {
    height: 360px;
    flex-shrink: 0;
}

.gallery-card--right-bot {
    width: 100%;
    height: 100%;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .gallery-section__inner {
        grid-template-columns: 1fr;
    }

    .gallery-card--info {
        height: auto;
        min-height: 180px;
    }

    .gallery-card--left-mid {
        height: 220px;
    }

    .gallery-card--left-bottom {
        min-height: 240px;
    }

    .gallery-card--right-top {
        min-height: 240px;
    }

    .gallery-bottom-row {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .gallery-bottom-row {
        flex-direction: column;
        height: auto;
    }

    .gallery-card--right-bot {
        height: 200px;
    }
}


/* ============================================================
   SECTION 4 — VIDEO / HIRING PARTNERS
   ============================================================ */

.video-section {
    padding: 80px 0;
    background: #fff;
}

.video-section__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.video-section__header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.video-section__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #111;
    margin: 0 0 14px;
}

.video-section__title span {
    color: #3950A2;
}

.video-section__subtitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

.video-section__player {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Modern responsive aspect ratio control */
}

.video-section__thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #111;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s;
}

.video-play-btn svg {
    width: 26px;
    height: 26px;
    margin-left: 4px;
    /* offset for visual center */
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #0CAF49;
    color: #fff;
}

.video-section__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 5;
    object-fit: cover;
    /* Ensures video fills the 16:9 container perfectly */
}


/* ============================================================
   SECTION 8 — TESTIMONIALS
   ============================================================ */

.testimonials-section {
    padding: 80px 0;
    background: #EBEEF6;
}

section#sec-blogs {
    background-color: #ffffff;
    padding-bottom: 60px;
}

.testimonials-section__inner {
    width: 100%;
}

/* Header row: title left, View All right */
.testimonials-section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 50px;
}

.testimonials-section__head-left {
    max-width: 700px;
}

.testimonials-section__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #111;
    margin: 0 0 12px;
}

.testimonials-section__desc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.testimonials-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    color: #2C3E8B;
    text-decoration: none;
    font-size: 0.9rem;
    background: rgba(44, 62, 139, 0.08);
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.testimonials-view-all:hover {
    background: #2C3E8B;
    color: #fff;
    text-decoration: none;
}

.testimonials-view-all svg {
    width: 16px;
    height: 16px;
}

/* Slider wrapper — clips overflow */
.testimonials-slider-wrap {
    overflow: hidden;
}

/* Track — flex row, each slide 100% width */
.testimonials-track {
    display: flex;
    transition: transform 0.6s ease;
}

/* Each slide */
.testimonial-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    flex: 0 0 100%;
    width: 100%;
    padding-bottom: 20px;
}

/* LEFT — quote content */
.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Restored gap */
}

.testimonial-quote-icon {
    align-self: flex-end;
    width: 60px;
    /* Size of the quote image */
    margin-top: -30px;
    /* Moves the image higher */
    margin-bottom: 0px;
    opacity: 0.15;
    /* Subtle presence */
}

.testimonial-quote-icon img {
    width: 100%;
    height: auto;
    display: block;
    padding-bottom: 100px;
}

.testimonial-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author__name {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #111;
}

.testimonial-author__role {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.8rem;
    color: #888;
}

/* Prev/Next arrows (now positioned below author role) */
.testimonials-nav {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: flex-start;
}

.test-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #C7BFEC;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    color: #2C3E8B;
}

.test-nav-btn svg {
    width: 16px;
    height: 16px;
}

.test-nav-btn:hover {
    background: #2C3E8B;
    border-color: #2C3E8B;
    color: #fff;
}

/* RIGHT — student photo */
.testimonial-photo {
    width: 100%;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
}

.testimonial-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


/* ============================================================
   SECTION 9 — OET ONLINE COACHING BANNER
   ============================================================ */

.oet-section {
    padding: 80px 0;
    background: #fff;
}

.oet-section__inner {
    width: 100%;
    background: linear-gradient(to bottom, #ffffff 80%, #3950A2 180%);
}

.oet-banner {
    background: #f8f8fc;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    overflow: hidden;
    min-height: 340px;
    padding: 60px 60px 0 60px;
    gap: 30px;
}

.oet-banner__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 60px;
}

.oet-banner__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin: 0;
}

.oet-banner__title span {
    color: #0CAF49;
}

.oet-banner__desc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
    max-width: 420px;
}

.oet-banner__trust {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
}

.oet-banner__btn {
    display: inline-block;
    padding: 13px 28px;
    background: #0CAF49;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    align-self: flex-start;
}

.oet-banner__btn:hover {
    background: #09933e;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.oet-banner__image {
    align-self: flex-end;
}

.oet-banner__image img {
    max-height: 320px;
    width: auto;
    object-fit: contain;
}

/* ============================================================
   SECTION 5 — LEARNING EXPERIENCE
   ============================================================ */

.learning-section {
    padding: 100px 0;
    background: #ffffff;
}

.learning-section__inner {
    width: 100%;
    text-align: center;
}

.learning-section__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
}

.learning-section__desc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.learning-card {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.learning-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.learning-card__image {
    height: 280px;
    overflow: hidden;
}

.learning-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.learning-card:hover .learning-card__image img {
    transform: scale(1.08);
}

.learning-card__body {
    padding: 30px;
    position: relative;
    flex: 1;
    color: #fff;
    min-height: 200px;
}

.learning-card--healthcare .learning-card__body {
    background: #56A8CB;
}

.learning-card--ai .learning-card__body {
    background: #D59411;
}

.learning-card--logistics .learning-card__body {
    background: #7A699B;
}

.learning-card__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.learning-card__text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

.learning-card__circle-btn {
    width: 44px;
    height: 44px;
    background: #fff;
    color: #2C3E8B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 25px;
    right: 25px;
    transition: all 0.3s;
}

.learning-card__circle-btn svg {
    width: 20px;
    height: 20px;
}

.learning-card:hover .learning-card__circle-btn {
    background: #2C3E8B;
    color: #fff;
    transform: rotate(-45deg);
}

@media (max-width: 1000px) {
    .learning-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .learning-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   SECTION 6 — OET SECTION (Video Layout)
   ============================================================ */

.oet-section {
    padding: 50px 0;
    background: #fdfdfd;
}

.oet-section__inner {
    width: 100%;
}



.oet-content-bottom {
    text-align: left;
    padding-left: 0;
}

.oet-subtitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 36px;
    line-height: 120px;
    width: 35%;
    text-align: center;
    color: #333;
    display: block;
    margin-bottom: 20px;
}

.textarea-custom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 48px;
}

.oet-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 86px;
    font-weight: 700;
    color: #111;
    line-height: 93px;
}

.oet-title span {
    color: #3950A2;
}

.textarea-custom p {
    font-size: 18px;
    line-height: 28px;
    width: 50%;
}

.ct-img-sec {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 80px;
}

.ct-img-sec img {
    height: auto;
}

.ct-apply {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
}

.ct-img-sec h3 {
    font-size: 28px;
    line-height: auto;
    color: #3950A2;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ct-apply a {
    padding: 15px 25px;
    color: #ffffff;
    background-color: #009246;
    border-radius: 49px;
    font-size: 26px;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ct-apply a:hover {
    background-color: #0CAF49;
}

.blogs-section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.blogs-section__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
}

.blogs-section__inner {
    width: 100%;
}

.blogs-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.blogs-section__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #111;
    margin: 0 0 16px;
}

.blogs-section__subtitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 28px;
    margin: 0;
    max-width: 500px;
}

.blogs-section__grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 48px;
}

.blogs-section__side {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.blog-card {
    transition: all 0.4s ease;
}

/* Featured Blog */
.blog-card--featured {
    background: transparent;
    border: none;
    border-radius: 0;
}

.blog-card--featured .blog-card__image {
    height: 360px;
    border-radius: 24px;
    margin-bottom: 24px;
}

.blog-card--featured .blog-card__body {
    padding: 0;
}

.blog-card--featured .blog-card__title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Side Blogs (No background, list style) */
.blog-card--side {
    display: flex;
    gap: 20px;
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 30px;
}

.blog-card--side .blog-card__image {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 12px;
}

.blog-card--side .blog-card__body {
    padding: 0;
}

.blog-card--side .blog-card__date {
    display: block;
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 5px;
}

.blog-card--side .blog-card__title {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card--side .blog-card__desc {
    font-size: 0.85rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
}

.blog-card__image {
    position: relative;
    overflow: hidden;
    background: #eee;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.06);
}

.blog-card__date {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #999;
}

.blog-card__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #111;
    font-weight: 800;
    margin: 0;
    transition: color 0.3s;
}

.blog-card--side .blog-card__title {
    font-size: 1.05rem;
    line-height: 1.4;
}

.blog-card:hover .blog-card__title {
    color: #2C3E8B;
}

.blog-card__desc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* ============================================================
   SECTION 11 — JOIN US (Glow Design)
   ============================================================ */

.join-section {
    padding: 140px 0;
    background: #000;
    /* Pitch Black as per Figma */
    position: relative;
    overflow: hidden;
    text-align: center;
}

.join-section__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(12, 175, 73, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    /* Green glow */
    pointer-events: none;
    z-index: 0;
}

.join-section__inner {
    position: relative;
    z-index: 1;
}

.join-section__title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    margin-bottom: 50px;
    color: #fff;
    line-height: 1.1;
}

.enquire-now-btn {
    display: inline-block;
    padding: 18px 50px;
    background: #0CAF49;
    /* ITM Green */
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(12, 175, 73, 0.3);
}

.enquire-now-btn:hover {
    background: #088E3A;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(12, 175, 73, 0.4);
}

/* ============================================================
   UNIVERSAL HOVER EFFECTS (Figma)
   ============================================================ */

.learning-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.learning-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Circular Arrow Hover (Course Cards & Blogs) */
.lc-btn-circle,
.view-all-circle,
.gallery-btn-circle,
.blogs-view-all__icon {
    transition: background 0.3s, transform 0.3s;
}

.learning-card:hover .lc-btn-circle,
.testimonials-view-all:hover .view-all-circle,
.blogs-view-all:hover .blogs-view-all__icon {
    background: #6C63FF;
    /* Figma Purpleish tint */
    color: #fff;
    transform: rotate(45deg);
}

/* Redefine Blog View All per Figma */
.blogs-view-all {
    background: transparent;
    border: 2px solid #2C3E8B;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #2C3E8B;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    transition: all 0.3s;
}

.blogs-view-all:hover {
    background: #2C3E8B;
    color: #fff;
    text-decoration: none;
}

/* Redefine Testimonials View All */
.testimonials-view-all {
    background: transparent;
    border: 2px solid #2C3E8B;
    padding: 8px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.view-all-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(44, 62, 139, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.testimonials-view-all:hover .view-all-circle {
    background: #2C3E8B;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 1024px) {
    .blogs-section__inner {
        padding: 0;
    }

    .blogs-section__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .blogs-section__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blogs-section__side {
        gap: 24px;
    }

    .blog-card--featured .blog-card__image {
        height: 300px;
        margin-bottom: 20px;
    }

    .blog-card--side {
        gap: 18px;
        margin-bottom: 24px;
    }

    .blog-card--side .blog-card__image {
        width: 180px;
        height: 130px;
    }

    .welcome-section__body {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .gallery-section__inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .hs-slide__inner {
        gap: 0 30px;
    }

    .placement-btn--prev {
        left: 10px;
    }

    .placement-btn--next {
        right: 10px;
    }

    .learning-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-slide {
        gap: 40px;
        padding-bottom: 20px;
    }

    .oet-banner {
        padding: 50px;
        min-height: 300px;
    }
}

@media (max-width: 768px) {

    /* ---- Hero Slider ---- */
    .hs-slide {
        padding: 100px 0 0;
        min-height: calc(100vh - 80px);
    }

    .hs-slide__inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 30px 0;
        min-height: auto;
    }

    .hs-slide__content {
        grid-column: 1;
        grid-row: 1;
        padding-right: 0;
        padding-bottom: 0;
        justify-content: flex-start;
    }

    .hs-slide__heading {
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
        margin-bottom: 15px;
    }

    .hs-slide__desc {
        font-size: clamp(0.85rem, 1.2vw, 0.95rem);
        margin-bottom: 24px;
        max-width: 100%;
    }

    .hs-slide__image-wrap {
        grid-column: 1;
        grid-row: 2;
        max-height: 250px;
        margin-bottom: 0;
    }

    .hs-slide__image {
        max-height: 250px;
    }

    .hs-slide__stats {
        grid-column: 1;
        grid-row: 3;
        flex-direction: column;
        gap: 15px;
        padding-top: 0;
    }

    .hs-stat {
        padding: 0 0 15px 0;
    }

    .hs-stat+.hs-stat {
        padding-left: 0;
        border-left: none;
        border-top: 1.5px solid rgba(255, 255, 255, 0.35);
    }

    .hs-pagination {
        right: 20px;
        gap: 20px;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: row;
    }

    .hs-pag-item {
        opacity: 0.6;
    }

    .hs-pag-item__track {
        display: none;
    }

    /* ---- Welcome Section ---- */
    .welcome-section {
        padding: 50px 0;
    }

    .welcome-section__head {
        margin-bottom: 40px;
    }

    .welcome-section__title {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
    }

    .welcome-section__body {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: stretch;
    }

    .welcome-section__left {
        text-align: center;
    }

    .welcome-since__year {
        font-size: 3rem;
    }

    .welcome-section__image-wrap {
        width: 220px;
        height: 300px;
        margin: 0 auto;
    }

    .welcome-image-circle {
        border-radius: 110px;
    }

    .welcome-circle-badge {
        width: 100px;
        height: 100px;
        bottom: 0;
        left: -20px;
    }

    .welcome-section__stats {
        gap: 24px 20px;
    }

    /* ---- Learning Section ---- */
    .learning-section {
        padding: 50px 20px;
    }

    .learning-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Placement cards are now handled by main styles and slider JS */

    /* ---- Placement Section ---- */
    .placement-section {
        padding: 50px 20px;
    }

    .placement-section__head {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    .placement-head__left {
        flex: 1;
    }

    .placement-section__title {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
    }



    .placement-btn svg {
        width: 16px;
        height: 16px;
    }

    /* ---- Partners Section ---- */
    .partners-box {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        gap: 20px;
        padding: 20px;
        margin: 20px 0;
    }

    .partners-box__header {
        border-right: none;
        border-bottom: 1.5px solid #e8e8e8;
        padding: 0 0 15px 0;
        width: 100%;
        min-width: auto;
    }

    .p-count {
        font-size: 1.2rem;
    }

    .partners-box__logos {
        -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
        mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
    }

    .partners-track {
        gap: 40px;
        padding-left: 20px;
    }

    .p-logo img {
        height: 30px;
    }

    /* ---- Gallery Section ---- */
    .gallery-section {
        padding: 50px 20px;
    }

    .gallery-section__inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-card--info {
        padding: 30px;
        height: auto;
        min-height: 200px;
    }

    .gallery-card--left-mid {
        height: 220px;
    }

    .gallery-card--left-bottom {
        min-height: 220px;
    }

    .gallery-card--right-top {
        min-height: 220px;
    }

    .gallery-bottom-row {
        height: 260px;
    }

    .gallery-card__title {
        font-size: 2rem;
    }

    .gallery-card__desc {
        font-size: 0.9rem;
    }

    /* ---- Video Section ---- */
    .video-section {
        padding: 50px 20px;
    }

    .video-section__player {
        max-height: 300px;
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
    }

    .video-play-btn svg {
        width: 22px;
        height: 22px;
    }

    /* ---- Testimonials Section ---- */
    .testimonials-section {
        padding: 50px 20px;
    }

    .testimonials-section__header {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-slide {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 20px;
    }

    .testimonial-photo {
        height: 300px;
    }

    .testimonials-nav {
        justify-content: flex-start;
    }

    /* ---- OET Banner ---- */
    .oet-banner {
        grid-template-columns: 1fr;
        padding: 40px;
        min-height: auto;
        gap: 20px;
    }

    .oet-banner__content {
        padding-bottom: 20px;
    }

    .oet-banner__title {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
    }

    .oet-banner__image {
        align-self: center;
    }

    .oet-banner__image img {
        max-height: 200px;
    }

    /* ---- Learning Grid ---- */
    .learning-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .learning-card__body {
        min-height: 160px;
    }

    /* ---- OET Video Section ---- */
    .oet-video-wrap {
        height: 300px;
    }

    .oet-play-btn {
        width: 70px;
        height: 70px;
    }

    .oet-play-btn svg {
        width: 26px;
        height: 26px;
    }

    /* ---- Blogs Section ---- */
    /* ---- Blogs Section ---- */
    .blogs-section__inner {
        padding: 0 16px;
    }

    .blogs-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
    }

    .blogs-section__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blogs-section__side {
        gap: 20px;
    }

    .blogs-section__title {
        font-size: clamp(1.6rem, 3.5vw, 2.4rem);
        margin-bottom: 10px;
    }

    .blogs-section__subtitle {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .blog-card--featured .blog-card__image {
        height: 280px;
        margin-bottom: 16px;
    }

    .blog-card--featured .blog-card__title {
        font-size: 1.3rem;
    }

    .blog-card--side {
        gap: 16px;
        margin-bottom: 20px;
    }

    .blog-card--side .blog-card__image {
        width: 160px;
        height: 110px;
    }

    .blog-card--side .blog-card__title {
        font-size: 0.95rem;
    }

    .blog-card--side .blog-card__date {
        font-size: 0.75rem;
    }

    /* ---- Welcome & About ---- */
    .welcome-section__title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .welcome-section__desc {
        font-size: 0.9rem;
    }

    .welcome-section__text {
        font-size: 0.85rem;
    }

    .welcome-section__btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    /* ---- Join Section if exists ---- */
    .join-section__title {
        font-size: 2rem;
    }
}

@media (max-width: 540px) {

    /* ---- Hero Slider ---- */
    .hero-slider {
        padding-top: 0;
    }

    .hs-slide {
        padding: 80px 15px 0;
    }

    .hs-slide__heading {
        font-size: clamp(1.2rem, 2.8vw, 2rem);
        margin-bottom: 12px;
    }

    .hs-slide__desc {
        font-size: clamp(0.8rem, 1vw, 0.9rem);
        margin-bottom: 18px;
    }

    .hs-slide__cta {
        padding: 11px 28px;
        font-size: 0.9rem;
    }

    .hs-slide__image-wrap {
        max-height: 200px;
        margin-bottom: 0;
    }

    .hs-slide__image {
        max-height: 200px;
    }

    .hs-slide__stats {
        flex-direction: row;
        gap: 12px;
    }

    .hs-stat {
        padding: 0 18px 0 0;
    }

    .hs-stat+.hs-stat {
        padding-left: 18px;
        border-left: 1.5px solid rgba(255, 255, 255, 0.35);
        border-top: none;
    }

    .hs-stat__value {
        font-size: clamp(1.1rem, 2vw, 1.5rem);
    }

    .hs-stat__label {
        font-size: 0.7rem;
    }

    .hs-pagination {
        right: 10px;
        bottom: 10px;
        gap: 15px;
    }

    .hs-pag-item__num {
        font-size: 0.75rem;
        min-width: 18px;
    }

    .hs-pag-item__dot {
        width: 7px;
        height: 7px;
    }

    /* ---- Welcome Section ---- */
    .welcome-section {
        padding: 40px 15px;
    }

    .welcome-section__head {
        margin-bottom: 30px;
    }

    .welcome-section__title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
        margin-bottom: 12px;
    }

    .welcome-section__desc {
        font-size: 0.85rem;
    }

    .welcome-since__year {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .welcome-since__label {
        font-size: 0.8rem;
    }

    .welcome-section__text {
        font-size: 0.8rem;
    }

    .welcome-section__btn {
        padding: 9px 20px;
        font-size: 0.8rem;
    }

    .welcome-section__image-wrap {
        width: 180px;
        height: 240px;
    }

    .welcome-image-circle {
        border-radius: 90px;
    }

    .welcome-circle-badge {
        width: 80px;
        height: 80px;
        bottom: 5px;
        left: -10px;
    }

    .welcome-section__stats {
        text-align: center;
        justify-items: center;
    }

    .welcome-stat {
        align-items: center;
    }

    .welcome-stat__icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 6px;
    }

    .welcome-stat__icon svg {
        width: 18px;
        height: 18px;
    }

    .welcome-stat__value {
        font-size: 1.4rem;
    }

    .welcome-stat__label {
        font-size: 0.75rem;
    }

    /* ---- Learning Section ---- */
    .learning-section {
        padding: 40px 15px;
    }

    .learning-section__head {
        margin-bottom: 30px;
    }

    .learning-section__title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }

    .learning-section__desc {
        font-size: 0.85rem;
    }

    .learning-cards {
        gap: 16px;
    }

    .lc-card__image {
        height: 180px;
    }

    .lc-card__title {
        font-size: 0.9rem;
    }

    .lc-card__desc {
        font-size: 0.7rem;
    }

    .lc-card__btn {
        width: 32px;
        height: 32px;
    }

    /* ---- Placement Section ---- */
    .placement-section {
        padding: 40px 15px;
        overflow: visible;
    }

    .placement-section__head {
        margin-bottom: 30px;
    }

    .placement-section__title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }

    .placement-head__right p {
        font-size: 0.85rem;
    }

    .placement-card {
        min-height: 300px;
        border-radius: 16px;
    }

    .placement-card__image {
        height: 300px;
    }

    .placement-card__info {
        padding: 10px 12px;
    }

    .placement-info__label {
        font-size: 0.65rem;
    }

    .placement-info__value {
        font-size: 0.75rem;
    }

    .placement-btn--prev,
    .placement-btn--next {
        width: 36px;
        height: 36px;
    }

    .placement-btn--prev {
        left: 5px;
    }

    .placement-btn--next {
        right: 5px;
    }

    /* ---- Partners Section ---- */
    .partners-section {
        padding: 0 15px;
    }

    .partners-box {
        margin: 15px 0;
        padding: 15px;
        border-radius: 8px;
    }

    .partners-box__logos {
        -webkit-mask-image: linear-gradient(to right, transparent, black 25px, black calc(100% - 25px), transparent);
        mask-image: linear-gradient(to right, transparent, black 25px, black calc(100% - 25px), transparent);
    }

    .p-count {
        font-size: 1rem;
    }

    .p-label {
        font-size: 0.7rem;
    }

    .partners-track {
        gap: 30px;
        padding-left: 15px;
    }

    .p-logo img {
        height: 25px;
    }

    /* ---- Gallery Section ---- */
    .gallery-section {
        padding: 40px 15px;
    }

    .gallery-card--info {
        height: auto;
        min-height: 160px;
        padding: 24px 20px;
    }

    .gallery-card--left-mid,
    .gallery-card--left-bottom {
        min-height: 180px;
    }

    .gallery-card--right-top {
        min-height: 180px;
    }

    .gallery-bottom-row {
        height: 210px;
    }

    .gallery-card__title {
        font-size: 1.4rem;
    }

    .gallery-card__desc {
        font-size: 0.8rem;
    }

    /* ---- Video Section ---- */
    .video-section {
        padding: 40px 15px;
    }

    .video-section__title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }

    .video-section__player {
        max-height: 250px;
        border-radius: 16px;
    }

    .video-play-btn {
        width: 50px;
        height: 50px;
    }

    .video-play-btn svg {
        width: 18px;
        height: 18px;
    }

    /* ---- Testimonials Section ---- */
    .testimonials-section {
        padding: 40px 15px;
    }

    .testimonials-section__header {
        margin-bottom: 30px;
    }

    .testimonials-section__title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }

    .testimonials-view-all {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .testimonial-slide {
        gap: 20px;
        padding-bottom: 15px;
        grid-template-columns: 1fr;
    }

    .testimonial-content {
        gap: 12px;
    }

    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .testimonial-author__name {
        font-size: 0.9rem;
    }

    .testimonial-author__role {
        font-size: 0.75rem;
    }

    .testimonial-photo {
        height: 250px;
    }

    .test-nav-btn {
        width: 38px;
        height: 38px;
    }

    /* ---- OET Banner ---- */
    .oet-banner {
        padding: 30px;
        border-radius: 16px;
    }

    .oet-banner__title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }

    .oet-banner__desc {
        font-size: 0.8rem;
        max-width: 100%;
    }

    .oet-banner__trust {
        font-size: 0.75rem;
    }

    .oet-banner__btn {
        padding: 10px 22px;
        font-size: 0.8rem;
    }

    .oet-banner__image img {
        max-height: 150px;
    }

    /* ---- Learning Grid ---- */
    .learning-grid {
        gap: 20px;
    }

    .learning-card__title {
        font-size: 1.1rem;
    }

    .learning-card__body {
        padding: 20px;
        min-height: 140px;
    }

    .learning-card__circle-btn {
        width: 36px;
        height: 36px;
        bottom: 15px;
        right: 15px;
    }

    /* ---- OET Video Section ---- */
    .oet-video-wrap {
        height: 240px;
        border-radius: 20px;
    }

    .oet-play-btn {
        width: 60px;
        height: 60px;
    }

    .oet-play-btn svg {
        width: 22px;
        height: 22px;
    }

    .oet-title {
        font-size: clamp(1.8rem, 4vw, 3rem);
    }

    /* ---- Blogs Section ---- */
    .blogs-section__header {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .blogs-section__title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }

    .blogs-section__subtitle {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .blog-card--featured .blog-card__image {
        height: 220px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .blog-card--featured .blog-card__title {
        font-size: 1.1rem;
    }

    .blogs-view-all {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}