/* ==========================================================================
   CSS DESIGN SYSTEM - BIPIN CHIKKATTI EDUCATION GROUP
   ========================================================================== */

/* Variables & Custom Properties */
:root {
    --primary: #173F73;         /* Deep Academic Blue */
    --primary-rgb: 23, 63, 115;
    --primary-dark: #102A4C;    /* Primary Dark */
    --primary-dark-rgb: 16, 42, 76;
    --secondary: #102A4C;       /* Secondary (Primary Dark) */
    --secondary-rgb: 16, 42, 76;
    --accent: #D4A622;          /* Premium Gold */
    --accent-rgb: 212, 166, 34;
    --accent-light: #F3D36B;    /* Accent Light */
    --accent-light-rgb: 243, 211, 107;
    --bg-light: #F8FAFC;        /* Background */
    --text-dark: #0F172A;       /* Text Primary */
    --text-muted: #64748B;      /* Text Secondary */
    --white: #FFFFFF;           /* Surface Cards */
    
    /* Premium Glassmorphism Values */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-bg-dark: rgba(17, 24, 39, 0.75);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-border-dark: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    
    /* Shadows & Transitions */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(23, 63, 115, 0.15);
    --shadow-glow-gold: 0 0 20px rgba(212, 166, 34, 0.3);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles & Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #E2E8F0;
}
::-webkit-scrollbar-thumb {
    background: #94A3B8;
    border-radius: 5px;
    border: 2px solid #E2E8F0;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   ADVANCED INTERACTION PIECES (Cursor, Progress, Grid)
   ========================================================================== */

/* Custom Cursor */
.custom-cursor {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width var(--transition-fast), height var(--transition-fast), background-color var(--transition-fast);
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}

/* Cursor Hover states */
.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(23, 63, 115, 0.1);
    border-color: var(--accent);
}

/* Hide on mobile devices */
@media (max-width: 1024px) {
    .custom-cursor, .custom-cursor-dot {
        display: none !important;
    }
}

/* Scroll Progress Indicator */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(226, 232, 240, 0.4);
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
}

/* Common Layout Utilities */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-desc {
    max-width: 650px;
    margin: 0 auto 60px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    backdrop-filter: var(--glass-blur);
    background: rgba(255, 255, 255, 0.05);
}

.btn-white:hover {
    background-color: var(--white);
    color: var(--secondary);
    border-color: var(--white);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--secondary);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ==========================================================================
   SECTION 1: TRANSPARENT GLASS NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
    background-color: var(--white);
    padding: 2px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth);
}

.navbar-logo:hover .logo-img {
    transform: rotate(15deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1.1;
    color: var(--secondary);
}

.logo-subtitle {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 550;
    color: var(--secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger button styling */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-fast);
}

/* Open states for mobile nav */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile drawer overlay */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer.open {
    transform: translateX(0);
}

.drawer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.drawer-btn {
    box-shadow: var(--shadow-md);
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .nav-menu, .nav-actions .nav-btn {
        display: none !important;
    }
    .hamburger-btn {
        display: flex;
    }
}

/* ==========================================================================
   SECTION 2: IMMERSIVE HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    opacity: 1.0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(248, 250, 252, 0.55) 30%, rgba(248, 250, 252, 0.1) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    color: var(--text-dark);
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    background: none;
    border: none;
    padding: 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--secondary);
    letter-spacing: -1px;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Floating Statistics cards inside hero */
.hero-stats-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 24px;
    color: var(--secondary);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.hero-stat-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.stat-card-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-card-lbl {
    font-size: 0.85rem;
    font-weight: 550;
    color: var(--text-muted);
}

/* Scroll indicator wheel mouse */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    opacity: 0.8;
    z-index: 10;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(17, 24, 39, 0.25);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnim 2s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes scrollWheelAnim {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats-panel {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   SECTION 3: TRUST & ACHIEVEMENTS BAR
   ========================================================================== */
.trust-bar-section {
    padding: 60px 0 100px;
    background-color: var(--bg-light);
    position: relative;
    z-index: 12;
    margin-top: -40px;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.05);
}

.trust-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
}

.stats-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.stats-border-line {
    width: 1px;
    height: 50px;
    background-color: #E2E8F0;
}

.badges-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    padding: 12px 24px;
    border-radius: 999px;
    transition: var(--transition-smooth);
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.badge-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.trust-badge span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
}

