:root {
    /* Color Palette */
    --primary-gold: #c5a059;
    --primary-gold-rgb: 197, 160, 89;
    --secondary-gold: #e5c07b;
    --accent-color: #d4af37;

    /* Dark Theme (Default) */
    --bg-color: #0a0a0a;
    --text-color: #f5f5f5;
    --text-muted: #a0a0a0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --header-bg: rgba(10, 10, 10, 0.8);
    --section-light: #121212;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --slider-control-color: #ffffff;
    /* White in Dark mode */
    --btn-bg: #e61e2b;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* --- LIGHT MODE OVERRIDES --- */
[data-theme="light"] {
    --bg-color: #fdfdfd;
    --text-color: #1a1a1a;
    --text-muted: #666;
    --card-bg: #ffffff;
    --glass-bg: rgba(0, 0, 0, 0.02);
    --glass-border: rgba(0, 0, 0, 0.06);
    --header-bg: rgba(253, 253, 253, 0.85);
    --section-light: #f5f5f5;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --slider-control-color: #111111;
    /* Black in Light mode */
}

/* High-Contrast Fixes for Blog Components in Light Mode */
[data-theme="light"] .post-card-v2 .read-more-btn,
[data-theme="light"] .blog-card-v2 .read-more,
[data-theme="light"] .read-more,
[data-theme="light"] .read-more-btn {
    color: #ffffff !important;
    background: #000000 !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

[data-theme="light"] .post-card-v2 .post-tag-pill,
[data-theme="light"] .blog-card-v2 .post-tag-pill,
[data-theme="light"] .post-tag {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #111111 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Mobile Theme Toggle Expansion - Fixed Horizontal Design */
.mobile-theme-pill-toggle {
    margin-top: 2rem;
    width: 220px !important;
    height: 50px !important;
    flex-direction: row !important;
    padding: 5px !important;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

.mobile-theme-pill-toggle .theme-slider {
    width: calc(50% - 5px) !important;
    height: calc(100% - 10px) !important;
    top: 5px !important;
    left: 5px !important;
    transform: translateY(0) !important;
}

[data-theme="light"] .mobile-theme-pill-toggle .theme-slider {
    transform: translateX(110px) !important;
}

.mobile-theme-pill-toggle .theme-option {
    padding: 0 !important;
    width: 50%;
    justify-content: center;
}

.mobile-theme-pill-toggle .theme-option span {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 0;
    margin-left: 8px;
    writing-mode: horizontal-tb !important;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s ease;
}

body.theme-transitioning {
    pointer-events: none;
    animation: themeFlash 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes themeFlash {
    0% { filter: brightness(1) contrast(1); }
    50% { filter: brightness(1.2) contrast(1.1); }
    100% { filter: brightness(1) contrast(1); }
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 4rem 0;
}


.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 
        0 10px 30px var(--shadow-color),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #cc222e, #ff4c4c);
    z-index: 2001;
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(204, 34, 46, 0.5);
}

/* Reveal Animations */
[data-reveal] {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal="fade-up"] { transform: translateY(50px); }
[data-reveal="slide-left"] { transform: translateX(-50px); }
[data-reveal="slide-right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(0.9); }

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

img {
    max-width: 100%;
    display: block;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: none;
}

.header.scrolled {
    background: transparent;
    padding-top: 15px;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shift Top only on Desktop */
@media (min-width: 992px) {
    .header.scrolled {
        padding-top: 0;
    }
}

.nav-pill {
    max-width: 1200px;
    margin: 30px auto 0;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #800000; /* Deep Burgundy Theme */
    padding: 0 4rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 60px; /* Increased for pill shape */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-pill {
    height: 100px;
    background: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    border-radius: 20px;
    max-width: 1200px;
    margin: 20px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(107, 15, 26, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 992px) {
    .header.scrolled .nav-pill {
        margin: 5px auto 0;
        border-radius: 0 0 30px 30px; /* Slight adjustment for top-docked look */
    }
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: white;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-group:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    white-space: nowrap;
}

.text-white-light {
    font-weight: 400;
    opacity: 0.9;
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    color: #fff;
    margin-top: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.nav-links li a.active {
    color: #ff3b3b;
    font-weight: 700;
}

.chevron {
    fill: currentColor;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

/* Dropdown Sub-Menu */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown > a {
    height: 100%;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    min-width: 260px;
    padding: 1rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 2000;
}

[data-theme="light"] .sub-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown .chevron {
    transition: transform 0.3s ease;
}

.dropdown:hover .chevron {
    transform: rotate(180deg);
}

.sub-menu li {
    width: 100%;
}

.sub-menu li a {
    padding: 12px 25px;
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

[data-theme="light"] .sub-menu li a {
    color: rgba(0, 0, 0, 0.7);
}

.sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: red;
    padding-left: 35px;
}

[data-theme="light"] .sub-menu li a:hover {
    background: rgba(0, 0, 0, 0.03);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.apply-btn {
    background-color: #000; /* Premium Cinematic Black */
    color: #fff; /* High-contrast white text */
    padding: 10px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800; /* Bold from screenshot */
    line-height: 1.1;
    text-align: center;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    border: none;
}

.apply-btn:hover {
    background-color: #0c0c0c; /* Stay very dark */
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 59, 59, 0.3);
}

/* Buttons */
.btn {
    padding: 10px 10px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    /* font-weight removed */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    cursor: pointer;
    border: none;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    font-size: 15px;
}

.btn-primary, .btn-secondary, .btn-outline {
    background: #000;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover, .btn-secondary:hover, .btn-outline:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    background: #111;
}

/* Theme Toggle */
.theme-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun-icon,
.moon-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.4s ease;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="light"] .moon-icon {
    display: none;
}

/* Hero Slider Section with Background Watermark */
#ohio-custom-69cdbb53be3f4 {
    font-size: 60vh;
    font-weight: 900;
    line-height: 0.78em;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.06);
    /* Adjusted for red bg visibility */
    font-family: 'Playfair Display', serif;
    pointer-events: none;
    white-space: nowrap;
    text-transform: lowercase;
}

.hero-bg-text-watermark {
    transform: rotate(-30deg) translateY(-50%);
    position: absolute;
    top: -24%;
    left: 20%;
    z-index: 0;
    opacity: 0.8;
}

.hero-slider-section {
    position: relative;
    height: 85vh;
    min-height: 852px;
    background: radial-gradient(circle at center, #d6182a 0%, #b91321 50%, #8b0c16 100%);
    overflow: hidden;
    padding: 0;
    margin-top: -130px; 
    padding-top: 130px;
}

.hero-slider-section::before {
    content: "TWS";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 0;
    text-transform: uppercase;
    letter-spacing: -20px;
}

[data-theme="dark"] .hero-slider-section {
    background: #0a0a0a;
}

.hero-slider {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex; /* Restored for vertical alignment */
    align-items: center; /* Centers the slider track vertically */
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    width: max-content;
    transition: transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    align-items: center;
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 5%;
    opacity: 0.3; /* Dim inactive slides */
    transform: scale(0.95); /* Slightly shrink inactive slides */
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.full-banner-card {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: auto;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.full-banner-card img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    display: block;
}

/* Delhi Slider Controls */
.slider-controls-delhi {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    padding: 0 10%;
    pointer-events: none;
}

.slider-counter-delhi {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    pointer-events: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.delhi-separator {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
}

.slider-arrows-delhi {
    display: flex;
    gap: 3rem;
    pointer-events: auto;
}

.delhi-nav-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.delhi-nav-btn:hover {
    color: #ffec00;
    transform: scale(1.2);
}

.delhi-nav-btn svg {
    width: 35px;
    height: 35px;
}

@media (max-width: 991px) {
    .hero-slider {
        padding-top: 80px;
        min-height: auto;
    }
    .full-banner-card {
        border-radius: 20px;
        margin: 20px auto;
        max-width: 95%;
    }
    .slider-controls-delhi {
        position: relative;
        bottom: 20px;
        padding: 0 8%;
        margin-top: 10px;
    }
    .slider-counter-delhi {
        font-size: 1.2rem;
    }
    .delhi-nav-btn svg {
        width: 30px;
        height: 30px;
    }
}

.slider-counter {
    pointer-events: auto;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--slider-control-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: 'Outfit', sans-serif;
    transition: color 0.4s ease;
}

.slider-counter .separator {
    display: inline-block;
    width: 60px;
    height: 1px;
    background: var(--slider-control-color);
    color: transparent;
    transition: background 0.4s ease;
}

.slider-arrows {
    pointer-events: auto;
    display: flex;
    /* gap: 1.5rem; */
}

.slider-nav-btn {
    width: 65px;
    height: 65px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    pointer-events: auto;
}

.slider-nav-btn:hover {
    background: #ff3b3b;
    border-color: #ff3b3b;
    transform: scale(1.1);
}

.slider-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Reusing part of Hero styles if needed */
.text-gradient {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(var(--primary-gold-rgb), 0.1);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    /* Hero text always white for visibility on dark overlay */
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Sections Layout */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.reverse {
    direction: rtl;
}

.reverse>* {
    direction: ltr;
}

/* Discover Grid */
/* Discover Grid Restoration */
.discover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
}

.discover-tile {
    position: relative;
    height: 550px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: white;
    background: #000;
}

.tile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
    z-index: 1;
}

.discover-tile:hover .tile-bg {
    transform: scale(1.05);
}

.discover-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.tile-content {
    position: relative;
    z-index: 10;
    height: 100%;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
}

.tile-title {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: white;
    text-transform: capitalize;
    letter-spacing: -0.5px;
    margin: 0;
}

.tile-btn {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 3.5rem;
    left: 3.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tile-btn svg {
    width: 20px;
    height: 20px;
    color: white;
    transition: transform 0.4s ease;
}

.discover-tile:hover .tile-btn {
    background: #fff;
    transform: scale(1.1);
}

.discover-tile:hover .tile-btn svg {
    color: #111;
    transform: translateX(3px);
}

/* Notable Alumni 3x3 Matrix */
.alumni-photo-matrix {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    z-index: 1;
}

.alumni-photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border: 0.5px solid rgba(255,255,255,0.05);
}

/* Blogs Tile Specifics */
.discover-tile.blogs {
    background-color: #0c0c0c;
    border: none !important;
    box-sizing: border-box;
}

.blogs .tile-content {
    padding: 0;
    height: 100%;
}

.blogs .tile-title {
    position: absolute;
    top: 4.5rem;
    left: 3.5rem;
    z-index: 20;
}

.blogs .quote-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5rem;
    text-align: center;
    margin: 0;
}

.quote-text {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.quote-text .highlight {
    color: #ff3b3b;
}

.quote-author {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: none;
}

/* Vertical Social Bar for Blog Tile */
.tile-social-sidebar {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.tile-social-sidebar .social-line {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

.tile-social-sidebar .follow-text {
    writing-mode: vertical-rl;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-weight: 800;
    margin: 0.5rem 0;
}

.social-icons-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.social-icons-vertical a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icons-vertical a:hover {
    color: #ff3b3b;
    transform: scale(1.2);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 0.3rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Images */
.image-wrapper {
    position: relative;
    padding: 1rem;
    overflow: hidden;
}

.image-wrapper img {
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.03);
}

/* --- About Section Specifics (Final Perfection - Image Match) --- */
.about {
    background-color: var(--bg-color);
    overflow: hidden;
    transition: background-color 0.6s ease;
}

.about .grid-2 {
    align-items: center;
    gap: 6rem;
    /* Adjusted for balanced vertical alignment */
}

.about-header {
    margin-bottom: 2rem;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
    /* Lighter as per image */
    text-transform: uppercase;
    display: block;
}

.section-divider {
    border: none;
    height: 1px;
    background: var(--glass-border);
    /* Ultra-light paper-thin line */
    margin: 1rem 0;
    width: 100%;
}

.about .section-title {
    /* font-size: 2.5rem; */
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
    /* margin-bottom: 2.5rem; */
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.about-right {
    max-width: 450px;
    /* Narrow column as per image */
    padding-top: 29px;
    /* Lower alignment as requested */
}

.about-content p {
    color: var(--text-color);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.read-more-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.read-more-btn {
    background: #000;
    color: #fff;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    text-transform: capitalize;
    font-size: 15px;
    /* font-weight removed */
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.read-more-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    background: #111;
}

.red-dot-circle {
    width: 32px;
    height: 32px;
    border: 1px solid #ff3b3b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.red-dot-circle .dot {
    width: 8px;
    height: 8px;
    background: #ff3b3b;
    border-radius: 50%;
}

.read-more-btn:hover {
    background: #000;
    transform: translateY(-2px);
}

/* Image & Play Button */
.about-image .image-wrapper {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    /* Flatter look like image */
}

.about-image img {
    border-radius: 12px !important;
}

.video-trigger {
    display: block;
    text-decoration: none;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.video-trigger:hover .play-btn-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: #000;
}

.video-trigger:hover img {
    transform: scale(1.05);
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #111;
    /* Solid black circle from image */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.play-btn-overlay svg {
    width: 32px;
    height: 32px;
    color: #fff;
    margin-left: 5px;
    /* Alignment for play icon */
}

/* Courses */
.light-bg {
    background-color: var(--section-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.course-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.course-features {
    list-style: none;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.course-features li {
    margin-bottom: 0.5rem;
}

.link-btn {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.highlighted {
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, rgba(var(--primary-gold-rgb), 0.05), rgba(var(--primary-gold-rgb), 0.1));
}

/* Faculty Quote */
.founder-quote {
    font-size: 1.4rem;
    font-style: italic;
    border-left: 4px solid var(--primary-gold);
    padding-left: 2rem;
    margin: 2.5rem 0;
    color: var(--text-muted);
}

.founder-quote cite {
    display: block;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    margin-top: 1rem;
    color: var(--text-color);
}

/* Alumni */
.alumni-featured {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    margin-top: 3rem;
    margin-bottom: 4rem;
    height: 500px;
}

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

.alumni-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    padding: 2.5rem;
    text-align: center;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
}

.contact-info {
    padding: 4rem;
    background: rgba(var(--primary-gold-rgb), 0.05);
}

.contact-details {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.contact-form {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.2); /* Enhanced visibility for Dark mode */
    border-radius: 12px;
    color: var(--text-color);
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(0, 0, 0, 0.04);
    border: 1.5px solid rgba(0, 0, 0, 0.15); /* Clearly defined border for Light mode */
    color: #111;
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: #888;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-gold);
}

.full-width {
    width: 100%;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer h4 {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 1rem;
}

.footer ul a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul a:hover {
    color: var(--primary-gold);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: red !important;
    color: #fff !important;
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

[data-reveal="bottom"] {
    transform: translateY(50px);
}

[data-reveal="left"] {
    transform: translateX(-50px);
}

[data-reveal="right"] {
    transform: translateX(50px);
}

[data-reveal="scale"] {
    transform: scale(0.9);
}

.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: 0.3s;
}

/* Floating Sidebars */
.side-bar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
    /* padding: 10px; */
    /* background: #f0f0f0; */
    border-radius: 50px;
    /* border: 1px solid rgba(0, 0, 0, 0.05); */
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); */
    /* Removed shadow for absolute transparency */
}

.side-bar-left {
    top: 50%;
    position: fixed;
    transform: translateY(-50%);
    /* Ensures it is perfectly vertically centered */
    left: 15px;
    z-index: 1100;
}

.side-bar-right {
    right: 15px;
}

/* Theme Pill Toggle */
.theme-pill-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 5px;
    background: #e6e6e6;
    /* Shaded background for toggle */
    border-radius: 40px;
    height: 160px;
    width: 44px;
    cursor: pointer;
}

.theme-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s ease;
    width: 100%;
}

.theme-option span {
    writing-mode: sideways-lr;
    text-transform: capitalize;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.theme-option svg {
    width: 18px;
    height: 18px;
}

.theme-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 36px;
    height: 76px;
    background: #ffffff;
    /* Bright white pill */
    border-radius: 30px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-slider {
    transform: translateY(76px);
}

.theme-option {
    color: #000;
    /* Black text from image */
}

/* Social Side Bar */
.social-side-links {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.social-side-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    opacity: 0.9;
    background: transparent;
    transition: all 0.3s ease;
}

[data-theme="light"] .social-side-links a {
    color: #000;
}

.social-side-links a:hover {
    background: red !important;
    color: #fff !important;
    opacity: 1;
    transform: scale(1.1);
}

.follow-text {
    writing-mode: sideways-lr;
    text-transform: capitalize;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    /* Default: white for dark mode */
    /* margin-top: 1.5rem; */
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: color 0.3s ease;
}

[data-theme="light"] .follow-text {
    color: #000;
    /* Black for light mode */
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Moved to left */
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Scroll to Top Button (Floating) */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    color: #fff;
    border: none;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Scroll-top Theme Colors */
[data-theme="dark"] .scroll-top {
    background-color: #4d4c4e;
}

[data-theme="light"] .scroll-top {
    background-color: #000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* GLOBAL RED HOVER FOR ALL BUTTONS - ENTIRE SITE */
.scroll-top:hover,
.apply-btn:hover,
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-blue:hover,
.read-more-btn:hover,
.dark-btn:hover,
.apply-now-btn-dark:hover,
.slider-nav-btn:hover,
.tile-btn:hover,
.ig-follow-btn:hover,
.ig-load-more:hover,
.newsletter-form button:hover,
.contact-form button:hover,
.read-more:hover,
.scroll-top-btn:hover,
.play-btn-overlay:hover {
    background: red !important;
    background-image: none !important; /* Force remove all gradients */
    color: #fff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.45) !important;
    border-color: red !important;
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
}

/* Mobile Adjustments for Sidebars */
@media (max-width: 1200px) {
    .side-bar {
        display: none;
    }
}

/* Video Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.modal.active {
    display: flex;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.active .modal-overlay {
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1100px;
    z-index: 10;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-close svg {
    width: 32px;
    height: 32px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Founder Section */
.founder-section {
    width: 100%;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 800px;
}

.founder-image {
    background-color: #000;
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.founder-section:hover .founder-image img {
    transform: scale(1.05);
}

.founder-content-block {
    background-color: #b91321;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem;
}

.founder-content-inner {
    max-width: 550px;
    position: relative;
}

.founder-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2.5rem;
    line-height: 1;
    letter-spacing: -1.5px;
}

.founder-bio p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.founder-bio em {
    font-style: italic;
    color: #fff;
    font-weight: 500;
}

.dark-btn {
    background: #111 !important;
    margin-top: 2rem;
    padding: 12px 35px !important;
}

.dark-btn:hover {
    background: #000 !important;
    transform: translateY(-3px);
}

.founder-social-sidebar {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.founder-social-sidebar .social-icons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.founder-social-sidebar .social-icons a {
    color: #111;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.founder-social-sidebar .social-icons a:hover {
    transform: scale(1.2);
}

.founder-social-sidebar .social-line {
    width: 1.5px;
    height: 50px;
    background: #111;
}

.founder-social-sidebar .follow-text {
    writing-mode: vertical-rl;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #111;
    text-transform: capitalize;
    font-weight: 800;
}

/* Blogs Section */
.blogs-section {
    background-color: #fff;
    padding-bottom: 8rem;
    position: relative;
}

.blog-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 5rem;
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.blog-card {
    text-decoration: none;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-12px);
}

.blog-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.8rem;
    background-color: #000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.1);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-dot {
    width: 6px;
    height: 6px;
    background: #cc222e;
    border-radius: 50%;
}

.blog-title {
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 700;
    color: #111;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.3px;
}

.blog-footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.red-dot-circle-corner {
    position: absolute;
    bottom: 2rem;
    right: 4rem;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.red-dot-circle-corner .dot {
    width: 6px;
    height: 6px;
    background: #cc222e;
    border-radius: 50%;
}

/* Media Queries */
/* --- MOBILE NAVIGATION --- */
@media (max-width: 991px) {
    .nav-links {
        display: none; /* Default hidden for script control */
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 10rem 2rem 4rem; /* Increased top padding to avoid logo */
        gap: 1.5rem; /* Slightly reduced gap */
        z-index: 1000;
        overflow-y: auto;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    /* Primary Links */
    .nav-links > li > a {
        font-size: 1.8rem;
        font-weight: 800;
        justify-content: center;
        color: white;
    }

    /* Sub-menu Styling on Mobile */
    .dropdown {
        flex-direction: column;
        height: auto;
        align-items: center;
        width: 100%;
    }

    .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0.8rem 0;
        min-width: unset;
        display: none !important; /* Force hidden by default on mobile */
        width: 100%;
        margin: 0;
        gap: 5px;
    }

    .sub-menu li {
        width: 100%;
        display: flex;
        justify-content: center;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
    }

    .dropdown.active .sub-menu li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for sub-menu items */
    .dropdown.active .sub-menu li:nth-child(1) { transition-delay: 0.1s; }
    .dropdown.active .sub-menu li:nth-child(2) { transition-delay: 0.2s; }
    .dropdown.active .sub-menu li:nth-child(3) { transition-delay: 0.3s; }
    .dropdown.active .sub-menu li:nth-child(4) { transition-delay: 0.4s; }
    .dropdown.active .sub-menu li:nth-child(5) { transition-delay: 0.5s; }

    /* Sub-menu Links */
    .sub-menu li a {
        width: auto;
        font-size: 1.05rem !important; /* Smaller for hierarchy */
        font-weight: 500;
        color: rgba(255, 255, 255, 0.5) !important; /* Muted color for sub-menu */
        padding: 10px 20px !important;
        justify-content: center;
        white-space: normal;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        transition: all 0.3s ease;
    }

    .sub-menu li a:hover,
    .sub-menu li a.active {
        color: #ff3b3b !important;
        transform: scale(1.05);
    }

    .dropdown.active .sub-menu {
        display: flex !important; /* Force show when active */
        flex-direction: column;
        align-items: center;
        transform: none !important;
        left: auto !important;
    }

    .dropdown.active > .main-link {
        color: #ff3b3b !important;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        z-index: 1001;
        cursor: pointer;
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

    .mobile-menu-btn span {
        width: 22px;
        height: 1.5px;
        background: white;
        transition: all 0.3s ease;
    }

    /* Reduce to 2 spans */
    .mobile-menu-btn span:nth-child(3) { display: none; }

    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); width: 24px; }
    .mobile-menu-btn.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); width: 24px; }

    .nav-actions { display: none; }
    
    .nav-pill {
        height: 80px;
        padding: 0 1.5rem;
        width: 90%; /* Center centered instead of fixed 400px which overflows */
        max-width: 420px;
        margin: 20px auto 0;
        border-radius: 50px;
    }

    .logo-img {
        height: 45px;
    }

    .logo-main {
        font-size: 1.4rem;
        letter-spacing: 0.2px;
    }

    .logo-tagline {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }
}

/* --- GRID RESPONSIVENESS --- */
@media (max-width: 991px) {
    .grid-2, 
    .footer-top-grid,
    .discover-grid,
    .founder-grid,
    .blog-grid,
    .ig-grid,
    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }

    .founder-grid {
        min-height: auto !important;
    }

    .founder-content-block {
        padding: 4rem 2rem !important;
        overflow: hidden; /* Prevent any child overflow from causing scroll */
    }

    .founder-title {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem !important;
        word-break: break-word; /* Ensure titles don't overflow on tiny screens */
    }

    .contact-info {
        padding: 3rem 1.5rem !important;
    }
    
    .contact-form {
        padding: 2.5rem 1.5rem !important;
    }

    .form-group {
        margin-bottom: 1.25rem !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1.1rem !important;
        /* Background and border are now handled by theme-aware base styles */
    }
    
    [data-theme="light"] .form-group input,
    [data-theme="light"] .form-group select,
    [data-theme="light"] .form-group textarea {
        background: #fdfdfd !important; /* Pure white bg for inputs in light mode on mobile */
        border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    }

    .contact-info h2 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    .contact-info h2 .text-gradient {
        font-size: 2.8rem !important;
        display: block;
        margin-top: 0.5rem;
    }

    .contact-details {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .contact-details .detail-item p {
        font-size: 0.95rem;
    }

    .section-padding { padding: 4rem 0; }

    .hero-slider-section { 
        height: 65vh; /* Reduced from 82vh to remove vertical gaps */
        min-height: 350px; 
        padding: 0; 
        margin-top: -100px; /* Reduced from -130px for tighter fit */
    }

    .hero-slider {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        align-items: flex-end; /* Shifted from center to bottom */
        padding-bottom: 20px; /* Small space for controls */
    }

    .slide { width: 100%; padding: 0; }
    .slide-image-wrapper { border-radius: 0; border: none; height: 100%; }

    .hero-slider.swiper {
        padding: 0 0 20px !important;
    }

    .swiper-wrapper {
        top: 40px !important;
    }
    
    .slider-controls {
        position: absolute;
        bottom: 100px;
        left: 0 !important;
        width: 100%;
        padding: 0 2rem;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        z-index: 100;
    }

    .slider-counter {
        font-size: 1.5rem;
        font-weight: 700;
        gap: 1.5rem;
    }

    .slider-counter .separator {
        width: 70px;
        height: 1px;
        background: rgba(255, 255, 255, 0.5);
    }

    .slider-arrows {
        gap: 1.5rem;
    }

    .slider-nav-btn {
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.05); /* Ghost border style */
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slider-nav-btn svg { width: 24px; color: white; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    
    .main-footer {
        padding-top: 4rem;
        padding-bottom: 2rem !important;
        text-align: center;
    }

    .footer-top-grid { 
        text-align: center; 
        gap: 4rem;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        width: 100%;
        text-align: center;
    }

    .footer-logo-img {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
    }

    .branding-col p {
        width: 100%;
        text-align: center;
    }

    .footer-socials { 
        justify-content: center; 
        margin-top: 1.5rem;
    }

    .footer-col-title {
        margin-bottom: 1.5rem;
    }

    .footer-address {
        margin-bottom: 2rem;
    }

    .newsletter-form { 
        flex-direction: column; 
        gap: 12px; 
        background: transparent; 
        border: none; 
        padding: 0; 
        margin-top: 1rem;
    }

    .newsletter-form input { 
        background: #1a1a1a; 
        border-radius: 12px; 
        width: 100%; 
        border: 1px solid rgba(255,255,255,0.08); 
        padding: 15px 20px;
    }

    .newsletter-form button { 
        width: 100%; 
        padding: 15px;
        border-radius: 12px;
    }

    .contact-block {
        margin-top: 3rem;
    }
    
    .footer-copyright-bar {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
        padding: 3rem 0 1rem;
    }

    .footer-legal-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }

    .footer-legal-links .separator {
        display: none;
    }

    .ig-header { flex-direction: column; text-align: center; gap: 1.5rem; }
    .ig-username-row { flex-direction: column; gap: 0.5rem; }
}

/* Social Media Feed */
.social-feed {
    background-color: var(--bg-color);
}

.ig-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ig-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2.5px #cc222e;
}

.ig-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-username-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.ig-username {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
}

.ig-posts-count {
    font-size: 1rem;
    color: #cc222e;
    font-weight: 700;
}

.ig-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 500;
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.ig-post {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
}

.ig-post:hover {
    transform: translateY(-8px);
}

.ig-post-media {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: #000;
}

.ig-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ig-post:hover .ig-post-media img {
    transform: scale(1.05);
}

.ig-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 2.2rem;
    pointer-events: none;
}

.ig-post-content {
    padding: 1.5rem;
}

.ig-caption {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

.ig-stats {
    display: flex;
    gap: 1.2rem;
    color: #88929b;
    font-size: 0.9rem;
    font-weight: 600;
}

.ig-stats span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ig-stats i {
    font-size: 1.1rem;
}

.ig-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 4.5rem;
}

.ig-load-more {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 10px 10px;
    border-radius: 10px;
    /* font-weight removed */
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.ig-load-more:hover {
    background-color: #e5e5e5;
    transform: translateY(-2px);
}

.ig-follow-btn {
    background-color: #006aa6;
    color: #fff;
    padding: 10px 10px;
    border-radius: 10px;
    font-size: 15px;
    /* font-weight removed */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.ig-follow-btn:hover {
    background-color: #005a8d;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 106, 166, 0.2);
}

.ig-follow-btn i {
    font-size: 1.3rem;
}

@media (max-width: 1200px) {
    .ig-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Main Footer */
.main-footer {
    background-color: #0a0a0a;
    color: #fff;
    padding-top: 2rem;
    padding-bottom: 2rem !important;
}

.scroll-top-container {
    display: flex;
    justify-content: flex-start;
    padding-top: 3rem;
}

.scroll-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #888;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0;
}

.scroll-top-btn:hover {
    color: #fff;
}

.scroll-top-btn .scroll-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn .scroll-icon i {
    font-size: 1rem;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    display: block;
    margin-left: 0;
    margin-bottom: 0.5rem;
}

.footer-brand-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: #fff;
    font-size: 1.3rem;
    transition: opacity 0.3s ease;
}

.footer-socials a:hover {
    opacity: 0.6;
}

.footer-col-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #777;
    margin-bottom: 2rem;
}

.footer-address {
    font-style: normal;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #eee;
    margin-bottom: 1.5rem;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: #cc222e;
}

.map-link i {
    color: #cc222e;
    font-size: 1.1rem;
}

.margin-top-lg {
    margin-top: 4.5rem;
}

.newsletter-form {
    display: flex;
    background: #1a1a1a;
    padding: 7px;
    border-radius: 10px;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 18px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-form button {
    background: #2a2a2a;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 10px; /* Matching homepage button rounding */
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
}

.newsletter-form button:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
}

.contact-info-footer p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: #eee;
    font-weight: 600;
}

.footer-copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #777;
    font-weight: 600;
}

.footer-copyright-bar .copyright-text {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-legal-links a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #fff;
}

.footer-legal-links .separator {
    color: #333;
}


/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    background-color: #2fed7b;
}

@media (max-width: 991px) {
    .whatsapp-float {
        bottom: 25px;
        left: 25px; /* Stay on left but ensure no overlap by coordinating with titles */
        width: 50px;
        height: 50px;
        font-size: 26px;
    }

    /* Prevent Title overlap */
    .section-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
        padding-left: 15px; /* Offset to keep clear of floated icons */
    }
}

/* Alumni Mosaic Slider Layout */
.mosaic-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    gap: 2px; /* Minimalist line gap */
    background: #000;
}

.mosaic-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
}

.mosaic-right {
    position: relative;
    overflow: hidden;
}

.mosaic-right img,
.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
}

/* Institutional Branding Bar */
.mosaic-branding-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 4rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0.5), transparent);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 20;
    backdrop-filter: blur(10px);
}

.mosaic-text {
    max-width: 60%;
    text-align: left;
}

.tagline-top {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.announcement-main {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
    color: white;
    font-family: 'Playfair Display', serif;
}

.mosaic-institutional {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 2rem;
}

.institutional-logo {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    line-height: 1;
}

.logo-tagline-bar {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

/* Responsive adjustment for Mobile Mosaic */
@media (max-width: 991px) {
    .mosaic-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    .mosaic-branding-bar {
        padding: 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .mosaic-text { max-width: 100%; }
    .mosaic-institutional { border: none; padding-left: 0; }
}

/* Blogs Dark Mode Support */
[data-theme="dark"] .blogs-section {
    background-color: #0a0a0a;
}

[data-theme="dark"] .blog-section-title {
    color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .blog-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .blog-title {
    color: #ffffff;
}

[data-theme="dark"] .blog-meta {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .blog-dot {
    background-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .blog-footer .read-more-btn {
    border-color: #ffffff;
    color: #ffffff;
}

/* Instagram/Social Feed Dark Mode Support */
[data-theme="dark"] .social-feed {
    background-color: #0a0a0a;
}

[data-theme="dark"] .ig-username {
    color: #ffffff;
}

[data-theme="dark"] .ig-posts-count {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .ig-post-content {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .ig-caption {
    color: #ffffff;
}

[data-theme="dark"] .ig-stats {
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .ig-load-more {
    border-color: #ffffff;
    color: #ffffff;
}

[data-theme="dark"] .ig-follow-btn {
    background: #ffffff;
    color: #000000;
}

/* Global Dark Mode Button Refinement */
[data-theme="dark"] .btn,
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-outline,
[data-theme="dark"] .apply-btn,
[data-theme="dark"] .read-more-btn,
[data-theme="dark"] .ig-load-more {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Dark mode hovers are handled globally at the end of the file to ensure 'red' consistency */
/* --- CONTACT PAGE REDESIGN --- */

.contact-hero {
    height: 60vh;
    min-height: 400px;
    background-image: url('https://actorprepares.in/wp-content/uploads/2025/07/PAGE-web-banners-scaled.png');
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px; /* Offset for fixed header */
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #ff3b3b;
}

.contact-hero h1 {
    display: none; /* Hide HTML text as it's likely baked into the banner image */
}

.inquiry-form-section {
    padding: 4rem 0;
    background-color: #fff; /* White background for form area */
}

[data-theme="dark"] .inquiry-form-section {
    background-color: #0d1117;
}

.section-intro {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.section-intro h2 {
    font-size: 4rem;
    color: #111;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e1e1;
    display: block;
    width: 100%;
}

[data-theme="dark"] .section-intro h2 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.inquiry-form-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.inquiry-form-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

[data-theme="dark"] .inquiry-form-card {
    background: #111;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem; /* Uniform spacing between all fields */
}

.form-grid .form-group {
    margin-bottom: 0; /* Removing extra vertical margin within grid layouts */
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #444;
    font-family: 'Outfit', sans-serif;
}

.form-group label span.required {
    color: #e63946;
    margin-left: 2px;
}

[data-theme="dark"] .form-group label {
    color: #bbb;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1.2rem;
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #111;
    transition: all 0.2s ease;
    background-color: #fcfcfc;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .form-group input, 
[data-theme="dark"] .form-group select, 
[data-theme="dark"] .form-group textarea {
    background-color: #1a1a1a;
    border-color: #333;
    color: #fff;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #4285f4;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.submit-btn-wrap {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-blue {
    background-color: #000;
    color: #fff;
    padding: 1rem 3.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px; /* Matching homepage button rounding */
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    min-width: 200px;
    font-family: 'Outfit', sans-serif;
    text-transform: capitalize;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-blue:hover {
    background-color: #111;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.apply-now-btn-dark {
    background-color: #000;
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 10px; /* Matching homepage button rounding */
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex; /* Match hover behavior */
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.apply-now-btn-dark:hover {
    background-color: #111;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.location-maps-section {
    padding: 8rem 0;
    background-color: #f7f7f7;
}

[data-theme="dark"] .location-maps-section {
    background-color: #0d0d0d;
}

.maps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.location-item {
    background: #fff; /* Restoring white background for the content area */
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft shadow for depth */
    border: none;
}

.location-item-split {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.location-map {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.location-details {
    flex: 1;
    padding: 40px 40px 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.info-block-full {
    border-top: 1px solid #eee;
    padding-top: 25px;
    margin-top: auto;
    padding-bottom: 20px;
}

[data-theme="dark"] .info-block-full {
    border-color: #222;
}

@media (max-width: 991px) {
    .location-item-split {
        flex-direction: column;
    }
    .location-map {
        min-height: 350px;
    }
    .location-details {
        padding: 2rem;
    }
}

[data-theme="dark"] .location-item,
[data-theme="dark"] .location-item-split {
    background: #111;
    border-color: transparent;
}

.map-embed {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
    border-radius: 0;
}

.location-content {
    padding: 2.5rem;
}

.location-content h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #111;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

[data-theme="dark"] .location-content h3 {
    color: #fff;
}

.info-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.info-block {
    flex: 1;
}

.info-block h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.8rem;
    font-family: 'Outfit', sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

[data-theme="dark"] .info-block h4 {
    color: #fff;
}

.info-block address, .info-block p {
    font-size: 1rem;
    color: #333;
    font-style: normal;
    line-height: 1.5;
    margin-bottom: 0;
}

[data-theme="dark"] .info-block p, [data-theme="dark"] .info-block address {
    color: #ccc;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    background-color: #111;
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.info-link i {
    font-size: 0.9rem;
}

.info-link:hover {
    background-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-block-full {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

[data-theme="dark"] .info-block-full {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.email-link {
    color: #111;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

[data-theme="dark"] .email-link {
    color: #fff;
}

.mt-4 { margin-top: 1.5rem !important; }

/* Contact Page Responsiveness */
@media (max-width: 991px) {
    .maps-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 40vh;
        min-height: 280px;
        padding-top: 80px;
    }

    .section-intro h2 {
        font-size: 2.5rem !important;
        padding-bottom: 1rem;
        word-break: break-word;
    }

    .inquiry-form-card {
        padding: 2rem 1.5rem !important;
        border-radius: 12px;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
    }

    .form-group.full-width {
        grid-column: span 1 !important;
    }

    .info-row {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .location-content {
        padding: 1.5rem;
    }

    .location-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .btn-blue {
        width: 100%;
        padding: 1rem;
    }
}


.cta-banner-section {
    padding: 4rem 0;
    background-color: #e9e9e9;
    text-align: left;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .cta-banner-section {
    background-color: #1a1a1a;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    position: relative;
}

.cta-tag {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
}

[data-theme="dark"] .cta-tag {
    color: #fff;
}

.cta-text h3 {
    font-size: 3rem;
    line-height: 1.1;
    color: #111;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
    font-weight: 700;
}

[data-theme="dark"] .cta-text h3 {
    color: #fff;
}

.cta-actions {
    position: relative;
}

.apply-now-btn-dark {
    background-color: #111;
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.apply-now-btn-dark:hover {
    background: #ff3b3b;
    color: #fff !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 59, 59, 0.4);
}

.cta-decorative-dot {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -10px;
    right: 0;
}

[data-theme="dark"] .cta-decorative-dot {
    border-color: rgba(255, 255, 255, 0.1);
}

.inner-dot {
    width: 8px;
    height: 8px;
    background-color: #e63946;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0 2rem;
    }
    
    .cta-text h3 {
        font-size: 2.2rem;
    }
    
    .cta-actions {
        align-items: center;
    }

    .cta-decorative-dot {
        display: none;
    }
}.admission-hero, 
.adsa-hero-section,
.diploma-hero-section,
.adsa-bg-overlay,
.diploma-bg-overlay,
.blog-hero {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.adsa-hero-section,
.diploma-hero-section {
    height: 80vh;
    min-height: 600px;
    background: #000;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid #ff3b3b;
}

@media (max-width: 768px) {
    .adsa-hero-section,
    .diploma-hero-section {
        height: 45vh;
        min-height: 300px;
    }
}

.adsa-bg-overlay,
.diploma-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 0;
}

.adsa-hero-content {
    position: relative;
    z-index: 10;
}

.adsa-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    line-height: 0.85;
    font-weight: 900;
    letter-spacing: -2px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.adsa-main-title .line-white {
    color: #fff;
}

.adsa-main-title .line-gold {
    color: #ffd300;
}

.hero-signature-dot {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 20;
}

.hero-signature-dot .dot-wrap {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-signature-dot .dot {
    width: 10px;
    height: 10px;
    background: #e63946;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.6);
}

@media (max-width: 1200px) {
    .adsa-main-title {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .adsa-main-title {
        font-size: 4rem;
    }
    
    .hero-signature-dot {
        display: none;
    }
}

@media (max-width: 991px) {
    .cta-flex {
        flex-direction: column;
        text-align: center;
        padding: 0 2rem;
    }
    
    .cta-text h3 {
        font-size: 2.8rem;
        text-align: center;
    }
    
    .cta-actions {
        margin-top: 3rem;
        align-items: center;
    }
    
    .cta-decorative-dot {
        position: relative;
        bottom: 0;
        margin-top: 2rem;
    }
}

/* ==========================================================================
   Blog Page Styles
   ========================================================================== */

.blog-hero {
    height: 60vh;
    min-height: 400px;
    background-image: url('../images/blogs.png'); /* Relative path from css folder */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px; /* Offset for fixed header */
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #ff3b3b;
}

.blog-hero h1 {
    display: none; /* Already integrated in the image like andheri/contact banners */
}

.blog-section {
    padding: 8rem 0;
    background-color: var(--bg-color); /* Correctly use theme variable */
}

.blog-section .container {
    max-width: 1400px; /* Prevent excessive gaps on large screens */
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--card-bg); /* Use theme card-bg */
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border); /* Match the glassmorphism border */
    height: 100%;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.blog-card-img {
    height: 180px; /* Reduced height for 4-column layout */
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.8rem; /* Optimized padding for 4 items per row */
}

.blog-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-family: 'Inter', sans-serif;
}

.blog-card h4 {
    font-size: 1.35rem; /* Reduced font size for compact 4-column look */
    line-height: 1.35;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    flex: 1;
}

.blog-footer {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
}

.blog-category {
    display: inline-block;
    background: var(--glass-border);
    color: var(--text-muted);
    padding: 0.4rem 1.2rem;
    border-radius: 20px; /* Fully rounded pill */
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: capitalize;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #e63946;
}

.read-more i {
    font-size: 0.8rem;
}

.read-more:hover {
    color: #e63946;
}

.pagination {
    margin-top: 5rem;
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
}

.page-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg); /* Themed background */
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.page-link.active {
    background: var(--text-color);
    color: var(--bg-color); /* Inverted for high contrast */
}

.page-link:hover:not(.active) {
    background: var(--glass-border);
    color: var(--text-color);
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-hero h1 {
        font-size: 3rem;
    }
}

/* GLOBAL RED HOVER FOR ALL BUTTONS - ENTIRE SITE */
/* Moving to end of file to ensure global precedence */
.scroll-top:hover,
.apply-btn:hover,
.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-blue:hover,
.read-more-btn:hover,
.dark-btn:hover,
.apply-now-btn-dark:hover,
.slider-nav-btn:hover,
.tile-btn:hover,
.ig-follow-btn:hover,
.ig-load-more:hover,
.newsletter-form button:hover,
.contact-form button:hover,
.read-more:hover,
.scroll-top-btn:hover,
.play-btn-overlay:hover {
    background: red !important;
    background-image: none !important; /* Force remove all gradients */
    color: #fff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.45) !important;
    border-color: red !important;
}

/* FAQ SECTION STYLES */
.faq-section {
    padding: 8rem 0;
    min-height: 80vh;
    background-color: var(--bg-color);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category-wrap {
    margin-bottom: 4rem;
}

.faq-category-title {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    color: #000;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    letter-spacing: 1px;
    text-transform: uppercase;
}

[data-theme="dark"] .faq-category-title {
    color: #fff; /* Keep white/gold in dark mode for visibility */
}

.faq-item {
    margin-bottom: 1.2rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-icon-wrap {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1.5rem;
}

[data-theme="dark"] .faq-icon-wrap {
    background: rgba(255, 255, 255, 0.1);
}

.faq-icon-wrap i {
    font-size: 0.9rem;
    color: var(--text-color);
    transition: transform 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 1.5rem 2.2rem 2.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
    font-size: 1.1rem;
}

/* FAQ Active state - Matching Screenshot */
.faq-item.active {
    border-color: transparent;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.faq-item.active .faq-question {
    background: #f8f8f8;
    color: #000;
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

[data-theme="dark"] .faq-item.active .faq-question {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-item.active .faq-icon-wrap {
    background: #eee;
}

[data-theme="dark"] .faq-item.active .faq-icon-wrap {
    background: rgba(255, 255, 255, 0.15);
}

/* --- ADMISSION PAGE STYLES --- */
.admission-page {
    background: var(--bg-color);
}

/* Refined Admission 2-Column Intro */
.admission-intro-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: flex-start;
    padding-bottom: 4rem;
}

.large-side-title {
    font-size: 40px;
    font-weight: 800;
    /* letter-spacing: -2px; */
    margin: 0;
    line-height: 1.1;
    color: var(--text-color);
}

.intro-right p {
    font-size: 1.15rem;
    color: var(--text-color);
    /* margin-bottom: 2rem; */
    max-width: 650px;
}

.intro-right strong {
    font-weight: 700;
    color: var(--text-color);
}

.inline-cta-dot {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    vertical-align: middle;
}

.inline-cta-dot .dot {
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .admission-intro-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .large-side-title {
        font-size: 2.2rem !important;
        word-break: break-word;
    }
}

.eligibility-box {
    background: rgba(var(--primary-gold-rgb), 0.05);
    padding: 2.5rem;
    text-align: left;
    border-radius: 20px;
    margin-top: 3rem;
}

.eligibility-box h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.eligibility-box ul {
    list-style: none;
    padding: 0;
}

.eligibility-box ul li {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    color: var(--text-color);
}

.eligibility-box ul li i {
    color: red;
    margin-top: 5px;
}

/* Additional Information Section - Refined Split */
.section-header-wide {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-flex {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.wide-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 2rem 0;
}

.info-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 2rem;
}

.info-col.relative {
    position: relative;
}

.floating-red-dot {
    position: absolute;
    top: -20px;
    right: -40px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-red-dot .dot {
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
}

.info-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.info-col {
    text-align: left;
}

.info-icon {
    font-size: 2.2rem;
    color: #000;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .info-icon {
    color: #fff;
}

.info-col h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.info-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

@media (max-width: 991px) {
    .info-grid-simple {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Tuition Fee Table Styles - Flat Refined */
.tuition-table-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto;
}

.floating-red-dot-table {
    position: absolute;
    top: 75%;
    right: -25px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.floating-red-dot-table .dot {
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
}

.tuition-table-container {
    overflow-x: auto;
}

.tuition-table {
    width: 100%;
    border-collapse: collapse;
}

.tuition-table th, 
.tuition-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border: 1px solid #eee;
    font-size: 1rem;
}

.tuition-table th {
    background: #fcfcfc;
    font-weight: 700;
    color: #333;
    font-size: 1.05rem;
}

[data-theme="dark"] .tuition-table th {
    background: #1a1a1a;
    color: #fff;
}

[data-theme="dark"] .tuition-table td {
    border-color: #333;
}

.tuition-table td {
    color: var(--text-color);
}

.apply-now-btn-solid {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-top: 2rem;
}

/* Tuition Note Section - Refined Exact Match */
.tuition-notes-refined {
    margin: 4rem 0;
    text-align: left;
}

.tuition-notes-refined h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.note-list-plain {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.note-list-plain li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.2rem;
}

.note-list-plain li::marker {
    color: var(--text-color);
    font-size: 0.8rem;
}

.floating-red-dot-note {
    position: absolute;
    top: 50%;
    right: -25px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
}

.floating-red-dot-note .dot {
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .floating-red-dot-note {
        display: none;
    }
}

[data-theme="dark"] .apply-now-btn-solid {
    background: #fff;
    color: #000;
}

[data-theme="dark"] .apply-now-btn-solid:hover {
    background: red;
    color: #fff;
}

@media (max-width: 768px) {
    .tuition-table th, 
    .tuition-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Conduct Section */
.conduct-container {
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 3rem 4rem;
}

.conduct-item {
    display: flex;
    gap: 2.5rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}

.conduct-item:last-child {
    border-bottom: none;
}

.conduct-item .num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: rgba(var(--primary-gold-rgb), 0.3);
    font-weight: 900;
    flex-shrink: 0;
    margin-top: -5px;
}

.conduct-item .text {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.conduct-item .text strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    color: red;
}

/* Premium CTA */
.premium-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 5rem;
    background: linear-gradient(135deg, rgba(var(--primary-gold-rgb), 0.1), rgba(255, 0, 0, 0.05));
}

.cta-text h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.apply-now-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.apply-now-cta:hover {
    background: red;
    transform: scale(1.05) rotate(-1deg);
}

[data-theme="dark"] .apply-now-cta {
    background: #fff;
    color: #000;
}

[data-theme="dark"] .apply-now-cta:hover {
    background: red;
    color: #fff;
}

@media (max-width: 991px) {
    .premium-cta {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        padding: 3rem 2rem;
    }
    
    .logistics-grid .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .conduct-container {
        padding: 2rem;
    }
    
    .conduct-item {
        gap: 1.5rem;
    }
}

.faq-question:hover {
    color: red !important;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .faq-category-title {
        font-size: 1.5rem;
    }
}

/* Unified Course Details Grid */
.course-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.column-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    color: #000;
}

[data-theme="dark"] .column-title {
    color: #fff;
}

.procedure-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.item-icon {
    font-size: 1.8rem;
    color: #000;
    min-width: 35px;
}

[data-theme="dark"] .item-icon {
    color: #fff;
}

.item-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
    color: #000;
}

[data-theme="dark"] .item-text h3 {
    color: #fff;
}

.item-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

[data-theme="dark"] .item-text p {
    color: #aaa;
}

.center-icon {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.center-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.center-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-black-small {
    background: #111;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-black-small:hover {
    background: #ff3b3b;
    color: #fff !important;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 59, 59, 0.3);
}

[data-theme="dark"] .btn-black-small {
    background: #fff;
    color: #000 !important;
}

.fee-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.text-red {
    color: #ff3b3b;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-signature-dot {
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
}

.section-signature-dot .dot-wrap {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-signature-dot .dot {
    width: 8px;
    height: 8px;
    background: #ff3b3b;
    border-radius: 50%;
}

@media (max-width: 1200px) {
    .course-info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-right: 0; /* Removing side padding that causes overflow */
    }

    .column-title {
        font-size: 24px !important;
        margin-bottom: 1.5rem !important;
    }

    .schedule-card {
        max-width: 100%;
        padding: 2rem 1.5rem !important;
    }
}

/* Course Schedule & Brochure Styles */
.schedule-card {
    background: #f0f0f0;
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    max-width: 320px;
}

[data-theme="dark"] .schedule-card {
    background: #1a1a1a;
}

.schedule-icon {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .schedule-icon {
    color: #fff;
}

.schedule-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #000;
}

[data-theme="dark"] .schedule-card h3 {
    color: #fff;
}

.schedule-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

[data-theme="dark"] .schedule-card p {
    color: #bbb;
}

.btn-black-wide {
    background: #111;
    color: #fff !important;
    padding: 18px 45px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-black-wide:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .btn-black-wide {
    background: #fff;
    color: #000 !important;
}

/* Foundation Course Specific Styles */
.item-icon-circle {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.2rem;
    flex-shrink: 0;
}

[data-theme="dark"] .item-icon-circle {
    background: #222;
    color: #fff;
}

.center-icon-v2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #000;
}

[data-theme="dark"] .center-icon-v2 {
    color: #fff;
}

.btn-black-capsule {
    background: #111;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-black-capsule:hover {
    background: red;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.batch-type {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #000;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .batch-type {
    color: #fff;
}

.batch-detail {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 0.3rem;
}

[data-theme="dark"] .batch-detail {
    color: #ccc;
}

.batch-price {
    font-size: 1.05rem;
    color: #000;
    margin-top: 0.8rem;
}

[data-theme="dark"] .batch-price {
    color: #fff;
}

.mb-40 { margin-bottom: 2.5rem !important; }
.mt-40 { margin-top: 2.5rem !important; }

/* YAP Specific Styles */
.item-icon-circle-dark {
    width: 28px;
    height: 28px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 4px;
    margin-right: 15px;
    flex-shrink: 0;
}

[data-theme="dark"] .item-icon-circle-dark {
    background: #fff;
    color: #111;
}

.schedule-card-v2 {
    background: #e9e9e9;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    margin-top: 15px;
}

[data-theme="dark"] .schedule-card-v2 {
    background: #1a1a1a;
}

.schedule-icon-v2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: #111;
}

[data-theme="dark"] .schedule-icon-v2 {
    color: #fff;
}

.schedule-card-v2 h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #000;
}

[data-theme="dark"] .schedule-card-v2 h3 {
    color: #fff;
}

.schedule-card-v2 p {
    font-size: 1rem;
    color: #111;
    margin: 0;
}

[data-theme="dark"] .schedule-card-v2 p {
    color: #ccc;
}

.fee-info-text p {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #111;
}

[data-theme="dark"] .fee-info-text p {
    color: #eee;
}

/* Workshop Grid Styles */
.workshop-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 991px) {
    .workshop-main-grid {
        grid-template-columns: 1fr;
    }
}

.workshop-item {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 3rem;
    border-radius: 20px;
    transition: all 0.4s ease;
}

[data-theme="dark"] .workshop-item {
    background: #111;
    border-color: #222;
}

.workshop-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: #ff3b3b;
}

.workshop-icon {
    font-size: 2.5rem;
    color: #ff3b3b;
    margin-bottom: 2rem;
}

.workshop-item h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #000;
}

[data-theme="dark"] .workshop-item h3 {
    color: #fff;
}

.workshop-item p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 2rem;
}

[data-theme="dark"] .workshop-item p {
    color: #bbb;
}

/* Workshop Detail Split */
.workshop-detail-split {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.workshop-image {
    flex: 1;
}

.workshop-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.workshop-text-content {
    flex: 1;
}

.workshop-text-content p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.row-reverse {
    flex-direction: row-reverse;
}

.rounded-20 {
    border-radius: 40px; /* Matching the deep curves in the screenshot */
}


/* Utility Classes */
.mt-10 { margin-top: 10px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-60 { margin-top: 60px !important; }
.mt-80 { margin-top: 80px !important; }

/* Mobile Button Fixes */
@media (max-width: 991px) {
    .apply-now-btn-dark, 
    .btn-black-wide,
    .btn-blue {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 1.2rem !important;
        border-radius: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .cta-actions .apply-now-btn-dark {
        width: auto !important; /* Keep small in CTA section if needed, or force 100% if stacked */
    }
    
    /* Ensure sufficient gap between stacked buttons */
    .mt-80 {
        margin-top: 4rem !important;
    }
}


/* Students Feedback Section */
/* ==========================================================================
   Students Say Section (Design Refined from Image)
   ========================================================================== */
.feedback-section {
    background: #fdfdfd; /* Light background as in image */
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .feedback-section {
    background: #0a0a0a; /* Dark mode fallback */
}

.feedback-header {
    text-align: center;
    margin-bottom: 5rem;
}

.feedback-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    text-transform: capitalize;
    letter-spacing: -1px;
}

[data-theme="dark"] .feedback-header h2 {
    color: #fff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 15px;
    font-weight: 500;
}

.feedback-slider {
    padding: 2rem 0 0rem;
    overflow: visible !important;
}

.feedback-card {
    background: #fff;
    padding: 3.5rem 3rem;
    border-radius: 40px; /* Deep rounded corners */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05); /* Match image's subtle border */
    position: relative;
}

/* Navigation Arrows */
.feedback-nav {
    position: absolute;
    top: 50%;
    left: -80px;
    right: -80px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 30;
}

[data-theme="dark"] .feedback-card {
    background: var(--card-bg);
    border-color: var(--glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.feedback-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.quote-icon-top {
    margin-bottom: 2rem;
}

.quote-icon-top i {
    font-size: 4rem;
    color: #f1ebd8; /* Light beige/gold quote */
    opacity: 1;
}

.feedback-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    margin-bottom: 3rem;
    flex-grow: 1;
}

[data-theme="dark"] .feedback-text {
    color: #ccc;
}

.student-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.student-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.student-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-info h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 2px;
}

[data-theme="dark"] .student-info h4 {
    color: #fff;
}

.student-info p {
    font-size: 0.95rem;
    color: #888;
    font-weight: 600;
}

/* Pagination Dots */
.feedback-section .swiper-pagination {
    bottom: 20px !important;
}

.feedback-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
    margin: 0 8px !important;
    transition: all 0.3s ease;
}

.feedback-section .swiper-pagination-bullet-active {
    background: #c5a059;
    width: 30px;
    border-radius: 10px;
}

/* Unified Feedback Controls (Bottom) */
.feedback-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.feedback-controls .swiper-pagination {
    position: static !important;
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feedback-prev,
.feedback-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5a059;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
}

[data-theme="dark"] .feedback-prev,
[data-theme="dark"] .feedback-next {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.1);
    color: #fff;
}

.feedback-prev:hover,
.feedback-next:hover {
    background: #c5a059;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.3);
}

/* Pagination Dots Refinement */
.feedback-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.feedback-section .swiper-pagination-bullet-active {
    background: #c5a059;
    width: 35px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .feedback-controls {
        gap: 20px;
    }
    .feedback-prev, .feedback-next {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 1200px) {
    .feedback-nav {
        position: static;
        transform: none;
        margin-top: 30px;
        justify-content: center;
        gap: 20px;
        pointer-events: auto;
    }
    .feedback-prev, .feedback-next { margin: 0; }
}

@media (max-width: 991px) {
    .feedback-header h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .feedback-section {
        padding: 4rem 0;
    }
    
    .feedback-header {
        margin-bottom: 3rem;
    }
    
    .feedback-header h2 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .feedback-card {
        padding: 2.5rem 2rem;
        border-radius: 30px;
    }
    
    .feedback-text {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .quote-icon-top i {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .feedback-header h2 {
        font-size: 2rem;
    }
    
    .feedback-card {
        padding: 2rem;
    }
}

/* Gallery Section Styles */
.gallery-section {
    padding-top: 60px;
    padding-bottom: 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #222;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(var(--primary-gold-rgb), 0.1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--primary-gold);
    font-size: 2.2rem;
    margin-bottom: 12px;
    transform: translateY(20px) scale(0.5);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0) scale(1);
}

.gallery-item-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1) 0.1s;
}

.gallery-item:hover .gallery-item-title {
    transform: translateY(0);
}

/* Image Modal (Lightbox) */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.image-modal-content {
    margin: auto;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.image-modal.active img {
    transform: scale(1);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.image-modal-close:hover {
    background: #ff0000;
    color: #fff;
    transform: rotate(90deg);
}

.image-modal-caption {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    padding: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.2s;
}

.image-modal.active .image-modal-caption {
    opacity: 1;
    transform: translateY(0);
}

#image-modal-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#image-modal-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
    margin: 10px auto 0;
}

/* Gallery Responsive */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
