/* =========================================
   Wonderdale Juniors - Custom Stylesheet
   ========================================= */

/* --- CSS Variables (Design System) --- */
:root {
    /* Color Palette - Wonderdale Redesign */
    --clr-primary: #292e67; /* Navy Blue */
    --clr-secondary: #01a456; /* Vibrant Green */
    --clr-accent-1: #ffb300; /* Playful Yellow/Orange */
    --clr-accent-2: #00aeef; /* Sky Blue */
    --clr-accent-3: #ed1e79; /* Accent Pink */
    --clr-rainbow: linear-gradient(90deg, #292e67, #01a456, #ffb300, #00aeef);
    
    /* Backgrounds */
    --bg-main: #fcfdfd;
    --bg-light: #f3f6f9;
    
    /* Text Colors */
    --text-dark: #191c45;
    --text-muted: #5b628b;
    --text-light: #ffffff;
    
    /* Typography */
    --font-heading: 'Baloo 2', cursive;
    --font-body: 'Nunito', sans-serif;
    
    /* Utilities (Softer, rounder corners for child theme) */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --radius-pill: 60px;
    
    --shadow-sm: 0 4px 6px rgba(41, 46, 103, 0.05);
    --shadow-md: 0 10px 20px rgba(41, 46, 103, 0.08);
    --shadow-hover: 0 15px 30px rgba(41, 46, 103, 0.12);
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--clr-primary);
}

.rainbow-text {
    background: var(--clr-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.highlight {
    color: var(--clr-secondary);
}

.text-center {
    text-align: center;
}

/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

/* --- Buttons --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--clr-secondary);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #018a48;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(1, 164, 86, 0.4);
}

.btn-secondary {
    background: var(--clr-accent-1);
    color: var(--clr-primary);
}

.btn-secondary:hover {
    background: #e6a100;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 179, 0, 0.4);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.25rem;
}

/* --- Top Bar --- */
.top-bar {
    background: var(--clr-primary);
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item i {
    color: var(--clr-accent-2);
    margin-right: 5px;
}

.top-bar-socials a {
    color: var(--text-light);
    margin-left: 15px;
    font-size: 1rem;
}

.top-bar-socials a:hover {
    color: var(--clr-accent-2);
    transform: scale(1.2);
    display: inline-block;
}

/* --- Header & Navigation --- */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

/* Fallback Logo Styling */
.logo-title {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 1px;
}
.logo-subtitle {
    font-family: 'Great Vibes', cursive; /* A cursive font if available, else body */
    font-size: 0.9rem;
    color: var(--clr-primary);
    margin-top: -5px;
    font-weight: 600;
}

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

.desktop-nav .nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.desktop-nav .nav-links a:hover,
.desktop-nav .nav-links a.active {
    color: var(--clr-secondary);
}

.desktop-nav .nav-links a.btn-primary {
    color: var(--text-light);
}

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

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-main);
    z-index: 1001;
    padding: 80px 20px 20px;
    box-shadow: var(--shadow-md);
    transition: left 0.4s ease;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    padding: 10px;
    border-radius: var(--radius-sm);
}

.mobile-nav-links a:hover {
    background: var(--bg-light);
    color: var(--clr-secondary);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(243, 246, 249, 0.95) 0%, rgba(243, 246, 249, 0.8) 50%, rgba(243, 246, 249, 0.2) 100%);
}

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

.hero-text-box {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--clr-accent-1);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Cloud Dividers */
.cloud-divider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,64L48,80C96,96,192,128,288,122.7C384,117,480,75,576,64C672,53,768,75,864,85.3C960,96,1056,96,1152,85.3C1248,75,1344,53,1392,42.7L1440,32L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z" fill="%23fcfdfd"/></svg>') no-repeat center center;
    background-size: cover;
    z-index: 2;
}
.cloud-bottom {
    bottom: -5px;
}
.cloud-top {
    top: -5px;
    transform: rotate(180deg);
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
}

.about-shape {
    position: absolute;
    border-radius: var(--radius-lg);
    z-index: -1;
}

.shape-1 {
    top: -20px;
    left: -20px;
    width: 80%;
    height: 80%;
    background: var(--clr-accent-2);
    transform: rotate(-5deg);
}

.shape-2 {
    bottom: -20px;
    right: -20px;
    width: 80%;
    height: 80%;
    background: var(--clr-accent-1);
    transform: rotate(5deg);
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--clr-accent-3);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
    background-image: linear-gradient(135deg, #00b0ff 0%, #1e3776 100%);
}

