/* ==========================================================================
   CSS DESIGN SYSTEM - ASHOK MISSIONS ARTS & SCIENCE COLLEGE
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Brand Custom Properties (Design Tokens) --- */
:root {
    /* Color Palette - Light Mode (Elegant Academic) */
    --primary: #0f172a;       /* Deep Slate/Navy */
    --primary-rgb: 15, 23, 42;
    --secondary: #0284c7;     /* Academic Sky Blue */
    --secondary-rgb: 2, 132, 199;
    --accent: #d97706;        /* Warm Gold/Amber */
    --accent-rgb: 217, 119, 6;
    --accent-hover: #b45309;
    
    --bg-main: #f8fafc;       /* Light Slate Background */
    --bg-surface: #ffffff;    /* Pure White surface */
    --bg-surface-rgb: 255, 255, 255;
    --text-main: #1e293b;     /* Slate 800 */
    --text-muted: #64748b;    /* Slate 500 */
    --border-color: #e2e8f0;  /* Slate 200 */
    
    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: rgba(15, 23, 42, 0.05);
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* System Globals */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    --glow-shadow: 0 0 20px rgba(2, 132, 199, 0.15);
}

/* --- Dark Mode Overrides --- */
[data-theme="dark"] {
    --primary: #f8fafc;
    --primary-rgb: 248, 250, 252;
    --secondary: #38bdf8;     /* Vibrant Sky Blue */
    --secondary-rgb: 56, 189, 248;
    --accent: #fbbf24;        /* Bright Amber/Gold */
    --accent-rgb: 251, 191, 36;
    --accent-hover: #f59e0b;
    
    --bg-main: #0b0f19;       /* Deep Cosmic Dark */
    --bg-surface: #131a2c;    /* Midnight Navy Card */
    --bg-surface-rgb: 19, 26, 44;
    --text-main: #f1f5f9;     /* Slate 100 */
    --text-muted: #94a3b8;    /* Slate 400 */
    --border-color: #1e293b;  /* Slate 800 */
    
    /* Glassmorphism Styles */
    --glass-bg: rgba(15, 26, 44, 0.75);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: rgba(0, 0, 0, 0.35);
    
    --box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --glow-shadow: 0 0 25px rgba(56, 189, 248, 0.2);
}

/* --- Base & Reset Rules --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

ul {
    list-style: none;
}

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

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-bg-alt {
    background-color: var(--bg-surface);
    transition: background-color var(--transition-normal);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    transition: color var(--transition-normal);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    transition: color var(--transition-normal);
}

/* --- Glassmorphic Utility --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-md);
    transition: background var(--transition-normal), border var(--transition-normal), box-shadow var(--transition-normal);
}

/* --- Premium Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(var(--secondary-rgb), 0.05);
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-download {
    background: linear-gradient(135deg, var(--secondary) 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
}

/* ==========================================================================
   NAVIGATION BAR (Glassmorphism & Sticky)
   ========================================================================== */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 20px 0;
}

