/* =========================================
   INICIA ENERGIA
   CAPACITY BUILDING PAGE
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

.capacity-page{
    width:100%;
    overflow:hidden;
    background:#f7f9fc;
    color:#1f2937;
    font-family:'Segoe UI', sans-serif;
}

/* =========================================
   GLOBAL
========================================= */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:110px 0;
}

.alt-bg{
    background:#ffffff;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:42px;
    color:#12305b;
    margin-bottom:15px;
    position:relative;
    display:inline-block;
    line-height:1.2;
}

.section-title h2::after{
    content:'';
    width:70px;
    height:4px;
    background:#0ea5e9;
    display:block;
    margin:18px auto 0;
    border-radius:10px;
}

.section-intro{
    max-width:950px;
    margin:0 auto 60px;
    text-align:center;
    font-size:18px;
    line-height:1.9;
    color:#6b7280;
}

/* =========================================
   BUTTONS
========================================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    background:linear-gradient(
        135deg,
        #0ea5e9,
        #0284c7
    );

    color:#fff;
    padding:18px 38px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    letter-spacing:0.02em;

    transition:all 0.3s ease;

    box-shadow:0 10px 25px rgba(14,165,233,0.25);
}

.btn:hover{
    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(14,165,233,0.35);
}

/* =========================================
   HERO SECTION
========================================= */

.capacity-hero{
    position:relative;
    min-height:85vh;
    overflow:hidden;

    background:
        linear-gradient(rgba(7,25,48,0.82), rgba(7,25,48,0.82)),
        url('../images/capacity-building.jpg') center/cover no-repeat;

    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;

    padding:100px 20px;
}

.capacity-hero::before{
    content:'';
    position:absolute;
    inset:0;

    background:
        radial-gradient(circle at top right,
        rgba(14,165,233,0.15),
        transparent 40%);
}

.hero-overlay{
    position:absolute;
    inset:0;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:980px;
}

.hero-content h1{
    font-size:64px;
    color:#fff;
    margin-bottom:25px;
    line-height:1.1;
}

.hero-content p{
    font-size:20px;
    line-height:1.9;
    color:#dbe7f5;
    margin-bottom:40px;
}

/* =========================================
   INTRO SECTION
========================================= */

.intro-section p{
    max-width:950px;
    margin:20px auto;
    font-size:18px;
    line-height:1.9;
    color:#4b5563;
    text-align:center;
}

/* =========================================
   SERVICES SECTION
========================================= */

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    padding:35px;
    border-radius:24px;

    box-shadow:0 12px 35px rgba(0,0,0,0.06);

    transition:0.3s ease;

    position:relative;
    overflow:hidden;
}

.service-card::before{
    content:'';

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:6px;

    background:linear-gradient(
        90deg,
        #12305b,
        #0ea5e9
    );
}

.service-card:hover{
    transform:translateY(-8px);

    box-shadow:0 18px 45px rgba(0,0,0,0.1);
}

.service-card h3{
    color:#12305b;
    margin-bottom:18px;
    font-size:24px;
    line-height:1.4;
}

.service-card p{
    color:#6b7280;
    line-height:1.8;
    font-size:16px;
}

/* =========================================
   METHODOLOGY SECTION
========================================= */

.methodology-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:30px;
}

.method-card{
    background:#fff;
    padding:40px 30px;
    border-radius:24px;

    box-shadow:0 10px 30px rgba(0,0,0,0.05);

    position:relative;
    overflow:hidden;

    border:1px solid rgba(18,50,95,0.05);

    transition:0.3s ease;
}

.method-card::before{
    content:'';

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:5px;

    background:linear-gradient(
        90deg,
        #12305b,
        #0ea5e9
    );
}

.method-card:hover{
    transform:translateY(-8px);
}

.method-card span{
    width:60px;
    height:60px;

    background:#0ea5e9;
    color:#fff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
    font-weight:bold;

    margin-bottom:25px;
}

