:root {
    --primary-blue: #1b51ac;
    --primary-green: #2a9d6f;
    --link-green: #1a7a52;
    --main-color: #2a9d6f;

    --card1-bg: #052a65;
    --card2-light: #3061d1;
    --card2-dark: #001f65;
    --card3-light: #2a9d6f;
    --card3-dark: #005a63;
    --card4-bg: #c81a21;

    --white: #ffffff;
}

.home-v2 {
    overflow-x: clip;
    max-width: 100%;
}

/* ===============================
   GLOBAL BUTTON FIX
================================= */

.btn-success {
    background-color: var(--primary-green) !important;
    border: none !important;
    color: var(--white) !important;
}

.btn-success:hover {
    background-color: #238f63 !important;
    color: var(--white) !important;
}

/* ===============================
   HERO SECTION
================================= */

.section-hero-main {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider .owl-dots {
    display: none !important;
}

/* Full Width Hero */
.hero-section {
    position: relative;
    width: 100%;
    margin-left: 0;
}

/* Background */
.hero-bg {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    overflow: hidden;
}

.hero-slide-image,
.hero-slider .item img,
.hero-slide picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-slide-image,
.hero-slider .item img {
    object-fit: cover;
    object-position: center center;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    align-items: center;          /* 🔥 vertical center */
    justify-content: flex-start;  /* 🔥 left side */

    padding: 0 5%;                /* remove top padding */
}

/* FORCE HERO TEXT WHITE */
.hero-content,
.hero-content h1,
.hero-content p,
.hero-content a {
    color: var(--white) !important;
}

.hero-title {
    font-weight: 700;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
}

.hero-text {
    max-width: 520px;
}

/* Buttons */
.btn-apply {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
}

.btn-apply:hover {
    background-color: #163f88;
    color: var(--white);
}

.btn-programs {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
}

.btn-programs:hover {
    background-color: #238f63;
    color: var(--white);
}
.hero-section {
    position: relative;
    width: 100%;
    margin-left: 0;
    height: 100vh;
    overflow: hidden;
}

.hero-mobile-static .hero-slide {
    width: 100%;
}

.hero-scroll-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    height: 100vh;
    scrollbar-width: none;
}

.hero-scroll-slider::-webkit-scrollbar {
    display: none;
}

.hero-scroll-slider .item,
.hero-scroll-slider .hero-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: 100vh;
}

.hero-slider,
.hero-slider .owl-stage-outer,
.hero-slider .owl-stage,
.hero-slider .owl-item,
.hero-slider .item,
.hero-slide {
    height: 100vh;
}

.hero-content-inner {
    width: 100%;
    max-width: 540px;
}
/* Mobile - show full image */

/* ===============================
   OWL NAVIGATION – ROUNDED + HOVER ONLY
================================= */

.hero-slider .owl-nav {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;

    opacity: 0;                  /* 🔥 hidden by default */
    transition: opacity 0.3s ease;
}

/* Show on hover or keyboard focus */
.hero-section:hover .owl-nav,
.hero-section:focus-within .owl-nav {
    opacity: 1;
}

/* Buttons */
.hero-slider .owl-nav button {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;

    border-radius: 50% !important;

    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4) !important;

    color: #fff !important;
    font-size: 22px !important;

    transition: all 0.3s ease;
}

/* Position */
.hero-slider .owl-nav .owl-prev { left: 40px; }
.hero-slider .owl-nav .owl-next { right: 40px; }

/* Hover effect */
.hero-slider .owl-nav button:hover {
    background: #ffffff !important;
    color: #000 !important;
    transform: translateY(-50%) scale(1.1);
}

/* ===============================
   HERO CARDS SECTION (SEPARATE)
================================= */

/* ===============================
   HERO CARDS SECTION
================================= */

/* ===============================
   HERO CARDS SECTION
================================= */

.section-hero-cards {
    width: 100%;
    margin-left: 0;
    position: relative;
    height: 220px;
    z-index: 1;
}

/* Cards row */
.hero-cards {
    display: flex;
    height: 100%;
}

/* Keep bottom fixed */
.hero-cards .col {
    padding: 0 !important;
    flex: 1;
    display: flex;
    align-items: flex-end;  /* 🔥 bottom locked */
}

