/* =============================================
   Saraswati Bal Niketan SCHOOL WEBSITE STYLES
   Modern, Professional Design
   ============================================= */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-color: #1e3a8a;
    --primary-dark: #0f172a;
    --primary-light: #3b82f6;
    
    /* Accent Colors */
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    
    /* Neutral Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-alt: #f1f5f9;
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    
    /* Border Colors */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.nav-brand i {
    font-size: 2rem;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

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

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.75rem 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    margin-top: 1rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--bg-alt);
    color: var(--primary-color);
    padding-left: 2rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f172a;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.35)),
        url('school-bg.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    background-size: cover;
    opacity: 1;
    filter: brightness(0.75);
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInDown 0.8s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    min-height: 3rem;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInDown 0.8s ease 0.4s backwards;
}

.typing-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid rgba(255, 255, 255, 0.9);
    padding-right: 0.15rem;
}

@keyframes blink-caret {
    50% {
        border-color: transparent;
    }
}

.typing-text {
    animation: blink-caret 0.8s step-end infinite;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* === SECTIONS === */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-block {
    width: 100%;
}

/* === FEATURE CARDS === */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === LEADER PROFILE === */
.leader-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.leader-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-alt), var(--border-light));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
}

.leader-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.leader-designation {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.leader-bio {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.25rem;
    text-align: justify;
}

/* === MISSION VISION === */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.mv-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.mv-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--primary-dark);
}

.mv-card p {
    color: var(--text-secondary);
    line-height: 1.9;
    text-align: justify;
}

/* === MESSAGE BOX === */
.message-box {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--border-light);
}

.quote-icon {
    position: absolute;
    top: -25px;
    left: 3rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
}

.message-box h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    color: var(--primary-dark);
}

.message-text {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.message-signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    color: var(--text-secondary);
    font-style: italic;
}

.message-signature strong {
    color: var(--primary-color);
    font-style: normal;
}

/* === FACULTY === */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faculty-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
}

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

.faculty-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--bg-alt), var(--border-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
}

.faculty-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.faculty-designation {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faculty-qualification {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === TRUST CONTENT === */
.trust-content {
    max-width: 900px;
    margin: 2rem auto 0;
}

.trust-description {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 1.05rem;
}

/* === GOVERNING BODY === */
.governing-body-list {
    max-width: 900px;
    margin: 2rem auto 0;
    display: grid;
    gap: 1.5rem;
}

.gb-member {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1.5rem;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.gb-member:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.gb-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
}

.gb-details h4 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.gb-position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.gb-bio {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === ADMISSIONS === */
.admissions-info {
    max-width: 600px;
    margin: 2rem auto 0;
}

.admission-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-light);
}

.admission-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.admission-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.admission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* === GUIDELINES === */
.guidelines-content {
    max-width: 900px;
    margin: 2rem auto 0;
    display: grid;
    gap: 1.5rem;
}

.guideline-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1.5rem;
    border: 1px solid var(--border-light);
}

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

.guideline-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.guideline-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === FEE STRUCTURE === */
.fee-table-container {
    overflow-x: auto;
    margin-top: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

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

.fee-table th,
.fee-table td {
    padding: 1.25rem;
    text-align: left;
}

.fee-table th {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fee-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.fee-table tbody tr:hover {
    background: var(--bg-alt);
}

.fee-table td {
    color: var(--text-secondary);
}

.fee-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.fee-notes {
    max-width: 900px;
    margin: 2rem auto 0;
    background: var(--bg-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-color);
}

.fee-notes h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.fee-notes ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.fee-notes li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === CONTACT FORM === */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* === FOOTER === */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-top: 0.25rem;
    color: var(--accent-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom i {
    color: #ef4444;
}

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

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

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .leader-profile {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .leader-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .image-placeholder {
        font-size: 6rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .faculty-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .message-box {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .fee-table th,
    .fee-table td {
        padding: 0.875rem;
        font-size: 0.875rem;
    }
}

/* === GALLERY SECTION === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    height: 280px;
    transition: all var(--transition-base);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* === SPORTS SECTION === */
.sports-intro {
    max-width: 900px;
    margin: 2rem auto;
    text-align: center;
}

.sports-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sport-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    border: 1px solid var(--border-light);
}

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

.sport-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.sport-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all var(--transition-slow);
}

.sport-card:hover img {
    transform: scale(1.05);
}

.sport-content {
    padding: 1.75rem;
}

.sport-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.sport-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.sports-achievements {
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.sports-achievements h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-dark);
}

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

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.achievement-item:hover {
    background: var(--bg-secondary);
    transform: translateX(5px);
}

.achievement-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.achievement-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.achievement-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* === MAP SECTION === */
.map-section {
    padding: 0;
    background: var(--bg-secondary);
}

.map-section .section-header {
    padding: 3rem 0 2rem;
}

.map-container {
    width: 100%;
    height: 450px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.2);
    transition: all var(--transition-base);
}

.map-container iframe:hover {
    filter: grayscale(0);
}

.map-info {
    padding: 2rem 0 3rem;
}

.map-directions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.map-directions i {
    font-size: 3rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.map-directions h4 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.map-directions p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === RESPONSIVE UPDATES === */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .sports-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-grid {
        grid-template-columns: 1fr;
    }
    
    .sports-achievements {
        padding: 2rem 1.5rem;
    }
    
    .map-directions {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 240px;
    }
    
    .sport-card img {
        height: 180px;
    }
    
    .map-container {
        height: 350px;
    }
}