@media (max-width: 991px) {
    .trust-grid {
        flex-direction: column;
        gap: 32px;
        padding: 30px;
    }
    .stats-border-line {
        width: 60%;
        height: 1px;
    }
}

/* ==========================================================================
   SECTION 4: OUR INSTITUTIONS
   ========================================================================== */
.institutions-section {
    padding: 100px 0;
    background-color: var(--white);
}

.institutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.institution-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    background-size: cover;
    background-position: center;
    background-image: var(--card-bg-img);
    cursor: pointer;
}

.card-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0) 10%, rgba(17, 24, 39, 0.65) 45%, rgba(17, 24, 39, 0.98) 100%);
    transition: var(--transition-smooth);
}

.card-content {
    position: relative;
    z-index: 10;
    padding: 24px;
    color: var(--white);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(212, 166, 34, 0.25);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.25;
}

.card-description {
    font-size: 0.9rem;
    color: rgba(241, 245, 249, 0.85);
    margin-bottom: 16px;
    line-height: 1.55;
}

.card-features {
    margin-top: auto; /* Push features list and button to the very bottom */
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.card-feat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    border-radius: 999px;
    color: rgba(241, 245, 249, 0.9);
}

.card-feat-tag svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    stroke: var(--accent);
    vertical-align: middle;
}

.programs-row {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.program-tag {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    border-left: 3px solid var(--primary);
    padding-left: 8px;
}

.card-btn {
    width: 100%;
}

/* Card Hover actions */
.institution-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.institution-card:hover .card-bg-overlay {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0) 10%, rgba(17, 24, 39, 0.6) 40%, rgba(17, 24, 39, 0.98) 100%);
}

@media (max-width: 991px) {
    .institutions-grid {
        grid-template-columns: 1fr;
    }
    .institution-card {
        height: 500px;
    }
}

/* ==========================================================================
   SECTION 5: WHY CHOOSE CHIKKATTI
   ========================================================================== */
.why-choose-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    transition: var(--transition-smooth);
}

.why-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(23, 63, 115, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.why-icon {
    width: 28px;
    height: 28px;
}

.why-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.why-card-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Hover effect on features */
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.why-card:hover .why-icon-box {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECTION 6: CAMPUS EXPERIENCE
   ========================================================================== */
.gallery-section {
    padding: 100px 0;
    background-color: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    border: 1px solid #E2E8F0;
    background: var(--white);
    color: var(--secondary);
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* CSS Masonry-like Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.gallery-item.hidden {
    display: none;
}

.gallery-img-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.8);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
    transition: var(--transition-smooth);
}

.gallery-zoom-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transform: translateY(15px);
    transition: transform var(--transition-smooth), background var(--transition-fast);
}

.gallery-img-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    transform: translateY(15px);
    transition: transform var(--transition-smooth) 0.05s;
}

.gallery-img-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(15px);
    transition: transform var(--transition-smooth) 0.1s;
}

/* Gallery Zoom actions */
.gallery-item:hover .gallery-img-box img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-zoom-icon,
.gallery-item:hover .gallery-img-title,
.gallery-item:hover .gallery-img-cat {
    transform: translateY(0);
}

.gallery-zoom-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECTION 7: ACADEMIC EXCELLENCE
   ========================================================================== */
.excellence-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.excellence-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
}

