/* ============================================================
   ROOT VARIABLES & RESET
   ============================================================ */
:root {
    --primary-color: #0F172A;
    --accent-color: #D4AF37;
    --bg-light: #F8FAFC;
    --bg-dark: #0B0F19;
    --text-primary: #1E293B;
    --text-light: #F1F5F9;
    --glass-bg: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gold-glow: rgba(212, 175, 55, 0.4);
    --header-height: 110px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 9999;
    display: flex;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background-color: #ffffff7a;
    backdrop-filter: blur(10px);
}

.header-logo-panel {
    position: relative;
    flex: 0 0 420px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    z-index: 2;
    clip-path: polygon(0 0, 92% 0%, 100% 50%, 92% 100%, 0% 100%);
    border-bottom: 4px solid var(--accent-color);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-img {
    height: 78px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.header-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 20px rgba(212, 175, 55, 0.6));
}

.header-right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    clip-path: polygon(0% 100%, 7% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.header-social-bar {
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0 30px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    flex-shrink: 0;
}

.social-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.social-bar-left i {
    color: var(--accent-color);
    font-size: 12px;
}

.bar-divider {
    color: rgba(0, 0, 0, 0.15);
    font-weight: 300;
}

.social-bar-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.social-bar-icons a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--bg-dark);
    font-size: 11px;
    transition: all 0.3s ease;
}

.social-bar-icons a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.header-nav {
    flex: 1;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 35px;
    border-bottom: 3px solid var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 6px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), #f7d774);
    transition: width 0.35s ease;
    border-radius: 2px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--accent-color);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 9px 22px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    white-space: nowrap;
}

.nav-actions .btn-outline:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px var(--gold-glow);
}

/* ============================================================
   HERO SECTION (Full-page carousel on index)
   ============================================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.carousel .list .item {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.carousel .list .item .content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: calc(100% - 16%);
    max-width: 600px;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
    padding: 0;
    z-index: 5;
    display: none;
}

.carousel .list .item:nth-child(1) .content,
.carousel.prev .list .item:nth-child(2) .content {
    display: block;
}

.carousel .list .item .author {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 6px;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.carousel .list .item .title,
.carousel .list .item .topic {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.carousel .list .item .topic {
    color: var(--accent-color);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.carousel .list .item .des {
    margin-top: 16px;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.8;
    color: #E2E8F0;
    max-width: 480px;
    font-weight: 400;
}

.carousel .list .item .buttons {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.carousel .list .item .buttons button {
    border: none;
    padding: 13px 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.carousel .list .item .buttons button:first-child {
    background: var(--accent-color);
    color: var(--primary-color);
}

.carousel .list .item .buttons button:first-child:hover {
    background: #f7d774;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.carousel .list .item .buttons button:nth-child(2) {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}

.carousel .list .item .buttons button:nth-child(2):hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   HERO INQUIRY FORM
   ============================================================ */
.hero-form-container {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 380px;
    max-width: 90%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    animation: formSlideIn 0.8s 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

@keyframes formSlideIn {
    from {
        opacity: 0;
        transform: translate(40px, -50%);
    }

    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.hero-form h3 {
    color: var(--accent-color);
    font-size: 22px;
    /* Slightly smaller */
    margin-bottom: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-form p {
    color: #CBD5E1;
    font-size: 12px;
    /* Slightly smaller */
    margin-bottom: 20px;
    opacity: 0.8;
}

.hero-form .form-group {
    margin-bottom: 12px;
    /* Reduced margin */
}

.hero-form input,
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 10px 14px;
    /* More compact padding */
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    transition: all 0.3s;
}


.hero-form select option {
    background: var(--primary-color);
    color: #fff;
}

.hero-form input::placeholder,
.hero-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.hero-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent-color);
    /* WhatsApp Green */
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
}

.hero-submit-btn i {
    font-size: 18px;
}

.hero-submit-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

