/**
 * Peace Garden Matric Higher Secondary Residential School
 * Complete CSS Stylesheet - SEO Optimized, No Frameworks
 * Mobile-First Responsive Design
 */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Primary Colors - Maroon & White */
    --color-maroon: #800020;
    --color-maroon-dark: #5c0018;
    --color-maroon-light: #9a1530;

    /* Accent - Soft Gold */
    --color-gold: #C9A850;
    --color-gold-light: #ddc478;
    --color-gold-dark: #a08030;

    /* Neutrals */
    --color-white: #ffffff;
    --color-cream: #FDF8F0;
    --color-gray-100: #f8f8f8;
    --color-gray-200: #e8e8e8;
    --color-gray-300: #d0d0d0;
    --color-gray-500: #777777;
    --color-gray-600: #555555;
    --color-gray-700: #444444;
    --color-gray-800: #333333;
    --color-gray-900: #222222;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;

    /* Container */
    --container-max: 1200px;
}

/* ===== CSS RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-maroon);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

address {
    font-style: normal;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-maroon);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.375rem;
}

h4 {
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

p {
    margin-bottom: 1rem;
    color: var(--color-gray-700);
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray-600);
}

.text-gold {
    color: var(--color-gold);
}

.text-maroon {
    color: var(--color-maroon);
}

.text-white {
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 0.75rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

.bg-cream {
    background-color: var(--color-cream);
}

.bg-maroon {
    background-color: var(--color-maroon);
}

.bg-white {
    background-color: var(--color-white);
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-maroon);
    color: var(--color-white);
    padding: 1rem;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: var(--color-maroon);
    color: var(--color-white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    display: none;
}

@media (min-width: 768px) {
    .top-bar {
        display: block;
    }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 1.5rem;
}

.top-bar-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
}

.top-bar-contact a:hover {
    color: var(--color-gold);
}

.top-bar-social {
    display: flex;
    gap: 1rem;
}

.top-bar-social a {
    color: var(--color-white);
    font-size: 1rem;
}

.top-bar-social a:hover {
    color: var(--color-gold);
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--color-gold);
}

.header-nav {
    padding: 0.75rem 1rem;
}

@media (min-width: 768px) {
    .header-nav {
        padding: 0.75rem 2rem;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 55px;
}

@media (min-width: 768px) {
    .header-content {
        min-height: 65px;
    }
}

/* Logo Section */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-link:hover {
    opacity: 0.9;
}

.school-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .school-logo {
        width: 55px;
        height: 55px;
    }
}

@media (min-width: 768px) {
    .school-logo {
        width: 65px;
        height: 65px;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.logo-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-maroon);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

@media (min-width: 480px) {
    .logo-name {
        font-size: 1.05rem;
    }
}

@media (min-width: 768px) {
    .logo-name {
        font-size: 1.25rem;
    }
}

.logo-tagline {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold-dark);
    margin-top: 2px;
}

@media (min-width: 480px) {
    .logo-tagline {
        font-size: 0.65rem;
    }
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    padding: 0.5rem 0.625rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-gray-600);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-maroon);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.625rem;
    right: 0.625rem;
    height: 2px;
    background-color: var(--color-gold);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-maroon);
    font-size: 1.5rem;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav-link {
    display: block;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-100);
}

.mobile-nav-link:hover {
    background-color: var(--color-cream);
    color: var(--color-maroon);
}

.btn-apply {
    display: block;
    background-color: var(--color-maroon);
    color: var(--color-white);
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-top: 1rem;
    transition: background-color var(--transition-fast);
}

.btn-apply:hover {
    background-color: var(--color-maroon-dark);
    color: var(--color-white);
}

/* ===== PAGE HEADER (Banner) ===== */
.page-header {
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%);
    padding: 4rem 1rem;
    text-align: center;
    color: var(--color-white);
}

@media (min-width: 768px) {
    .page-header {
        padding: 5rem 2rem;
    }
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.page-subtitle {
    display: inline-block;
    color: var(--color-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.page-intro {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 2rem 1rem;
    color: var(--color-white);
}

@media (min-width: 768px) {
    .hero-content {
        padding: 2rem;
    }
}

.hero-inner {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: var(--color-gold);
    color: var(--color-maroon-dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
}

.hero h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

.hero-text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--color-gold);
    color: var(--color-maroon-dark);
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-gold-light);
    color: var(--color-maroon-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--color-white);
    padding: 0.875rem 1.875rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-maroon);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--color-maroon);
    color: var(--color-white);
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.btn-cta:hover {
    background-color: var(--color-maroon-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-gray-600);
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ===== CONTENT GRID (Two Column) ===== */
.content-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.content-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--color-white);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-gold);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--color-white);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-gray-900);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-bottom: 0;
}