.method-card h3{
    font-size:24px;
    color:#12305b;
    margin-bottom:18px;
    line-height:1.4;
}

.method-card p{
    color:#6b7280;
    line-height:1.8;
}

/* =========================================
   EXPECTATIONS
========================================= */

.expect-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:30px;
}

.expect-card{
    background:#fff;
    padding:35px;
    border-radius:24px;

    box-shadow:0 8px 25px rgba(0,0,0,0.05);

    transition:0.3s ease;
}

.expect-card:hover{
    transform:translateY(-6px);

    box-shadow:0 14px 35px rgba(0,0,0,0.08);
}

.expect-card h3{
    color:#12305b;
    margin-bottom:15px;
    font-size:22px;
    line-height:1.4;
}

.expect-card p{
    color:#6b7280;
    line-height:1.8;
}

/* =========================================
   DELIVERY SECTION
========================================= */

.delivery-section{
    background:#f7f9fc;
}

/* =========================================
   DELIVERY GRID
========================================= */

.delivery-approach-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(520px, 1fr));
    gap:40px;
    align-items:start;
}

/* =========================================
   PROGRAM CARDS
========================================= */

.delivery-approach-card{
    background:#ffffff;
    border-radius:28px;
    padding:45px;

    position:relative;
    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,0.06);

    transition:0.3s ease;
}

.delivery-approach-card::before{
    content:'';

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:6px;

    background:linear-gradient(
        90deg,
        #12305b,
        #0ea5e9
    );
}

.delivery-approach-card:hover{
    transform:translateY(-6px);

    box-shadow:0 18px 45px rgba(0,0,0,0.08);
}

/* =========================================
   BADGES
========================================= */

.delivery-badge{
    display:inline-block;

    background:#e0f2fe;
    color:#0c4a6e;

    padding:10px 18px;
    border-radius:50px;

    font-size:13px;
    font-weight:700;

    text-transform:uppercase;
    letter-spacing:0.08em;

    margin-bottom:25px;
}

.odtp-badge{
    background:#dcfce7;
    color:#166534;
}

/* =========================================
   TITLES
========================================= */

.delivery-approach-card h3{
    font-size:34px;
    color:#12305b;
    margin-bottom:22px;
    line-height:1.2;
}

.delivery-approach-card p{
    color:#6b7280;
    line-height:1.9;
    font-size:17px;
    margin-bottom:35px;
}

/* =========================================
   DELIVERY LIST
========================================= */

.delivery-list{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:18px;
}

/* =========================================
   DELIVERY ITEMS
========================================= */

.delivery-item{
    background:#ffffff;

    border-radius:20px;

    padding:24px 24px 24px 68px;

    position:relative;

    min-height:95px;

    display:flex;
    align-items:center;

    font-size:17px;
    font-weight:600;
    line-height:1.5;

    color:#12305b;

    border-left:5px solid #0ea5e9;

    box-shadow:0 8px 22px rgba(0,0,0,0.05);

    transition:all 0.3s ease;
}

.delivery-item::before{
    content:'✓';

    position:absolute;

    left:22px;
    top:50%;

    transform:translateY(-50%);

    width:32px;
    height:32px;

    border-radius:50%;

    background:#e0f2fe;
    color:#0284c7;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:15px;
    font-weight:700;
}

.delivery-item:hover{
    transform:translateY(-5px);

    background:#ffffff;

    border-left-color:#12305b;

    box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

/* =========================================
   ODTP LINK
========================================= */

.odtp-link{
    margin-top:35px;
}

.odtp-link a{
    display:inline-flex;
    align-items:center;
    gap:10px;

    color:#0ea5e9;

    font-weight:700;

    text-decoration:none;

    transition:0.3s ease;
}

.odtp-link a:hover{
    color:#12305b;

    transform:translateX(4px);
}

/* =========================================
   OUTPUTS SECTION
========================================= */

.outputs-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
    gap:20px;
}