.excellence-left {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.excellence-p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.excellence-grid-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ex-card {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.ex-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.ex-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Vertical Timeline */
.excellence-right {
    padding-left: 20px;
}

.timeline-head {
    font-size: 1.75rem;
    margin-bottom: 40px;
}

.timeline-container {
    position: relative;
    border-left: 2px solid #E2E8F0;
    padding-left: 32px;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -43px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid var(--primary);
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent);
    transform: scale(1.25);
    box-shadow: var(--shadow-glow-gold);
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.timeline-time {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .excellence-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .excellence-left {
        position: static;
    }
}

/* ==========================================================================
   SECTION 8: TESTIMONIALS (AUTO SLIDER)
   ========================================================================== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--white);
}

.testimonials-slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 20px 10px 40px;
}

.testimonials-track {
    display: flex;
    transition: transform var(--transition-smooth);
}

.testimonial-card {
    min-width: 100%;
    box-sizing: border-box;
    background: var(--bg-light);
    border: 1px solid #E2E8F0;
    border-radius: 30px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.35rem;
    font-style: italic;
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-name {
    font-size: 1.05rem;
    font-weight: 700;
}

.author-role {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 550;
}

/* Controls style */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

.slider-arrow {
    background: var(--white);
    border: 1px solid #E2E8F0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    color: var(--secondary);
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #CBD5E1;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    width: 24px;
    background-color: var(--primary);
    border-radius: 4px;
}

@media (max-width: 650px) {
    .testimonial-card {
        padding: 30px 20px;
    }
    .testimonial-text {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   SECTION 9: ADMISSIONS SECTION (DARK METALLIC)
   ========================================================================== */
.admissions-section {
    padding: 120px 0;
    background-color: #F1F5F9;
    position: relative;
    overflow: hidden;
    z-index: 10;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

/* Glowing decorative shapes */
.admission-glow-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

.admission-glow-shape.shape-1 {
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary);
}

.admission-glow-shape.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent);
}

.admissions-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow-lg);
}

.admissions-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(23, 63, 115, 0.08);
    border: 1px solid rgba(23, 63, 115, 0.15);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.admissions-title {
    font-size: 3.2rem;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.15;
}

.text-white-glow {
    text-shadow: none;
    color: var(--primary);
}

.admissions-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.admissions-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-glow-hover:hover {
    box-shadow: var(--shadow-sm);
}

@media (max-width: 650px) {
    .admissions-box {
        padding: 50px 20px;
    }
    .admissions-title {
        font-size: 2.2rem;
    }
    .admissions-buttons {
        flex-direction: column;
        align-items: center;
    }
    .admissions-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ==========================================================================
   SECTION 10: CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(23, 63, 115, 0.08);
    border-radius: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail-text h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.contact-detail-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hover-underline:hover {
    text-decoration: underline;
    color: var(--primary);
}

/* Map Style */
.contact-map-panel {
    position: relative;
}

.styled-map-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.styled-map-svg {
    display: block;
    width: 100%;
    height: auto;
}

.map-overlay-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.78rem;
    padding: 8px 16px;
    z-index: 10;
}

.map-info-popup {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 10px 14px;
    border-radius: 10px;
    font-family: sans-serif;
}

.map-info-popup h5 {
    font-size: 0.82rem;
    color: var(--accent);
    margin-bottom: 2px;
}

.map-info-popup p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ==========================================================================
   SECTION 11: PREMIUM FOOTER
   ========================================================================== */
.footer {
    background-color: var(--primary-dark);
    color: #94A3B8;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo .logo-title {
    color: var(--white) !important;
}

.footer-logo .logo-subtitle {
    color: var(--accent) !important;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 28px;
    color: #94A3B8;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E2E8F0;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul li a {
    font-size: 0.9rem;
    color: #94A3B8;
}

.footer-links-col ul li a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
}

.copyright {
    font-size: 0.85rem;
    color: #94A3B8;
}

.back-to-top-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.back-to-top-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-gold);
}

@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* ==========================================================================
   LIGHTBOX GALLERY MODAL
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 23, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.lightbox-modal.open {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 20px;
    font-size: 1.25rem;
    font-weight: 600;
}