/* ===== FEATURE LIST (Checkmarks) ===== */
.feature-list {
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.feature-item i {
    color: var(--color-gold);
    font-size: 1rem;
    margin-top: 0.25rem;
}

.feature-item span {
    color: var(--color-gray-700);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%);
    padding: 3.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    color: var(--color-white);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== PROGRAMS GRID ===== */
.programs-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.program-card {
    background: var(--color-white);
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--color-maroon);
    transition: all var(--transition-normal);
}

.program-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.program-card h3 {
    font-size: 1.125rem;
    color: var(--color-maroon);
    margin-bottom: 0.5rem;
}

.program-grades {
    display: inline-block;
    background: var(--color-cream);
    color: var(--color-gold-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.program-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ===== FACILITIES GRID ===== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .facilities-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.facility-item {
    background: var(--color-white);
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.facility-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.facility-item i {
    font-size: 2rem;
    color: var(--color-maroon);
    margin-bottom: 0.75rem;
}

.facility-item span {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-700);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-gold);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.testimonial-card footer {
    border-top: 1px solid var(--color-gray-200);
    padding-top: 1rem;
}

.testimonial-card cite {
    font-weight: 700;
    color: var(--color-maroon);
    font-style: normal;
}

.testimonial-card footer span {
    display: block;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--color-cream) 0%, #f5efe5 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.0625rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 480px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-maroon-dark);
    color: var(--color-gray-200);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-section h3 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.footer-section p {
    color: var(--color-gray-400);
    font-size: 0.9rem;
    line-height: 1.75;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-gold);
    color: var(--color-maroon-dark);
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--color-gray-400);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-links i {
    font-size: 0.7rem;
    color: var(--color-gold);
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--color-gold);
    margin-top: 0.25rem;
}

.footer-contact-item a {
    color: var(--color-gray-400);
}

.footer-contact-item a:hover {
    color: var(--color-gold);
}

.footer-cta .btn-primary {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: 0.5rem;
}

.footer-keywords {
    font-size: 0.75rem;
    color: var(--color-gray-600);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.25fr;
    }
}

.contact-cards {
    display: grid;
    gap: 1.25rem;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background: var(--color-cream);
    padding: 1.5rem;
    border-radius: 8px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.contact-card p,
.contact-card address {
    font-size: 0.9rem;
    color: var(--color-gray-700);
    margin-bottom: 0.25rem;
}

.contact-card a {
    color: var(--color-maroon);
}

.contact-note {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    margin-top: 0.5rem;
}

.social-connect h3 {
    font-size: 1rem;
    font-family: var(--font-sans);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: var(--color-maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.125rem;
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background: var(--color-gold);
    color: var(--color-maroon-dark);
}

/* ===== ENQUIRY FORM ===== */
.enquiry-form-section {
    background: var(--color-cream);
    padding: 2rem;
    border-radius: 12px;
}

.enquiry-form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.enquiry-form-section>p {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--color-gray-700);
}

.required {
    color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--color-white);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-maroon);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--color-maroon);
    color: var(--color-white);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-submit:hover {
    background: var(--color-maroon-dark);
}

/* ===== MAP ===== */
.map-container,
.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.address-box {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.directions-box {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-maroon);
    color: var(--color-white);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.btn-directions:hover {
    background: var(--color-maroon-dark);
    color: var(--color-white);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--color-maroon);
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== HOURS GRID ===== */
.hours-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hours-card {
    background: var(--color-cream);
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
}

.hours-card h3 {
    font-size: 1rem;
    font-family: var(--font-sans);
    margin-bottom: 0.5rem;
}

.hours-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== LOCATION PAGE ===== */
.location-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .location-highlights {
        grid-template-columns: repeat(4, 1fr);
    }
}

.loc-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: var(--color-cream);
    border-radius: 8px;
}

.loc-highlight i {
    font-size: 1.5rem;
    color: var(--color-maroon);
    margin-bottom: 0.5rem;
}

.loc-highlight span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-700);
}

.distance-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .distance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .distance-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.distance-card {
    background: var(--color-white);
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-gold);
}

.distance-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.distance {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-maroon);
}

