/* ==========================
   RESET
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #1f2937;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================
   VARIABLES
========================== */

:root {
    --primary: #1e8f5a;
    --primary-dark: #146c43;
    --dark-green: #08311e;
    --primary-light: #4dbb87;
    --secondary: #0f172a;
    --accent: #10b981;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 4px 15px rgba(0,0,0,.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
    --transition: .35s ease;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 30px;
}

/* ==========================
   GLOBAL
========================== */

.container {
    width: 90%;
    max-width: 1320px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

section {
    position: relative;
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-header p {
    max-width: 760px;
    margin: auto;
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* ==========================
   PRELOADER
========================== */

#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-wrapper {
    display: flex;
    gap: 10px;
}

.loader-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    animation: bounce 1s infinite;
}

.loader-circle:nth-child(2) {
    animation-delay: .2s;
}

.loader-circle:nth-child(3) {
    animation-delay: .4s;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ==========================
   HEADER
========================== */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 5000;
    transition: var(--transition);
    background-color: var(--white);
}


.navbar {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 100px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--secondary);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: "";
    width: 0;
    height: 2px;
    background: var(--primary);
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ==========================
   BUTTONS
========================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 34px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--primary-dark);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 34px;
    border-radius: 50px;
    border: 2px solid var(--white);
    color: var(--white);
    transition: var(--transition);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ==========================
   HERO
========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            rgba(0,0,0,.7),
            rgba(0,0,0,.30)
        ), url("../img/background-image.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--gray-200);
    margin-bottom: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-benefits {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.benefit-item i {
    color: var(--primary);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    animation: float 5s ease-in-out infinite;
}

.card-1 {
    top: 40px;
    left: -40px;
}

.card-2 {
    right: -30px;
    bottom: 40px;
}

.floating-card h3 {
    color: var(--primary);
    font-size: 2rem;
}

.floating-card p {
    font-size: .9rem;
    color: var(--gray-500);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}
/* ==========================
   STATS SECTION
========================== */

.stats-section {
    padding: 80px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, .05);
}

.stat-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.stat-card h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-card p {
    color: var(--gray-600);
    font-weight: 500;
}

/* ==========================
   ABOUT SECTION
========================== */

.about-section {
    background: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 25px;
    color: var(--gray-600);
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: white;
    padding: 25px;
    border-radius: 20px;
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.about-feature i {
    font-size: 1.8rem;
    color: var(--primary);
}

.about-feature h4 {
    margin-bottom: 8px;
    color: var(--secondary);
}

.about-feature p {
    margin: 0;
    color: var(--gray-500);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: 50%;
    top: -40px;
    left: -40px;
    opacity: .15;
}

.about-image::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 3px dashed var(--primary);
    border-radius: 50%;
    right: -60px;
    bottom: -60px;
    opacity: .2;
}

/* ==========================
   MISSION VISION
========================== */

.mission-vision-section {
    background: white;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mission-card {
    padding: 50px;
    border-radius: 30px;
    background: white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 6px;
    left: 0;
    top: 0;
    background: var(--primary);
}

.mission-card:hover {
    transform: translateY(-15px);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(30, 143, 90, .1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.card-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.mission-card h2 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.mission-card p {
    color: var(--gray-600);
}

/* ==========================
   VALUES SECTION
========================== */

.values-section {
    background: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.value-card p {
    color: var(--gray-500);
}

/* ==========================
   IMPACT SECTION
========================== */

.impact-section {
    background: white;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.impact-card {
    padding: 50px 35px;
    border-radius: 25px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
}

.impact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30,143,90,.08),
        transparent
    );
    opacity: 0;
    transition: .4s;
}

.impact-card:hover::before {
    opacity: 1;
}

.impact-card:hover {
    transform: translateY(-12px);
}

.impact-card i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.impact-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.impact-card p {
    color: var(--gray-500);
}

/* ==========================
   GLASSMORPHISM UTILITIES
========================== */

.glass-card {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 25px;
}

.glass-dark {
    background: rgba(15,23,42,.7);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,.08);
}

/* ==========================
   REVEAL ANIMATIONS
========================== */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all .8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all .8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================
   HOVER EFFECTS PREMIUM
========================== */

.hover-lift {
    transition: .4s ease;
}

.hover-lift:hover {
    transform: translateY(-12px);
}

.hover-scale {
    overflow: hidden;
}

.hover-scale img {
    transition: .6s ease;
}

.hover-scale:hover img {
    transform: scale(1.08);
}

.hover-glow:hover {
    box-shadow:
        0 0 25px rgba(30,143,90,.2),
        0 0 50px rgba(30,143,90,.15);
}

/* ==========================
   DECORATIVE SHAPES
========================== */

.shape-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

.shape-green {
    background: rgba(30,143,90,.18);
}

.shape-large {
    width: 400px;
    height: 400px;
}

.shape-medium {
    width: 250px;
    height: 250px;
}

.shape-small {
    width: 120px;
    height: 120px;
}

/* ==========================
   CUSTOM SCROLLBAR
========================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #edf2f7;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 30px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
/* ==========================
   SERVICES SECTION
========================== */

.services-section {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(30, 143, 90, .05);
    top: -300px;
    right: -200px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.service-card {
    background: white;
    padding: 45px 35px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.05);
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transition: .4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ==========================
   CTA SECTION
========================== */

.cta-section {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: auto;
}

.cta-content h2 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    opacity: .95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
    border-color: white;
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: white;
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* ==========================
   CONTACT SECTION
========================== */

.contact-section {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(30,143,90,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--gray-200);
    padding: 18px;
    border-radius: 15px;
    outline: none;
    transition: .3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30,143,90,.1);
}

.contact-form textarea {
    resize: none;
}

.contact-form button {
    cursor: pointer;
}

/* ==========================
   FOOTER
========================== */

.footer {
    background: var(--dark-green);
    color: white;
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-logo img {
    width: 180px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255,255,255,.7);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
}

.footer-links a,
.footer-social a {
    display: block;
    color: rgba(255,255,255,.7);
    margin-bottom: 12px;
    transition: .3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: white;
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    padding: 25px 0;
}

.footer-bottom p {
    color: rgba(255,255,255,.6);
}

/* ==========================
   FLOATING WHATSAPP
========================== */

.floating-whatsapp {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    z-index: 9999;
    box-shadow: 0 15px 40px rgba(37,211,102,.4);
    animation: pulseWhatsapp 2s infinite;
    transition: .3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.12);
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,.5);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37,211,102,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}

/* ==========================
   MOBILE MENU
========================== */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--secondary);
    margin: 5px 0;
    transition: .3s ease;
}

.mobile-menu {
    position: fixed;
    top: 90px;
    right: -100%;
    width: 320px;
    height: calc(100vh - 90px);
    background: white;
    z-index: 4000;
    transition: .4s ease;
    padding: 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,.08);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-menu a {
    color: var(--secondary);
    font-weight: 600;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1200px) {

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 992px) {

    .nav-menu,
    .nav-buttons {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero .container,
    .about-grid,
    .contact-grid,
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 150px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .stats-grid,
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    section {
        padding: 90px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .stats-grid,
    .impact-grid,
    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .floating-whatsapp {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }

}

@media (max-width: 576px) {

    .container {
        width: 92%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .contact-info h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .mobile-menu {
        width: 100%;
    }

}