/* ===========================
   GLOBAL STYLES
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #16a34a;
    --dark-green: #15803d;
    --light-green: #dcfce7;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --whatsapp-green: #25d366;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===========================
   WHATSAPP FLOATING BUTTON
   =========================== */

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    animation: bounce 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    animation: none;
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 2.5rem;
    width: auto;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    background: linear-gradient(to right, var(--primary-green), #22c55e);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    color: #d1fae5;
    font-size: 2.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: #d1fae5;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: slideInLeft 1.2s ease-out;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: slideInLeft 1.3s ease-out;
}

.badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1.4s ease-out;
}

.btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-green);
}

.btn-primary:hover {
    background-color: #f0fdf4;
    transform: translateY(-2px);
    animation: pulse 0.6s ease-in-out;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    animation: pulse 0.6s ease-in-out;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    animation: shimmer 2s infinite;
}

.hero-image {
    display: block;
    animation: slideInRight 1s ease-out;
}

.hero-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    animation: bounce 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

    .hero-image {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .trust-badges {
        flex-direction: column;
    }
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
    background-color: var(--gray-50);
    padding: 5rem 0;
}

.services h2 {
    font-size: 2.25rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gray-900);
    animation: slideInLeft 0.8s ease-out;
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ===========================
   SCHOOLS SECTION
   =========================== */

.schools {
    padding: 5rem 0;
}

.schools h2 {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--gray-900);
    animation: slideInLeft 0.8s ease-out;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    animation: slideInLeft 1s ease-out;
}

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

.school-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--light-green);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
}

.school-item:hover {
    background-color: #bbf7d0;
    transform: translateX(5px);
}

.school-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary-green);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.school-item span:last-child {
    font-size: 1.125rem;
    color: var(--gray-800);
    font-weight: 500;
}

/* ===========================
   KIDS CAROUSEL SECTION
   =========================== */

.kids-carousel {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.kids-carousel h2 {
    font-size: 2.25rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-900);
    animation: slideInLeft 0.8s ease-out;
}

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

.carousel-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideInLeft 0.8s ease-out;
}

.carousel-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.carousel-overlay p {
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===========================
   SERVICE IMAGE SECTION
   =========================== */

.service-image {
    background-color: var(--gray-50);
    padding: 5rem 0;
}

.service-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    max-height: 24rem;
    object-fit: cover;
    animation: slideInLeft 0.8s ease-out;
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.02);
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */

.testimonials {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 5rem 0;
}

.testimonials h2 {
    font-size: 2.25rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
    animation: slideInLeft 0.8s ease-out;
}

.testimonials .section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
    border-left: 4px solid var(--primary-green);
}

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

.stars {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===========================
   STATS SECTION
   =========================== */

.stats {
    background: linear-gradient(to right, var(--primary-green), #22c55e);
    color: white;
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    animation: slideInLeft 0.8s ease-out;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    background-color: var(--gray-50);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 1rem;
    animation: slideInLeft 0.8s ease-out;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease-out;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInLeft 1.2s ease-out;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 5rem 0;
}

.contact h2 {
    font-size: 2.25rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    animation: slideInLeft 0.8s ease-out;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto 3rem;
}

.contact-card {
    text-align: center;
    animation: fadeIn 0.6s ease-out;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 1rem;
    color: #d1fae5;
}

.contact-card a {
    color: #d1fae5;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--white);
}

.contact-subtext {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ===========================
   SOCIAL SECTION
   =========================== */

.social-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.social-section h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-link.whatsapp:hover {
    background-color: var(--whatsapp-green);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.facebook:hover {
    background-color: #1877f2;
}

.social-link.twitter:hover {
    background-color: #1da1f2;
}

.social-link.linkedin:hover {
    background-color: #0a66c2;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
}

.footer-tagline {
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

/* ===========================
   ANIMATIONS
   =========================== */

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .services h2,
    .schools h2,
    .contact h2,
    .kids-carousel h2,
    .testimonials h2,
    .cta-section h2 {
        font-size: 1.875rem;
    }

    .services-grid,
    .schools-grid,
    .contact-grid,
    .carousel-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
