/* ============================
   CSS Variables & Root
   ============================ */
:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --secondary: #0f3460;
    --accent: #e94560;
    --accent-hover: #d63851;
    --gold: #f0a500;
    --success-green: #2ecc71;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --bg-light: #f8f9fc;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #e94560 0%, #f0a500 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-cricket: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-accent: 0 5px 25px rgba(233, 69, 96, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.section-header {
    margin-bottom: 3rem;
}

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

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

/* ============================
   Navbar
   ============================ */
#mainNav {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
    z-index: 1000;
}

#mainNav.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.brand-text {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.brand-highlight {
    color: var(--accent);
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

#mainNav .nav-link:hover {
    color: var(--accent);
}

.nav-cta {
    padding: 8px 24px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.dropdown-menu {
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(233, 69, 96, 0.15);
    color: var(--accent);
}

/* ============================
   Buttons
   ============================ */
.btn-accent {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-accent::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-accent:hover::after {
    left: 100%;
}

.btn-outline-light {
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    border-width: 2px;
}

.btn-outline-dark {
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    border-width: 2px;
}

/* ============================
   Hero Section
   ============================ */
.hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 60%);
    animation: pulse-glow 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(240, 165, 0, 0.08) 0%, transparent 60%);
    animation: pulse-glow 10s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: #fff;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    display: block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ============================
   Page Hero (Inner Pages)
   ============================ */
.page-hero {
    background: var(--gradient-dark);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 60%);
}

.min-vh-50 {
    min-height: 30vh;
}

.cricket-hero::before { background: radial-gradient(circle, rgba(46, 204, 113, 0.15) 0%, transparent 60%); }
.education-hero::before { background: radial-gradient(circle, rgba(52, 152, 219, 0.15) 0%, transparent 60%); }
.mahila-hero::before { background: radial-gradient(circle, rgba(155, 89, 182, 0.15) 0%, transparent 60%); }
.hostel-hero::before { background: radial-gradient(circle, rgba(240, 165, 0, 0.15) 0%, transparent 60%); }
.contact-hero::before { background: radial-gradient(circle, rgba(233, 69, 96, 0.15) 0%, transparent 60%); }

/* ============================
   Programs Section
   ============================ */