/* ===== GALLERY GRID ===== */
.gallery-grid,
.life-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {

    .gallery-grid,
    .life-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-grid img,
.life-gallery img {
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-grid img:hover,
.life-gallery img:hover {
    transform: scale(1.03);
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 767px) {
    .hide-mobile {
        display: none;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {

    .top-bar,
    .site-header,
    .cta-section,
    .site-footer,
    .btn-primary,
    .btn-secondary,
    .btn-cta {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    h1,
    h2,
    h3,
    h4 {
        color: #000;
    }
}

/* ===== MODERN ENHANCEMENTS ===== */

/* ----- Keyframe Animations ----- */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px var(--color-gold), 0 0 10px var(--color-gold);
    }

    50% {
        box-shadow: 0 0 20px var(--color-gold), 0 0 30px var(--color-gold);
    }
}

/* ----- Enhanced Hero Section ----- */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(128, 0, 32, 0.85) 0%,
            rgba(92, 0, 24, 0.9) 50%,
            rgba(128, 0, 32, 0.85) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    animation: pulse 2s ease-in-out infinite;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
}

/* ----- Enhanced Page Headers ----- */
.page-header {
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 50%, var(--color-maroon) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 10s ease infinite;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 80, 0.1) 0%, transparent 60%);
    animation: spinSlow 30s linear infinite;
}

.page-header h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.page-subtitle {
    animation: fadeInUp 0.6s ease-out;
}

.page-intro {
    animation: fadeInUp 1s ease-out;
}

/* ----- Glassmorphism Cards ----- */
.feature-card {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(253, 248, 240, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(128, 0, 32, 0.15);
}

.feature-icon {
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-light) 50%, var(--color-maroon) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 4s ease infinite;
    box-shadow: 0 8px 20px rgba(128, 0, 32, 0.3);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    animation: pulse 1s ease-in-out infinite;
}

/* ----- Enhanced Buttons ----- */
.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
    background-size: 200% 200%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(201, 168, 80, 0.4);
}

.btn-cta {
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-light) 50%, var(--color-maroon) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 4s ease infinite;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(128, 0, 32, 0.4);
}

.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-secondary:hover::after {
    animation: glow 1.5s ease-in-out infinite;
}

/* ----- Enhanced Stats Section ----- */
.stats-section {
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 50%, var(--color-maroon) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 10s ease infinite;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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='%23C9A850' fill-opacity='0.05'%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");
}

.stat-item {
    animation: floatUp 3s ease-in-out infinite;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.6s;
}

.stat-number {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ----- Enhanced Testimonials ----- */
.testimonial-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 8rem;
    font-family: var(--font-serif);
    color: rgba(201, 168, 80, 0.15);
    line-height: 1;
    z-index: 0;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-left-color: var(--color-maroon);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, #fff 0%, var(--color-cream) 100%);
    border-left: 4px solid var(--color-maroon);
}

.testimonial-rating {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.testimonial-rating i {
    animation: pulse 1.5s ease-in-out infinite;
}

.testimonial-rating i:nth-child(2) {
    animation-delay: 0.1s;
}

.testimonial-rating i:nth-child(3) {
    animation-delay: 0.2s;
}

.testimonial-rating i:nth-child(4) {
    animation-delay: 0.3s;
}

.testimonial-rating i:nth-child(5) {
    animation-delay: 0.4s;
}

/* ----- Enhanced Timeline ----- */
.routine-timeline {
    position: relative;
}

.routine-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-maroon) 50%, var(--color-gold) 100%);
    border-radius: 3px;
}

@media (max-width: 640px) {
    .routine-timeline::before {
        left: 20px;
    }
}

.routine-item {
    position: relative;
    padding-left: 120px;
    padding-bottom: 2rem;
}

@media (max-width: 640px) {
    .routine-item {
        padding-left: 60px;
    }
}

.routine-item::before {
    content: '';
    position: absolute;
    left: 72px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: var(--color-gold);
    border: 3px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--color-maroon);
    transition: all 0.3s ease;
}

@media (max-width: 640px) {
    .routine-item::before {
        left: 12px;
    }
}

.routine-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 5px var(--color-maroon), 0 0 20px rgba(201, 168, 80, 0.5);
}

.routine-time {
    font-weight: 700;
    color: var(--color-maroon);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.routine-activity h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-sans);
}

.routine-activity p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin: 0;
}

/* ----- Enhanced Forms ----- */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-maroon);
    box-shadow: 0 0 0 4px rgba(128, 0, 32, 0.1), 0 5px 20px rgba(128, 0, 32, 0.1);
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-light) 50%, var(--color-maroon) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 4s ease infinite;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(128, 0, 32, 0.4);
}

