/*
Theme Name: Funtime
Theme URI: https://funtime.in
Description: Custom theme for Funtime - Montessori Learning & Living for Kids
Author: Funtime
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: funtime
*/

/* ========== VARIABLES ========== */
:root {
    --pink: #FF6B9D;
    --purple: #A78BFA;
    --yellow: #FFD93D;
    --green: #6BCB77;
    --blue: #4D96FF;
    --orange: #FF8C42;
    --coral: #FF6B6B;
    --teal: #4ECDC4;
    --dark: #2D3436;
    --gray: #636E72;
    --light: #F8F9FF;
    --white: #ffffff;
    --radius: 20px;
    --shadow: 0 4px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}
body.admin-bar .header { top: 32px; }
h1, h2, h3, h4 { font-family: 'Fredoka', sans-serif; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ========== BACKGROUND SHAPES ========== */
.bg-shapes { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    animation: float 20s infinite ease-in-out;
}
.shape-1 { width: 400px; height: 400px; background: var(--pink); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: var(--purple); bottom: 20%; left: -80px; animation-delay: -5s; }
.shape-3 { width: 200px; height: 200px; background: var(--yellow); top: 40%; right: 10%; animation-delay: -10s; }
.shape-4 { width: 350px; height: 350px; background: var(--green); bottom: -50px; right: 30%; animation-delay: -15s; }
.shape-5 { width: 250px; height: 250px; background: var(--blue); top: 60%; left: 20%; animation-delay: -7s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(5deg); }
    66% { transform: translateY(20px) rotate(-3deg); }
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s;
}
.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--yellow), var(--orange), var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 6px rgba(255,107,157,0.5));
    animation: spin 4s infinite linear;
}
@keyframes spin {
    0%, 80%, 100% { transform: rotate(0deg); }
    90% { transform: rotate(360deg); }
}
.logo-text { font-family: 'Fredoka', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--dark); }
.logo-highlight { color: var(--pink); }

.nav { display: flex; gap: 32px; }
.nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray);
    transition: color 0.3s;
    position: relative;
}
.nav a:hover { color: var(--pink); }
.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--pink);
    border-radius: 2px;
    transition: width 0.3s;
}
.nav a:hover::after { width: 100%; }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu span {
    width: 24px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
}
.mobile-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-menu.active span:nth-child(2) { opacity: 0; }
.mobile-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255,107,157,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,107,157,0.45);
}
.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}
.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ========== HERO ========== */
.hero {
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    color: var(--white);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.hero h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 20px; }
.text-gradient {
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p { font-size: 1.15rem; color: var(--gray); margin-bottom: 32px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 24px; }
.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}
.stat-icon { font-size: 1.3rem; }
.stat-text { font-size: 0.85rem; font-weight: 700; color: var(--dark); }

.hero-visual { position: relative; }
.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.hero-float {
    position: absolute;
    font-size: 2.5rem;
    animation: bounce 3s infinite ease-in-out;
}
.hero-float-1 { top: -20px; left: -20px; animation-delay: 0s; }
.hero-float-2 { top: 40%; right: -25px; animation-delay: -1s; }
.hero-float-3 { bottom: -15px; left: 30%; animation-delay: -2s; }

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

/* ========== SECTIONS ========== */
.section { position: relative; z-index: 1; padding: 100px 0; }
.section-label {
    display: inline-block;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 12px; }
.section-header p { font-size: 1.1rem; color: var(--gray); max-width: 550px; margin: 0 auto; }

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-images { position: relative; height: 500px; }
.about-img {
    position: absolute;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s;
}
.about-img:hover { transform: scale(1.03); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-1 { width: 55%; height: 60%; top: 0; left: 0; z-index: 2; }
.about-img-2 { width: 50%; height: 50%; top: 10%; right: 0; z-index: 1; }
.about-img-3 { width: 45%; height: 45%; bottom: 0; left: 15%; z-index: 3; border: 4px solid var(--white); }

.about-content h2 { font-size: 2.2rem; margin-bottom: 20px; }
.about-content > p { color: var(--gray); margin-bottom: 16px; }

.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.vm-card {
    background: linear-gradient(135deg, #FFF5F8, #F5F0FF);
    border-radius: 16px;
    padding: 22px 20px;
    border-left: 4px solid var(--pink);
}
.vm-icon { font-size: 1.5rem; display: block; margin-bottom: 8px; }
.vm-card h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--dark); }
.vm-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