.programs-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.program-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.program-icon.cricket { background: rgba(46, 204, 113, 0.12); color: #2ecc71; }
.program-icon.education { background: rgba(52, 152, 219, 0.12); color: #3498db; }
.program-icon.mahila { background: rgba(155, 89, 182, 0.12); color: #9b59b6; }
.program-icon.hostel { background: rgba(240, 165, 0, 0.12); color: #f0a500; }

.program-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.program-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.program-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.program-highlights li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 0;
}

.program-highlights li i {
    color: var(--success-green);
    margin-right: 8px;
    font-size: 0.75rem;
}

.program-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.program-link:hover {
    color: var(--accent-hover);
    gap: 8px;
}

.program-link i {
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.program-link:hover i {
    transform: translateX(4px);
}

/* ============================
   About Highlight Section
   ============================ */
.about-highlight {
    padding: 100px 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image-placeholder {
    background: linear-gradient(135deg, #f8f9fc 0%, #e8ecf4 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(0, 0, 0, 0.08);
}

.about-image-placeholder i {
    font-size: 5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.about-image-placeholder span {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.1rem;
}

.about-image-placeholder.large {
    min-height: 450px;
}

.cricket-img { background: linear-gradient(135deg, #e8f8f0 0%, #d4efdf 100%); }
.edu-img { background: linear-gradient(135deg, #e8f0f8 0%, #d4e6ef 100%); }
.mahila-img { background: linear-gradient(135deg, #f0e8f8 0%, #e4d4ef 100%); }
.hostel-img { background: linear-gradient(135deg, #f8f0e8 0%, #efe4d4 100%); }

.about-float-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent);
}

.float-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.about-float-card strong {
    display: block;
    font-size: 1rem;
}

.about-float-card small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.about-content {
    padding-left: 2rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-feature .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.about-feature h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

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

/* ============================
   Cricket Highlight Section
   ============================ */
.cricket-highlight {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cricket-overlay {
    position: absolute;
    inset: 0;
    background: 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.03'%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") repeat;
}

.cricket-stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.cricket-stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.cricket-stat-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: block;
}

.cricket-stat-card h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.cricket-stat-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ============================
   Quote Section
   ============================ */
.quote-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.quote-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.quote-card blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.quote-author {
    color: var(--accent);
    font-weight: 600;
}

/* ============================
   CTA Section
   ============================ */
.cta-section {
    padding: 80px 0;
    background: var(--bg-light);
}

/* ============================
   Feature Cards (Inner Pages)
   ============================ */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.feature-card-icon.mahila-icon { background: rgba(155, 89, 182, 0.1); color: #9b59b6; }
.feature-card-icon.hostel-icon { background: rgba(240, 165, 0, 0.1); color: #f0a500; }

.feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

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

/* ============================
   Mission Cards
   ============================ */
.mission-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
}

.mission-card.vision {
    border-left-color: var(--gold);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.mission-card.vision .mission-icon {
    background: rgba(240, 165, 0, 0.1);
    color: var(--gold);
}

.mission-card h3 {
    margin-bottom: 1rem;
}

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

.mission-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.mission-card ul li {
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================
   Value Cards
   ============================ */
.value-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 auto 1.25rem;
}

.value-card h5 {
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================
   Mini Stat Cards
   ============================ */
.mini-stat-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
}

.mini-stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.mini-stat-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================
   Curriculum Cards
   ============================ */
.curriculum-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid transparent;
}

.curriculum-card.science { border-top-color: #3498db; }
.curriculum-card.arts { border-top-color: #9b59b6; }
.curriculum-card.humanities { border-top-color: #2ecc71; }

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

.curriculum-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.curriculum-card.science i { color: #3498db; }
.curriculum-card.arts i { color: #9b59b6; }
.curriculum-card.humanities i { color: #2ecc71; }

.curriculum-card h4 {
    margin-bottom: 0.75rem;
}

.curriculum-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================
   Impact Cards
   ============================ */
.impact-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.impact-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.impact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================
   Amenity Cards
   ============================ */
.amenity-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.amenity-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.amenity-card i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 30px;
    text-align: center;
}

.amenity-card span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* ============================
   Contact Page
   ============================ */
.contact-info-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.contact-item h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

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

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 2px solid #e8ecf4;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.form-floating > label {
    color: var(--text-muted);
}

/* ============================
   Map Placeholder
   ============================ */
.map-placeholder {
    background: linear-gradient(135deg, #e8ecf4 0%, #d4dae4 100%);
    padding: 4rem 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.map-placeholder h4 {
    margin-bottom: 0.25rem;
}

.map-placeholder p {
    color: var(--text-muted);
}

/* ============================
   Social Links
   ============================ */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(233, 69, 96, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-brand h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    padding: 5px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--accent);
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.footer .social-links a {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.footer .social-links a:hover {
    background: var(--gradient-primary);
    color: #fff;
}

.footer-bottom {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================
   Back to Top
   ============================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-accent);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    color: #fff;
    transform: translateY(-4px);
}

/* ============================
   Flash Messages
   ============================ */
.flash-container {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 1050;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        min-width: 100px;
        padding: 0.75rem 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }

    .about-float-card {
        right: 10px;
        bottom: -10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-collapse {
        background: rgba(26, 26, 46, 0.98);
        padding: 1rem;
        border-radius: var(--radius-md);
        margin-top: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 0.5rem;
    }

    .stat-item {
        min-width: 80px;
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .programs-section,
    .about-highlight,
    .cricket-highlight {
        padding: 60px 0;
    }

    .about-image-placeholder {
        min-height: 250px;
    }

    .about-image-placeholder.large {
        min-height: 300px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }
}

/* ============================
   Animations
   ============================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth loading */
.program-card,
.feature-card,
.value-card,
.curriculum-card,
.impact-card,
.amenity-card {
    will-change: transform;
}