/* ----- CTA Section Enhancement ----- */
.cta-section {
    background: linear-gradient(135deg, var(--color-cream) 0%, #f5efe5 50%, var(--color-cream) 100%);
    background-size: 200% 200%;
    animation: gradientFlow 10s ease infinite;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(201, 168, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(128, 0, 32, 0.05) 0%, transparent 50%);
}

/* ----- Section Dividers ----- */
.section::after {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 0 auto;
    max-width: 200px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section:hover::after {
    opacity: 0.5;
}

/* ----- Value Cards Enhancement ----- */
.value-card,
.value-icon,
.method-card,
.method-icon,
.arts-card,
.arts-icon,
.care-card,
.care-icon,
.club-card,
.club-icon,
.sport-card,
.sport-icon,
.hostel-card,
.hours-card,
.faq-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-card:hover,
.method-card:hover,
.arts-card:hover,
.care-card:hover,
.club-card:hover,
.sport-card:hover,
.hours-card:hover,
.faq-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ----- Floating Shape Decorations ----- */
.bg-cream {
    position: relative;
}

.bg-cream::before,
.bg-cream::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
}

.bg-cream::before {
    width: 300px;
    height: 300px;
    background: var(--color-maroon);
    top: -100px;
    right: -100px;
}

.bg-cream::after {
    width: 200px;
    height: 200px;
    background: var(--color-gold);
    bottom: -50px;
    left: -50px;
}

/* ----- Enhanced Gallery ----- */
.gallery-grid img,
.life-gallery img {
    position: relative;
    overflow: hidden;
}

.gallery-grid img:hover,
.life-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ----- Link Underline Animation ----- */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.625rem;
    right: 0.625rem;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-maroon), var(--color-gold));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ----- Scroll Animation Helper Class ----- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Enhanced Contact Cards ----- */
.contact-card {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--color-maroon), var(--color-gold));
    transition: height 0.4s ease;
}

.contact-card:hover::before {
    height: 100%;
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, var(--color-maroon), var(--color-maroon-light));
}

/* ----- Social Icons Enhancement ----- */
.social-icons a,
.footer-social a {
    position: relative;
    overflow: hidden;
}

.social-icons a::before,
.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-icons a:hover::before,
.footer-social a:hover::before {
    transform: scale(1);
}

.social-icons a:hover,
.footer-social a:hover {
    transform: translateY(-3px) rotate(10deg);
}

/* ----- Video Card Placeholder Enhancement ----- */
.video-placeholder {
    background: linear-gradient(135deg, var(--color-gray-800), var(--color-gray-900));
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-placeholder:hover::before {
    opacity: 1;
}

.video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--color-gold);
    transition: transform 0.4s ease;
}

.video-placeholder:hover i {
    transform: scale(1.2);
}

/* ----- Google Rating Enhancement ----- */
.google-rating {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .google-rating {
        flex-direction: row;
        justify-content: center;
    }
}

.rating-score {
    text-align: center;
}

.rating-score .score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-maroon);
    display: block;
    line-height: 1;
}

.rating-score .stars {
    color: var(--color-gold);
    margin: 0.5rem 0;
}

.rating-score .review-count {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.review-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #4285f4;
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.review-btn:hover {
    background: #3367d6;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(66, 133, 244, 0.4);
}

/* ----- Smooth Scroll Feel ----- */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== SPORTS & PHYSICAL EDUCATION ===== */
.sports-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.sports-category h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.sports-category h3 i {
    color: var(--color-gold);
}

.sports-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .sports-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sports-list {
        grid-template-columns: 1fr;
    }
}

.sport-item {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-align: center;
}

.sport-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.sport-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.sport-item:hover img {
    transform: scale(1.05);
}

.sport-item span {
    display: block;
    padding: 0.75rem;
    font-weight: 600;
    color: var(--color-gray-800);
    font-size: 0.95rem;
}

/* Yoga Section */
.yoga-section {
    margin-top: 3rem;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.yoga-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .yoga-content {
        grid-template-columns: 1fr;
    }
}

.yoga-text {
    padding: 2rem;
}

.yoga-text h3 {
    color: var(--color-maroon);
    margin-bottom: 1rem;
}

.yoga-text p {
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 0;
}

.yoga-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Common sports list style */
.sports-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.sport-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.sport-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.sport-item span {
    display: block;
    padding: 10px;
    font-weight: 600;
}

