/* =========================================================
   Eklavya Sports Academy — Stylesheet
   Theme: Sporty / Bold Orange + Deep Blue + Black
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #004E89;        /* Deep sporty blue */
    --primary-dark: #002F55;
    --accent: #FF6B35;         /* Vibrant orange */
    --accent-dark: #E04E1A;
    --dark: #0A0A0A;
    --gray-900: #1A1A1A;
    --gray-700: #4a4a4a;
    --gray-500: #777;
    --gray-300: #e5e5e5;
    --gray-100: #f6f7fb;
    --white: #ffffff;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.18);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --transition: 0.35s cubic-bezier(.4, 0, .2, 1);

    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* ---------- Layout helpers ---------- */
.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

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

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.12);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--white);
}

.section-desc {
    color: var(--gray-500);
    font-size: 1.05rem;
}

.text-accent {
    color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.55);
}

.btn-primary i {
    transition: transform var(--transition);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 1.5px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.5);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo .accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--white);
    padding: 10px 16px;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--accent);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 60%;
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 22px !important;
    margin-left: 10px;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.nav-links a.active:not(.nav-cta) {
    color: var(--accent);
}

.nav-links a.active:not(.nav-cta)::after {
    width: 60%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.4s ease, transform 6s ease;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(0, 47, 85, 0.88) 0%, rgba(10, 10, 10, 0.7) 60%, rgba(255, 107, 53, 0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 120px 0 60px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 36px;
    font-weight: 300;
    opacity: 0.95;
    max-width: 580px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 700px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
}

.stat span:last-child {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 4px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2.2s infinite;
    transition: var(--transition);
}

.scroll-down:hover {
    background: var(--accent);
    border-color: var(--accent);
}

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

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--gray-100);
}

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

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 110px;
    height: 110px;
    background: var(--accent);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-img::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 110px;
    height: 110px;
    border: 4px solid var(--primary);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 16px 22px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-md);
}

.about-badge i {
    font-size: 1.8rem;
    color: var(--accent);
}

.about-badge strong {
    display: block;
    font-size: 1rem;
    color: var(--dark);
}

.about-badge span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.about-text p {
    color: var(--gray-700);
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0 32px;
}

.about-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.about-feat i {
    color: var(--accent);
    font-size: 1.1rem;
}

.about-feat span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   OUR CLUBS
   ============================================ */
.clubs {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.clubs::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.clubs::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 78, 137, 0.12), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.clubs .container {
    position: relative;
    z-index: 1;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.club-card {
    border-radius: var(--radius-lg);
    padding: 3px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.club-card-inner {
    background: var(--white);
    border-radius: calc(var(--radius-lg) - 3px);
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.club-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.06), rgba(0, 78, 137, 0.06));
    transition: height 0.5s ease;
    z-index: 0;
}

.club-card:hover .club-card-inner::before {
    height: 100%;
}

.club-card-inner > * {
    position: relative;
    z-index: 1;
}

.club-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.35);
    transition: var(--transition);
}

.club-card:nth-child(2) .club-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 24px rgba(0, 78, 137, 0.35);
}

.club-card:nth-child(3) .club-icon {
    background: linear-gradient(135deg, #f5a623, var(--accent));
    box-shadow: 0 10px 24px rgba(245, 166, 35, 0.35);
}

.club-card:nth-child(4) .club-icon {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.35);
}

.club-card:hover .club-icon {
    transform: rotate(-8deg) scale(1.08);
}

.club-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(255, 107, 53, 0.1);
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.club-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 1.2px;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.15;
}

.club-card p {
    color: var(--gray-700);
    font-size: 0.92rem;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.club-card p i {
    color: var(--accent);
    font-size: 0.9rem;
}

.club-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    padding: 10px 22px;
    border-radius: 50px;
    border: 1.5px solid var(--gray-300);
    transition: var(--transition);
    cursor: pointer;
}

.club-card:hover .club-cta {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.4);
}

.club-card:hover .club-cta i {
    transform: translateX(4px);
}