/* Card */
.hover-card {
    width: 100%;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2rem;
    color: var(--white) !important;

    transform-origin: bottom;      /* 🔥 anchor at bottom */
    transition: transform 0.3s ease;
}

/* Grow upward without layout shift */
.hover-card:hover {
    transform: scaleY(1.18);  /* 220 → ~260 visually */
}

/* Keep card text fully white */
.hover-card h5,
.hover-card a,
.card-title i,
.hero-cards .card-title-text {
    color: var(--white) !important;
}

/* Card container center alignment */
.hover-card {
    text-align: center;           /* center text */
    align-items: center;          /* center flex children */
}

/* FIXED card-title block */
.card-title {
    display: flex;
    flex-direction: column;       /* stack icon + title vertically */
    align-items: center;          /* center horizontally */
    gap: 10px;
    margin-bottom: 14px;
}

/* Icon */
.card-title i {
    font-size: 1.6rem;
}

/* Remove underline */
.hover-card a {
    text-decoration: none;
}
/* Background Colors */
.card-1 { background: var(--card1-bg); }

.card-2 {
    background: linear-gradient(
        180deg,
        var(--card2-light),
        var(--card2-dark)
    );
}

.card-3 {
    background: linear-gradient(
        180deg,
        var(--card3-light),
        var(--card3-dark)
    );
}

.card-4 { background: var(--card4-bg); }



/* ===============================
   RESEARCH SECTION – FULL WIDTH
================================= */
/* ===============================
   RESEARCH SECTION – MOBILE FIX
================================= */

@media (max-width: 768px) {

    .research-section {
        width: 100%;                /* 🔥 remove 100vw breakout */
        margin-left: 0;             /* prevent horizontal scroll */
        min-height: 55vh;
        padding: 60px 20px;         /* add breathing space */
        text-align: center;
        align-items: center;
    }

    /* Stronger overlay for readability */
    .research-overlay {
        background: linear-gradient(
            180deg,
            rgba(0,0,0,0.8) 0%,
            rgba(0,0,0,0.6) 50%,
            rgba(0,0,0,0.4) 100%
        );
    }

    .research-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .research-tag {
        font-size: 12px;
    }

    .research-text h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .research-text p {
        font-size: 14px;
        line-height: 1.6;
    }

    .research-btn {
        padding: 10px 26px;
        font-size: 14px;
    }
}
.research-section {
    position: relative;

    width: 100%;
    margin-left: 0;

    min-height: 60vh;

    background: url("../../images/Research%20and%20Innovation.webp") no-repeat center center;
    background-size: cover;

    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Overlay */
.research-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.5) 40%,
        rgba(0,0,0,0.2) 100%
    );
    z-index: 1;
}

/* Content */
.research-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
}

/* Tag */
.research-section .research-tag {
    color:#fff;
    font-size: 14px ;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 4px;
}

/* Heading */
.research-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Paragraph */
.research-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

/* 🔥 Rounded Modern Button */
.research-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary-green);
    color: #fff;
    text-decoration: none;
    font-weight: 600;

    border-radius: 50px;   /* 🔥 rounded */
    transition: all 0.3s ease;
}

.research-btn:hover {
    background: #ffffff;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {

    .research-section {
        min-height: 50vh;
        text-align: center;
    }

    .research-content {
        margin: 0 auto;
    }

    .research-text h2 {
        font-size: 28px;
    }
}


/* ===============================
   HERO CARDS – MOBILE FIX
================================= */

@media (max-width: 992px) {

    .section-hero-cards {
        width: 100%;
        margin-left: 0;
        height: auto;
        min-height: 0;
    }

    .hero-cards {
        flex-direction: column;
        height: auto;         /* allow natural height */
    }

    .hero-cards .col {
        align-items: stretch; /* no bottom locking needed */
    }

    .hover-card {
        height: auto;         /* natural height */
        transform: none !important;  /* disable scaling */
        padding: 2rem 1.5rem;
    }

    .hover-card:hover {
        transform: none;      /* no hover animation on mobile */
    }
}


/* ===============================
   ABOUT SECTION
================================= */

.section-about-main {
    position: relative;
}

/* Label */
.about-label {
    background: #ffe600;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    color: rgb(var(--bs-dark-rgb));
}

