/* =========================================================================
   Base Styles & CSS Variables
   ========================================================================= */
:root {
    /* Color Palette */
    --primary: #FF7A18;
    --primary-dark: #FF4E00;
    --primary-light: #FFA65C;
    
    --bg-start: #fff5e6;
    --bg-end: #ffe3c2;
    
    --text-dark: #2D1B10;
    --text-light: #5A3E2B;
    --white: #ffffff;
    
    --success: #28a745;
    --warning: #ffc107;
    --whatsapp: #25D366;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* =========================================================================
   Utility Classes
   ========================================================================= */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.w-100 { width: 100%; }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.wrap { flex-wrap: wrap; }

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

.section-subtitle {
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-dark {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-soft {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Background elements */
.bg-decor {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    opacity: 0.6;
}

.bg-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: -100px;
    right: -100px;
}

.bg-shape-2 {
    width: 300px;
    height: 300px;
    background: #ffc107;
    bottom: 20%;
    left: -50px;
}

.bg-shape-3 {
    width: 500px;
    height: 500px;
    background: rgba(255, 122, 24, 0.2);
    top: 40%;
    right: 10%;
}

/* =========================================================================
   Glassmorphism UI System
   ========================================================================= */
.glass-header {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.glass-header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    overflow: hidden;
}

.glass-badge {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 122, 24, 0.1);
}

.text-glass-panel {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.outline-glow {
    position: relative;
    padding: 4px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,122,24,0.4), rgba(255,255,255,0.8));
    z-index: 1;
}

.outline-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* =========================================================================
   Claymorphism UI System
   ========================================================================= */
.clay-shadow {
    box-shadow: 
        12px 12px 24px rgba(210, 180, 140, 0.4),
        -12px -12px 24px rgba(255, 255, 255, 0.8);
}

.clay-hover:hover {
    transform: translateY(-5px);
    box-shadow: 
        15px 15px 30px rgba(210, 180, 140, 0.45),
        -15px -15px 30px rgba(255, 255, 255, 0.9);
}

.clay-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.clay-btn-sm {
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
}

.clay-btn-round {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.3),
        inset -4px -4px 8px rgba(0, 0, 0, 0.15),
        8px 8px 16px rgba(255, 122, 24, 0.3),
        -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.2),
        inset -4px -4px 8px rgba(0, 0, 0, 0.2),
        6px 6px 12px rgba(255, 122, 24, 0.3),
        -6px -6px 12px rgba(255, 255, 255, 0.8);
    transform: scale(0.98);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.3),
        inset -4px -4px 8px rgba(0, 0, 0, 0.15),
        8px 8px 16px rgba(37, 211, 102, 0.2),
        -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.btn-whatsapp:hover {
    background: #1EBE5D;
    transform: scale(0.98);
}

.btn-dark {
    background: var(--text-dark);
    color: white;
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.2),
        inset -4px -4px 8px rgba(0, 0, 0, 0.3),
        8px 8px 16px rgba(45, 27, 16, 0.2),
        -8px -8px 16px rgba(255, 255, 255, 0.8);
}

/* Clay Inputs */
.clay-input {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    box-shadow: 
        inset 4px 4px 8px rgba(210, 180, 140, 0.2),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8);
    outline: none;
    transition: all 0.3s ease;
}

.clay-input:focus {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 
        inset 5px 5px 10px rgba(210, 180, 140, 0.25),
        inset -5px -5px 10px rgba(255, 255, 255, 0.9),
        0 0 0 2px rgba(255, 122, 24, 0.3);
}

/* Clay Icons / Small Cards */
.clay-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.8),
        inset -4px -4px 8px rgba(0, 0, 0, 0.05),
        8px 8px 16px rgba(210, 180, 140, 0.3),
        -8px -8px 16px rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.clay-icon-sm {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    box-shadow: 
        inset 2px 2px 5px rgba(255, 255, 255, 0.8),
        inset -2px -2px 5px rgba(0, 0, 0, 0.05),
        5px 5px 10px rgba(210, 180, 140, 0.3),
        -5px -5px 10px rgba(255, 255, 255, 0.8);
}