.club-cta i {
    transition: transform var(--transition);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-300);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    background: var(--gray-100);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

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

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.85), rgba(255, 107, 53, 0.85));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0;
    transition: opacity var(--transition);
}

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

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

/* Make some items larger for visual variety */
.gallery-item:nth-child(1),
.gallery-item:nth-child(8) {
    grid-row: span 2;
    aspect-ratio: 0.5;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why {
    background: var(--white);
}

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

.why-list {
    margin-top: 30px;
}

.why-list li {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-300);
}

.why-list li:last-child {
    border-bottom: none;
}

.why-list i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.why-list strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.why-list span {
    color: var(--gray-700);
    font-size: 0.95rem;
}

.why-visual {
    position: relative;
}

.why-img-main {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.why-img-floating {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 6px solid var(--white);
    box-shadow: var(--shadow-lg);
    animation: floatY 4s ease-in-out infinite;
}

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

/* ============================================
   ADMISSION FORM
   ============================================ */
.admission {
    background:
        linear-gradient(135deg, rgba(0, 47, 85, 0.92), rgba(10, 10, 10, 0.92)),
        url('../image/WhatsApp Image 2026-04-27 at 10.16.13 PM.jpeg') center/cover fixed;
    color: var(--white);
}

.admission-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: min(1200px, 92%);
    margin: 0 auto;
}

.admission-info p {
    color: rgba(255, 255, 255, 0.85);
    margin: 14px 0 30px;
    font-size: 1.05rem;
}

.admission-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admission-points div {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
}

.admission-points i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.2);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admission-form {
    background: var(--white);
    color: var(--dark);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.admission-form h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--dark);
}

.form-row {
    margin-bottom: 18px;
}

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

.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 16px;
    margin-top: 6px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--gray-100);
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.form-row textarea {
    resize: vertical;
}

.form-msg {
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    min-height: 22px;
}

.form-msg.success {
    color: #1a8b3f;
}

.form-msg.error {
    color: #c0392b;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--gray-100);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.quote {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 16px;
}

.testimonial-card p {
    color: var(--gray-700);
    font-size: 0.98rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.7;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-300);
}

.t-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.t-author strong {
    display: block;
    color: var(--dark);
    font-size: 1rem;
}

.t-author span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--white);
    padding: 36px 26px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1.5px solid var(--gray-300);
    transition: var(--transition);
}

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

.contact-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 18px;
    transition: var(--transition);
}

.contact-card:hover i {
    transform: scale(1.15);
}

.contact-card h4 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-card p {
    color: var(--gray-700);
    font-size: 0.92rem;
}

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 380px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 50px;
    width: min(1200px, 92%);
    margin: 0 auto;
    padding-bottom: 50px;
}

.footer-col .logo {
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-col p i {
    color: var(--accent);
    width: 16px;
    margin-right: 8px;
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.socials a:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    text-align: center;
    font-size: 0.88rem;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.float-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    animation: pulse 2s infinite;
    transition: var(--transition);
}

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

@keyframes pulse {
    0% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.back-top:hover {
    background: var(--accent-dark);
    transform: translateY(-4px);
}

/* ============================================
   SERVICE DETAIL PAGES
   ============================================ */
.service-detail {
    padding: 80px 0;
    background: var(--white);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail-grid:nth-of-type(even) {
    direction: rtl;
}

.service-detail-grid:nth-of-type(even) > * {
    direction: ltr;
}

.service-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-detail-img:hover img {
    transform: scale(1.04);
}

.service-detail-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.service-detail-text p {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 14px;
}

.service-detail-text ul {
    margin-top: 14px;
}

.service-detail-text ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--gray-700);
}

.service-detail-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--accent);
}

.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.service-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-gallery img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .service-detail-grid,
    .service-detail-grid:nth-of-type(even) {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 30px;
    }
}

/* ============================================
   ADMISSION PAGE
   ============================================ */
.admission-page-section {
    padding: 60px 0 40px;
    background: var(--white);
}

.admission-form-wide {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-300);
}

.admission-form-wide h3 {
    text-align: center;
    font-size: 1.8rem;
    font-family: var(--font-display);
    letter-spacing: 1.2px;
    margin-bottom: 28px;
    color: var(--dark);
}

