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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2c3e50;
    background-color: #fcfdfe;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* --- ALL HEADINGS AND PARAGRAPHS ALIGNED CENTER WITHIN SPAN --- */
h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    text-align: center;
    color: #111111;
    margin-bottom: 18px;
    font-weight: 700;
    width: 100%;
}

p {
    text-align: center;
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 18px;
    width: 100%;
}

/* --- COMMON LAYOUT UTILITIES --- */
section {
    padding: 90px 24px;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-intro {
    max-width: 850px;
    margin: 0 auto 55px auto;
}

/* --- REUSABLE 4-COLUMN RESPONSIVE GRID (Desktop 4, Mobile 1) --- */
.card-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
    width: 100%;
}

/* --- CONTENT CARD STYLING, HOVER EFFECT & CENTER ALIGNMENT --- */
.content-card {
    background-color: #ffffff;
    border-radius: 4px;
    padding: 30px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #111111;
}

.content-card img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    object-fit: cover;
    margin-bottom: 20px;
}

.content-card h3 {
    font-size: 1.3rem;
    color: #111111;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

/* --- SECTION 1: HEADER & HIGH-INTENSITY MULTI-COLOR GRADIENT ANIMATION --- */
.main-header {
    background-color: #ffffff;
    padding: 15px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #edf2f7;
}

.logo-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.logo-title {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 7px;
    margin-bottom: 2px;
    line-height: 1.1;
    
    /* Premium Metallic & Vivid Multi-Color Sequence */
    background: linear-gradient(
        45deg, 
        #d4af37, /* Polished Gold */
        #f3e5ab, /* Gold Highlight */
        #ff003c, /* Crimson Red */
        #ec008c, /* Neon Pink */
        #7928ca, /* Royal Purple */
        #0070f3, /* Electric Blue */
        #4682b4, /* Steel Blue */
        #e2e8f0, /* Bright Silver */
        #a0aec0, /* Steel Gray Shadow */
        #05c46b, /* Emerald Green */
        #d4af37  /* Loop back to Gold for seamless animation */
    );
    
    background-size: 600% auto; /* Increased size to allow all 11 colors space to breathe */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: majesticMetallicGlow 14s linear infinite; /* Slightly slowed down for a smoother liquid-metal transition */
}

@keyframes majesticMetallicGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logo-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 11px;
    color: #4a5568;
    margin-bottom: 0;
    text-transform: uppercase;
    padding-top: 5px;
}

@keyframes vividGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- SECTION 2: HERO SECTION --- */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 630px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    max-width: 100%;
}

.hero-content {
    background-color: rgba(255, 255, 255, 0.96);
    padding: 60px;
    border-radius: 0px;
    max-width: 900px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: #111111;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #4a5568;
}

.cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.cta-button {
    display: inline-block;
    background-color: #111111;
    color: #ffffff;
    padding: 16px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid #111111;
}

.cta-button:hover {
    background-color: transparent;
    color: #111111;
    transform: translateY(-2px);
}

/* --- SECTION 3: KINDERGARTEN --- */
.kindergarten-section {
    background-color: #f8fafc;
}

/* --- SECTION 4: DAYCARE (Split Layout Centered) --- */
.daycare-section {
    background-color: #ffffff;
    max-width: 100%;
}

.split-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: center;
}

.split-image-container, .split-text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.split-image-container img {
    width: 100%;
    height: auto;
    border-radius: 0px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.split-text-container h2 {
    font-size: 2.2rem;
    color: #111111;
}

/* --- SECTION 5: TUITIONS (Asymmetric Feature) --- */
.tuition-section {
    background-color: #f1f5f9;
    max-width: 100%;
}

.tuition-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tuition-section h2 {
    color: #111111;
    font-size: 2.2rem;
}

.asymmetric-layout {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    width: 100%;
}

.asymmetric-box {
    flex: 1;
    background: #ffffff;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.asymmetric-box:hover {
    transform: translateY(-5px);
    border-color: #718096;
}

.asymmetric-box:nth-child(even) {
    margin-top: 45px;
}

.asymmetric-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 25px;
}

/* --- SECTION 6: HIGHER EDUCATION --- */
.higher-edu-section {
    background-color: #ffffff;
}