.output-card{
    background:#fff;

    padding:28px;

    border-radius:18px;

    font-weight:600;

    color:#12305b;

    box-shadow:0 8px 25px rgba(0,0,0,0.05);

    transition:0.3s ease;

    border-left:5px solid #0ea5e9;

    line-height:1.7;
}

.output-card:hover{
    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

/* =========================================
   WHY SECTION
========================================= */

.why-content{
    max-width:950px;
    margin:auto;
    text-align:center;
}

.why-content p{
    font-size:18px;
    line-height:1.9;
    color:#4b5563;
    margin-bottom:25px;
}

/* =========================================
   CTA SECTION
========================================= */

.cta-section{
    position:relative;
    overflow:hidden;

    background:
        linear-gradient(rgba(7,25,48,0.9), rgba(7,25,48,0.9)),
        url('../images/renewable-energy.jpg') center/cover no-repeat;

    text-align:center;

    padding:120px 20px;
}

.cta-section::before{
    content:'';

    position:absolute;
    inset:0;

    background:
        radial-gradient(circle at bottom left,
        rgba(14,165,233,0.18),
        transparent 45%);
}

.cta-content{
    position:relative;
    z-index:2;

    max-width:850px;
    margin:auto;
}

.cta-content h2{
    color:#fff;
    font-size:48px;
    margin-bottom:25px;
    line-height:1.2;
}

.cta-content p{
    color:#dbe7f5;
    font-size:19px;
    line-height:1.9;
    margin-bottom:40px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1100px){

    .delivery-approach-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    section{
        padding:80px 0;
    }

    .hero-content h1{
        font-size:42px;
    }

    .hero-content p{
        font-size:18px;
    }

    .section-title h2{
        font-size:32px;
    }

    .section-intro{
        font-size:16px;
    }

    .service-card,
    .method-card,
    .expect-card,
    .delivery-approach-card{
        padding:30px;
    }

    .delivery-approach-card h3{
        font-size:28px;
    }

    .delivery-list{
        grid-template-columns:1fr;
    }

    .delivery-item{
        min-height:auto;
        font-size:16px;
        padding:22px 20px 22px 65px;
    }

    .cta-content h2{
        font-size:38px;
    }

}

@media(max-width:480px){

    .hero-content h1{
        font-size:34px;
    }

    .hero-content p{
        font-size:17px;
    }

    .btn{
        width:auto;
        min-width:220px;
        text-align:center;
    }

    .section-title h2{
        font-size:28px;
    }

    .delivery-item{
        font-size:15px;
        padding:20px 18px 20px 60px;
    }

    .delivery-item::before{
        left:16px;
        width:28px;
        height:28px;
    }

    .delivery-approach-card h3{
        font-size:24px;
    }

    .cta-content h2{
        font-size:32px;
    }

}
/* =========================================
   FINAL DELIVERY ITEM STYLE
========================================= */

.delivery-list{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
    margin-top:35px;
}

.delivery-item{
    position:relative;

    background:#ffffff;

    border-left:5px solid #0ea5e9;

    border-radius:18px;

    padding:24px 24px 24px 70px;

    min-height:95px;

    display:flex;
    align-items:center;

    color:#12305b;

    font-size:17px;
    font-weight:600;
    line-height:1.5;

    box-shadow:0 8px 25px rgba(0,0,0,0.05);

    transition:all 0.3s ease;
}

.delivery-item::before{
    content:'✓';

    position:absolute;

    left:22px;
    top:50%;

    transform:translateY(-50%);

    width:32px;
    height:32px;

    border-radius:50%;

    background:#e0f2fe;

    color:#0284c7;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:15px;
    font-weight:700;
}

.delivery-item:hover{
    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(0,0,0,0.08);

    border-left-color:#12305b;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

    .delivery-list{
        grid-template-columns:1fr;
    }

}