:root {
    --bg-color: #F6F2E6;
    --primary-green: #79B84D;
    --dark-green: #4A6F28;
    --soft-gold: #c5a880;
    --text-color: #3a3a3a;
    --light-gray: #e0e0e0;
    --white-color: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.04), 0 10px 20px rgba(0,0,0,0.06);
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: var(--font-secondary); background-color: var(--bg-color); color: var(--text-color); line-height: 1.7; }
h1, h2, h3, h4 { font-family: var(--font-primary); color: var(--dark-green); font-weight: 700; }

h1 { line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); text-align: center; }
p { font-size: clamp(0.95rem, 1.5vw, 1.1rem); }
a { text-decoration: none; color: var(--primary-green); transition: color 0.3s ease; }


html, body { overflow-x: hidden; }
.page-wrapper { position: relative; z-index: 1; overflow: hidden; }
.preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-color); display: flex; justify-content: center; align-items: center; z-index: 10000; transition: opacity 0.7s ease, visibility 0.7s ease; }
.preloader-logo { width: clamp(100px, 20vw, 150px); animation: pulse 2s infinite ease-in-out; }
@keyframes pulse { 0%{transform: scale(1);} 50%{transform: scale(1.1);} 100%{transform: scale(1);} }
.animated-blob-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.animated-blob-bg > div { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.blob1 { width: 400px; height: 400px; background: var(--primary-green); top: -150px; left: -150px; animation: move 25s infinite alternate; }
.blob2 { width: 500px; height: 500px; background: var(--soft-gold); bottom: -200px; right: -200px; animation: move 30s infinite alternate; }
.blob3 { width: 300px; height: 300px; background: var(--dark-green); bottom: 100px; left: 100px; animation: move 20s infinite alternate; }
@keyframes move { from { transform: translate(0, 0) scale(1); } to { transform: translate(100px, 50px) scale(1.2); } }


.header { position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 5%; z-index: 1000; transition: background-color 0.4s ease, box-shadow 0.4s ease; }
.header.scrolled { background-color: rgba(246, 242, 230, 0.85); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); backdrop-filter: blur(8px); }
.navbar { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.logo img { height: clamp(50px, 8vw, 70px); transition: height 0.3s ease; }
.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 700; text-transform: uppercase; color: var(--dark-green); position: relative; padding-bottom: 0.5rem; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-green); transition: width 0.4s ease; }
.hamburger-menu { display: none; cursor: pointer; z-index: 1001; }
.hamburger-menu .bar { width: 28px; height: 3px; background-color: var(--dark-green); margin: 5px 0; }


.hero-section { min-height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; padding: 5%; text-align: center; }
.hero-background-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('https://images.unsplash.com/photo-1581359142508-f4b88495a295?q=80&w=2070&auto=format&fit=crop') center/cover; animation: zoom 20s infinite; }
@keyframes zoom { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(246, 242, 230, 0.8); }
.hero-content { position: relative; z-index: 2; max-width: 900px; opacity: 0; visibility: hidden; }
.hero-title .title-line-1, .hero-title .title-line-2 { display: block; line-height: 1.1; }
.hero-title .title-line-1 { font-size: clamp(3rem, 8vw, 5rem); color: var(--primary-green); margin-top: 0.5em; }
.hero-title .title-line-2 { font-size: clamp(2.2rem, 6vw, 4rem); color: var(--primary-green); margin-top: 0.1em; }
.hero-title .char { display: inline-block; }
.hero-subtitle { color: var(--text-color); margin: 1.5rem 0; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-features { display: flex; gap: 1rem 1.5rem; margin: 2rem 0; flex-wrap: wrap; color: var(--text-color); justify-content: center; }
.hero-features span { background: rgba(0,0,0,0.05); padding: 0.5rem 1rem; border-radius: 20px; font-size: clamp(0.9rem, 2vw, 1rem); }
.hero-features .fa-check-circle { color: var(--primary-green); margin-right: 0.5rem; }
.cta-button { background: var(--primary-green); color: var(--white-color); padding: 1rem 2.5rem; border-radius: 50px; font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 700; display: inline-block; transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; }
.cta-button:hover { background-color: var(--dark-green); transform: scale(1.05); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); }
.teaching-hours { margin-top: 2.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; font-size: 1.5rem; font-weight: 700; }
.teaching-hours .fa-user-graduate { font-size: 2.5rem; color: var(--primary-green); }