.about-values { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s;
}
.value.visible { opacity: 1; transform: translateX(0); }
.value-icon { font-size: 2rem; flex-shrink: 0; }
.value h4 { font-size: 1rem; margin-bottom: 4px; }
.value p { font-size: 0.85rem; color: var(--gray); }

/* ========== ACTIVITIES ========== */
.activities { background: var(--white); }
.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.activity-card {
    background: var(--light);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.4s;
    cursor: default;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    overflow: hidden;
}
.activity-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.activity-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.activity-card:hover .activity-card-img img {
    transform: scale(1.08);
}
.activity-card-body {
    padding: 20px 24px 28px;
}
.activity-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.activity-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.activity-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}
.activity-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}
.activity-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ========== AGE GROUPS ========== */
.age-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.age-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}
.age-card.visible { opacity: 1; transform: translateY(0); }
.age-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}
.age-card-little::before { background: linear-gradient(90deg, var(--green), var(--teal)); }
.age-card-creative::before { background: linear-gradient(90deg, var(--pink), var(--purple)); }
.age-card-young::before { background: linear-gradient(90deg, var(--blue), var(--purple)); }

.age-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--pink);
}
.age-card.featured.visible { transform: scale(1.05); }

.age-badge {
    display: inline-block;
    background: var(--light);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--pink);
    margin-bottom: 16px;
}
.age-emoji { font-size: 3rem; margin-bottom: 12px; }
.age-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.age-card > p { font-size: 0.9rem; color: var(--gray); margin-bottom: 20px; }
.age-card ul { text-align: left; margin-bottom: 24px; }
.age-card li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray);
    border-bottom: 1px solid #f0f0f0;
    padding-left: 24px;
    position: relative;
}
.age-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}
.age-card-little li::before { content: '\2713'; color: var(--green); }
.age-card-creative li::before { content: '\2713'; color: var(--pink); }
.age-card-young li::before { content: '\2713'; color: var(--blue); }

/* ========== GALLERY ========== */
.gallery { background: var(--white); }
.gallery-masonry {
    columns: 3;
    column-gap: 20px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s;
}
.gallery-item.visible { opacity: 1; transform: scale(1); }
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item.tall img { height: 350px; }
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
    color: var(--white);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ========== TESTIMONIALS ========== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(20px);
}
.testimonial-card.visible { opacity: 1; transform: translateY(0); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testimonial-stars {
    color: var(--yellow);
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}
.testimonial-author strong { font-size: 0.9rem; display: block; }
.testimonial-author span { font-size: 0.8rem; color: var(--gray); }

.author-avatar-img {
    background: none;
    overflow: hidden;
    padding: 0;
}
.author-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
}
.testimonial-featured .author-avatar {
    width: 52px;
    height: 52px;
}
.testimonial-featured {
    border: 2px solid var(--pink);
}

.testimonial-text {
    max-height: 120px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}
.testimonial-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--white));
    pointer-events: none;
    transition: opacity 0.3s;
}
.testimonial-card.expanded .testimonial-text {
    max-height: 800px;
}
.testimonial-card.expanded .testimonial-text::after {
    opacity: 0;
}
.testimonial-text p {
    font-size: 0.95rem;
    color: var(--gray);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 10px;
}
.testimonial-expand {
    background: none;
    border: none;
    color: var(--pink);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 12px;
    transition: color 0.3s;
}
.testimonial-expand:hover { color: var(--purple); }
.testimonial-card.expanded .testimonial-expand::after { content: ''; }
.testimonial-card:not(.expanded) .testimonial-expand::after { content: ''; }
.testimonial-expand.hidden { display: none; }

/* ========== CONTACT ========== */
.contact { background: linear-gradient(135deg, #FFF5F5, #F5F0FF, #F0F7FF); }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}
.contact-info h2 { font-size: 2rem; margin-bottom: 16px; }
.contact-info > p { color: var(--gray); margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item strong { font-size: 0.9rem; display: block; margin-bottom: 2px; }
.contact-item p { font-size: 0.88rem; color: var(--gray); }

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}
.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    text-align: center;
}
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E8E8F0;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    background: var(--light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink);
    background: var(--white);
}
.form-group textarea { min-height: 80px; resize: vertical; }

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    background: var(--light);
    padding: 8px 14px;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.checkbox:hover { border-color: var(--pink); }