.clay-card-sm {
    background: rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 
        inset 2px 2px 5px rgba(255, 255, 255, 0.8),
        inset -2px -2px 5px rgba(0, 0, 0, 0.05),
        5px 5px 10px rgba(210, 180, 140, 0.2),
        -5px -5px 10px rgba(255, 255, 255, 0.8);
}

/* =========================================================================
   Components
   ========================================================================= */

/* Header & Nav */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-icon {
    color: var(--primary);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 10px rgba(255,122,24,0.2);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-family: var(--font-heading);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Badges */
.badge {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.badge-warning { background: rgba(255, 193, 7, 0.2); color: #d39e00; border: 1px solid #ffc107; }
.badge-success { background: rgba(40, 167, 69, 0.2); color: #1e7e34; border: 1px solid #28a745; }

/* =========================================================================
   Sections
   ========================================================================= */

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 1.5rem 0;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1.5rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(0,0,0,0.1);
}

.hero-image-container {
    position: relative;
    padding: 12px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.sanskrit-bg-text {
    position: absolute;
    font-size: 15rem;
    font-weight: 900;
    color: rgba(255, 122, 24, 0.05);
    z-index: 0;
    user-select: none;
    transform: rotate(-10deg);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.floating-badge i {
    font-size: 2rem;
}

.badge-1 { top: 10%; right: -20px; animation-delay: 0s; }
.badge-2 { bottom: 10%; left: -30px; animation-delay: 2s; }

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img-wrapper {
    padding: 1rem;
    position: relative;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.about-img-wrapper:hover {
    transform: rotate(0deg);
}

.about-img {
    width: 100%;
    border-radius: 16px;
}

.decor-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    top: -20px;
    left: -20px;
    z-index: -1;
    opacity: 0.5;
}

.about-features li {
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

/* Teacher Section */
.teacher-profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    text-align: left;
}

.teacher-img-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.teacher-img {
    width: 100%;
    border-radius: 24px;
    display: block;
}

.teacher-name {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.teacher-qualification {
    font-size: 1.2rem;
    font-weight: 500;
    background: rgba(255, 122, 24, 0.1);
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-top: 0.5rem;
}

.teacher-bio {
    font-size: 1.1rem;
    font-style: italic;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    color: var(--text-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.feature-card {
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Admissions Banner */
.admissions-card {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.3));
}

.gradient-border {
    position: relative;
}
.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark), transparent);
    z-index: -1;
    opacity: 0.5;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper {
    padding: 3rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.8);
    padding: 5rem 0 0 0;
    margin-top: 3rem;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

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

.text-white { color: white !important; }
.text-light-brown { color: #d0c0b5; }

.footer-links h3 {
    color: white;
    margin-bottom: 1.5rem;
}

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

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    background: rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.float-call {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
}

.float-wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}

.float-btn:hover {
    transform: scale(1.1);
}

/* =========================================================================
   Animations (Intersection Observer Classes)
   ========================================================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================================================
   Mobile Responsiveness
   ========================================================================= */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .teacher-profile {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }
    
    .teacher-bio {
        border-left: none;
        border-top: 4px solid var(--primary);
        padding-left: 0;
        padding-top: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Container & Layout */
    .container {
        width: 92%;
    }
    
    .section-padding {
        padding: 3.5rem 0; /* Reduced padding to save space */
    }

    /* Typography Overrides */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 2rem;
        margin: 1rem 0;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Navigation */
    .nav-links, .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        padding: 2rem 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links.active a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    /* Hero Section Specifics */
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }

    .hero-stats {
        padding: 1rem;
        gap: 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .badge-1, .badge-2 {
        position: static;
        margin-top: 1rem;
        animation: none;
        width: 100%;
    }
    
    /* Grids */
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Admissions Banner */
    .admissions-card {
        padding: 2.5rem 1.5rem;
    }
    
    .admissions-card h2 {
        font-size: 1.8rem;
    }

    .flex-center.wrap {
        flex-direction: column;
        gap: 1rem;
    }

    .flex-center.wrap .btn {
        width: 100%;
    }
    
    /* Contact Details */
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .glass-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    .hero-image-container {
        height: 350px;
    }
    .sanskrit-bg-text {
        font-size: 10rem;
    }
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