section { padding: clamp(4rem, 8vw, 6rem) 5%; position: relative; z-index: 1; }
.section-title::after { content: ''; display: block; margin: 1.5rem auto 0; width: 100px; height: 4px; background: var(--primary-green); border-radius: 2px; }
.section-subtitle { max-width: 800px; margin: 0 auto 4rem auto; text-align: center; color: #555; }

.steps-section { background-color: rgba(255,255,255,0.5); }
.steps-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; max-width: 1400px; margin: 0 auto; }
.step-card { background: var(--white-color); border-radius: 15px; padding: 2.5rem 2rem; text-align: center; box-shadow: var(--shadow); border-top: 5px solid var(--primary-green); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.step-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.step-icon { position: relative; display: inline-block; margin-bottom: 1.5rem; }
.step-icon i { color: var(--white-color); background-color: var(--primary-green); width: 80px; height: 80px; border-radius: 50%; font-size: 2.5rem; line-height: 80px; text-align: center; }
.step-number { position: absolute; top: -10px; right: -10px; background: var(--dark-green); color: var(--white-color); width: 35px; height: 35px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.1rem; font-weight: 700; border: 3px solid var(--white-color); }
.step-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }

#about { background: var(--bg-color); }
.programs-container { display: grid; gap: 2.5rem; max-width: 1400px; margin: 0 auto; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.program-card { background: var(--white-color); border-radius: 15px; box-shadow: var(--shadow); overflow: hidden; }
.learn-more { background: none; border: 2px solid var(--primary-green); color: var(--primary-green); padding: 0.7rem 1.5rem; border-radius: 50px; font-weight: 700; cursor: pointer; margin-top: 1rem; }
.program-card-image { height: 250px; }
.program-card-image img { width: 100%; height: 100%; object-fit: cover; }
.program-card-content { padding: 1.5rem; text-align: center; }

#features { background-color: rgba(255,255,255,0.5); }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); display: grid; gap: 2.5rem; max-width: 1400px; margin: 0 auto; }
.feature-item { text-align: center; padding: 2rem; }
.feature-item i { font-size: 3.5rem; color: var(--primary-green); margin-bottom: 1.5rem; }

#testimonials { background: var(--bg-color); overflow-x: clip; }
.testimonial-slider-container { position: relative; max-width: 800px; margin: 0 auto; }
.testimonial-slider { position: relative; background: var(--white-color); padding: clamp(2rem, 5vw, 3rem); border-radius: 15px; box-shadow: var(--shadow); text-align: center; overflow: hidden; min-height: 380px; }
.testimonial-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: clamp(2rem, 5vw, 3rem); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; }
.testimonial-slide.active { opacity: 1; z-index: 1; }
.testimonial-slide img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; border: 4px solid var(--primary-green); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: var(--white-color); color: var(--dark-green); border: 1px solid var(--light-gray); width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 10; }
.slider-arrow.prev-btn { left: -25px; } .slider-arrow.next-btn { right: -25px; }

#pricing { background-color: rgba(255,255,255,0.5); }
.pricing-tabs-container { max-width: 1200px; margin: 0 auto; background: var(--white-color); padding: 2rem; border-radius: 15px; box-shadow: var(--shadow); }
.pricing-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.tab-button { background: transparent; border: 2px solid var(--light-gray); color: var(--text-color); padding: 0.8rem 1.5rem; border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; }
.tab-button.active, .tab-button:hover { background: var(--primary-green); color: var(--white-color); border-color: var(--primary-green); transform: translateY(-2px); }
.pricing-panel { display: none; animation: fadeIn 0.6s ease; }
.pricing-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.plan-option { transition: transform 0.3s ease; }
.plan-option:hover { transform: translateY(-5px); }
.plan-option input[type="radio"] { display: none; }
.plan-option label { display: flex; flex-direction: column; border: 2px solid var(--light-gray); border-radius: 15px; text-align: center; cursor: pointer; transition: all 0.3s ease; overflow: hidden; }

