/* ========================================
   HERITAGE INTERNATIONAL SCHOOL
   Premium School Website - Main Stylesheet
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* ========================================
   CSS VARIABLES & DESIGN TOKENS
   ======================================== */
:root {
    /* Primary Colors - Coastal Midnight Palette */
    --primary-blue: #123249;
    --primary-blue-light: #447794;
    --primary-blue-dark: #061222;
    --primary-blue-medium: #2D5B75;

    /* Accent Colors */
    /* Accent Colors */
    --accent-gold: #ff9900;
    /* Brighter Gold/Orange mix */
    --accent-gold-light: #ffad33;
    --accent-gold-dark: #cc7a00;

    /* New Official Orange */
    --accent-orange: var(--accent-gold);
    /* Deep bright orange */
    --accent-orange-light: #FF8A65;
    --accent-orange-dark: #E64A19;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8fafc;
    /* Refined to slate-50 */
    --light-gray: #f1f5f9;
    /* Refined to slate-100 */
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --gray: #64748b;
    /* Refined slate-gray */
    --dark-gray: #475569;
    --charcoal: #0f172a;

    /* Success & Trust Colors */
    --success-green: #10b981;
    --trust-teal: #0d9488;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    /* Premium Serif */
    --font-body: 'Outfit', sans-serif;
    /* Modern Clean Sans */

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
    /* Critical for preventing side scrolling */
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--slate-300);
    overflow-x: hidden;
    position: relative;
    /* Ensure it stays within viewport */
    width: 100%;
    max-width: 100vw;
    padding-top: 85px;
    /* Spacer for fixed header */
}

@media (min-width: 1024px) {
    body {
        padding-top: 95px;
    }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-blue-dark);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
}

h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

p {
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
    line-height: 1.8;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-blue-light);
}

/* Responsive Typography */
@media (min-width: 768px) {
    h1 {
        font-size: var(--text-5xl);
    }

    h2 {
        font-size: var(--text-4xl);
    }

    h3 {
        font-size: var(--text-3xl);
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: var(--text-6xl);
    }
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

.section {
    padding: var(--space-xl) 0;
}

.section-lg {
    padding: var(--space-xl) 0;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    position: fixed !important;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #163b50 0%, #2d5b75 100%);
    /* Coastal Navy Gradient (Lighter/Balanced) */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    /* Balanced Shadow */
    transition: all var(--transition-base);
    border-bottom: 2px solid var(--accent-gold);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-sm);
    max-width: var(--container-2xl);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-img {
    height: 50px;
    /* Smaller/Compacted Logo */
    width: auto;
    transition: transform var(--transition-base);
    background: rgba(255, 255, 255, 0.95);
    padding: 3px;
    /* Reduced padding */
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.school-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    /* Optimized for 2-line layout */
    font-weight: 700;
    color: var(--white);
    /* White text for dark header */
    line-height: 1.1;
    letter-spacing: 0.3px;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .header-container {
        padding: 12px 20px;
        /* Balanced Premium Padding */
        min-height: 70px;
    }

    .logo-img {
        height: 48px;
        /* Premium Size, not too small */
    }

    .school-name {
        font-size: 1.05rem;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    .school-tagline {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        opacity: 0.9;
    }

    body {
        padding-top: 75px;
        /* Adjust for slightly taller mobile header */
    }
}

.school-tagline {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.85);
    /* White opacity for tagline */
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Reduced from 2rem to prevent wrapping */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    white-space: nowrap;
    /* Prevent wrapping on list items */
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    /* White links for dark header */
    padding: 1rem 0.5rem;
    /* Reduced vertical padding */
    position: relative;
    transition: color var(--transition-base);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Dropdown Arrow Indicator */
.nav-item.has-dropdown .nav-link::after {
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8em;
    transition: transform var(--transition-base);
}

.nav-item.has-dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

/* Hover & Active States */
.nav-link_underline {
    position: absolute;
    bottom: 0.8rem;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--accent-gold);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--accent-gold);
    /* Gold hover for dark header */
}

.nav-link:hover .nav-link_underline,
.nav-link.active .nav-link_underline {
    width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 240px;
    padding: 0.5rem 0;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1100;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Little triangle tip for dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: var(--off-white);
    color: var(--primary-blue);
    border-left-color: var(--accent-gold);
    padding-left: 1.75rem;
    /* Slight slide effect */
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* Cleaner spacing */
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 1201;
    /* Above overlay */
}

.hamburger-line {
    width: 24px;
    /* Slightly smaller */
    height: 2px;
    /* Thinner lines for elegance */
    background: var(--white);
    /* White hamburger for dark header */
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
    background: var(--primary-blue-dark);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
    background: var(--primary-blue-dark);
}

/* Mobile Navigation Drawer */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fdfcf8;
    /* Premium Paper White */
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    padding: 0;
    /* Reset padding */
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1200;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.nav-mobile.active {
    right: 0;
}

.mobile-nav-header {
    padding: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    /* Clean, no divisor */
    padding-bottom: 0;
}

.mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.mobile-nav-logo {
    height: 40px;
    width: auto;
}

.mobile-nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.mobile-nav-school-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-blue-dark);
    font-size: 1.2rem;
}

.mobile-nav-school-tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--primary-blue-medium);
    font-weight: 500;
}

.mobile-nav-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-blue-dark);
}

.mobile-nav-menu {
    list-style: none;
    padding: var(--space-md);
    flex-grow: 1;
}

.mobile-nav-item {
    border-bottom: none;
    /* Remove clutter */
    margin-bottom: 5px;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

/* Mobile Links & Accordion */
.mobile-nav-link-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    /* Larger, more editorial */
    font-weight: 600;
    color: var(--primary-blue-dark);
    text-decoration: none;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
    /* Subtle motion */
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray);
    cursor: pointer;
    transition: transform 0.3s;
}