/* 🏏 OUTDOOR GAMES – 3 × 3 GRID */
.sports-category:first-child .sports-list {
    grid-template-columns: repeat(3, 1fr);
}

/* ♟️ INDOOR GAMES – 1 ROW, 4 COLUMNS */
.sports-category:last-child .sports-list {
    grid-template-columns: repeat(4, 1fr);
}

/* 📱 MOBILE FIX – otherwise it WILL look bad */
@media (max-width: 992px) {

    .sports-category:first-child .sports-list,
    .sports-category:last-child .sports-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .sports-category:first-child .sports-list,
    .sports-category:last-child .sports-list {
        grid-template-columns: 1fr;
    }
}

/* ===== TABLET VIEW FIX (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {

    /* ----- Container & Layout ----- */
    .container {
        padding: 0 2rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    /* ----- Header Alignment ----- */
    .header-nav {
        padding: 0.75rem 1.5rem;
    }

    .header-content {
        min-height: 70px;
    }

    .school-logo {
        width: 55px;
        height: 55px;
    }

    .logo-name {
        font-size: 1rem;
        line-height: 1.3;
    }

    .logo-link {
        gap: 0.75rem;
    }

    /* ----- Typography Scale ----- */
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.05rem;
    }

    .lead-text {
        font-size: 1rem;
    }

    /* ----- Hero Section ----- */
    .hero {
        min-height: 65vh;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-text {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 0.875rem;
    }

    .hero-content {
        padding: 2rem;
    }

    .hero-inner {
        max-width: 550px;
    }

    .hero-buttons {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    /* ----- Buttons ----- */
    .btn-primary,
    .btn-secondary,
    .btn-cta {
        padding: 0.75rem 1.25rem;
        font-size: 0.75rem;
    }

    /* ----- Page Headers ----- */
    .page-header {
        padding: 3rem 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-intro {
        font-size: 0.95rem;
        max-width: 500px;
    }

    .page-subtitle {
        font-size: 0.7rem;
    }

    /* ----- Section Headers ----- */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.875rem;
        margin-bottom: 0.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* ----- Content Grid (Two Column) ----- */
    .content-grid {
        gap: 2.5rem;
    }

    .content-text h2 {
        font-size: 1.75rem;
    }

    /* ----- Features Grid ----- */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* ----- Stats Section ----- */
    .stats-section {
        padding: 2.5rem 0;
    }

    .stats-grid {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* ----- Arts Grid ----- */
    .arts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .arts-card {
        padding: 1.5rem;
    }

    .arts-icon {
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
    }

    .arts-card h3 {
        font-size: 1.05rem;
    }

    .arts-card p {
        font-size: 0.85rem;
    }

    /* ----- Clubs Grid ----- */
    .clubs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .club-card {
        padding: 1.5rem;
    }

    .club-icon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .club-card h3 {
        font-size: 1rem;
    }

    .club-card p {
        font-size: 0.85rem;
    }

    /* ----- Events Timeline ----- */
    .events-timeline {
        gap: 1rem;
    }

    .event-card {
        padding: 1.25rem;
    }

    .event-month {
        font-size: 0.7rem;
    }

    .event-card h3 {
        font-size: 1rem;
    }

    .event-card p {
        font-size: 0.85rem;
    }

    /* ----- Activity Stats ----- */
    .activity-stats {
        gap: 1.5rem;
    }

    .activity-stat .stat-number {
        font-size: 1.75rem;
    }

    .activity-stat .stat-label {
        font-size: 0.8rem;
    }

    /* ----- Sports Section ----- */
    .sports-category h3 {
        font-size: 1.25rem;
    }

    .sport-item img {
        height: 140px;
    }

    .sport-item span {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    /* ----- Yoga Section ----- */
    .yoga-text h3 {
        font-size: 1.25rem;
    }

    .yoga-text p {
        font-size: 0.9rem;
    }

    /* ----- Leadership Section ----- */
    .leadership-roles {
        gap: 1.25rem;
    }

    .role h3 {
        font-size: 1rem;
    }

    .role p {
        font-size: 0.85rem;
    }

    /* ----- CTA Section ----- */
    .cta-section {
        padding: 3rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }

    .cta-buttons {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* ----- Contact Form ----- */
    .form-grid {
        gap: 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* ----- Contact Info ----- */
    .contact-info h3 {
        font-size: 1.25rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    /* ----- Footer ----- */
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-section p,
    .footer-section li,
    .footer-section a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1.5rem;
    }

    /* ----- Gallery ----- */
    .gallery-grid,
    .life-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* ----- Testimonials ----- */
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card p {
        font-size: 0.9rem;
    }

    .testimonial-author {
        font-size: 0.85rem;
    }

    /* ----- Location Section ----- */
    .map-container {
        height: 350px;
    }

    .location-info h3 {
        font-size: 1.25rem;
    }

    .location-info p {
        font-size: 0.9rem;
    }

    /* ----- Facilities Cards ----- */
    .facility-card {
        padding: 1.5rem;
    }

    .facility-icon {
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
    }

    .facility-card h3 {
        font-size: 1.05rem;
    }

    .facility-card p {
        font-size: 0.85rem;
    }

    /* ----- Academics Section ----- */
    .program-card {
        padding: 1.5rem;
    }

    .program-card h3 {
        font-size: 1.1rem;
    }

    .program-card p {
        font-size: 0.85rem;
    }

    /* ----- About Section ----- */
    .about-features {
        gap: 1.25rem;
    }

    .about-feature h4 {
        font-size: 1rem;
    }

    .about-feature p {
        font-size: 0.85rem;
    }

    /* ----- Boarding Section ----- */
    .boarding-feature {
        padding: 1.5rem;
    }

    .boarding-feature h3 {
        font-size: 1.1rem;
    }

    .boarding-feature p {
        font-size: 0.85rem;
    }
}

/* ===== HOSTEL FACILITIES SECTION ===== */
.hostel-section {
    padding: 5rem 0;
}

.hostel-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Card layout - Image Left, Content Right */
.hostel-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Image area - Left side */
.hostel-image {
    flex: 0 0 45%;
    min-height: 350px;
    position: relative;
}

.hostel-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text area - Right side */
.hostel-info {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hostel-info h3 {
    margin: 0 0 1rem 0;
    color: var(--color-maroon);
    font-size: 1.5rem;
    font-family: var(--font-serif);
}

.hostel-info p {
    margin: 0 0 1.25rem 0;
    color: var(--color-gray-700);
    line-height: 1.7;
    font-size: 1rem;
}

/* Features list */
.hostel-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.hostel-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-gray-700);
}

.hostel-features i {
    color: var(--color-maroon);
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Tablet view for hostel cards */
@media (min-width: 768px) and (max-width: 1024px) {
    .hostel-section {
        padding: 3.5rem 0;
    }

    .hostel-grid {
        gap: 2rem;
    }

    .hostel-card {
        flex-direction: row;
    }

    .hostel-image {
        flex: 0 0 40%;
        min-height: 300px;
    }

    .hostel-info {
        padding: 1.75rem;
    }

    .hostel-info h3 {
        font-size: 1.25rem;
    }

    .hostel-info p {
        font-size: 0.9rem;
    }

    .hostel-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .hostel-features li {
        font-size: 0.85rem;
    }
}

/* Mobile view - Stack image on top */
@media (max-width: 767px) {
    .hostel-section {
        padding: 3rem 0;
    }

    .hostel-grid {
        gap: 2rem;
    }

    .hostel-card {
        flex-direction: column;
    }

    .hostel-image {
        flex: none;
        min-height: 250px;
        width: 100%;
    }

    .hostel-info {
        padding: 1.5rem;
    }

    .hostel-info h3 {
        font-size: 1.25rem;
    }

    .hostel-info p {
        font-size: 0.9rem;
    }

    .hostel-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .hostel-features li {
        font-size: 0.85rem;
    }
}

/* ===== SAFETY & SECURITY FEATURES SECTION ===== */
.safety-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.safety-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: var(--color-white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

.safety-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.safety-item>i {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
}

.safety-item>div {
    flex: 1;
}

.safety-item h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    color: var(--color-maroon);
    font-family: var(--font-serif);
}

.safety-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Tablet view for safety features */
@media (min-width: 768px) and (max-width: 1024px) {
    .safety-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .safety-item {
        padding: 1.5rem;
        gap: 1rem;
    }

    .safety-item>i {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .safety-item h3 {
        font-size: 1.05rem;
    }

    .safety-item p {
        font-size: 0.85rem;
    }
}

/* Mobile view for safety features */
@media (max-width: 767px) {
    .safety-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .safety-item {
        padding: 1.25rem;
        gap: 1rem;
    }

    .safety-item>i {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .safety-item h3 {
        font-size: 1rem;
    }

    .safety-item p {
        font-size: 0.85rem;
    }
}