.plan-header { padding: 1rem; background-color: #f5f5f5; border-bottom: 2px solid var(--light-gray); transition: all 0.3s ease; }
.plan-header h4 { font-size: 1.4rem; color: var(--dark-green); margin: 0; }
.discount-badge { background: var(--primary-green); color: var(--white-color); font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.8rem; border-radius: 20px; display: inline-block; margin-top: 0.5rem; visibility: hidden; }
.discount-badge:not(:empty) { visibility: visible; }

.price-container { padding: 1.5rem 1rem; display: flex; flex-direction: column; justify-content: center; align-items: center; flex-grow: 1; }
.price.current { font-size: 1.8rem; font-weight: 700; color: var(--dark-green); line-height: 1.2; }
.price.old { font-size: 1rem; color: #999; font-weight: 400; height: 1.2em; }
.select-plan-prompt { background: rgba(0,0,0,0.03); color: var(--dark-green); padding: 0.5rem; font-weight: 700; font-size: 0.9rem; opacity: 0; transition: opacity 0.3s ease; }
.plan-option label:hover .select-plan-prompt { opacity: 1; }

.plan-option input:checked + label {
    border-color: var(--dark-green);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.plan-option input:checked + label .plan-header {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
}
.plan-option input:checked + label .plan-header h4 { color: var(--white-color); }
.plan-option input:checked + label .select-plan-prompt { opacity: 1; }

.pricing-buttons { display: flex; gap: 1rem; margin-top: 2rem; }
.pricing-buttons a { flex: 1; text-align: center; padding: 0.8rem; border-radius: 8px; font-weight: 700; }
.btn-whatsapp { background: #25D366; color: white; } .btn-email { background: var(--dark-green); color: white; }
.pricing-buttons a.disabled { background: var(--light-gray); color: #999; pointer-events: none; }

.contact-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; max-width: 1100px; width: 100%; align-items: start; margin: 0 auto; }
.contact-info, .contact-form-wrapper { min-width: 0; }
.contact-info h3 { font-size: 1.8rem; }
.info-list { list-style: none; margin: 1.5rem 0; padding: 0; }
.info-list li { display: flex; align-items: center; margin-bottom: 1rem; gap: 0.8rem; }
.info-list li a { display: inline-block; background-color: rgba(255, 255, 255, 0.8); padding: 0.6rem 1.2rem; border-radius: 50px; color: var(--dark-green); font-weight: 700; border: 1px solid var(--light-gray); transition: all 0.3s ease; }
.info-list li a:hover { background-color: var(--primary-green); color: var(--white-color); border-color: var(--primary-green); }
.info-list li i { font-size: 1.2rem; color: var(--primary-green); }
.social-heading { margin-top: 2rem; }
.social-icons { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.social-icons a { font-size: 1.2rem; color: var(--dark-green); background-color: var(--white-color); border: 1px solid var(--light-gray); width: 45px; height: 45px; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; transition: all 0.3s ease; }
.social-icons a:hover { background-color: var(--primary-green); color: var(--white-color); border-color: var(--primary-green); transform: translateY(-3px); }
.contact-form-wrapper { background: white; padding: 2.5rem; border-radius: 15px; box-shadow: var(--shadow); }
.contact-form-wrapper h3 { text-align: center; margin-bottom: 1.5rem; font-size: 1.8rem; }
.input-group { margin-bottom: 1.5rem; }
.contact-form-wrapper input, .contact-form-wrapper textarea { width: 100%; padding: 1rem; border: 1px solid var(--light-gray); border-radius: 8px; font-size: 1rem; transition: all 0.3s ease; }
.contact-form-wrapper input:focus, .contact-form-wrapper textarea:focus { outline: none; border-color: var(--primary-green); box-shadow: 0 0 0 3px rgba(121, 184, 77, 0.2); }
.submit-btn { background: var(--primary-green); color: var(--white-color); width: 100%; padding: 1rem; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background-color 0.3s ease; }
.submit-btn:hover { background-color: var(--dark-green); }
.footer {
    background-color: var(--dark-green);
    padding: 2rem 1rem;
    border-top: 4px solid var(--primary-green);
    text-align: center;
}
.developer-credit {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.dev-text {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-secondary);
    font-size: 1rem;
}
.dev-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(90deg, var(--primary-green), var(--white-color), var(--bg-color), var(--primary-green));
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 4s linear infinite;
    transition: transform 0.3s ease;
}
.developer-credit:hover .dev-name {
    transform: scale(1.05);
}
@keyframes text-shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}


.modal { position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; padding: 1rem; }
.modal.visible { opacity: 1; visibility: visible; }
.modal-content { background-color: var(--bg-color); border-radius: 15px; width: 100%; max-width: 680px; max-height: 95vh; box-shadow: var(--shadow); transform: scale(0.9); transition: transform 0.4s ease, opacity 0.4s ease; opacity: 0; display: flex; flex-direction: column; position: relative; padding: 1.5rem; overflow: hidden; }
.modal.visible .modal-content { transform: scale(1); opacity: 1; }
.modal-visual { display: none; }
.modal-text { padding: 0.5rem; text-align: center; }
.modal-text h3 { font-size: 1.5rem; margin-bottom: 0.8rem;}
.modal-text p { margin: 0.5rem 0 1rem; font-size: 0.9rem; line-height: 1.45; }
.modal-text ul { list-style: none; padding: 0; }
.modal-text li { padding-left: 1.8rem; position: relative; margin-bottom: 0.6rem; text-align: left; font-size: 0.85rem; line-height: 1.45; }
.modal-text li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary-green); position: absolute; left: 0; top: 4px; font-size: 1rem; }
.close-modal { position: absolute; top: 10px; right: 15px; font-size: 2rem; cursor: pointer; color: var(--text-color); z-index: 10; transition: transform 0.3s; }
.close-modal:hover { transform: rotate(90deg); }
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white-color);
    border-radius: 50%;
    text-align: center;
    font-size: 2.2rem;
    line-height: 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: all 0.3s ease;
    display: none; 
}