.header-nav.scrolled {
    padding: 12px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styling */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--secondary);
    box-shadow: var(--glow-shadow);
}

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

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-mobile-cta {
    display: none !important;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    opacity: 0.85;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    opacity: 1;
    color: var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

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

/* Theme Switcher Toggle */
.theme-switch {
    width: 48px;
    height: 26px;
    border-radius: 13px;
    background-color: var(--border-color);
    position: relative;
    cursor: pointer;
    transition: background-color var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
}

.theme-switch-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffffff;
    position: absolute;
    left: 3px;
    transition: left var(--transition-normal);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .theme-switch {
    background-color: var(--secondary);
}

[data-theme="dark"] .theme-switch-thumb {
    left: 25px;
    background-color: var(--bg-surface);
}

.theme-icon {
    font-size: 0.75rem;
    pointer-events: none;
    z-index: 1;
}

.theme-icon-sun {
    color: #f59e0b;
    margin-left: 2px;
}

.theme-icon-moon {
    color: #94a3b8;
    margin-right: 2px;
}

/* Mobile Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 28px;
    height: 20px;
    justify-content: center;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(var(--secondary-rgb), 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(2, 132, 199, 0.15) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
    pointer-events: none;
    z-index: 1;
}

[data-theme="dark"] .hero-section::after {
    background-image: radial-gradient(rgba(56, 189, 248, 0.12) 1.5px, transparent 1.5px);
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.hero-content {
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(var(--secondary-rgb), 0.15);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(var(--secondary-rgb), 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), 0); }
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

/* Feature Bullets inside Hero */
.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.h-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.h-feature-item i {
    color: var(--accent);
}

/* Hero Floating Decorative Shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    color: rgba(var(--secondary-rgb), 0.15);
    font-size: 2.5rem;
    filter: drop-shadow(0 0 15px rgba(var(--secondary-rgb), 0.1));
    animation: float-animation 6s ease-in-out infinite;
    opacity: 0.8;
}

[data-theme="dark"] .hero-bg-shapes .shape {
    color: rgba(var(--secondary-rgb), 0.25);
}

.hero-bg-shapes .shape-1 {
    top: 20%;
    left: 8%;
    animation-delay: 0s;
    font-size: 3rem;
}

.hero-bg-shapes .shape-2 {
    bottom: 22%;
    left: 12%;
    animation-delay: 1.5s;
    font-size: 2.5rem;
    color: rgba(var(--accent-rgb), 0.15);
}
[data-theme="dark"] .hero-bg-shapes .shape-2 {
    color: rgba(var(--accent-rgb), 0.25);
}

.hero-bg-shapes .shape-3 {
    top: 22%;
    right: 10%;
    animation-delay: 3s;
    font-size: 2.8rem;
    color: rgba(var(--accent-rgb), 0.15);
}
[data-theme="dark"] .hero-bg-shapes .shape-3 {
    color: rgba(var(--accent-rgb), 0.25);
}

.hero-bg-shapes .shape-4 {
    bottom: 20%;
    right: 12%;
    animation-delay: 4.5s;
    font-size: 3.2rem;
}

@keyframes float-animation {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@media (max-width: 768px) {
    .hero-bg-shapes .shape {
        opacity: 0.4;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-bg-shapes {
        display: none;
    }
}

/* ==========================================================================
   STATS BAR SECTION
   ========================================================================== */
.stats-section {
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: var(--font-heading);
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.about-card {
    padding: 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.about-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.icon-blue {
    background-color: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary);
}

.icon-amber {
    background-color: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
}

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   COURSES CATALOG (Filterable)
   ========================================================================== */
.course-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    background-color: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.filter-btn.active {
    background-color: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--bg-surface);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border var(--transition-normal);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
    border-color: var(--secondary);
}

.course-header-img {
    height: 180px;
    position: relative;
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--secondary);
}

.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-science {
    background-color: rgba(56, 189, 248, 0.15);
    color: #0369a1;
}

[data-theme="dark"] .badge-science {
    color: #38bdf8;
}

.badge-arts {
    background-color: rgba(251, 191, 36, 0.15);
    color: #b45309;
}

[data-theme="dark"] .badge-arts {
    color: #fbbf24;
}

.course-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.course-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.course-duration {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-enquire-link {
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.course-enquire-link:hover {
    color: var(--accent);
}

/* ==========================================================================
   MOBILE APP DOWNLOAD SECTION
   ========================================================================== */
.app-section {
    position: relative;
    overflow: hidden;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

/* Dynamic CSS Interactive Phone Screen */
.phone-mockup-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 310px;
    height: 610px;
    border-radius: 40px;
    background-color: #0b0f19;
    border: 12px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 25px;
    background-color: #1e293b;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.phone-screen {
    flex-grow: 1;
    background: #0f172a;
    padding: 30px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    color: #f1f5f9;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.75rem;
}

.phone-time {
    font-weight: 700;
}

.phone-icons {
    display: flex;
    gap: 4px;
}

.phone-app-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.phone-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--secondary);
}

.phone-app-title h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.phone-app-title p {
    font-size: 0.6rem;
    color: #94a3b8;
}

.phone-welcome-box {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.2) 0%, rgba(217, 119, 6, 0.2) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.phone-welcome-box h5 {
    font-size: 0.8rem;
    font-weight: 700;
}