/* Line after label */
.about-label::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--card4-bg);
    transform: translateY(-50%);
}

/* Stats Wrapper */
.stats-wrapper {
    border: 1px solid #d6deeb;
}

/* Stat Card */
.stat-card {
    display: flex;
    justify-content: space-between;
    padding: 28px;
    background: #ecf0f9;
    border-bottom: 1px solid #d6deeb;
    position: relative;
    transition: all 0.35s ease;
}

.stat-card:last-child {
    border-bottom: none;
}

/* Left Strip */
.stat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    transition: all 0.35s ease;
}

/* Default Accent */
.blue-accent::before {
    background: #1d4ed8;
}

/* Text */
.stat-left h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.stat-left p {
    font-weight: 600;
    margin: 0;
}

.stat-right {
    max-width: 220px;
    color: #4b5563;
}

/* Hover */
.stat-card:hover {
    background: #ffffff;
}

.stat-card:hover::before {
    background: var(--card4-bg);
}

.stat-card:hover .stat-left h3 {
    color: var(--card4-bg);
}

/* Responsive */
@media (max-width: 768px) {
    .stat-card {
        flex-direction: column;
    }

    .stat-right {
        margin-top: 10px;
        max-width: 100%;
    }
}



/* ===============================
   ANNOUNCEMENTS SECTION
================================= */

.section-announcements-main {
    position: relative;
}

/* Title Underline */
.title-line {
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}


/* ===============================
   FEATURED CARD (ANNOUNCEMENT)
================================= */

.featured-card {
    position: relative;
      height:410px !important;
    max-height:410px !important;
    overflow:hidden;
}

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

/* Overlay */
.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Featured Content */
/* Featured Content */
.featured-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;   /* 🔥 Push content to bottom */
    align-items: center;
    padding: 0 40px 50px;        /* 🔥 Add bottom spacing */
    color: var(--white);
}

.section-announcements-main .featured-card {
    color: #ffffff;
}

.section-announcements-main a.text-decoration-none:hover .featured-content h3 {
    color: #ffffff !important;
}

.featured-content h3,
.featured-content h4,
.featured-content small {
    color: #ffffff !important;
}

.featured-content h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

/* ===============================
   SMALL CARDS
================================= */

.small-image img {
    height: 190px;
    object-fit: cover;
}

.small-card {
    background: #ffffff;
    margin-top: -20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    min-height:160px;
}

/* Date Badge */
.date-badge {
    background: var(--primary-green);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 0px;
}

/* Overlap Badge */
.overlap {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {
    .featured-card {
        height: 320px;
    }
}
/* ===============================
   SECTION: ADMISSION VIDEO
================================= */

.section-admission-main {
    position: relative;

    width: 100%;
    margin-left: 0;
    overflow-x: hidden;
}
/* Wrapper */
.admission-content {
    position: relative;
}

/* Image */
.admission-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.1);
}

.admission-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover Zoom */
.admission-image:hover img {
    transform: scale(1.0) !important;
}

/* Play Icon Center */
.play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Play Button */
.play-btn {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

/* Hover */
.play-btn:hover {
    background: #2fa877;
    transform: scale(1.1);
}



/* ===============================
   SECTION: INDUSTRY PARTNERS
================================= */

.section-partners-main {

}

.section-partners-main h2 {
    color: var(--heading-color);
}

.partner-logo {
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect */
.partner-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}


/* ===============================
   SECTION: PROGRAMS
================================= */
.section-programs-main {
    background: #ffffff;
}

/* LEFT aligned title */
.programs-title {
    font-weight: 700;
    text-align: left;
}

/* 3 column layout */
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card */
.program-card {
    position: relative;
    background: #f0f7ff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image */
.program-img {
    line-height: 0;
}

.program-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

/* LABEL positioned between image & body */
.program-label {
    position: absolute;
    right: 20px;              /* moved to right */
    top: 230px;               /* same as image height */
    transform: translateY(-50%);
    background: var(--primary-green);
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Body */
.program-body {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 180px;
}

.program-body p {
    font-size: 14px;
    color: #6c757d;
}

/* Book Icon Bottom Right */
.program-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
    color: var(--primary-green);
}
.read-more {
    margin-top: auto;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--link-green);
    text-decoration: none;
}

.read-more:hover {
    color: #0b5c3e;
}
/* ===============================
   SECTION: RECRUITERS
================================= */

.section-recruiters-main {
    background: #e9e4e1;
}

.recruiter-title {
    font-weight: 700;
    font-size: 38px;
    color: var(--heading-color);
}

/* Logos */
.recruiter-logo {
    max-height: 62px;
    object-fit: contain;
    transition: transform 0.25s ease, filter 0.25s ease;
    /* filter: grayscale(100%); */
}

/* Hover */
.recruiter-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}