.whatsapp-float:hover {
    background-color: #1DA851;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

@media (max-width: 992px) {
    .nav-links { position: fixed; top: 0; right: -100%; width: 60%; background-color: var(--bg-color); flex-direction: column; justify-content: center; align-items: center; transition: right 0.5s ease-in-out; height: 100vh; gap: 2.5rem; }
    .nav-links.active { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.1); }
    .hamburger-menu { display: block; }
    .contact-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-info { text-align: center; }
    .info-list { display: inline-flex; flex-direction: column; align-items: center; }
    .social-icons { justify-content: center; }
}

@media (max-width: 768px) {
    .pricing-tabs { gap: 0.5rem; }
    .tab-button { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
}

@media (max-width: 550px) {
    .plans-grid { gap: 0.8rem; }
    .plan-header { padding: 0.8rem; }
    .price-container { padding: 1rem 0.5rem; }
    .price.current { font-size: 1.5rem; }
    .plan-header h4 { font-size: 1.2rem; }
}

@media (max-width: 420px) {
    .plans-grid { grid-template-columns: 1fr; }
    .social-icons { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 15px; scrollbar-width: thin; scrollbar-color: var(--primary-green) var(--light-gray); max-width: 100%; }
    .social-icons::-webkit-scrollbar { height: 5px; }
    .social-icons::-webkit-scrollbar-track { background: var(--light-gray); }
    .social-icons::-webkit-scrollbar-thumb { background-color: var(--primary-green); border-radius: 10px; }
    .hero-title .title-line-1 { font-size: 2.5rem; }
    .hero-title .title-line-2 { font-size: 1.8rem; }
    .contact-form-wrapper { padding: 2rem 1.5rem; }
}