.about-icon {
    font-size: 8rem;
    color: rgba(255,255,255,0.8);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 1.4rem;
    color: var(--clr-accent-1);
    margin-bottom: 25px;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: var(--clr-accent-1);
    font-size: 1.5rem;
    margin-right: 15px;
}

/* --- Programs Section --- */
.bg-light {
    background-color: var(--bg-light);
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 10px auto 50px;
}

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

.program-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
}

.card-pink::before { background: var(--clr-secondary); }
.card-blue::before { background: var(--clr-accent-3); }
.card-yellow::before { background: var(--clr-accent-2); }
.card-green::before { background: var(--clr-accent-1); }

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

.program-card-img-box {
    width: 100%;
    height: 190px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: -25px;
    box-shadow: var(--shadow-sm);
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.program-card:hover .program-img {
    transform: scale(1.08);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    background: var(--bg-light);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 3px solid #fff;
}

.card-pink .card-icon-wrapper { color: var(--clr-secondary); background: rgba(255, 51, 102, 0.1); }
.card-blue .card-icon-wrapper { color: var(--clr-accent-3); background: rgba(0, 176, 255, 0.1); }
.card-yellow .card-icon-wrapper { color: var(--clr-accent-2); background: rgba(255, 193, 7, 0.1); }
.card-green .card-icon-wrapper { color: var(--clr-accent-1); background: rgba(78, 205, 196, 0.15); }

.program-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(10deg);
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.card-age {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--clr-accent-1);
    margin-bottom: 15px;
}

.card-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.card-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-pink .card-link:hover { color: var(--clr-secondary); }
.card-blue .card-link:hover { color: var(--clr-accent-3); }
.card-yellow .card-link:hover { color: var(--clr-accent-2); }

/* --- CTA Section --- */
.cta {
    background: var(--clr-accent-3);
    color: var(--text-light);
    position: relative;
    padding: 120px 0;
}

.cta-container {
    position: relative;
    z-index: 10;
}

.cta-title {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* --- Footer --- */
.footer {
    background: var(--clr-primary);
    color: #e0e0e0;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.logo-title-footer {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-desc {
    margin-bottom: 25px;
    max-width: 350px;
}

.footer-socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.2rem;
}

.footer-socials a:hover {
    background: var(--clr-secondary);
    transform: translateY(-3px);
}

.footer-heading {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--clr-accent-2);
    border-radius: 3px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

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

.contact-list li {
    display: flex;
    margin-bottom: 20px;
}

.contact-list li i {
    color: var(--clr-accent-2);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

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

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

/* --- Why Choose Us Section --- */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--clr-primary);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--clr-secondary);
}

.feature-icon {
    font-size: 3rem;
    color: var(--clr-secondary);
    margin-bottom: 20px;
}

.feature-box h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-muted);
}

/* --- Facilities Section --- */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.facility-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.facility-item:hover {
    background: var(--clr-primary);
    color: var(--text-light);
    transform: translateY(-5px);
}

.facility-item:hover h4 {
    color: var(--text-light);
}

.facility-icon {
    font-size: 2.5rem;
    color: var(--clr-accent-1);
    margin-bottom: 15px;
}

.facility-item h4 {
    font-size: 1.2rem;
}

/* --- Testimonials Section --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 5px solid var(--clr-accent-2);
}

.stars {
    color: var(--clr-accent-2);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.parent-name {
    font-size: 1.2rem;
    color: var(--clr-primary);
    font-weight: 700;
}

/* --- Toondemy Integrated Sections --- */
/* Smart Books Section */
.smart-books-section {
    background-color: #ffffff;
}

.smart-books-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.smart-books-image, .smart-books-content {
    flex: 1;
}

.books-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 8rem;
    color: #e0e0e0;
    min-height: 300px;
    background: #f8f9fa;
    border-radius: 20px;
}