.admission-form-wide .form-row {
    margin-bottom: 18px;
}

.admission-form-wide label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.admission-form-wide label > i {
    color: var(--accent);
    margin-right: 6px;
    font-size: 0.85rem;
}

.admission-form-wide select {
    width: 100%;
    padding: 12px 16px;
    margin-top: 6px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gray-900);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23FF6B35' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.admission-form-wide select:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

/* Payment Panel */
.payment-panel {
    display: none;
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-300);
    animation: paymentFadeIn 0.4s ease;
}

.payment-panel.visible {
    display: block;
}

@keyframes paymentFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.payment-head {
    text-align: center;
    margin-bottom: 24px;
}

.payment-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 14px;
    box-shadow: 0 8px 22px rgba(255, 107, 53, 0.35);
}

.payment-head h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 6px;
}

.payment-summary {
    background: rgba(46, 184, 92, 0.1);
    color: #1a8b3f;
    border-left: 4px solid #1a8b3f;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-summary i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 26px;
}

.bank-card,
.payment-instructions,
.upi-card {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    border: 1px solid var(--gray-300);
}

.upi-card {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.upi-card h4 {
    text-align: center;
    justify-content: center;
}

.qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0 18px;
}

.qr-box {
    width: 200px;
    height: 200px;
    padding: 12px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-box img,
.qr-box canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.85rem;
    text-align: center;
    padding: 8px;
}

.qr-placeholder i {
    font-size: 1.6rem;
    color: var(--accent);
}

.qr-hint {
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.upi-id-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
    padding: 10px 12px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px dashed var(--gray-300);
}

.upi-id-row .bank-value {
    justify-content: center;
    font-size: 0.95rem;
}

.btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    box-shadow: none;
}

.bank-card h4,
.payment-instructions h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-card h4 i,
.payment-instructions h4 i {
    color: var(--accent);
}

.bank-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bank-list li {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px dashed var(--gray-300);
    font-size: 0.9rem;
}

.bank-list li:last-child {
    border-bottom: none;
}

.bank-label {
    color: var(--gray-500);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.bank-value {
    color: var(--dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: break-word;
}

.amount-row .amount-value {
    color: var(--accent);
    font-size: 1.4rem;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.copy-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
    cursor: pointer;
}

.copy-btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.copy-btn.copied {
    background: #1a8b3f;
    color: var(--white);
    border-color: #1a8b3f;
}

.payment-instructions ol {
    padding-left: 18px;
    margin: 0;
    color: var(--gray-700);
    font-size: 0.9rem;
    line-height: 1.7;
}

.payment-instructions ol li {
    margin-bottom: 4px;
}

.payment-form {
    border-top: 1px solid var(--gray-300);
    padding-top: 24px;
}

.payment-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.payment-actions .btn {
    flex: 1;
    justify-content: center;
}

.btn-ghost-light {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
}

.btn-ghost-light:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--gray-700);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
    .payment-panel {
        padding: 26px 20px;
    }
    .payment-actions {
        flex-direction: column-reverse;
    }
    .payment-actions .btn {
        width: 100%;
    }
}

/* Admission Process */
.process-section {
    background: var(--gray-100);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
}

.process-card {
    background: var(--white);
    padding: 36px 28px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-300);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

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

