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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 50;
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 32px;
    }
}

.nav-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 80px; /* Reduced height */
}

.nav-logo {
    position: absolute;
    left: 24px;
    top: -30px; /* Moved further up to align the top of the logo with the top of the navbar */
    z-index: 100;
}

.nav-logo img {
    height: 140px; /* Increased by 100% as requested */
    width: auto; /* Maintain aspect ratio */
    display: block; /* Remove any extra space below the image */
}

.logo {
    max-height: 162px;
    width: auto;
    padding: 0;
}

.nav-links {
    display: none;
    gap: 32px;
    align-items: center;
}

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

.nav-links a {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #16a34a;
}

.lang {
    color: #6b7280;
    cursor: pointer;
    transition: color 0.3s ease; /* Add transition for smooth hover effect */
}

.lang:hover {
    color: #16a34a; /* Same hover color as other nav links */
}

.cta-button {
    background-color: #16a34a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-left: 32px; /* Increased space */
}

    .cta-button:hover {
    background-color: #15803d;
}

/* Hamburger Menu and Mobile Navigation */
.hamburger-menu {
    display: block; /* Show on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 16px;
    color: #374151;
}

.hamburger-menu i {
    width: 28px;
    height: 28px;
}

@media (min-width: 768px) {
    .hamburger-menu {
        display: none; /* Hide on larger screens */
    }
}

.mobile-nav-links {
    display: none; /* Hidden by default */
    position: fixed;
    top: 80px; /* Below the fixed navbar */
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 40;
    transition: transform 0.3s ease-out;
    transform: translateY(-100%); /* Start off-screen */
}

.mobile-nav-links.active {
    display: flex; /* Show when active */
    transform: translateY(0); /* Slide in */
}

.mobile-nav-links a,
.mobile-nav-links .lang {
    color: #374151;
    text-decoration: none;
    padding: 12px 0;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links .lang:hover {
    background-color: #f3f4f6;
}

.mobile-nav-links .lang {
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-nav-links {
        display: none; /* Ensure it's hidden on larger screens */
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 16px;
    max-width: 896px;
    margin: 0 auto;
}

.hero-logo {
    position: absolute;
    top: 16px;
    right: 16px;
}

.hero-logo img {
    max-width: 150px;
    width: 100%;
    height: auto;
    opacity: 0.9;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.text-yellow {
    color: #facc15;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-primary {
    background-color: #16a34a;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #15803d;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: white;
    color: #111827;
}

.mascot {
    position: fixed; /* Changed from absolute to fixed */
    bottom: 0;
    right: 0;
    display: block;
    animation: float 6s ease-in-out infinite;
    z-index: 1000; /* Ensure it floats above other content */
}

.mascot img {
    width: 200px;
    height: 250px;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
}

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

.watermark {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.watermark span {
    color: #4b5563;
}

.watermark img {
    width: 60px;
    height: 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f9fafb;
}

.about-content {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-text p {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.6;
}

.mission-card {
    border-left: 4px solid #16a34a;
    background-color: #f0fdf4;
    padding: 24px;
    border-radius: 8px;
}

.mission-card h3 {
    color: #166534;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.mission-card p {
    color: #15803d;
    margin: 0;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.service-icon.blue {
    background-color: #dbeafe;
}

.service-card:hover .service-icon.blue {
    background-color: #bfdbfe;
}

.service-icon.green {
    background-color: #dcfce7;
}

.service-card:hover .service-icon.green {
    background-color: #bbf7d0;
}

.service-icon.purple {
    background-color: #f3e8ff;
}

.service-card:hover .service-icon.purple {
    background-color: #e9d5ff;
}

.service-icon.yellow {
    background-color: #fef3c7;
}

.service-card:hover .service-icon.yellow {
    background-color: #fde68a;
}

.service-icon.red {
    background-color: #fee2e2;
}

.service-card:hover .service-icon.red {
    background-color: #fecaca;
}

.service-icon.indigo {
    background-color: #e0e7ff;
}

.service-card:hover .service-icon.indigo {
    background-color: #c7d2fe;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-icon.blue svg {
    color: #2563eb;
}

.service-icon.green svg {
    color: #16a34a;
}

.service-icon.purple svg {
    color: #9333ea;
}

.service-icon.yellow svg {
    color: #ca8a04;
}

.service-icon.red svg {
    color: #dc2626;
}

.service-icon.indigo svg {
    color: #4f46e5;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Vocabulary Section */
.vocabulary {
    padding: 80px 0;
    background-color: #fffbeb;
}

.vocabulary-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .vocabulary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .vocabulary-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.vocab-card {
    border: 2px solid;
    border-radius: 8px;
    padding: 16px;
    transition: box-shadow 0.3s ease;
}

.vocab-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.vocab-card.yellow {
    background-color: #FFD700; /* Amarillo pollito */
    border-color: #FFC400; /* Slightly darker yellow for border */
}

.vocab-card.blue {
    background-color: #0000CD; /* Azul profundo */
    border-color: #0000A0; /* Slightly darker blue for border */
}

.vocab-card.red {
    background-color: #FF0000; /* Rojo vivo */
    border-color: #CC0000; /* Slightly darker red for border */
}

.vocab-card.yellow h3,
.vocab-card.yellow p {
    color: #FF0000; /* Red for yellow cards */
}

.vocab-card.blue h3,
.vocab-card.blue p {
    color: #FFFF00; /* Yellow for blue cards */
}

.vocab-card.red h3,
.vocab-card.red p {
    color: #0000FF; /* Blue for red cards */
}

.vocab-card h3 {
    color: #ea580c;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.vocab-card p {
    color: #374151;
    font-size: 0.875rem;
}

.vocabulary-note {
    background: white;
    border: 2px solid #fcd34d;
    border-radius: 8px;
    max-width: 672px;
    margin: 0 auto;
    padding: 24px;
    text-align: center;
}

.vocabulary-note h3 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 16px;
}

.vocabulary-note p {
    color: #374151;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-filled {
    width: 20px;
    height: 20px;
    fill: #facc15;
    color: #facc15;
}

.testimonial-card blockquote {
    color: #374151;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.author-avatar.green {
    background-color: #10b981;
}

.author-avatar.purple {
    background-color: #8b5cf6;
}

.author-avatar.orange {
    background-color: #f97316;
}

.author-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f9fafb;
}

.contact-content {
    display: grid;
    gap: 48px;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    background-color: #16a34a;
    color: white;
    border-radius: 8px;
    padding: 32px;
    overflow: hidden;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-label {
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-image {
    margin-top: 32px;
}

.contact-image img {
    width: 100%;
    border-radius: 8px;
}

.contact-form {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    background-color: #16a34a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #15803d;
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 64px 0;
}

.footer-content {
    display: grid;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    max-width: 150px;
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-nav h4,
.footer-experiences h4,
.footer-contact h4 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.footer-nav ul,
.footer-experiences ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a,
.footer-experiences a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-experiences a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
}

.footer-contact span {
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #16a34a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Responsive Utilities */
@media (max-width: 767px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .section-header h2 {
        font-size: 1.875rem;
    }

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

    .hero-content {
        padding: 32px 16px;
    }
}

.volume-button {
    background-color: rgba(255, 255, 255, 0.8);
    color: #111827;
    border: none;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.volume-button:hover {
    background-color: white;
}

/* Animation Styles */
.animated-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-section.visible {
    opacity: 1;
    transform: translateY(0);
}