/* ===============================
   SECTION: CAMPUS LIFE
================================= */

.section-campus-main {
    background: #ECF0F9;
    width: 100%;
    margin-left: 0;
}

/* Header */
.campus-header {
    max-width: 750px;
    margin: 0 auto;
}

.section-campus-main .section-tag {
    color: #6936EE;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;

    display: inline-block; /* IMPORTANT: makes border fit text */

    border-bottom: 2px solid #6936EE;
    padding-bottom: 4px;

    margin: 0; /* removes default h2 spacing */
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: black;
}

.section-desc {
    color: #6c757d;
}

.section-campus {

    padding: 80px 0;   /* Top & Bottom spacing */
}


.section-header {
    text-align: left;
}

.section-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 15px;
}


/* 90vw container */
.campus-container {
    max-width: 90vw;
    margin: 0 auto;
}

/* Card */
.campus-card {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.campus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* Image */
.campus-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* Bottom Content */
.campus-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    background: #ffffff;
    padding: 16px;
    transition: background 0.3s ease, color 0.3s ease;
}

.campus-content h3 {
    font-weight: 700;
    font-size:18px;
    margin: 0 0 6px; /* reset default h3 margin */
    font-size: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}


.campus-content p {
    font-size: 13px;
    margin-bottom: 0;
    color: #6c757d;
    transition: color 0.3s ease;
}

/* Hover Content */
.campus-card:hover .campus-content {
    background: var(--card4-bg);
}

.campus-card:hover .campus-content h5,
.campus-card:hover .campus-content p {
    color: var(--white);
}
.campus-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.campus-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ===============================
   SECTION: WHY CHOOSE US
================================= */

.section-why-main {
    background: #ffffff;
}

/* Accent text */
.accent-text {
    position: relative;          /* IMPORTANT */
    display: inline-block;       /* So line sticks to text width */
    color: var(--primary-blue);
}.accent-text {
    margin: 0; /* removes default h2 spacing */
    font-size: 0.875rem; /* keeps "small" size (~14px) */
    letter-spacing: 1px;
}

.accent-text::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
    transform: translateY(-50%);
}
/* Underline heading */
.section-heading {
    position: relative;
    color:black;
    padding-bottom: 12px;
}

/* Bigger Vertical Feature Card */
.feature-mini {
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,.05);
    background: #f9fbff;
    transition: all .3s ease;

    padding: 2.2rem;
    min-height: 280px;        /* increase height */

    display: flex;
    flex-direction: column;
    align-items: flex-start;  /* left aligned */
    justify-content: flex-start;
}

/* ICON — Top Left */
.feature-mini i {
    font-size: 22px;
    background: rgba(11,74,139,0.1);
    color: var(--main-color);
    padding: 12px;

    border-radius: 10px;
    margin-bottom: 18px;      /* space below icon */
    transition: all .3s ease;
}

/* TITLE */
.feature-mini .fw-bold {
    font-size: 1.2rem;
    margin-bottom: 10px;

    line-height: 1.3;
    color:var(--body-color);
}

/* TEXT */
.feature-mini p {
    font-size: 15px;
    color: #6c757d;
    margin-bottom: 0;
}

/* Hover */
.feature-mini:hover {
    background: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,.08);
}

.feature-mini:hover i {
    background: var(--main-color);
    color: #ffffff;
}

/* ===============================
   SECTION: TESTIMONIALS
================================= */

.section-testimonials-main {
    background: #ffffff;

}

.testimonial-card {
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,.05);
    background: #f9fbff;
    transition: all .3s ease;
    height: 100%;
}

.testimonial-card:hover {
    background: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,.08);
}