.process-num {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    opacity: 0.85;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.process-card h4 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.process-card p {
    color: var(--gray-700);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Fee Structure */
.fee-section {
    background: var(--white);
}

.fee-table-wrap {
    max-width: 880px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-300);
}

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

.fee-table thead {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.fee-table th {
    padding: 18px 22px;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.fee-table td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--gray-300);
    color: var(--gray-700);
    font-size: 0.95rem;
}

.fee-table tbody tr:last-child td {
    border-bottom: none;
}

.fee-table tbody tr {
    transition: var(--transition);
}

.fee-table tbody tr:hover {
    background: rgba(255, 107, 53, 0.06);
}

.fee-table td strong {
    color: var(--dark);
    font-size: 1rem;
}

.fee-highlight {
    color: var(--accent) !important;
    font-weight: 700;
}

.fee-note {
    padding: 16px 22px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.88rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fee-note i {
    color: var(--accent);
}

@media (max-width: 600px) {
    .admission-form-wide {
        padding: 30px 22px;
    }
    .fee-table th,
    .fee-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
}

/* ============================================
   SUB-PAGE HERO (Tournament / Achievements)
   ============================================ */
.page-body {
    background: var(--gray-100);
}

.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background:
        linear-gradient(135deg, rgba(0, 47, 85, 0.92) 0%, rgba(10, 10, 10, 0.85) 60%, rgba(255, 107, 53, 0.5) 100%),
        url('../image/WhatsApp Image 2026-04-27 at 10.16.13 PM.jpeg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

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

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    letter-spacing: 1.5px;
    margin: 14px 0 16px;
    line-height: 1.05;
}

.page-hero p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
    opacity: 0.92;
}

/* ---------- Action bar ---------- */
.page-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-300);
}

/* ---------- Entry grid (tournaments/achievements) ---------- */
.entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}

.entry-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-300);
    transition: var(--transition);
    position: relative;
    animation: entryFadeIn 0.4s ease both;
    overflow: hidden;
}

.entry-card.has-photo {
    padding: 0;
}

.entry-card.has-photo .entry-body {
    padding: 22px 26px 26px;
}

.entry-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}

.entry-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.entry-card.has-photo:hover .entry-photo img {
    transform: scale(1.06);
}

@keyframes entryFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.entry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.entry-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    box-shadow: 0 8px 18px rgba(255, 107, 53, 0.3);
}

.entry-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 14px;
}

.entry-meta i {
    color: var(--accent);
    margin-right: 4px;
}

.entry-card p {
    color: var(--gray-700);
    font-size: 0.93rem;
    line-height: 1.6;
}

.entry-delete {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.78);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    z-index: 5;
    cursor: pointer;
}

.entry-delete:hover {
    background: #c0392b;
    transform: rotate(90deg) scale(1.05);
}

/* ---------- Empty state ---------- */
.empty-state {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.empty-state.visible {
    display: block;
}

.empty-state i {
    font-size: 3.4rem;
    color: var(--accent);
    opacity: 0.55;
    margin-bottom: 18px;
}

.empty-state h3 {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: 8px;
}

/* ============================================
   MODAL (admin auth + add entry)
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px 32px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
    box-shadow: 0 8px 22px rgba(255, 107, 53, 0.35);
}

.modal-card h3 {
    text-align: center;
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.modal-sub {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

.modal-card .form-row {
    margin-bottom: 14px;
}

.optional {
    font-weight: 400;
    color: var(--gray-500);
    font-size: 0.78rem;
    margin-left: 4px;
}

input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border: 1.5px dashed var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

input[type="file"]:hover {
    border-color: var(--accent);
    background: var(--white);
}

input[type="file"]::file-selector-button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 12px;
    cursor: pointer;
    transition: var(--transition);
}

input[type="file"]::file-selector-button:hover {
    background: var(--accent-dark);
}

.photo-preview {
    display: none;
    position: relative;
    margin-top: 12px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    max-height: 200px;
}

.photo-preview.visible {
    display: block;
}

.photo-preview img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.photo-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.75);
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.photo-remove:hover {
    background: #c0392b;
    transform: rotate(90deg);
}

/* ============================================
   AOS-LIKE FADE ANIMATIONS
   ============================================ */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .why-grid,
    .admission-wrap {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-img img,
    .why-img-main {
        height: 420px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 12px;
        align-items: stretch;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        padding: 14px 18px;
        border-radius: var(--radius-sm);
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
    }

    .hamburger {
        display: flex;
        z-index: 1100;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-num {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(8) {
        grid-row: span 1;
        aspect-ratio: 1;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row.two {
        grid-template-columns: 1fr;
    }

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

    .why-img-floating {
        width: 140px;
        height: 140px;
        bottom: -20px;
        left: -15px;
    }

    .admission {
        background-attachment: scroll;
    }

    .admission-form {
        padding: 28px 22px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

    .float-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .back-top {
        bottom: 84px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}