@media screen and (max-width: 992px) {
    .hero-form-container {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: 40px auto;
        width: 100%;
        max-width: 450px;
        animation: none;
    }

    .carousel .list .item .content {
        left: 5%;
        top: 40%;
        max-width: 100%;
        text-align: center;
        padding-right: 5%;
    }

    .carousel .list .item .des {
        margin: 16px auto 0;
    }

    .carousel .list .item .buttons {
        justify-content: center;
    }
}


/* ============================================================
   CAROUSEL ARROWS
   ============================================================ */
.arrows {
    position: absolute;
    bottom: 40px;
    left: 15.5%;
    z-index: 100;
    display: flex;
    gap: 12px;
    align-items: center;
}

.arrows button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrows button:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ============================================================
   CAROUSEL ANIMATION
   ============================================================ */
.carousel .list .item:nth-child(1) {
    z-index: 1;
}

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons {
    transform: translateY(40px);
    filter: blur(12px);
    opacity: 0;
    animation: showContent 0.6s 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes showContent {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

.carousel .list .item:nth-child(1) .content .title {
    animation-delay: 1.0s !important;
}

.carousel .list .item:nth-child(1) .content .topic {
    animation-delay: 1.15s !important;
}

.carousel .list .item:nth-child(1) .content .des {
    animation-delay: 1.3s !important;
}

.carousel .list .item:nth-child(1) .content .buttons {
    animation-delay: 1.45s !important;
}

.carousel.next .list .item:nth-child(1) img {
    width: 140px;
    height: 200px;
    position: absolute;
    bottom: 36px;
    right: 60px;
    border-radius: 14px;
    animation: showImage 0.5s linear 1 forwards;
}

@keyframes showImage {
    to {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
}

.carousel.prev .list .item img {
    z-index: 100;
}

@keyframes showThumbnail {
    from {
        width: 140px;
        opacity: 0;
    }
}

.carousel.next .thumbnail {
    animation: transformThumbnail 0.5s linear 1 forwards;
}

@keyframes transformThumbnail {
    from {
        transform: translateX(156px);
    }

    to {
        transform: translateX(0);
    }
}

.carousel.prev .list .item:nth-child(2) {
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img {
    position: absolute;
    bottom: 0;
    right: 0;
    animation: outImage 0.5s linear 1 forwards;
}

@keyframes outImage {
    to {
        bottom: 36px;
        right: 60px;
        width: 140px;
        height: 200px;
        border-radius: 14px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1) {
    width: 0;
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
}

.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons {
    animation: contentOut 0.5s linear 1 forwards !important;
}

@keyframes contentOut {
    to {
        transform: translateY(120px);
        filter: blur(20px);
        opacity: 0;
    }
}

.carousel.next .arrows button,
.carousel.prev .arrows button {
    pointer-events: none;
}

.time {
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #f7d774);
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
}

.carousel.next .time,
.carousel.prev .time {
    width: 100%;
    animation: timeRunning 3s linear 1 forwards;
}

@keyframes timeRunning {
    to {
        width: 0;
    }
}

/* ============================================================
   SUB-PAGE HERO BANNER
   For about, gallery, programs, contact sub-pages
   ============================================================ */
.sub-hero {
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.sub-hero img.sub-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sub-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(11, 15, 25, 0.72));
}

.sub-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.sub-hero-content .breadcrumb {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sub-hero-content .breadcrumb a {
    color: var(--accent-color);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.sub-hero-content .breadcrumb a:hover {
    opacity: 1;
}

.sub-hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.15;
}

.sub-hero-content h1 span {
    color: var(--accent-color);
}

.sub-hero-divider {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #f7d774);
    margin: 18px auto 0;
    border-radius: 2px;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
section {
    position: relative;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 25px;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h6 {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    line-height: 1.2;
}

/* ============================================================
   WAVE DIVIDERS
   Clean, purpose-built wave separators between sections
   ============================================================ */
.wave-divider {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 70px;
}

/* ============================================================
   ABOUT SECTION (Index page snippet)
   ============================================================ */
.about-section {
    background: #fff;
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: visible;
}

.about-image-inner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.about-image-inner img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.about-image-inner:hover img {
    transform: scale(1.04);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 22px;
    left: -22px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--accent-color);
    z-index: -1;
    border-radius: 16px;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.25;
}

.about-content h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-content p {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature i {
    font-size: 28px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.feature h4 {
    font-size: 18px;
    color: var(--primary-color);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    background: var(--primary-color);
    color: #fff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat-box {
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(212, 175, 55, 0.07);
    border-color: rgba(212, 175, 55, 0.25);
    transform: translateY(-4px);
}

.stat-box h3 {
    font-size: 54px;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 900;
    line-height: 1;
}

.stat-box p {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #94A3B8;
    font-weight: 500;
}

/* ============================================================
   PROGRAMS SECTION
   ============================================================ */
.programs-section {
    position: relative;
    background: var(--bg-dark);
    padding: 100px 0;
    overflow: hidden;
}

.programs-section .section-head h6 {
    color: #94A3B8;
}

.programs-section .section-head h2 {
    color: #fff;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
}

.card {
    width: 270px;
    height: 400px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow: 0 24px 50px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.card .child1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.card .child1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .child1 .bg-c {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65%;
    background: linear-gradient(to top, rgba(11, 15, 25, 1), rgba(11, 15, 25, 0.3), transparent);
}

.card:hover .child1 {
    transform: scale(1.08);
    filter: brightness(0.65);
}

.card:hover .card-content-overlay {
    bottom: 36px;
}

.card-content-overlay {
    position: absolute;
    bottom: 24px;
    left: 20px;
    right: 20px;
    z-index: 10;
    transition: bottom 0.4s ease;
}

.card-content-overlay h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 4px;
}

.card-content-overlay p {
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.view-details-btn {
    margin-top: 15px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 6px 14px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.card:hover .view-details-btn {
    opacity: 1;
    transform: translateY(0);
}

.view-details-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* ============================================================
   COURSE MODAL
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.modal-content {
    position: relative;
    background: var(--bg-light);
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    animation: modalScale 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(40px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    color: var(--primary-color);
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 600px;
}

.modal-image {
    position: relative;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, var(--bg-light));
}

.modal-text {
    padding: 60px;
    background: var(--bg-light);
}

.modal-text h6 {
    color: var(--accent-color);
    letter-spacing: 4px;
    font-size: 13px;
    margin-bottom: 10px;
}

.modal-text h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.modal-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-item i {
    font-size: 20px;
    color: var(--accent-color);
}

.meta-item strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #94A3B8;
    letter-spacing: 1px;
}

.meta-item p {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.modal-desc h3,
.modal-subjects h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.modal-desc p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 30px;
}

.modal-subjects ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.modal-subjects li {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

@media screen and (max-width: 992px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-image {
        height: 300px;
    }

    .modal-image::after {
        background: linear-gradient(to top, var(--bg-light), transparent);
    }

    .modal-text {
        padding: 40px 30px;
    }
}


/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal-hidden {
    opacity: 0;
    transform: translateY(28px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   FOOTER
   ============================================================ */
.mega-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 80px 0 0;
    border-top: 4px solid var(--accent-color);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col h3 {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 22px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 14.5px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 15px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ffffff;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
}

.footer-col ul li a i {
    color: var(--accent-color);
    font-size: 12px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
}

.contact-list li i {
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: #ffffff;
    font-size: 13.5px;
}

/* ============================================================
   ABOUT PAGE â€” STAFF / MESSAGE SECTIONS
   ============================================================ */
.page-section {
    padding: 100px 0;
}

.page-section.dark {
    background: var(--primary-color);
}

.page-section.dark .section-head h6 {
    color: #94A3B8;
}

.page-section.dark .section-head h2 {
    color: #fff;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 0 60px;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 240px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 18px 16px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 15px;
    letter-spacing: 1px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info-card {
    background: #fff;
    padding: 45px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    font-size: 18px;
    flex-shrink: 0;
}

.info-item div h4 {
    font-size: 17px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-item div p {
    color: #475569;
    font-size: 14.5px;
    line-height: 1.6;
}

.contact-form {
    background: var(--primary-color);
    padding: 45px;
    border-radius: 16px;
    color: #fff;
}

.contact-form h3 {
    margin-bottom: 28px;
    color: var(--accent-color);
    font-size: 26px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.09);
}

.form-group select option {
    background: var(--primary-color);
    color: #fff;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #f7d774;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* ============================================================
   FACILITIES SECTION (if used)
   ============================================================ */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.facility-item {
    position: relative;
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
}

.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.facility-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
}

.facility-info {
    position: absolute;
    bottom: -50px;
    left: 20px;
    z-index: 2;
    transition: bottom 0.4s ease;
}

.facility-item:hover img {
    transform: scale(1.1);
}

.facility-item:hover .facility-info {
    bottom: 20px;
}

.facility-info h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 4px;
}

.facility-info p {
    color: var(--accent-color);
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 1100px) {
    :root {
        --header-height: 100px;
    }

    .header-logo-panel {
        flex: 0 0 300px;
        padding: 0 25px;
    }

    .about-grid {
        gap: 50px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 900px) {
    .thumbnail {
        right: 30px;
        bottom: 24px;
    }

    .thumbnail .item {
        width: 110px;
        height: 160px;
    }

    .arrows {
        bottom: 28px;
        left: 5%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Ensure content always comes before image on mobile for consistency */
    .about-grid .about-content {
        order: 1;
    }

    .about-grid .about-image {
        order: 2;
        max-width: 320px;
        margin: 0 auto;
    }

    .about-image::before {
        display: none;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inspection-grid {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }

    .inspection-card {
        flex: none;
        height: 320px;
    }
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

@media screen and (max-width: 768px) {

    :root {
        --header-height: auto;
    }

    .mobile-menu-btn {
        display: block;
        color: var(--accent-color);
        font-size: 28px;
    }

    .site-header {
        flex-direction: column;
        height: auto;
        background-color: #fff;
    }

    .header-logo-panel {
        width: 100%;
        flex: none;
        height: 80px;
        clip-path: none;
        padding: 0 25px;
        border-bottom: 3px solid var(--accent-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-right-panel {
        width: 100%;
        display: none;
        flex-direction: column;
        background: var(--primary-color);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        clip-path: none;
        position: relative;
    }

    .header-right-panel.active {
        display: flex;
        animation: slideDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header-social-bar {
        display: none;
    }

    .header-logo-img {
        height: 55px;
    }

    .header-nav {
        padding: 40px 25px;
        flex-direction: column;
        height: auto;
        gap: 25px;
        align-items: center;
        /* Center links on mobile for premium look */
        border-bottom: none;
        background: transparent;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        align-items: center;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        font-size: 16px;
        display: block;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #fff;
        letter-spacing: 2px;
    }

    .nav-actions {
        width: 100%;
        padding: 20px 0 0;
        display: flex;
        justify-content: center;
    }

    .nav-actions .btn-outline {
        width: 90%;
        max-width: 300px;
        text-align: center;
        padding: 16px;
        font-size: 14px;
        border-radius: 8px;
    }

    .hero-section {
        height: 70svh;
    }

    .carousel .list .item .content {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 500px;
        top: 45%;
        background: rgba(15, 23, 42, 0.3);
        padding: 30px 20px;
        border-radius: 20px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    }

    .carousel .list .item .title,
    .carousel .list .item .topic {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .carousel .list .item .des {
        font-size: 14px;
        line-height: 1.6;
        margin: 15px auto 0;
    }

    .carousel .list .item .buttons {
        justify-content: center;
        flex-direction: row;
        gap: 10px;
        margin-top: 25px;
    }

    .carousel .list .item .buttons button {
        width: auto;
        flex: 1;
        padding: 12px 10px;
        font-size: 12px;
        min-width: 120px;
    }

    .thumbnail {
        display: none;
    }

    .arrows {
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        gap: 20px;
    }

    .arrows button {
        width: 50px;
        height: 50px;
    }

    .sub-hero {
        height: 300px;
    }

    .sub-hero-content h1 {
        font-size: 2rem;
    }

    .section-head {
        margin-bottom: 50px;
    }

    .about-section,
    .programs-section,
    .stats-section,
    .page-section {
        padding: 80px 0;
    }

    .about-content h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        text-align: center;
    }

    .about-content p {
        font-size: 15px;
        text-align: center;
        line-height: 1.7;
    }

    .about-features {
        justify-content: center;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-box {
        padding: 30px 20px;
    }

    .stat-box h3 {
        font-size: 44px;
    }

    .card-wrapper {
        gap: 30px;
    }

    .card {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }

    .mega-footer {
        padding-top: 80px;
    }

    .footer-grid {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .footer-col {
        width: 100%;
    }

    .footer-col h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-col ul li a {
        justify-content: center;
        font-size: 14.5px;
        padding: 8px 0;
    }

    .social-icons {
        justify-content: center;
        gap: 15px;
    }

    .contact-list li {
        justify-content: center;
        font-size: 14px;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .info-item div h4 {
        font-size: 18px;
    }

    .info-item div p {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .inspection-grid {
        grid-template-columns: 1fr;
    }

    .inspection-card {
        height: 280px;
    }

    .carousel .list .item .content {
        width: 95%;
        padding: 25px 15px;
    }

    .section-head h2 {
        font-size: 1.8rem;
    }
}

/* ============================================================
   MODAL STYLES (Course Details)
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    font-weight: 300;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
    color: var(--accent-color);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.modal-image {
    height: 100%;
    min-height: 500px;
    background: var(--primary-color);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text {
    padding: 50px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-text h6 {
    color: var(--accent-color);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.modal-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.1;
}

.modal-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #E2E8F0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-item i {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.meta-item strong {
    display: block;
    font-size: 13px;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-item p {
    font-weight: 700;
    color: var(--primary-color);
}

.modal-desc {
    margin-bottom: 35px;
}

.modal-desc h3,
.modal-subjects h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-desc p {
    color: #475569;
    line-height: 1.8;
    font-size: 15px;
}

.modal-subjects ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.modal-subjects ul li {
    padding-left: 25px;
    position: relative;
    color: #475569;
    font-size: 14.5px;
}

.modal-subjects ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 12px;
}

.modal-actions {
    margin-top: 40px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 16px 35px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

@media screen and (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-image {
        min-height: 250px;
        height: 250px;
    }

    .modal-text {
        padding: 30px;
    }

    .modal-meta {
        flex-direction: column;
        gap: 20px;
    }

    .modal-subjects ul {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

/* ============================================================
   GALLERY PAGINATION
   ============================================================ */
.gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.gallery-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-page-btn:hover:not(:disabled) {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.gallery-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.gallery-page-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #CBD5E1;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-dot.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.35);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.gallery-dot:hover:not(.active) {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.gallery-page-info {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #94A3B8;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes galleryFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   NEP IMAGE GALLERY (nep2020.html)
   ============================================================ */
.nep-img-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nep-img-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.nep-img-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.nep-img-item:hover img {
    transform: scale(1.07);
}

.nep-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nep-img-item:hover .nep-img-overlay {
    opacity: 1;
}

.nep-img-overlay i {
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.nep-img-overlay h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
}

.nep-img-overlay p {
    color: #94A3B8;
    font-size: 13px;
}

@media screen and (max-width: 768px) {
    .nep-img-gallery {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   UNIVERSITY INSPECTION SECTION
   ============================================================ */
.inspection-section {
    background: #fff;
    padding: 100px 0;
}

.inspection-section .section-head h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
}

.accent-text {
    color: var(--accent-color);
}

.section-subtext {
    margin-top: 14px;
    font-size: 16px;
    color: #64748B;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.inspection-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.inspection-card {
    flex: 0 1 calc(50% - 13px);
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    height: 380px;
}

.inspection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.inspection-card:hover img {
    transform: scale(1.05);
}

.inspection-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.97) 0%, transparent 100%);
    padding: 28px 22px 20px;
    color: #fff;
    transform: translateY(8px);
    opacity: 0;
    transition: all 0.4s ease;
}

.inspection-card:hover .inspection-caption {
    opacity: 1;
    transform: translateY(0);
}

.inspection-caption h4 {
    font-size: 15px;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.inspection-caption p {
    font-size: 12px;
    color: #CBD5E1;
}

.inspection-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 3;
}

.inspection-badge--gold {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

@media screen and (max-width: 900px) {
    .inspection-card {
        flex: 0 1 100%;
        height: 300px;
    }
}

/* ============================================================
   LIBRARY SECTION
   ============================================================ */
.library-section {
    background: var(--bg-dark);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.library-section .section-head h2 {
    color: #fff;
}

.library-section .section-head h6 {
    color: #94A3B8;
}

.library-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-bottom: 60px;
}

.library-main-img,
.library-side-item {
    flex: 0 1 calc(50% - 13px);
    height: 380px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media screen and (max-width: 900px) {
    .library-layout {
        display: grid;
        grid-template-columns: 1fr;
    }

    .library-main-img,
    .library-side-item {
        flex: none;
        height: 300px;
    }
}

.library-main-img img,
.library-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.library-main-img:hover img,
.library-side-item:hover img {
    transform: scale(1.05);
}

.library-stat-overlay {
    margin-bottom: 20px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    padding: 20px;
    display: flex;
    gap: 20px;
    justify-content: space-around;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lib-stat {
    text-align: center;
}

.lib-stat span {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-color);
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.lib-stat p {
    font-size: 10px;
    color: #CBD5E1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

.library-side-item {
    transition: all 0.4s ease;
}

.library-side-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.library-side-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.library-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.lib-feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 3px solid var(--accent-color);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.35s ease;
}

.lib-feature-card:hover {
    background: rgba(212, 175, 55, 0.07);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(212, 175, 55, 0.12);
}

.lib-feature-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 14px;
    display: block;
}

.lib-feature-card h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 8px;
}

.lib-feature-card p {
    color: #64748B;
    font-size: 13px;
    line-height: 1.7;
}

@media screen and (max-width: 1024px) {
    .library-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 900px) {

    .library-main-img,
    .library-side-item {
        flex: 0 1 100%;
        height: 300px;
    }

    .library-features {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   TOP PERFORMERS SECTION
   ============================================================ */
.performers-section {
    background: #fff;
    padding: 100px 0;
}

.performers-section .section-head h2 {
    color: var(--primary-color);
}

/* Top Performer Hero Banner */
.top-performer-banner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E293B 100%);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 60px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    position: relative;
    overflow: hidden;
}

.top-performer-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
    pointer-events: none;
}

.top-performer-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(212, 175, 55, 0.5);
}

.top-performer-img-wrap img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.top-performer-img-wrap:hover img {
    transform: scale(1.05);
}

.tp-crown {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 52px;
    height: 52px;
    background: var(--accent-color);
    border-radius: 0 18px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

.tp-label {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--accent-color);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.top-performer-info h3 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 18px;
    line-height: 1.2;
}

.top-performer-info p {
    color: #94A3B8;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.tp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tp-badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    color: #CBD5E1;
    font-size: 13px;
    font-weight: 500;
}

.tp-badges span i {
    color: var(--accent-color);
}

/* Rank Section Header */
.rank-section-head {
    text-align: center;
    margin-bottom: 40px;
}

.rank-section-head h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary-color), #1E293B);
    color: var(--accent-color);
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

/* Rank Cards */
.rank-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.rank-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #0F172A;
    /* Dark background in case of aspect ratio gaps */
}

.rank-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.rank-card img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 900px) {
    .rank-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .top-performer-banner {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }

    .top-performer-img-wrap img {
        height: 300px;
    }
}

@media screen and (max-width: 600px) {
    .gallery-pagination {
        gap: 12px;
    }

    .gallery-page-btn {
        padding: 10px 18px;
        font-size: 12px;
    }

    .inspection-section,
    .library-section,
    .performers-section,
    .about-section,
    .programs-section,
    .page-section {
        padding: 60px 0;
    }

    .section-head {
        margin-bottom: 35px;
    }

    .top-performer-img-wrap img {
        height: 240px;
    }

    .top-performer-info h3 {
        font-size: 1.5rem;
    }
}

/* ============================================================
   MODAL SUBJECT TABS
   ============================================================ */
.subject-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.subject-tab-btn {
    padding: 8px 16px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subject-tab-btn.active,
.subject-tab-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* ============================================================
   UTILITY & OVERRIDE CLASSES
   (Extracted from inline styles across all HTML pages)
   ============================================================ */

/* Footer brand column — wider flex ratio */
.footer-col--brand {
    flex: 1.5;
}

/* Wave divider background variants */
.wave-divider--white {
    background: #fff;
}

.wave-divider--dark {
    background: #0B0F19;
}

.wave-divider--primary {
    background: #0F172A;
}

/* NEP 2020 page body class */
.nep-page {
    background-color: #F1F5F9;
    color: #1E293B;
}

/* NEP page hero banner */
.nep-hero-banner {
    background: linear-gradient(135deg, var(--primary-color), #1e293b);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

/* NEP info card */
.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--accent-color);
    height: 100%;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.info-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* Info card border-top color variants */
.info-card--red {
    border-top-color: #EF4444;
}

.info-card--purple {
    border-top-color: #8B5CF6;
}

.info-card--amber {
    border-top-color: #F59E0B;
}

.info-card--green {
    border-top-color: #10B981;
}

/* NEP data table container */
.data-table-container {
    margin: 40px 0;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Data table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.data-table th {
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 15px;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #E2E8F0;
}

.data-table tr:nth-child(even) {
    background-color: #F8FAFC;
}

.data-table tr:hover {
    background-color: #F1F5F9;
}

/* Data table footnote */
.data-table-footnote {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #64748B;
}

/* Badge award */
.badge-award {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Framework grid */
.framework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Framework box */
.framework-box {
    background: var(--primary-color);
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.framework-box span {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 3rem;
    opacity: 0.1;
    font-weight: 900;
}

/* Highlight box */
.highlight-box {
    background: #EFF6FF;
    border-left: 6px solid #3B82F6;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.highlight-box h4 {
    color: #1E40AF;
    margin-bottom: 8px;
}

.highlight-box ul {
    padding-left: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Promotion journey */
.promotion-journey {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.journey-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

/* Terminology grid */
.terminology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.term-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.term-item b {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.term-item i {
    font-size: 0.85rem;
    color: #64748B;
    font-style: normal;
}

/* NEP special provisions grid */
.nep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    .nep-grid {
        grid-template-columns: 1fr;
    }
}

/* NEP page container with top/bottom padding */
.nep-content-wrapper {
    padding: 80px 20px;
}

/* Section-head with margin-top for multi-section pages */
.section-head--mt {
    margin-top: 100px;
}

/* Section-head overrides for dark backgrounds (vision section in about.html) */
.section-head--light h6 {
    color: #94A3B8;
}

.section-head--light h2 {
    color: #fff;
}

/* Vision section intro paragraph */
.vision-intro {
    color: #CBD5E1;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 16px;
    line-height: 1.9;
}

/* Stat box icon (used in about.html vision section) */
.stat-box-icon {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 14px;
    display: block;
}

/* Person role subtitle (Secretary / Principal designation text) */
.person-role {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* NEP features inline grid (index.html NEP section) */
.nep-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

/* NEP feature item */
.nep-feature-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nep-feature-item i {
    color: var(--accent-color);
    flex-shrink: 0;
}

.nep-feature-item span {
    font-weight: 600;
    font-size: 14px;
}

/* NEP button wrapper */
.nep-btn-wrap {
    margin-top: 40px;
}

/* Library section accent title */
.text-accent {
    color: var(--accent-color);
}

/* Library section-subtext color override */
.section-subtext--muted {
    color: #94A3B8;
}

/* about-grid align-items override */
.about-grid--centered {
    align-items: center;
}

/* Section with white background + standard padding */
.section-white {
    background: #fff;
    padding: 100px 0;
}

/* Section with light bg + standard padding (contact, gallery) */
.section-bg-light {
    background: var(--bg-light);
    padding: 100px 0;
}

/* Gallery section: white bg + reduced padding */
.section-gallery {
    background: #fff;
    padding: 80px 0;
}

/* NEP photo gallery section: white bg + padding */
.section-nep-gallery {
    background: #fff;
    padding: 80px 0;
}

/* Breadcrumb icon - small */
.breadcrumb-icon {
    font-size: 10px;
}

/* sub-hero paragraph (NEP page subtitle) */
.sub-hero-subtitle {
    margin-top: 15px;
    font-weight: 500;
    opacity: 0.9;
}

/* Icon block for NEP info cards */
.info-card-icon {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section {
    background: #fff;
    padding: 100px 0 80px;
}

/* 2-column grid container for all videos, centered */
.video-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

/* Individual video card */
.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.22);
    cursor: pointer;
    aspect-ratio: 9 / 16;
    background: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 600px;
    width: 500px;
}

.video-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3);
}

/* Video fits perfectly within the card without zooming/cropping */
.video-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: var(--primary-color);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 12px rgba(212, 175, 55, 0.2);
    animation: pulse-ring 2s infinite;
}

.play-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 0 0 18px rgba(212, 175, 55, 0.25);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0px rgba(212, 175, 55, 0.35);
    }

    70% {
        box-shadow: 0 0 0 22px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(212, 175, 55, 0);
    }
}

.video-overlay-text {
    text-align: center;
    color: #fff;
}

.video-overlay-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.video-overlay-text p {
    font-size: 14px;
    opacity: 0.8;
}

.video-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: var(--accent-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 5;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.video-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.video-highlight-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.video-highlight-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 14px;
    display: block;
}

.video-highlight-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.video-highlight-card p {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.6;
}

@media screen and (max-width: 900px) {
    .video-wrapper {
        width: calc(50% - 15px);
        max-width: 350px;
    }
}

@media screen and (max-width: 768px) {
    .video-section {
        padding: 70px 0 60px;
    }

    .video-grid {
        gap: 20px;
    }

    .video-wrapper {
        width: calc(50% - 10px);
    }

    .video-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .play-btn {
        width: 56px;
        height: 56px;
        font-size: 18px;
    }

    .video-overlay-text h3 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .video-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }

    .video-wrapper {
        width: 100%;
        max-width: 340px;
        aspect-ratio: 9 / 16;
    }
}

/* ============================================================
   RESPONSIVE OVERRIDES (MOBILE HERO)
   ============================================================ */
@media screen and (max-width: 768px) {
    .hero-section {
        height: auto;
        overflow: visible;
        background: var(--bg-dark);
    }

    .carousel {
        height: 45vh; /* Reduced height for mobile images */
        min-height: 320px;
    }

    .carousel .list .item .content {
        display: none !important; /* Hide text on mobile as requested */
    }

    .hero-form-container {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        margin: 20px auto 40px; /* Removed negative margin, added clean spacing */
        width: 90%;
        max-width: 340px; /* Smaller form as requested */
        background: #111827;
        border: 1px solid var(--accent-color);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        padding: 20px; /* Reduced padding to make it smaller */
        animation: none;
        z-index: 1001;
    }

    .hero-form h3 {
        font-size: 18px; /* Smaller heading */
    }

    .hero-form .form-group {
        margin-bottom: 8px; /* Tighter spacing */
    }

    .hero-form input,
    .hero-form select,
    .hero-form textarea {
        padding: 8px 12px;
        font-size: 12px;
    }

    .hero-submit-btn {
        padding: 12px;
        font-size: 12px;
    }

    .arrows {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }

    .time {
        display: none;
    }
}