.testimonial-card img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}
/* ===============================
   SECTION: UPCOMING EVENTS
================================= */

.section-upcoming-main {

   margin-bottom: 4rem;
}

.events-container {
    max-width: 90vw;
    margin: 0 auto;
}

/* View All */
.view-all {
    color: var(--link-green);
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

/* Event Card */
.section-upcoming-main .upcoming-carousel .owl-stage {
    display: flex;
}

.section-upcoming-main .upcoming-carousel .owl-item {
    display: flex;
    height: auto;
}

.section-upcoming-main .upcoming-carousel .item {
    display: flex;
    width: 100%;
    height: 100%;
}

.event-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 420px;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* Image */
.event-img {
    position: relative;
    flex-shrink: 0;
    height: 220px;
    overflow: hidden;
}

.event-img img,
.event-img picture {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Date Badge */
.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-green);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
}

.event-date .day {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.event-date .month {
    font-size: 12px;
    letter-spacing: 1px;
}

/* Content */
.event-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.event-content .event-title,
.program-card .program-body h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1b2336;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.1rem * 1.4 * 2);
}

.event-content p,
.program-card .program-body p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-content a {
    margin-top: auto;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--link-green);
    text-decoration: none;
}

@media (max-width: 768px) {
.hero-slider .owl-nav{
    display:none;
}
    .program-grid {
        grid-template-columns: 1fr; /* 1 card per row */
        gap: 20px;
    }

    .program-img img {
        height: 200px;
    }

    .program-label {
        right: 15px;
        top: 200px;
    }

    .program-icon {
        bottom: 15px;
        right: 15px;
    }

}
@media (max-width: 768px) {

    .recruiter-title {
        font-size: 26px;
        text-align: center;
    }

    .recruiter-logo {
        max-height: 50px;
    }

}
@media (max-width: 768px) {

    .section-campus-main {
        width: 100%;
        margin-left: 0;
    }

    .campus-img img {
        height: 240px;
    }

    .campus-content {
        width: 100%;
        position: relative;
    }

}
@media (max-width: 768px) {

    .feature-mini {
        min-height: auto;
        padding: 1.8rem;
    }

    .accent-text::after {
        display: none;
    }

}

/* ===============================
   PROGRAM DETAIL PAGE
================================= */
.program-detail-page .hero-banner {
    position: relative;
    width: 100vw;
    aspect-ratio: 1200 / 360;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
}

.program-detail-page .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.program-detail-page .hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(9, 44, 88, 0.92) 0%,
        rgba(9, 44, 88, 0.65) 45%,
        rgba(9, 44, 88, 0.2) 70%,
        rgba(9, 44, 88, 0) 100%
    );
    z-index: 1;
}

.program-detail-page .hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.program-detail-page .hero-content h1,
.program-detail-page .program-hero-title {
    color: #fff;
    font-size: 2rem;
    line-height: 1.25;
    letter-spacing: 0.2px;
}

.program-detail-page .hero-content p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.program-detail-page .spec-title {
    font-weight: 700;
    font-size: 1.75rem;
}

.program-detail-page .program-faq-title {
    font-weight: 700;
    font-size: 1.5rem;
}