.mobile-nav-item.open .mobile-dropdown-toggle {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

/* Mobile Dropdown (Hidden by default) */
.mobile-dropdown {
    display: none;
    padding-left: 1rem;
    padding-bottom: 1rem;
    animation: slideDown 0.3s ease-out;
}

.mobile-nav-item.open .mobile-dropdown {
    display: block;
}

.mobile-dropdown-link {
    display: block;
    padding: 0.6rem 0;
    color: var(--dark-gray);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-left: 1rem;
}

.mobile-dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--slate-300);
    border-radius: 50%;
    transform: translateY(-50%);
}

.mobile-dropdown-link:hover,
.mobile-dropdown-link.active-page {
    /* Renamed to avoid conflicts */
    color: var(--primary-blue);
}

.mobile-dropdown-link:hover::before,
.mobile-dropdown-link.active-page::before {
    background: var(--accent-gold);
}


/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 50, 73, 0.4);
    /* Brand color tint */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1150;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .header-container {
        padding: 0.5rem 2rem;
        /* Ultra-Compact Premium Height */
    }

    .logo-img {
        height: 70px;
        /* Larger, more prominent logo */
        transition: transform 0.3s ease;
    }

    .logo-img:hover {
        transform: scale(1.05);
    }

    .school-name {
        font-size: 1.5rem;
        /* Larger, clearer text */
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-blue-medium);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--accent-gold);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue-medium);
    border: 2px solid var(--primary-blue-medium);
}

.btn-outline:hover {
    background: var(--primary-blue-medium);
    color: var(--white);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-lg);
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
}

/* CTA Button in Header */
.cta-btn {
    background: linear-gradient(135deg, #F59E0B, #ea580c);
    /* Vibrant Gold-Orange */
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    /* Pill Shape */
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    /* Cleaner Shadow */
    animation: pulse-glow 3s infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #fbbf24, #d97706);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
    }
}

/* ========================================
   CARDS (GLACIUM THEME)
   ======================================== */
.card {
    background: linear-gradient(145deg, #2D5B75, #4ecdc4);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    box-shadow: 0 10px 30px rgba(45, 91, 117, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    color: var(--white);
    /* Force white text */
}

/* Accent Top Border using the Mint Blue */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), #085078);
    opacity: 0.8;
    transition: height 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(8, 80, 120, 0.3);
    border-color: var(--accent-gold);
}

.card:hover::after {
    height: 6px;
    opacity: 1;
}

/* Typography Overrides for Dark Background (Global Fix) */
.card .card-title,
.card h3,
.card h4,
.card h5,
.card h6,
.card strong {
    color: var(--accent-gold) !important;
    /* Mint Heading */
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.card .card-text,
.card p,
.card li,
.card span,
.card div,
.card td,
.card th {
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.6;
}

/* Exclude buttons and specific UI elements from the generic div/span override if needed */
.card .btn {
    color: var(--white) !important;
}

.card .btn-outline {
    color: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
}

.card .btn-outline:hover {
    background: var(--accent-gold) !important;
    color: #085078 !important;
}

/* Premium Form Card (Matches Global Card) */
.form-premium-card {
    background: linear-gradient(145deg, #2D5B75, #4ecdc4);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: 0 10px 30px rgba(45, 91, 117, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: transform 0.3s ease;
}

.form-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(45, 91, 117, 0.3);
}

/* Icon Styling */
.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(154, 228, 200, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
    border: 1px solid rgba(154, 228, 200, 0.2);
}

.card:hover .card-icon {
    background: var(--accent-gold);
    color: #085078;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(154, 228, 200, 0.4);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   MODERN HERO SECTION (HOME)
   ======================================== */
.hero-modern {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--primary-blue-dark);
    color: var(--white);
    padding: 100px 0;
}

/* Standardized Hero Section (Plus Pattern) */
.hero,
.hero-premium {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 400px;
    background-color: var(--primary-blue-dark);
    padding: var(--space-xl) var(--space-md);
    color: var(--white);
    margin-bottom: var(--space-2xl);
}

.hero::before,
.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    z-index: 1;
    animation: heroPatternMove 60s linear infinite;
    opacity: 0.6;
}

.hero::after,
.hero-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--primary-blue-dark) 90%);
    z-index: 2;
    pointer-events: none;
}

.hero>*,
.hero-premium>* {
    position: relative;
    z-index: 5;
}

/* Typography Standard */
.hero h1,
.hero-premium h1 {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-sm);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero p,
.hero-premium p {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Gold Divider */
.hero h1::after,
.hero-premium h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

@keyframes heroPatternMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50px, -50px);
    }
}

@media (min-width: 768px) {

    .hero h1,
    .hero-premium h1 {
        font-size: var(--text-5xl);
    }
}