.phone-welcome-box p {
    font-size: 0.65rem;
    color: #cbd5e1;
    margin-top: 4px;
}

.phone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex-grow: 1;
}

.phone-widget {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.phone-widget i {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.phone-widget span {
    font-size: 0.7rem;
    font-weight: 600;
}

.phone-bottom-bar {
    width: 100px;
    height: 4px;
    background-color: #cbd5e1;
    border-radius: 2px;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

/* Left side of app download */
.app-feature-list {
    margin: 32px 0;
}

.app-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.app-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.app-feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

/* ==========================================================================
   ADMISSIONS & ENQUIRY SECTION
   ========================================================================== */
.admission-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: stretch;
}

.admission-info-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.ad-card-badge {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 50px;
    background-color: var(--accent);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.admission-info-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.admission-info-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.admissions-steps {
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-desc h4 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.step-desc p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Interactive Glass Form */
.enquiry-form-card {
    padding: 40px;
}

.enquiry-form-card h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.enquiry-form-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-main);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-control:focus {
    border-color: var(--secondary);
    background-color: var(--bg-surface);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
    resize: none;
}

.form-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 10px;
}

/* ==========================================================================
   CONTACT DETAILS & MAP
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
    border-color: var(--secondary);
}

.contact-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(var(--secondary-rgb), 0.08);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: all var(--transition-fast);
}

.contact-card:hover .contact-icon-box {
    background-color: var(--secondary);
    color: #ffffff;
    box-shadow: var(--glow-shadow);
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.contact-card-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-card-btn:hover {
    color: var(--accent);
}

/* Map placeholder to avoid broken frames */
.map-container {
    margin-top: 60px;
    height: 350px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 16px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.map-placeholder h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.map-placeholder p {
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

[data-theme="dark"] .footer {
    background-color: #080b15;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.footer-logo-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--secondary);
}

.footer-about p {
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--secondary);
    margin-top: 4px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.8rem;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS & CHAT WIDGET
   ========================================================================== */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.float-whatsapp {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all var(--transition-normal);
    animation: whatsapp-pulse 2s infinite;
}

.float-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ==========================================================================
   INTERACTIVE SUBMISSION MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.success-modal {
    width: 100%;
    max-width: 480px;
    padding: 40px;
    text-align: center;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .success-modal {
    transform: scale(1);
}

.success-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.1);
    color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 24px auto;
}

.success-modal h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.success-modal p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* ==========================================================================
   MEDIA QUERIES (Ultra Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-grid, .about-grid, .app-grid, .admission-grid { gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 30px; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-color); padding: 15px 0; }
    .stat-item:nth-child(even) { border-left: none; }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1.5fr 1fr; gap: 40px; }
    .footer-contact { grid-column: span 2; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .header-nav { padding: 16px 0; }
    
    /* Nav Menu Mobile Styling */
    .menu-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-surface);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px;
        gap: 24px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        transition: right var(--transition-normal);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link { font-size: 1.1rem; }
    .nav-actions { margin-left: auto; margin-right: 0; }
    #header-apply-cta { display: none !important; }
    .nav-mobile-cta { display: inline-flex !important; }
    
    /* Hero layout */
    .hero-title { font-size: 2.5rem; }
    
    /* Grid system collapses */
    .about-grid, .app-grid, .admission-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .form-group-row { grid-template-columns: 1fr; gap: 0; }
    .form-actions-row { grid-template-columns: 1fr; }
    
    .stats-section { margin-top: -30px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-contact { grid-column: span 1; }
}

@media (max-width: 480px) {
    .logo-title { font-size: 1.05rem; }
    .logo-subtitle { font-size: 0.55rem; letter-spacing: 0.05em; }
    .logo-img { width: 38px; height: 38px; border-radius: 10px; }
    .hero-title { font-size: 2rem; }
    .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-bottom: 1px solid var(--border-color); }
    .stat-item:last-child { border-bottom: none; }
    /* Hero image stack removed */
    .courses-grid { grid-template-columns: 1fr; gap: 20px; }
    .phone-mockup { transform: scale(0.85); transform-origin: top center; margin-bottom: -90px; }
    .footer-bottom { justify-content: center; text-align: center; }
}