.program-detail-page .eng-card-v3 {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--card-shadow, 0 4px 20px rgba(0, 0, 0, 0.08));
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-detail-page .eng-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.program-detail-page .eng-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.program-detail-page .eng-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-detail-page .eng-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
    line-height: 1.4;
    min-height: calc(1.125rem * 1.4 * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-detail-page .eng-content p {
    font-size: 0.95rem;
    color: var(--text-muted, #6b7280);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-detail-page .eng-link {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--main-color, var(--primary-green));
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.program-detail-page .eng-card-v3:hover {
    transform: translateY(-8px);
    border-color: var(--main-color, var(--primary-green));
}

.program-detail-page .eng-card-v3:hover .eng-img img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .program-detail-page .hero-banner {
        aspect-ratio: auto;
        min-height: 280px;
    }

    .program-detail-page .hero-banner::before {
        background: linear-gradient(
            to top,
            rgba(9, 44, 88, 0.95) 0%,
            rgba(9, 44, 88, 0.75) 40%,
            rgba(9, 44, 88, 0.4) 70%,
            rgba(9, 44, 88, 0) 100%
        );
    }

    .program-detail-page .hero-content {
        align-items: flex-end;
        padding-bottom: 20px;
    }

    .program-detail-page .hero-content h1,
    .program-detail-page .program-hero-title {
        font-size: 1.6rem;
    }

    .program-detail-page .eng-img {
        height: 190px;
    }
}

@media (max-width: 991.98px) {
    .program-detail-page .hero-banner {
        min-height: 420px;
    }

    .program-detail-page .hero-content {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {

    .feature-mini {
        min-height: auto;
        padding: 1.8rem;
    }

    .accent-text::after {
        display: none;
    }

}
/* ======================================
   HERO SECTION - MOBILE VERSION
====================================== */
@media (max-width:768px){

    /* HERO WRAPPER — reserve height before Owl Carousel init */
    .section-hero-main,
    .hero-section,
    .hero-bg {
        min-height: calc(100vw * 860 / 1920);
        max-height: 820px;
    }

    .hero-section,
    .hero-bg,
    .hero-scroll-slider,
    .hero-slider,
    .hero-slider .owl-stage-outer,
    .hero-slider .owl-stage,
    .hero-slider .owl-item {
        height: auto !important;
    }

    .hero-scroll-slider .item,
    .hero-scroll-slider .hero-slide {
        height: auto !important;
    }

    .hero-section {
        overflow: hidden !important;
        margin-left: 0 !important;
    }

    /* Full banner visible using slider aspect ratio */
    .hero-slide {
        position: relative;
        width: 100%;
        aspect-ratio: 1920 / 860;
        height: auto !important;
        overflow: hidden;
        background: #051428;
    }

    .hero-slide-image,
    .hero-slider .item img,
    .hero-slide picture {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: block;
    }

    .hero-slide-image,
    .hero-slider .item img {
        object-fit: contain !important;
        object-position: center center !important;
    }

    .hero-content-inner {
        width: 100%;
        max-width: 100%;
    }

    /* OVERLAY - bottom only so image stays visible */
    .hero-overlay {
        position: absolute;
        inset: auto 0 0 0;
        height: 55%;
        z-index: 1;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.45) 55%,
            rgba(0, 0, 0, 0) 100%
        );
    }

    /* CONTENT AREA */
    .hero-content {
        position: absolute;
        inset: auto 0 0 0;
        height: 55%;
        z-index: 2;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        padding: 14px 16px !important;
    }

    /* TEXT WRAPPER */
    .hero-text,
    p.hero-text {
        max-width: 100% !important;
        width: 100%;
    }

    /* TITLE */
    .hero-title {
        font-size: 1.15rem !important;
        line-height: 1.25 !important;
        font-weight: 700;
        margin-bottom: 6px !important;
    }

    /* DESCRIPTION */
    p.hero-text {
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* BUTTON WRAPPER */
    .hero-content .d-flex {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    /* BUTTONS */
    .hero-content .btn {
        padding: 7px 12px !important;
        font-size: 12px !important;
        border-radius: 6px;
    }

    /* HIDE OWL NAV */
    .hero-slider .owl-nav {
        display: none !important;
    }
}

/* Accessibility: skip link, touch targets, sidebar toggle */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 10000;
    padding: 12px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

.sidebar-toggle-btn {
    border: none;
    background: transparent;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    cursor: pointer;
}

.sidebar-close-btn {
    min-width: 44px;
    min-height: 44px;
}

.campus-carousel .owl-dot,
.campus-life-slider .owl-dot {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.meanmenu-reveal {
    min-width: 44px !important;
    min-height: 44px !important;
}

.top-header-running-area .top-header-running-text__item {
    color: #0b3d6e !important;
}

.top-header-running-area .top-header-running-text__item:hover {
    color: #052a65 !important;
}

.btn-accessible.btn-success,
.section-about-main .btn-success {
    background-color: #1a7a52 !important;
    border-color: #1a7a52 !important;
}

.btn-accessible.btn-success:hover,
.section-about-main .btn-success:hover {
    background-color: #0b5c3e !important;
    border-color: #0b5c3e !important;
}

.footer-area .contact-list ul li a {
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
    padding: 4px 0;
}

.hero-cards .card-title-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white) !important;
}
