/* =========================
   RESET
========================= */

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

/* =========================
   GLOBAL STYLING
========================= */

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    color: #222;
    overflow-x: hidden;
}

section{
    padding: 100px 10%;
}

h1,h2,h3{
    font-weight: 600;
}

p{
    line-height: 1.7;
}

/* =========================
   REUSABLE BUTTONS
========================= */

.btn{
    display: inline-block;

    padding: 16px 38px;

    background: #ff6b35;

    color: white;

    text-decoration: none;

    border-radius: 50px;

    font-weight: 600;

    transition: 0.3s ease;

    box-shadow: 0 10px 30px rgba(255,107,53,0.35);
}

.btn:hover{
    transform: translateY(-4px);
    background: #e85a2a;
}

/* SECOND BUTTON */

.secondary-btn{
    background: transparent;
    border: 2px solid white;
    box-shadow: none;
}

.secondary-btn:hover{
    background: white;
    color: #222;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    width: 100%;

    padding: 12px 8%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;

    background: rgba(255,255,255,0.92);

    backdrop-filter: blur(10px);

    z-index: 1000;

    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.logo{
    display: flex;
    align-items: center;
}

.logo img{
    width: 130px;
    height: auto;

    object-fit: contain;

    mix-blend-mode: multiply;
}

.nav-links{
    display: flex;
    gap: 40px;

    list-style: none;
}

.nav-links a{
    text-decoration: none;

    color: #222;

    font-weight: 500;

    font-size: 1rem;

    transition: 0.3s ease;
}

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

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

#hero{
    height: 100vh;

    background:
    linear-gradient(
        rgba(0,0,0,0.72),
        rgba(0,0,0,0.72)
    ),

    url('./images/hero_inamigo.jpg')
    center/cover no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    color: white;

    padding: 0 10%;
}

.hero-content{
    max-width: 1000px;
}

.hero-content h1{
    font-size: 4rem;

    line-height: 1.1;

    margin-bottom: 30px;

    font-weight: 700;

    letter-spacing: -2px;

    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content p{
    font-size: 1.2rem;

    max-width: 950px;

    margin: 0 auto 45px;

    color: rgba(255,255,255,0.92);

    line-height: 1.8;
}

.hero-buttons{
    display: flex;
    justify-content: center;
    gap: 20px;

    flex-wrap: wrap;
}

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

@media(max-width: 768px){

    .impact-header h2,
.cta-content h2{
    font-size: 2.3rem;
}

    .footer-container{
    text-align: center;
}
    .navbar{
        flex-direction: column;
        gap: 15px;
    }

    .nav-links{
        gap: 18px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .logo img{
        width: 110px;
    }

    .hero-content h1{
        font-size: 3rem;
    }

    .hero-content p{
        font-size: 1rem;
    }

    .hero-buttons{
        flex-direction: column;
        align-items: center;
    }

    section{
        padding: 80px 6%;
    }

    .about-content h2{
    font-size: 2.2rem;
}

.stats-grid{
    grid-template-columns: 1fr;
}
.projects-header h2{
    font-size: 2.2rem;
}

}


/* =========================
   ABOUT SECTION
========================= */

#about{
    background: white;
}

.about-container{
    display: flex;
    align-items: center;
    gap: 70px;

    flex-wrap: wrap;
}

.about-image{
    flex: 1;
    min-width: 320px;
}

.about-image img{
    width: 100%;

    border-radius: 25px;

    object-fit: cover;

    box-shadow: 0 20px 50px rgba(0,0,0,0.12);

    transition: 0.4s ease;
}

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

.about-content{
    flex: 1;
    min-width: 320px;
}

.section-tag{
    display: inline-block;

    padding: 8px 18px;

    background: rgba(255,107,53,0.12);

    color: #ff6b35;

    border-radius: 50px;

    font-size: 0.9rem;

    font-weight: 600;

    margin-bottom: 20px;
}

.about-content h2{
    font-size: 3rem;

    margin-bottom: 25px;

    line-height: 1.2;

    color: #111;
}

.about-content p{
    margin-bottom: 20px;

    color: #555;

    font-size: 1.05rem;
}

/* =========================
   STATS GRID
========================= */

.stats-grid{
    margin-top: 35px;

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 20px;
}

.stat-card{
    background: #f8f9fc;

    padding: 25px;

    border-radius: 20px;

    text-align: center;

    transition: 0.3s ease;

    border: 1px solid rgba(0,0,0,0.04);
}

.stat-card:hover{
    transform: translateY(-6px);

    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.stat-card h3{
    font-size: 2rem;

    color: #ff6b35;

    margin-bottom: 10px;
}

.stat-card p{
    margin: 0;

    color: #666;

    font-size: 0.95rem;
}


/* =========================
   PROJECTS SECTION
========================= */

#projects{
    background: #f5f7fa;
}

.projects-header{
    text-align: center;

    max-width: 850px;

    margin: 0 auto 70px;
}

.projects-header h2{
    font-size: 3rem;

    margin: 20px 0;
}

.projects-header p{
    color: #666;

    font-size: 1.05rem;
}

/* =========================
   PROJECT GRID
========================= */

.projects-grid{
    display: grid;

    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));

    gap: 35px;
}