.checkbox input { accent-color: var(--pink); }

.form-success {
    background: linear-gradient(135deg, var(--green), var(--teal));
    color: var(--white);
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ========== BLOG ========== */
.blog-section { background: var(--light); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(20px);
}
.blog-card.visible { opacity: 1; transform: translateY(0); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-img { height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.08); }
.blog-body { padding: 24px; }
.blog-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.blog-body h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-body h3 a { color: inherit; transition: color 0.3s; }
.blog-body h3 a:hover { color: var(--pink); }
.blog-body > p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; margin-bottom: 14px; }
.blog-read { font-size: 0.85rem; font-weight: 700; color: var(--pink); }

.blog-view-all {
    text-align: center;
    margin-top: 40px;
}

/* ========== BLOG LISTING (home.php) ========== */
.blog-hero {
    position: relative;
    z-index: 1;
    padding: 160px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #FFF5F8, #F5F0FF, #F0F7FF);
}
.blog-hero h1 { font-size: 2.5rem; margin-bottom: 12px; }
.blog-hero p { font-size: 1.1rem; color: var(--gray); max-width: 550px; margin: 0 auto; }

/* ========== SINGLE POST ========== */
.single-post-hero {
    position: relative;
    z-index: 1;
    padding: 140px 0 0;
}
.single-post-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}
.single-post-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: -60px auto 0;
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
}
.single-post-content .blog-tag { margin-bottom: 16px; }
.single-post-content h1 { font-size: 1.8rem; margin-bottom: 24px; line-height: 1.3; }
.single-post-content h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--dark); }
.single-post-content p { font-size: 0.95rem; color: var(--gray); line-height: 1.8; margin-bottom: 14px; }
.single-post-content strong { color: var(--dark); }
.single-post-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    font-weight: 700;
    color: var(--pink);
    font-size: 0.95rem;
}
.single-post-back:hover { color: var(--purple); }

/* ========== SOCIAL SECTION ========== */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}
.social-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    border: 2px solid transparent;
}
.social-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.social-card-fb:hover { border-color: #1877F2; }
.social-card-ig:hover { border-color: #E4405F; }
.social-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.social-card-header h3 { font-size: 1.1rem; margin-bottom: 2px; }
.social-card-header span { font-size: 0.8rem; color: var(--gray); }
.social-card-body p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    flex-grow: 1;
}
.social-card-cta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.social-card-fb .social-card-cta span { color: #1877F2; font-weight: 700; font-size: 0.9rem; }
.social-card-ig .social-card-cta span { color: #E4405F; font-weight: 700; font-size: 0.9rem; }

/* ========== FOOTER SOCIAL ========== */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}
.footer-social a:hover {
    background: var(--pink);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    z-index: 1;
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { margin-top: 12px; font-size: 0.9rem; line-height: 1.6; }
.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--pink); }

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; }
    .about-images { height: 350px; margin-bottom: 20px; }
    .activities-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: 1fr; max-width: 450px; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius) var(--radius);
        gap: 0;
    }
    .nav.open a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
    .mobile-menu { display: flex; }

    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero h1 { font-size: 2.4rem; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 1.8rem; }

    .age-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .age-card.featured { transform: none; }
    .age-card.featured.visible { transform: none; }

    .testimonial-grid { grid-template-columns: 1fr; }
    .gallery-masonry { columns: 2; }
    .footer-top { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .about-images { height: 280px; }
    .about-img-1 { width: 50%; height: 55%; }
    .about-img-2 { width: 45%; height: 45%; }
    .about-img-3 { width: 40%; height: 40%; }

    .blog-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }

    .single-post-content { padding: 30px 20px; margin-top: -40px; }
    .single-post-content h1 { font-size: 1.4rem; }
    .single-post-hero img { height: 280px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 10px; }
    .stat { padding: 8px 12px; }
    .stat-text { font-size: 0.75rem; }
    .activities-grid { grid-template-columns: 1fr; }
    .gallery-masonry { columns: 1; }
    .hero-buttons { flex-direction: column; align-items: center; }
}