.books-placeholder i:nth-child(1) { color: #f28b82; }
.books-placeholder i:nth-child(2) { color: #fbbc04; }
.books-placeholder i:nth-child(3) { color: #34a853; }

.text-left { text-align: left; margin-bottom: 10px; }
.purple-text { color: #5e35b1; font-weight: 800; }
.orange-text { color: #f57c00; font-weight: 800; }
.yellow-text { color: #fbc02d; font-weight: 800; }

.smart-books-subtitle {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.smart-books-list {
    list-style: none;
}

.smart-books-list li {
    font-size: 1.15rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.list-icon {
    color: #5e35b1;
    font-size: 1.2rem;
}

/* Apps Section */
.apps-title { margin-bottom: 10px; }
.apps-subtitle {
    font-size: 1.2rem;
    color: #2b2b2b;
    font-weight: 700;
    margin-bottom: 15px;
}
.apps-desc { max-width: 800px; margin: 0 auto; }

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-top: 45px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.app-card {
    padding: 40px 32px 46px 32px;
    border-radius: 28px;
    text-align: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.app-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.card-blue-solid { background: linear-gradient(135deg, #18b6ff 0%, #0088ea 100%); } /* Vibrant Sky Blue */
.card-pink-solid { background: linear-gradient(135deg, #ff479c 0%, #ff007f 100%); } /* Vibrant Hot Pink */
.card-green-solid { background: linear-gradient(135deg, #58cc02 0%, #388e3c 100%); } /* Vibrant Grass Green */

.app-card-img-box {
    width: 100%;
    min-height: 210px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.app-card-img-box img,
.app-img-large {
    max-width: 95%;
    width: 220px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 14px 24px rgba(0,0,0,0.22));
    transition: transform 0.5s ease;
}

.app-card:hover .app-card-img-box img,
.app-card:hover .app-img-large {
    transform: scale(1.08) translateY(-6px);
}

.app-card h4 {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: white;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-card p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin: 0;
}

/* Learning Journey Section */
.journey-title { margin-bottom: 10px; }
.journey-subtitle {
    font-size: 1.2rem;
    color: #2b2b2b;
    margin-bottom: 15px;
}

.learning-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid #140b3c;
    color: #140b3c;
    padding: 10px 30px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(20, 11, 60, 0.05);
}

.tab-btn.active {
    background: #140b3c;
    color: #ffffff;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.domain-card {
    padding: 30px 15px;
    border-radius: 15px;
    text-align: center;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 5px solid transparent;
}

.domain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.domain-pink { border-bottom-color: var(--clr-accent-3); }
.domain-blue { border-bottom-color: var(--clr-primary); }
.domain-green { border-bottom-color: var(--clr-secondary); }
.domain-orange { border-bottom-color: var(--clr-accent-1); }
.domain-yellow { border-bottom-color: var(--clr-accent-2); }
.domain-purple { border-bottom-color: #191c45; }

.domain-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.domain-pink .domain-icon-circle { background: rgba(237, 30, 121, 0.1); color: var(--clr-accent-3); }
.domain-blue .domain-icon-circle { background: rgba(41, 46, 103, 0.1); color: var(--clr-primary); }
.domain-green .domain-icon-circle { background: rgba(1, 164, 86, 0.1); color: var(--clr-secondary); }
.domain-orange .domain-icon-circle { background: rgba(255, 179, 0, 0.1); color: var(--clr-accent-1); }
.domain-yellow .domain-icon-circle { background: rgba(0, 174, 239, 0.1); color: var(--clr-accent-2); }
.domain-purple .domain-icon-circle { background: rgba(25, 28, 69, 0.1); color: #191c45; }

.domain-card:hover .domain-icon-circle {
    transform: scale(1.1);
}

.domain-card h4 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
}
.domain-pink h4 { color: var(--clr-accent-3); }
.domain-blue h4 { color: var(--clr-primary); }
.domain-green h4 { color: var(--clr-secondary); }
.domain-orange h4 { color: var(--clr-accent-1); }
.domain-yellow h4 { color: var(--clr-accent-2); }
.domain-purple h4 { color: #191c45; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on mobile for cleaner look */
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        min-height: 70vh;
        text-align: center;
    }
    
    .hero-text-box {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-overlay {
        background: rgba(255,255,255,0.85); /* More opaque on mobile for readability */
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .smart-books-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .smart-books-list li {
        justify-content: center;
    }
}

/* =========================================
   Connect & Linktree Integration Styles
   ========================================= */
.connect-slogan {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-accent-1);
    margin-top: 5px;
    margin-bottom: 15px;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.connect-card {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.connect-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 18px;
    flex-shrink: 0;
}

.connect-card-info {
    flex-grow: 1;
}

.connect-card-info h3 {
    font-size: 1.15rem;
    margin-bottom: 3px;
}

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

.connect-arrow {
    font-size: 1rem;
    color: #bbb;
    transition: transform 0.3s ease, color 0.3s ease;
}

.connect-card:hover .connect-arrow {
    transform: translateX(4px) translateY(-4px);
    color: var(--clr-primary);
}

/* Card Specific Brand Colors */
.card-linktree { border-color: rgba(67, 224, 71, 0.3); }
.card-linktree .connect-icon-wrapper { background: rgba(67, 224, 71, 0.15); color: #25a629; }
.card-linktree:hover { border-color: #25a629; background: #f4fbf4; }

.card-whatsapp { border-color: rgba(37, 211, 102, 0.3); }
.card-whatsapp .connect-icon-wrapper { background: rgba(37, 211, 102, 0.15); color: #25D366; }
.card-whatsapp:hover { border-color: #25D366; background: #f2fcf6; }

.card-instagram { border-color: rgba(225, 48, 108, 0.3); }
.card-instagram .connect-icon-wrapper { background: rgba(225, 48, 108, 0.15); color: #E1306C; }
.card-instagram:hover { border-color: #E1306C; background: #fdf2f6; }

.card-facebook { border-color: rgba(24, 119, 242, 0.3); }
.card-facebook .connect-icon-wrapper { background: rgba(24, 119, 242, 0.15); color: #1877F2; }
.card-facebook:hover { border-color: #1877F2; background: #f0f6ff; }

.card-youtube { border-color: rgba(255, 0, 0, 0.3); }
.card-youtube .connect-icon-wrapper { background: rgba(255, 0, 0, 0.15); color: #FF0000; }
.card-youtube:hover { border-color: #FF0000; background: #fff2f2; }

.card-website { border-color: rgba(0, 176, 255, 0.3); }
.card-website .connect-icon-wrapper { background: rgba(0, 176, 255, 0.15); color: var(--clr-accent-3); }
.card-website:hover { border-color: var(--clr-accent-3); background: #f0faff; }

/* Floating Quick Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 22px rgba(0,0,0,0.3);
}

.whatsapp-float {
    background: #25D366;
}

.linktree-float {
    background: #39E09B;
    color: #1E2229;
}

/* =========================================
   About Us Real Photo Styling
   ========================================= */
.about-real-img-container {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    border: 5px solid #ffffff;
}

.about-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-real-img {
    transform: scale(1.05);
}

/* =========================================
   Campus Life & Event Gallery Styles
   ========================================= */
.gallery-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 260px;
    background: #111;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card.card-large {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .gallery-card.card-large {
        grid-column: span 1;
    }
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
}

.gallery-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    background: var(--clr-primary, #FF6B6B);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.gallery-overlay h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.35;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

/* =========================================
   Toondemy Resources Section Styles
   ========================================= */
.resources-section {
    background: #f8fafc;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.resource-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 107, 107, 0.4);
}

.resource-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.resource-cat {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.cat-phonics { background: rgba(255, 107, 107, 0.12); color: #e63946; }
.cat-psychology { background: rgba(78, 205, 196, 0.15); color: #00897b; }
.cat-preschool { background: rgba(255, 209, 102, 0.25); color: #d97706; }
.cat-language { background: rgba(69, 183, 209, 0.15); color: #0284c7; }
.cat-basics { background: rgba(155, 81, 224, 0.12); color: #7e22ce; }
.cat-trends { background: rgba(37, 211, 102, 0.15); color: #15803d; }
.cat-social { background: rgba(236, 72, 153, 0.12); color: #be185d; }

.resource-read-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.resource-card-body {
    flex-grow: 1;
    margin-bottom: 20px;
}

.resource-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.resource-card:hover .resource-title {
    color: var(--clr-primary);
}

.resource-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.resource-card-footer {
    border-top: 1px dashed #e2e8f0;
    padding-top: 14px;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--clr-primary);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.resource-link:hover {
    gap: 10px;
    color: var(--clr-accent-1);
}

/* =========================================
   Google Reviews Testimonials Styling
   ========================================= */
.google-review-card {
    position: relative;
    padding: 24px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(66, 133, 244, 0.4);
}

.reviewer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
}

.avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 2px 0;
}

.badge-guide {
    font-size: 0.72rem;
    color: #d97706;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.badge-verified {
    font-size: 0.72rem;
    color: #16a34a;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.google-icon-corner {
    position: absolute;
    top: 0;
    right: 0;
    color: #4285F4;
    font-size: 1.2rem;
    opacity: 0.85;
}

/* =========================================
   Campus Infrastructure Showcase Card
   ========================================= */
.campus-showcase {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #ffffff;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(76, 175, 80, 0.25);
    margin-bottom: 50px;
    transition: all 0.3s ease;
}

.campus-showcase:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(76, 175, 80, 0.5);
}

.campus-showcase-img {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    height: 380px;
}

.campus-showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.campus-showcase:hover .campus-showcase-img img {
    transform: scale(1.05);
}

.campus-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #4CAF50;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.campus-showcase-text {
    text-align: left;
}

.campus-subtitle {
    color: #4CAF50;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: block;
    margin-bottom: 8px;
}

.campus-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.25;
}

.campus-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.campus-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.campus-pill {
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pill-green {
    background: rgba(76, 175, 80, 0.12);
    color: #2e7d32;
}

.pill-orange {
    background: rgba(255, 152, 0, 0.12);
    color: #d84315;
}

.pill-blue {
    background: rgba(33, 150, 243, 0.12);
    color: #1565c0;
}

@media (max-width: 991px) {
    .campus-showcase {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 24px;
    }
    .campus-showcase-img {
        height: 300px;
    }
    .campus-title {
        font-size: 1.6rem;
    }
}

/* =========================================
   Ultra-Premium About Us Showcase Styling
   ========================================= */
.about-showcase {
    position: relative;
    width: 100%;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.about-aura {
    position: absolute;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 152, 0, 0.22) 0%, rgba(66, 133, 244, 0.18) 50%, rgba(76, 175, 80, 0.12) 80%, transparent 100%);
    filter: blur(35px);
    border-radius: 50%;
    z-index: 1;
    animation: pulseAura 8s infinite alternate ease-in-out;
}

@keyframes pulseAura {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.08); opacity: 1; }
}

.about-sparkle {
    position: absolute;
    color: #FFD700;
    font-size: 1.8rem;
    z-index: 2;
    animation: floatSparkle 4s infinite alternate ease-in-out;
}

.sparkle-1 {
    top: 25px;
    right: 35px;
}

.sparkle-2 {
    bottom: 45px;
    left: 45px;
    font-size: 1.4rem;
    color: #4285F4;
    animation-delay: 1.5s;
}

@keyframes floatSparkle {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    100% { transform: translateY(-12px) rotate(15deg); opacity: 1; }
}

.polaroid-card {
    background: #ffffff;
    padding: 14px 14px 18px 14px;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.polaroid-img-box {
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

.polaroid-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.polaroid-card:hover .polaroid-img-box img {
    transform: scale(1.06);
}

.polaroid-caption {
    text-align: center;
    margin-top: 14px;
    font-weight: 700;
    color: #334155;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.polaroid-main {
    width: 84%;
    max-width: 440px;
    transform: rotate(-3deg);
}

.polaroid-main:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.polaroid-secondary {
    position: absolute;
    bottom: 20px;
    right: 15px;
    width: 50%;
    max-width: 260px;
    transform: rotate(5deg);
    z-index: 4;
}

.polaroid-secondary:hover {
    transform: rotate(0deg) scale(1.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.22);
    z-index: 6;
}

.glass-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    z-index: 5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-content strong {
    font-size: 0.92rem;
    color: #1e293b;
    line-height: 1.2;
}

.badge-content span {
    font-size: 0.76rem;
    color: #64748b;
    font-weight: 600;
}

.badge-top-left {
    top: 30px;
    left: 10px;
    animation: floatBadge 5s infinite alternate ease-in-out;
}

.badge-bottom-left {
    bottom: 40px;
    left: 5px;
    animation: floatBadge 6s infinite alternate-reverse ease-in-out;
}

@keyframes floatBadge {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

@media (max-width: 768px) {
    .about-showcase {
        min-height: 460px;
        padding: 20px 10px;
    }
    .polaroid-main {
        width: 90%;
    }
    .polaroid-secondary {
        width: 58%;
        bottom: 10px;
        right: 5px;
    }
    .glass-badge {
        padding: 8px 14px;
    }
    .badge-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
    .badge-content strong {
        font-size: 0.82rem;
    }
    .badge-content span {
        font-size: 0.72rem;
    }
    .badge-top-left {
        top: 15px;
        left: 0px;
    }
    .badge-bottom-left {
        bottom: 20px;
        left: 0px;
    }
}