.project-card{
    background: white;

    border-radius: 25px;

    overflow: hidden;

    transition: 0.4s ease;

    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.project-card:hover{
    transform: translateY(-10px);

    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.project-card img{
    width: 100%;

    height: 300px;

    object-fit: cover;

    transition: 0.4s ease;
}

.project-card:hover img{
    transform: scale(1.05);
}

.project-content{
    padding: 28px;
}

.project-content h3{
    font-size: 1.5rem;

    margin-bottom: 15px;

    color: #111;
}

.project-content p{
    color: #666;

    font-size: 1rem;
}

/* =========================
   IMPACT SECTION
========================= */

#impact{
    background: white;
}

.impact-header{
    text-align: center;

    max-width: 850px;

    margin: 0 auto 70px;
}

.impact-header h2{
    font-size: 3rem;

    margin: 20px 0;
}

.impact-header p{
    color: #666;
}

/* IMPACT GRID */

.impact-grid{
    display: grid;

    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));

    gap: 30px;
}

.impact-card{
    background: linear-gradient(
        135deg,
        #ff6b35,
        #ff8c42
    );

    color: white;

    padding: 40px 30px;

    border-radius: 25px;

    text-align: center;

    transition: 0.3s ease;

    box-shadow: 0 15px 40px rgba(255,107,53,0.2);
}

.impact-card:hover{
    transform: translateY(-10px);
}

.impact-card h3{
    font-size: 3rem;

    margin-bottom: 15px;
}

.impact-card p{
    color: rgba(255,255,255,0.92);
}

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

#cta{
    background:
    linear-gradient(
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.75)
    ),

    url('./images/cta.jpg')
    center/cover no-repeat;

    text-align: center;

    color: white;
}

.cta-content{
    max-width: 850px;

    margin: auto;
}

.cta-content h2{
    font-size: 3.5rem;

    margin-bottom: 25px;
}

.cta-content p{
    font-size: 1.1rem;

    margin-bottom: 40px;

    color: rgba(255,255,255,0.9);
}

.cta-buttons{
    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

/* DARK BUTTON */

.dark-btn{
    border: 2px solid white;
}

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

footer{
    background: #111;

    color: white;

    padding: 80px 10% 30px;
}

.footer-container{
    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap: 50px;

    margin-bottom: 50px;
}

.footer-logo{
    width: 140px;

    margin-bottom: 20px;

    background: white;

    padding: 10px;

    border-radius: 12px;
}

.footer-box p{
    color: rgba(255,255,255,0.75);

    line-height: 1.8;
}

.footer-box h3{
    margin-bottom: 20px;

    font-size: 1.3rem;
}

.footer-box a{
    display: block;

    color: rgba(255,255,255,0.75);

    text-decoration: none;

    margin-bottom: 12px;

    transition: 0.3s ease;
}

.footer-box a:hover{
    color: #ff6b35;
}

/* SOCIAL ICONS */

.social-icons{
    display: flex;

    justify-content: center;

    gap: 25px;

    flex-wrap: wrap;

    margin-bottom: 30px;
}

.social-icons a{
    color: white;

    text-decoration: none;

    transition: 0.3s ease;
}

.social-icons a:hover{
    color: #ff6b35;
}

/* COPYRIGHT */

.copyright{
    text-align: center;

    border-top: 1px solid rgba(255,255,255,0.1);

    padding-top: 20px;
}

.copyright p{
    color: rgba(255,255,255,0.6);

    font-size: 0.95rem;
}