.hero-headline {
    position: relative;
    z-index: 10;
    color: var(--white) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subheadline {
    position: relative;
    z-index: 10;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    font-size: var(--text-lg);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-modern {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--primary-blue-dark);
    color: var(--white);
    padding: 100px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/1.jpeg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(6, 18, 34, 0.9) 0%,
            rgba(18, 50, 73, 0.7) 50%,
            rgba(68, 119, 148, 0.4) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    animation: patternFloat 60s linear infinite;
}

@keyframes patternFloat {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

.hero-content-modern {
    position: relative;
    z-index: 10;
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.badge-text {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-headline-modern {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.highlight-text {
    background: linear-gradient(to right, var(--accent-gold-light), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subheadline-modern {
    font-size: var(--text-xl);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 650px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-text {
    font-size: var(--text-sm);
    font-weight: 500;
}

.hero-cta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.btn-hero-primary {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--accent-gold);
    color: var(--white);
    padding: 18px 36px;
    border-radius: 14px;
    font-weight: 700;
    font-size: var(--text-lg);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

.btn-hero-secondary {
    display: flex;
    align-items: center;
    padding: 18px 36px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 700;
    font-size: var(--text-lg);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--primary-blue-dark);
}

.hero-admission-status {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--success-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success-green);
    animation: blink 2s infinite;
}

@keyframes blink {
    0% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.status-text {
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.hero-float {
    position: absolute;
    z-index: 5;
    font-size: 3rem;
    filter: blur(1px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 20%;
    right: 5%;
    animation-delay: 2s;
}

.hero-float-3 {
    top: 40%;
    right: 25%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-modern {
        min-height: auto;
        padding: 80px 0 60px;
        text-align: center;
    }

    .hero-content-modern {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subheadline-modern {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features,
    .hero-cta-modern,
    .hero-admission-status {
        justify-content: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray);
    max-width: 700px;
    margin: var(--space-lg) auto 0;
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--text-4xl);
    }
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: var(--space-xs);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--charcoal);
    transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: #ef4444;
    font-size: var(--text-sm);
    margin-top: var(--space-xs);
}

/* ========================================
   FOOTER
   ======================================== */

/* Trust Strip (Missing styles fix) */
.trust-strip {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.trust-strip .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-item svg {
    width: 48px;
    height: 48px;
    fill: var(--accent-gold);
    opacity: 0.8;
}

.trust-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--white);
    font-size: 1.1rem;
}

/* --- Premium Footer --- */
.footer {
    position: relative;
    background: linear-gradient(135deg, #024B68 0%, #085078 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 5px solid var(--accent-gold);
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 30px 30px;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: var(--accent-gold);
    /* Mint */
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid var(--accent-gold);
    padding-left: 15px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(154, 228, 200, 0.2);
    padding-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-credit {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.footer-credit a {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-gold);
    transition: all 0.3s;
}

.footer-credit a:hover {
    color: white;
    border-bottom-style: solid;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   SOFT IVORY CARD THEME (Standardized)
   ======================================== */
.card-soft-ivory {
    background: #FFFDF7 !important;
    /* Warmer cream shade as per image */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    /* Subtle outer border */
    border-left: 5px solid var(--primary-blue-dark) !important;
    /* Thick left accent */
    border-radius: 8px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01) !important;
    /* Soft premium shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-soft-ivory:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Variation for Gold Border */
.card-soft-ivory.border-gold {
    border-left-color: var(--accent-gold) !important;
}

.card-soft-ivory .card-title,
.card-soft-ivory h3,
.card-soft-ivory h4 {
    color: var(--primary-blue-dark) !important;
    font-family: 'Poppins', sans-serif;
    /* Ensuring premium font */
}

.card-soft-ivory p,
.card-soft-ivory li,
.card-soft-ivory span {
    color: var(--dark-gray);
}

.card-soft-ivory strong {
    color: var(--primary-blue-dark);
}

/* Specific override for text-gold if needed, or let it stay gold */
.card-soft-ivory .text-gold {
    color: var(--accent-gold-dark) !important;
    /* Darker gold for visibility on light bg */
}

/* ========================================
   STICKY ELEMENTS - Professional Design
   ======================================== */
.sticky-enquiry {
    position: fixed !important;
    bottom: 30px;
    left: 30px;
    z-index: 900;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sticky-enquiry::before {
    content: '\2709';
    /* Clean email symbol */
    font-size: 20px;
    line-height: 1;
}

.sticky-enquiry:hover {
    background: var(--white);
    color: var(--primary-blue-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-gold);
}

.sticky-enquiry:active {
    transform: translateY(-2px) scale(1.02);
}

.whatsapp-btn {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.whatsapp-btn svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
    position: relative;
    z-index: 1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sticky-enquiry {
        bottom: 20px;
        left: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .sticky-enquiry::before {
        font-size: 16px;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 0.8s ease-out forwards;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.pt-sm {
    padding-top: var(--space-sm);
}

.pt-md {
    padding-top: var(--space-md);
}

.pt-lg {
    padding-top: var(--space-lg);
}

.pt-xl {
    padding-top: var(--space-xl);
}

.pb-sm {
    padding-bottom: var(--space-sm);
}

.pb-md {
    padding-bottom: var(--space-md);
}

.pb-lg {
    padding-bottom: var(--space-lg);
}

.pb-xl {
    padding-bottom: var(--space-xl);
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

@media (max-width: 767px) {
    .hidden-mobile {
        display: none;
    }
}

@media (min-width: 768px) {
    .hidden-desktop {
        display: none;
    }
}

/* ========================================
   INTERNATIONAL STANDARD HERO SECTION
   ======================================== */
.hero-modern {
    position: relative;
    height: 90vh;
    /* High impact full screen */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    padding-top: 80px;
    /* Offset for sticky header */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Premium Gradient Overlay (Coastal Midnight Theme) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    z-index: 2;
}

/* Abstract Tech/Modern Pattern */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    opacity: 0.5;
}

.hero-content-modern {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--accent-gold);
    animation: fadeUp 0.8s ease-out;
}

.hero-headline-modern {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
    animation: fadeUp 0.8s ease-out 0.2s backwards;
}

.hero-headline-modern .highlight-text {
    display: block;
    background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheadline-modern {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeUp 0.8s ease-out 0.4s backwards;
}

/* Dual CTA Buttons */
.hero-cta-modern {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease-out 0.6s backwards;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Key Features Grid in Hero */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease-out 0.8s backwards;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Floating 3D Elements */
.hero-float {
    position: absolute;
    font-size: 4rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
    z-index: 5;
}

.hero-float-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

.hero-float-3 {
    top: 15%;
    right: 20%;
    font-size: 2rem;
    animation-delay: 4s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-headline-modern {
        font-size: 2.5rem;
    }

    .hero-modern {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-features {
        gap: 1rem;
        flex-direction: column;
    }

    .hero-float {
        display: none;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   STATS COUNTER SECTION
   ======================================== */
.stats-section {
    background: var(--primary-blue-dark);
    color: var(--white);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    background: linear-gradient(145deg, #2D5B75, #4ecdc4);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 10px 30px rgba(45, 91, 117, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(8, 80, 120, 0.3);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: var(--space-xs);
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    display: block;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PREMIUM INNER PAGE COMPONENTS
   ========================================= */

/* --- Premium Hero Section --- */
/* .hero-premium styles have been merged into .hero above */

/* --- Premium Table Styles (Deep Teal) --- */
.table-responsiveness-wrapper {
    overflow-x: auto;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    /* Slight darken for table area */
    border: 1px solid rgba(154, 228, 200, 0.1);
}

.table-premium {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    overflow: hidden;
}

.table-premium thead tr {
    background: transparent !important;
    /* Headers blend into card */
    border-bottom: 2px solid rgba(154, 228, 200, 0.3);
}

.table-premium th {
    padding: 1.25rem 1.5rem !important;
    text-align: left;
    color: var(--accent-gold) !important;
    /* Mint text for headers */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(154, 228, 200, 0.2);
}

.table-premium tbody tr {
    transition: background 0.2s ease;
    background: transparent !important;
    border-bottom: 1px solid rgba(154, 228, 200, 0.15) !important;
}

.table-premium td {
    padding: 1rem 1.5rem !important;
    color: var(--primary-blue-dark);
    /* Default to dark for visibility on light pages */
    border-bottom: 1px solid rgba(154, 228, 200, 0.15);
    font-weight: 500;
}

/* Override for tables inside premium cards */
.form-premium-card .table-premium td {
    color: #333 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.form-premium-card .table-premium th {
    color: #0F2B46 !important;
    border-bottom: 2px solid #E65100 !important;
    background: transparent !important;
}

.table-premium thead tr {
    background: transparent !important;
}

.table-premium tbody tr:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

.table-premium tbody tr:last-child td {
    border-bottom: none;
}

.table-premium a {
    color: var(--accent-gold) !important;
    text-decoration: none;
    border-bottom: 1px dashed rgba(154, 228, 200, 0.4);
    transition: all 0.3s ease;
}

.table-premium a:hover {
    color: #fff !important;
    border-bottom: 1px solid #fff;
}

.table-premium a:hover {
    color: #fff !important;
    border-bottom: 1px solid #fff;
}

/* --- Premium Forms (Standardized) --- */
/* Uses global .form-premium-card defined earlier */
/* Removed stray code */

.form-premium-group {
    margin-bottom: 1.5rem;
}

.form-premium-group label {
    color: #0F2B46;
    /* Navy Blue */
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
    letter-spacing: 0.5px;
}

.form-premium-input,
.form-premium-select,
.form-premium-textarea {
    width: 100%;
    background: var(--slate-300);
    /* White background for inputs */
    border: 1px solid #B0BEC5;
    /* Visible Grey Border */
    border-bottom: 2px solid #E0E0E0;
    color: #1C1C1C;
    /* Dark Text */
    padding: 0.8rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    backdrop-filter: none;
}

.form-premium-input:focus,
.form-premium-select:focus,
.form-premium-textarea:focus {
    background: var(--slate-300);
    border-color: #0F2B46;
    border-bottom-color: #E65100;
    /* Orange focus */
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-premium-input::placeholder,
.form-premium-textarea::placeholder {
    color: #757575;
    /* Visible Placeholder Grey */
}

.form-premium-select option {
    background: var(--slate-300);
    color: #1C1C1C;
}

/* --- Premium Checklist --- */
.checklist-premium {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.checklist-premium li {
    background: var(--slate-300);
    backdrop-filter: none;
    border: 1px solid #E0E0E0;
    color: #1C1C1C !important;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.checklist-premium li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-gold);
}

.checklist-premium li::before {
    content: '?';
    background: var(--accent-gold);
    color: #085078;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 3px;
}

/* --- Admission Process Timeline --- */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    /* Center line */
    width: 4px;
    height: 100%;
    background: rgba(154, 228, 200, 0.3);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-step:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: rgba(8, 80, 120, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(154, 228, 200, 0.3);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 45%;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #085078;
    border: 4px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(154, 228, 200, 0.4);
    z-index: 10;
}

.timeline-content h3 {
    color: var(--accent-gold) !important;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.9) !important;
}

@media (max-width: 768px) {
    .hero-premium h1 {
        font-size: 2.5rem;
    }

    .process-timeline::before {
        left: 20px;
    }

    .timeline-step {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 20px;
    }

    .timeline-marker {
        left: 0;
        top: 0;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-content {
        width: 100%;
        margin-left: 20px;
        margin-top: 2rem;
    }
}

/* ========================================
   PREMIUM HERO SLIDER
   ======================================== */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2937 0%, #1a3a4a 25%, #2d5b75 50%, #1a3a4a 75%, #0f2937 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* transition: opacity 1s ease-in-out; REMOVED FOR INSTANT SWITCH */
    visibility: hidden;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.hero-slide.active .slide-image {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 75, 104, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 900px;
    z-index: 3;
    color: white;
}

.slide-subtitle {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    /* Removed animation properties */
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    /* Removed animation properties */
    color: white;
}

.slide-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    /* Removed animation properties */
    font-weight: 300;
}

.slide-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* Removed animation properties */
}

/* Mobile Hero Buttons - Cylindrical Design */
@media (max-width: 1023px) {
    .hero-text-container .slide-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-text-container .btn-primary-premium,
    .hero-text-container .btn-secondary-premium {
        width: 100%;
        max-width: 100%;
        padding: 1.1rem 2rem;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        display: block;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .hero-text-container .btn-primary-premium {
        background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
        color: white !important;
        border: none;
        box-shadow: 0 8px 25px rgba(255, 165, 0, 0.5);
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    }

    .hero-text-container .btn-secondary-premium {
        background: rgba(18, 50, 73, 0.9);
        backdrop-filter: blur(10px);
        color: white !important;
        border: 2px solid var(--accent-gold);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-dot.active {
    background: var(--accent-gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(154, 228, 200, 0.6);
    border-color: var(--accent-gold);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(154, 228, 200, 0.9);
    color: #024B68;
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 40px;
}

.next-arrow {
    right: 40px;
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2.5rem;
    }

    .slide-text {
        font-size: 1rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-arrow {
        left: 10px;
    }

    .next-arrow {
        right: 10px;
    }
}

/* Hide hero text on desktop/laptop, show only on mobile/tablet */
@media (min-width: 1024px) {
    .hero-text-container {
        display: none !important;
    }
}

/* ========================================
   PREMIUM BACKGROUND ANIMATIONS
   ======================================== */
.bg-premium-pattern {
    position: relative;
    overflow: hidden;
}

.bg-premium-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.floating-icons-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    opacity: 0.12;
    color: var(--primary-blue);
    animation: float-animation 20s infinite linear;
}

/* Specific icon positioning and timing */
.icon-1 {
    top: 10%;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 15%;
    animation-duration: 30s;
    animation-delay: -5s;
    font-size: 4rem;
}

.icon-3 {
    bottom: 15%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: -10s;
}

.icon-4 {
    bottom: 25%;
    right: 10%;
    animation-duration: 28s;
    animation-delay: -15s;
    font-size: 3.5rem;
}

.icon-5 {
    top: 50%;
    left: 50%;
    animation-duration: 35s;
    animation-delay: -2s;
    font-size: 2.5rem;
}

@keyframes float-animation {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, 20px) rotate(5deg);
    }

    50% {
        transform: translate(0, 40px) rotate(0deg);
    }

    75% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Ambient Glow Animation */
.bg-ambient-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: move-orb 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(154, 228, 200, 0.4), transparent 70%);
    /* Mint */
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
    /* Gold */
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(2, 75, 104, 0.2), transparent 70%);
    /* Deep Teal */
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes move-orb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 50px) scale(1.1);
    }

    100% {
        transform: translate(-30px, -20px) scale(0.9);
    }
}

/* Home Page Specific Gray Background */
.bg-gray-premium {
    background-color: transparent !important;
    /* Transparent to show body dark gray */
}

/* ========================================
   PREMIUM INNER PAGE HERO
   ======================================== */
.hero-premium {
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #024B68 0%, #085078 100%);
    overflow: hidden;
    text-align: center;
    color: white;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(at 10% 10%, rgba(154, 228, 200, 0.1) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(245, 158, 11, 0.1) 0px, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.hero-premium-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-premium-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-premium-subtitle {
    font-size: 1.25rem;
    color: var(--accent-gold);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    position: relative;
    display: inline-block;
}

.hero-premium-subtitle::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 1rem auto 0;
    border-radius: 2px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-premium {
        padding: 6rem 0 4rem;
    }

    .hero-premium-title {
        font-size: 2.5rem;
    }

    .hero-premium-subtitle {
        font-size: 1rem;
    }
}


/* =========================================
   FINAL STANDARDIZED HERO (Overrides all previous)
   Reference: About Page Design (Approved Light Blue)
   ========================================= */

.hero,
.hero-premium {
    position: relative;
    /* Premium Bright Blue Gradient (Medium to Primary) */
    background-color: var(--primary-blue-medium);

    /* Layered Background: Pattern + Gradient */
    /* Using standard stacking: Pattern is top, Gradient is bottom */
    background-image:
        url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIwIDE1djEwbS01LTVoMTAiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIi8+PC9zdmc+'),
        linear-gradient(135deg, var(--primary-blue-medium) 0%, var(--primary-blue) 100%);

    background-size: 40px 40px, 100% 100%;
    background-repeat: repeat, no-repeat;

    color: var(--white);
    padding: var(--space-3xl) 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid var(--accent-gold);
    animation: heroPatternPan 120s linear infinite;
}

/* Ensure inline styles are overridden */
.hero[style],
.hero-premium[style] {
    background-image:
        url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIwIDE1djEwbS01LTVoMTAiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIi8+PC9zdmc+'),
        linear-gradient(135deg, var(--primary-blue-medium) 0%, var(--primary-blue) 100%) !important;
    background-color: var(--primary-blue-medium) !important;
    background-blend-mode: normal !important;
}

/* REMOVED DARK OVERLAY to ensure brightness */
.hero::before,
.hero-premium::before {
    content: none;
    display: none;
}

.hero-content,
.hero-premium-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography Standardization */
.hero-headline,
.hero-premium-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
    color: var(--white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-subheadline,
.hero-premium-subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

/* Consistent Gold Divider */
.hero-subheadline::after,
.hero-premium-subtitle::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    margin: var(--space-lg) auto 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes heroPatternPan {
    0% {
        background-position: 0 0, 0 0;
    }

    100% {
        background-position: 100% 100%, 0 0;
    }
}

@media (min-width: 768px) {

    .hero,
    .hero-premium {
        padding: var(--space-4xl) 0;
    }
}

/* ========================================
   GLOBAL CARD STANDARDIZATION FIX
   ======================================== */
.form-premium-card {
    background: #FAF8F2;
    /* Soft Ivory */
    backdrop-filter: none;
    border: 1px solid #E0E0E0;
    border-left: 6px solid #0F2B46;
    /* Navy Left Accent */
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    color: #1C1C1C !important;
    /* Dark Charcoal Text */
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.form-premium-card::before {
    display: none;
}

.form-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-gold);
}

/* Force text colors inside premium cards */
.form-premium-card .card-title,
.form-premium-card h3,
.form-premium-card h4,
.form-premium-card h5 {
    color: #0F2B46 !important;
    /* Navy Blue */
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-premium-card .card-text,
.form-premium-card p,
.form-premium-card li,
.form-premium-card span,
.form-premium-card div:not(.btn) {
    color: #1C1C1C !important;
    /* Dark Charcoal */
    line-height: 1.6;
}

/* Ensure icons are visible */
.form-premium-card .fas,
.form-premium-card .fab,
.form-premium-card .far,
.form-premium-card i {
    color: #E65100;
    /* Orange Accent */
}

.form-premium-card a:not(.btn) {
    color: #E65100 !important;
    /* Orange */
    text-decoration: none;
    font-weight: 600;
}

.form-premium-card a:not(.btn):hover {
    color: #0F2B46 !important;
    /* Navy */
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE GRID SYSTEM (Global Fix)
   ======================================== */
.grid {
    display: grid;
    gap: 2rem;
    width: 100%;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        display: grid;
        /* Maintain grid */
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 2rem !important;
    }

    .grid-2>*,
    .grid-3>*,
    .grid-4>* {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
    }

    .form-premium-card {
        width: 100%;
        margin-bottom: 0rem;
    }
}

/* --- Responsive Stacked Table (Mobile Card View) --- */
@media screen and (max-width: 768px) {

    /* Remove horizontal scroll wrapper */
    /* --- Responsive Stacked Table (Mobile Card View - Premium Fixed) --- */
    .table-responsiveness-wrapper {
        overflow-x: visible;
        border: none;
        background: transparent;
    }

    /* Force table to render as block */
    .table-premium,
    .table-premium tbody,
    .table-premium tr,
    .table-premium td {
        display: block;
        width: 100%;
    }

    .table-premium thead {
        display: none;
    }

    /* Card Container */
    .table-premium tbody tr {
        display: table;
        /* Reset to table for containment or use block */
        display: block;
        position: relative;
        background: #FAF8F2 !important;
        /* Soft Ivory */
        border: 1px solid #E0E0E0 !important;
        border-radius: 12px;
        margin-bottom: 2rem;
        padding: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
        overflow: hidden;
    }

    /* S.No Badge (First Child) - Now a decorative header strip */
    .table-premium td:first-child {
        display: inline-block;
        position: absolute;
        top: 0;
        left: 0;
        background: var(--accent-gold);
        color: var(--primary-blue-dark) !important;
        font-weight: 800;
        padding: 6px 14px !important;
        border-bottom-right-radius: 12px;
        font-size: 0.85rem;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 2;
        width: auto;
        border: none !important;
    }

    /* Hide empty badge */
    .table-premium td:first-child:empty {
        display: none;
    }

    /* Information/Label (Second Child) */
    .table-premium td:nth-child(2) {
        color: var(--primary-blue-dark) !important;
        /* improved contrast */
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 1.1rem;
        line-height: 1.4;
        padding: 3rem 1.5rem 0.5rem 1.5rem !important;
        /* Top padding clears the badge */
        border: none !important;
        background: transparent;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Details/Values (3rd Child onwards) */
    .table-premium td:nth-child(n+3) {
        color: #1C1C1C !important;
        font-size: 1.05rem;
        font-weight: 500;
        line-height: 1.6;
        padding: 0.5rem 1.5rem 1.5rem 1.5rem !important;
        border: none !important;
        border-top: 1px dashed rgba(0, 0, 0, 0.1) !important;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    /* INJECT LABELS (Critical Fix) */
    .table-premium td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.75rem;
        text-transform: uppercase;
        color: var(--accent-gold);
        /* Mint */
        font-weight: 700;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
        opacity: 0.9;
    }

    /* Hide label for S.No and Main Title */
    .table-premium td:first-child::before,
    .table-premium td:nth-child(2)::before {
        display: none;
    }

    /* Link Buttons in Card - Full Width */
    .table-premium a.text-link {
        display: block;
        width: 100%;
        text-align: center;
        background: rgba(230, 81, 0, 0.1);
        /* Light Orange */
        border: 1px solid rgba(230, 81, 0, 0.3);
        padding: 12px !important;
        margin-top: 1rem;
        border-radius: 8px;
        color: #E65100 !important;
        /* Orange Text */
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .table-premium a.text-link:hover {
        background: var(--accent-gold);
        border-color: var(--accent-gold);
        color: var(--primary-blue-dark) !important;
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    }

    .table-premium {
        min-width: 0 !important;
    }

    .table-premium td {
        width: 100% !important;
    }
}

/* --- Simplified Stack for 2-Column Tables (e.g. Disciplinary) --- */
@media screen and (max-width: 768px) {
    .table-premium.table-stack-simple tbody tr {
        padding: 0;
        overflow: hidden;
    }

    /* Header (1st Cell) - Full Width Gold Bar */
    .table-premium.table-stack-simple td:first-child {
        position: static !important;
        display: block !important;
        width: 100% !important;
        background: var(--accent-gold);
        color: var(--primary-blue-dark) !important;
        font-weight: 700;
        padding: 1rem !important;
        border-radius: 0 !important;
        box-shadow: none;
        text-align: left;
        font-size: 1rem;
    }

    /* Content (2nd Cell) - Standard Box */
    .table-premium.table-stack-simple td:nth-child(2) {
        padding: 1.5rem !important;
        color: #1C1C1C !important;
        text-align: left;
        font-size: 1rem;
        line-height: 1.6;
        background: transparent;
        text-transform: none;
    }

    /* Reset pseudo-elements */
    .table-premium.table-stack-simple td::before {
        display: none !important;
    }
}

/* --- Table Detail List (Key-Value) for Mobile --- */
@media screen and (max-width: 768px) {
    .table-detail-list td::before {
        content: none !important;
    }

    .table-detail-list td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.5rem 0;
        border: none !important;
    }

    .table-detail-list td:first-child {
        font-weight: 700;
        color: var(--accent-gold);
        padding-bottom: 0;
    }

    .table-detail-list td:last-child {
        color: #1C1C1C;
        padding-top: 0.25rem;
        font-size: 1rem;
    }

    .table-detail-list tr {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin-bottom: 0;
    }

    .table-detail-list tr:last-child {
        border-bottom: none;
    }
}

/* --- STRONGER OVERRIDES for Key-Value Lists --- */
@media screen and (max-width: 768px) {
    .table-detail-list tbody tr {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin-bottom: 0 !important;
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0 !important;
    }

    .table-detail-list tbody tr:last-child {
        border-bottom: none !important;
    }

    .table-detail-list td {
        padding: 0.25rem 0 !important;
    }
}

/* --- Highlight Questions (Keys) in Premium Style --- */
@media screen and (max-width: 768px) {
    .table-detail-list td:first-child {
        color: var(--accent-gold) !important;
        /* Luminous Orange/Soft Gold for differentiation */
        /* Premium Cyan-White */
        font-size: 1.15rem !important;
        /* Maximized Font Size */
        font-weight: 800 !important;
        /* Extra Bold */
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-shadow: none !important;
        /* Clean text for sharpness */
        border-left: 5px solid var(--accent-gold) !important;
        /* Matching Accent */
        /* Thicker Gold Accent */
        padding-left: 15px !important;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    /* Improve Download Button Visibility on Mobile */
    .table-detail-list .text-link {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: white !important;
        font-weight: 500;
        padding: 8px 16px !important;
        width: 100%;
        display: inline-block;
        text-align: center;
    }
}

/* --- Fix Mobile Grid Responsiveness for About Page --- */
@media screen and (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ========================================
/* ========================================
   ADMISSION TIMELINE - RESPONSIVE FIX
   ======================================== */
.process-timeline {
    position: relative;
    max-width: 1000px;
    /* Wider container */
    margin: 0 auto;
    padding: 3rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    /* Mobile line position */
    width: 4px;
    background: rgba(255, 209, 128, 0.3);
    /* Premium Soft Gold Trace */
    border-radius: 4px;
}

.timeline-step {
    position: relative;
    padding-left: 60px;
    /* Space for marker */
    margin-bottom: 2rem;
    /* Tighter spacing */
    width: 100%;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    /* Larger, more premium marker */
    height: 50px;
    background: var(--primary-blue-dark);
    color: var(--accent-gold);
    border: 3px solid var(--accent-gold);
    /* Gold Border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    z-index: 2;
    box-shadow: 0 0 15px rgba(255, 209, 128, 0.4);
    /* Glow effect */
}

/* STRICTLY MATCHING PREMIUM CARD STYLES */
.timeline-content {
    background: #FAF8F2;
    /* Soft Ivory */
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #E0E0E0;
    border-left: 6px solid #0F2B46;
    /* Navy Left Accent */
    transition: all 0.3s ease;
    position: relative;
}

/* Add premium glass shine effect on hover */
.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #E65100;
}

.timeline-content h3 {
    color: #0F2B46 !important;
    /* Navy */
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.timeline-content p {
    color: #1C1C1C !important;
    /* Charcoal */
    margin-bottom: 0;
    line-height: 1.6;
}

/* Desktop styles */
@media (min-width: 768px) {
    .process-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-step {
        width: 50%;
        padding-left: 0;
        margin-bottom: -30px;
        /* Negative margin to reduce vertical gap significantly */
    }

    /* Left side items */
    .timeline-step:nth-child(odd) {
        text-align: right;
        padding-right: 40px;
        /* Reduced from 50px */
        left: 0;
    }

    .timeline-step:nth-child(odd) .timeline-marker {
        left: auto;
        right: -25px;
        /* Center on line */
    }

    /* Right side items */
    .timeline-step:nth-child(even) {
        text-align: left;
        padding-left: 40px;
        /* Reduced from 50px */
        left: 50%;
    }

    .timeline-step:nth-child(even) .timeline-marker {
        left: -25px;
        /* Center on line */
    }
}

/* ========================================
   CIRCULARS & DOWNLOADS LAYOUT FIX
   ======================================== */
.circular-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
    .circular-item {
        flex-direction: column;
    }

    .circular-item>div:first-child {
        width: 100%;
    }

    .circular-item .btn {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* PREMIUM CHECKLIST */
.checklist-premium {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-premium li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-size: 0.95rem;
}

.checklist-premium li::before {
    content: '?';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* PREMIUM HERO SLIDER */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Removed background properties from container, moving to children */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(25px) brightness(0.5);
    /* Strong blur + dark for text contrast */
    transform: scale(1.1);
    /* Prevent blur edges */
    z-index: 1;
}

.slide-img-main {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    /* Optional: Drop shadow to separate image from background */
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    /* Adjusted to sit above the curve/bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-blue-dark);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

/* RESPONSIVE HERO SLIDER */
/* Default (Desktop) Styles moved from inline */
.hero-slider-container {
    position: relative;
    overflow: hidden;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 2;
    pointer-events: none;
}

/* Default Slider Typography (Desktop) */
.slide-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.slide-buttons .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    background-color: var(--accent-gold);
    border: none;
    color: white;
}

.slide-buttons .btn-outline {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    color: white;
    border: 2px solid white;
    background: transparent;
}

/* Mobile Layout Fix (Stacking) */
@media (max-width: 900px) {

    /* Increased breakpoint to catch tablets */
    .hero-slider-container {
        height: auto !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        background-color: #ffffff !important;
        padding-bottom: 3rem !important;
        position: relative !important;
    }

    /* 1. Image Area */
    .hero-slider {
        position: relative !important;
        height: 350px !important;
        width: 100% !important;
        order: 1 !important;
        z-index: 1 !important;
        flex-shrink: 0 !important;
    }

    /* 2. Hide Overlay */
    .hero-overlay {
        display: none !important;
    }

    /* 3. Text Area */
    .hero-text-container {
        order: 2 !important;
        z-index: 2 !important;
        padding-top: 3rem !important;
        padding-bottom: 4rem !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        background: linear-gradient(to bottom, #ffffff 0%, #f1f5f9 100%) !important;
        /* Premium subtle gradient */
        border-top: 5px solid var(--accent-gold) !important;
        /* Premium Accent Bar */
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05) !important;
        /* Soft depth */
    }

    /* RESET SLIDE CONTENT POSITIONING */
    .hero-text-container .slide-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 1.5rem !important;
    }

    /* Text Styling Override */
    .hero-text-container .slide-content .slide-subtitle {
        text-shadow: none !important;
        display: inline-block !important;
        background: rgba(255, 153, 0, 0.08) !important;
        color: var(--accent-gold-dark) !important;
        padding: 8px 16px !important;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 153, 0, 0.15) !important;
        margin-bottom: 1.5rem !important;
        font-weight: 700 !important;
        letter-spacing: 1.5px !important;
        font-size: 0.85rem !important;
    }

    .hero-text-container .slide-content .slide-title {
        text-shadow: none !important;
        color: var(--primary-blue-dark) !important;
        font-family: var(--font-heading) !important;
        /* Ensure Serif */
        font-size: 2.5rem !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.2 !important;
        letter-spacing: -0.5px !important;
    }

    .hero-text-container .slide-content .slide-text {
        text-shadow: none !important;
        color: var(--dark-gray) !important;
        font-size: 1.05rem !important;
        margin-bottom: 2.5rem !important;
        line-height: 1.7 !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }

    .hero-text-container .slide-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
        /* Add padding to buttons container */
    }

    /* Premium Mobile Buttons */
    .hero-text-container .btn-primary {
        background: linear-gradient(135deg, #F59E0B, #ea580c) !important;
        /* Vibrant Gradient */
        color: white !important;
        box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3) !important;
        width: 100%;
        padding: 1rem !important;
        font-size: 1.1rem !important;
        border: none !important;
    }

    .hero-text-container .btn-outline {
        border: 2px solid var(--primary-blue) !important;
        color: var(--primary-blue) !important;
        background: transparent !important;
        width: 100%;
        padding: 1rem !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
    }

    /* Hide arrows */
    .slider-arrow {
        display: none !important;
    }

    /* Adjust dots */
    .slider-controls {
        bottom: 20px !important;
        top: auto !important;
    }
}

.text-gold {
    color: var(--accent-gold) !important;
}

/* ========================================
   SOFT IVORY CARD THEME (Standardized)
   ======================================== */
.card-soft-ivory {
    background: #FFFDF7 !important;
    /* Warmer cream shade as per image */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    /* Subtle outer border */
    border-left: 5px solid var(--primary-blue-dark) !important;
    /* Thick left accent */
    border-radius: 8px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-soft-ivory:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Variation for Gold Border */
.card-soft-ivory.border-gold {
    border-left-color: var(--accent-gold) !important;
}

.card-soft-ivory .card-title,
.card-soft-ivory h3,
.card-soft-ivory h4 {
    color: var(--primary-blue-dark) !important;
    font-family: 'Poppins', sans-serif;
}

.card-soft-ivory p,
.card-soft-ivory li,
.card-soft-ivory span {
    color: var(--dark-gray);
}

.card-soft-ivory strong {
    color: var(--primary-blue-dark);
}

/* Specific override for text-gold if needed, or let it stay gold */
.card-soft-ivory .text-gold {
    color: var(--accent-gold-dark) !important;
}





/* ========================================
   FORCE FIX FOR TEXT VISIBILITY (BLACK)
   ======================================== */
.card-soft-ivory * {
    color: #000000;
    /* Fallback to Black */
}

.card-soft-ivory p,
.card-soft-ivory li,
.card-soft-ivory span,
.card-soft-ivory div,
.card-soft-ivory .text-sm {
    color: #000000 !important;
    /* Force Black */
}

.card-soft-ivory h1,
.card-soft-ivory h2,
.card-soft-ivory h3,
.card-soft-ivory h4,
.card-soft-ivory h5,
.card-soft-ivory h6,
.card-soft-ivory .card-title {
    color: var(--primary-blue-dark) !important;
}

.card-soft-ivory strong,
.card-soft-ivory b {
    color: var(--primary-blue-dark) !important;
}

.card-soft-ivory .text-gold {
    color: var(--accent-gold-dark) !important;
}

/* =======================================
   CRITICAL VISIBILITY FIXES
   ======================================= */
/* Force dark text explicitly on tables that have visibility issues */
.force-dark-text-table,
.force-dark-text-table thead,
.force-dark-text-table tbody,
.force-dark-text-table tr,
.force-dark-text-table th,
.force-dark-text-table td {
    color: #000000 !important;
    text-shadow: none !important;
}

/* Ensure backgrounds don't conflict with dark text */
.force-dark-text-table tr {
    background: transparent !important;
}

/* Specific fix for 'Holiday List' and other striped tables if they use dark stripes */
.force-dark-text-table.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02) !important;
    /* Very light grey */
}

/* Override for Stacked/Mobile views to ensuring card bodies are visible */
@media screen and (max-width: 768px) {
    .force-dark-text-table.table-stack-simple td:first-child {
        color: var(--primary-blue-dark) !important;
        /* Header part */
    }

    .force-dark-text-table.table-stack-simple td:nth-child(2) {
        color: #000000 !important;
        /* Content part */
    }
}

/* Fix for Outline Buttons on Ivory Cards (Circulars Page) */
.card-soft-ivory .btn-outline {
    color: var(--primary-blue-medium) !important;
    border-color: var(--primary-blue-medium) !important;
}

.card-soft-ivory .btn-outline:hover {
    background: var(--primary-blue-medium) !important;
    color: #ffffff !important;
}