/* ==========================================================================
   SCROLL REVEAL TRIGGERS (Intersection Observer animations)
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-load {
    opacity: 0;
    transform: translateY(30px);
    animation: loadReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-on-load.delay-1 {
    animation-delay: 0.2s;
}

@keyframes loadReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   GLOBAL FORM STYLES
   ========================================================================== */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-input {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background-color: var(--white);
    color: var(--text-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(23, 63, 115, 0.1);
}

/* ==========================================================================
   3D PAGE LOADER PRELOADER
   ========================================================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-3d-scene {
    width: 80px;
    height: 80px;
    perspective: 400px;
    margin-bottom: 24px;
}

.loader-3d-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-30deg) rotateY(45deg);
    animation: cubeSpin 3s infinite linear;
}

.cube-face {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary);
    background: rgba(23, 63, 115, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(23, 63, 115, 0.1);
}

.cube-face-front  { transform: rotateY(  0deg) translateZ(40px); }
.cube-face-back   { transform: rotateY(180deg) translateZ(40px); border-color: var(--accent); background: rgba(212, 166, 34, 0.05); }
.cube-face-right  { transform: rotateY( 90deg) translateZ(40px); }
.cube-face-left   { transform: rotateY(-90deg) translateZ(40px); border-color: var(--accent); background: rgba(212, 166, 34, 0.05); }
.cube-face-top    { transform: rotateX( 90deg) translateZ(40px); }
.cube-face-bottom { transform: rotateX(-90deg) translateZ(40px); }

.cube-face::before {
    content: "C";
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.cube-face-back::before,
.cube-face-left::before {
    color: var(--accent);
}

@keyframes cubeSpin {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(0deg);
    }
}

.loader-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: loaderPulse 1.5s infinite ease-in-out;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Navbar Dropdown Menu Styles for Consolidated Header Link Arrays */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-trigger svg {
    transition: transform var(--transition-smooth);
}

.nav-dropdown:hover .dropdown-trigger svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: var(--white);
    min-width: 220px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-smooth);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(8px);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    font-size: 0.88rem;
    font-weight: 550;
    color: var(--secondary);
    transition: var(--transition-fast);
    border-bottom: 1px solid #F1F5F9;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    padding-left: 24px;
}

/* ==========================================================================
   MOBILE & NARROW SCREEN RESPONSIVE OVERRIDES (max-width: 576px)
   ========================================================================== */