/* --- SECTION 7: AFTER SCHOOL ACTIVITIES --- */
.activities-section {
    background-color: #f8fafc;
    max-width: 100%;
}

/* --- SECTION 8: YOGA & MEDITATION --- */
.yoga-section {
    background-color: #ffffff;
    max-width: 100%;
}

.yoga-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fluid-flex-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #f8fafc;
    padding: 50px;
    border: 1px solid #e2e8f0;
    width: 100%;
}

.fluid-text-block {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fluid-image-block {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fluid-image-block img {
    border-radius: 50%;
    border: 8px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fluid-image-block img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* --- SECTION 9: SPORTS ACADEMY --- */
.sports-section {
    background-color: #f1f5f9;
}

.sports-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
}

.sports-card {
    background: #ffffff;
    padding: 35px 30px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sports-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: #111111;
}

.sports-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

/* --- SECTION 10: FACILITIES --- */
.facilities-section {
    background-color: #ffffff;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.facility-box {
    background-color: #f8fafc;
    padding: 35px 25px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.facility-box:hover {
    transform: translateY(-4px);
    border-color: #718096;
}

.facility-box h3 {
    font-size: 1.25rem;
    color: #111111;
    margin-bottom: 12px;
}

/* --- SECTION 11: FAQ SECTION --- */
.faq-section {
    background-color: #f8fafc;
    max-width: 100%;
}

.faq-grid-four-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.faq-card {
    background-color: #ffffff;
    padding: 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.faq-card:hover {
    transform: translateY(-4px);
    border-color: #111111;
}

.faq-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: #111111;
    margin-bottom: 12px;
    line-height: 1.5;
}

.faq-card p {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 0;
}

/* --- SECTION 12: SEO RICH SECTION --- */
.seo-rich-section {
    background-color: #ffffff;
    border-top: 1px solid #edf2f7;
}

.seo-container {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seo-rich-section h2 {
    font-size: 1.8rem;
    color: #111111;
}

/* --- SECTION 13: FOOTER --- */
.main-footer {
    background-color: #600018; 
    color: #ffffff;
    padding: 80px 24px 30px 24px;
    max-width: 100%;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
    text-align: center;
}

.footer-about, .footer-contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.main-footer h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 8px;
}

.main-footer p {
    color: #f7fafc;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.main-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social-wrapper {
    margin-top: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 12px !important;
    color: #e2e8f0 !important;
}

.social-links {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.social-links a {
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #ffffff;
    color: #600018;
    border-color: #ffffff;
}

.directions-wrapper {
    margin-top: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.directions-link {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: underline !important;
    color: #fbd38d !important; 
}

.directions-link:hover {
    color: #ffffff !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0 auto;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #cbd5e0;
    margin-bottom: 0;
}

/* --- FOOTER SUPPORT SECTION STYLING --- */
.footer-support-wrapper {
    margin-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.support-links {
    display: flex;
    gap: 15px; /* Slightly tighter gap for longer names */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Ensures they stack on small screens */
}

.support-links a {
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.support-links a:hover {
    background-color: #ffffff;
    color: #600018; /* Matches footer background color */
    border-color: #ffffff;
}

/* --- RESPONSIVE MEDIA QUERIES (MOBILE BREAKPOINTS) --- */
@media (max-width: 1024px) {
    .card-grid-four, .faq-grid-four-four, .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 16px;
    }
    
    .logo-title {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }
    
    .logo-subtitle {
        font-size: 0.95rem;
        letter-spacing: 6px;
    }

    .hero-section {
        height: auto;
        padding: 50px 12px;
    }

    .hero-content {
        padding: 35px 20px;
    }

    .hero-content h2 {
        font-size: 1.9rem;
    }

    .card-grid-four, 
    .faq-grid-four-four,
    .facilities-grid,
    .sports-grid-two,
    .asymmetric-layout,
    .split-container,
    .fluid-flex-layout,
    .footer-container {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        gap: 30px;
    }

    .asymmetric-box:nth-child(even) {
        margin-top: 0;
    }

    .fluid-image-block img {
        width: 260px;
        height: 260px;
    }
}