@media (max-width: 576px) {
    .container {
        padding: 0 20px !important;
    }
    
    /* Header & Branding */
    .navbar-container {
        padding: 0 20px !important;
    }
    .logo-title {
        font-size: 1.15rem !important;
        letter-spacing: 0.5px !important;
    }
    .logo-subtitle {
        font-size: 0.58rem !important;
        letter-spacing: 1.8px !important;
    }
    
    /* Hero Section */
    .hero-badge {
        font-size: 1.6rem !important;
        margin-bottom: 16px !important;
        letter-spacing: 1.2px !important;
    }
    .hero-section {
        padding-top: 130px !important;
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 60px !important;
    }
    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .hero-text-content h1, .hero-text-content .hero-title, .hero-title {
        font-size: 1.4rem !important;
    }
    .hero-description {
        font-size: 1.05rem !important;
        margin-bottom: 24px !important;
    }
    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .hero-buttons .btn {
        width: 100% !important;
        text-align: center !important;
    }
    .hero-stats-panel {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .hero-stat-card {
        padding: 16px !important;
    }
    .hero-image-wrapper img {
        height: 240px !important;
        border-radius: 16px !important;
    }
    .subpage-hero {
        padding-top: 130px !important;
        padding-bottom: 60px !important;
    }
    .subpage-hero-img {
        height: 240px !important;
        border-radius: 16px !important;
    }
    
    /* Trust and Stats Bar */
    .trust-bar-section {
        padding: 40px 0 60px !important;
        margin-top: -20px !important;
        border-radius: 30px 30px 0 0 !important;
    }
    .trust-grid {
        padding: 24px 16px !important;
        gap: 24px !important;
        margin-bottom: 32px !important;
    }
    .stat-number {
        font-size: 2.2rem !important;
    }
    .stat-label {
        font-size: 0.8rem !important;
    }
    .badges-row {
        gap: 12px !important;
    }
    .trust-badge {
        padding: 8px 16px !important;
    }
    .trust-badge span {
        font-size: 0.8rem !important;
    }
    
    /* Section Basics */
    .section-title {
        font-size: 1.8rem !important;
    }
    .section-desc {
        font-size: 0.95rem !important;
        margin-bottom: 40px !important;
    }
    
    /* Institution Cards Grid */
    .institutions-section {
        padding: 60px 0 !important;
    }
    .institution-card {
        height: 450px !important;
    }
    .card-title {
        font-size: 1.35rem !important;
    }
    .card-description {
        font-size: 0.85rem !important;
    }
    .card-feat-tag {
        font-size: 0.72rem !important;
        padding: 4px 10px !important;
    }
    
    /* Why Choose Us */
    .why-choose-section {
        padding: 60px 0 !important;
    }
    .why-card {
        padding: 24px !important;
    }
    
    /* Campus Gallery */
    .gallery-section {
        padding: 60px 0 !important;
    }
    .gallery-filters {
        gap: 8px !important;
        margin-bottom: 24px !important;
    }
    .filter-btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
    .gallery-item {
        height: 240px !important;
    }
    .gallery-page-section {
        padding-top: 130px !important;
        padding-bottom: 60px !important;
    }
    .gallery-page-grid {
        gap: 16px !important;
    }
    .gallery-page-img-box {
        height: 200px !important;
    }
    .gallery-page-info {
        padding: 16px !important;
    }
    .gallery-page-item-title {
        font-size: 0.95rem !important;
    }
    
    /* Timeline & Achievements */
    .excellence-section {
        padding: 60px 0 !important;
    }
    .excellence-split {
        gap: 32px !important;
    }
    .excellence-grid-cards {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .timeline-container {
        padding-left: 12px !important;
    }
    .timeline-item {
        padding-left: 16px !important;
    }
    .timeline-dot {
        left: -6px !important;
    }
    .timeline-title {
        font-size: 1.05rem !important;
    }
    
    /* Testimonials */
    .testimonials-section {
        padding: 60px 0 !important;
    }
    .testimonial-card {
        padding: 24px 16px !important;
    }
    
    /* Form & Admissions */
    .admissions-section {
        padding: 60px 0 !important;
    }
    .inquiry-form-container, .inquiry-form-card {
        padding: 24px 16px !important;
        border-radius: 20px !important;
    }
    
    /* Disclosure tables & cards */
    .disclosure-section {
        padding-top: 130px !important;
        padding-bottom: 60px !important;
    }
    .disclosure-card {
        padding: 20px 16px !important;
        overflow-x: auto !important;
        border-radius: 16px !important;
    }
    .disclosure-table th, .disclosure-table td {
        padding: 8px 10px !important;
        font-size: 0.8rem !important;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 60px 0 !important;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 30px !important;
    }
    .footer-grid {
        gap: 32px !important;
    }
    .footer-logo {
        justify-content: center !important;
    }
    .footer-brand {
        text-align: center !important;
    }
    .social-links {
        justify-content: center !important;
    }
    .footer-bottom {
        padding-top: 24px !important;
        margin-top: 24px !important;
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }
}

@media (max-width: 400px) {
    .logo-title {
        font-size: 1.05rem !important;
    }
    .logo-subtitle {
        font-size: 0.52rem !important;
        letter-spacing: 1.5px !important;
    }
    .hero-badge {
        font-size: 1.35rem !important;
        letter-spacing: 1px !important;
    }
}


