<style>
*{
    box-sizing:border-box;
}
body{margin:0;font-family:'Poppins',sans-serif;background:#f4f7fb;color:#333;}
.container{
    width:92%;
    max-width:1300px;
    margin:auto;
}

/* HEADER */
.header{
    background:#0b3d91;
    color:#fff;
    padding:18px 0;   /* increased height */
    box-shadow:0 2px 10px rgba(0,0,0,0.2);
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.header-left{
    display:flex;
    align-items:center;
    gap:12px;
}

.header img{
    height:52px;   /* bigger logo */
}

.header-title{
    display:flex;
    flex-direction:column;
    line-height:1.3;
}

.header-title span:first-child{
    font-size:18px;
    font-weight:600;
}

.header-title span:last-child{
    font-size:13px;
    opacity:0.85;
}

.header-right{
    display:flex;
    gap:10px;
}

.btn{
    background:#ff6600;
    color:#fff;
    padding:10px 18px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    transition:0.3s;
}

.btn:hover{
    background:#e65c00;
}

/* MOBILE */
@media(max-width:768px){
    .header .container{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    .header-left{
        justify-content:center;
    }
}


.section-title{
    text-align:center;
    font-size:30px;
    margin-bottom:10px;
}

.section-subtitle{
    text-align:center;
    max-width:700px;
    margin:0 auto 50px;
}
/* HERO */
.hero{
    position:relative;
    background:url('https://jiu.ug/jiu/JEPH-Uganda.webp') center/cover no-repeat;
    padding:100px 0;
    color:#fff;
}

.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
}

.hero-flex{
    position:relative;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;
}

/* LEFT */
.hero-text{
    flex:1;
    min-width:280px;
}

.hero-text h1{
    font-size:42px;
    margin-bottom:10px;
}

.hero-desc{
    font-size:17px;
    margin-bottom:15px;
}

.hero-points{
    line-height:1.8;
    margin-bottom:15px;
}

/* BUTTONS */
.hero-buttons{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.call-btn{
    background:#28a745;
}

/* FORM */
.form-box{
    flex:1;
    max-width:380px;
    background:#fff;
    color:#333;
    padding:30px;
    border-radius:16px;
    box-shadow:0 20px 60px rgba(0,0,0,0.4);
}

/* MOBILE */
@media(max-width:768px){
    .hero-flex{
        flex-direction:column;
        text-align:center;
    }

    .hero-text h1{
        font-size:30px;
    }
}
.form-box{
    background:rgba(255,255,255,0.95);
    padding:30px 25px;
    border-radius:16px;
    width:100%;
    max-width:400px;
    box-shadow:0 20px 50px rgba(0,0,0,0.35);
    backdrop-filter:blur(6px);
}
/* FORM */
.form-box input,
.form-box select{
    width:100%;
    padding:14px 16px;   /* LEFT RIGHT FIXED */
    margin:12px 0;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
    background:#fff;
    display:block;
}

.form-box input:focus,
.form-box select:focus{
    border-color:#0b3d91;
    box-shadow:0 0 0 2px rgba(11,61,145,0.1);
    outline:none;
}
.form-box button{
    background:linear-gradient(135deg,#0b3d91,#092f6b);
    color:#fff;
    padding:14px;
    border:none;
    width:100%;
    border-radius:8px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.form-box button:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}
/* SECTIONS */
.section{padding:60px 0;text-align:center;}
.grid{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;}
.card{
background:#fff;
padding:20px;
border-radius:10px;
width:250px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}
.section,
.about-section,
.eligibility-section,
.programs-section{
    margin-bottom:0;
}
.programs-section{
    background:#ffffff;
    padding:80px 20px;
}
/* VIDEO */
.video iframe{
width:100%;
max-width:800px;
height:400px;
border-radius:10px;
}

/* FOOTER */
.footer{
    background:#111;
    color:#fff;
    text-align:center;
    padding:40px 20px;
    margin-top:0;
}

/* WHATSAPP FLOAT */
.whatsapp{
position:fixed;
bottom:20px;
right:20px;
background:#25D366;
color:#fff;
padding:15px;
border-radius:50%;
font-size:22px;
}

/* MOBILE */
@media(max-width:768px){
.hero-flex{flex-direction:column;text-align:center;}
.form-box{width:100%;}
.hero-text h1{font-size:28px;}
}


.about-section{
    padding:80px 20px;
    background:#f9fbff;
}

.about-flex{
    display:flex;
    gap:60px;
    align-items:center;
    flex-wrap:wrap;
}

/* LEFT */
.about-left{
    flex:1;
    min-width:320px;
}

.tag{
    background:#e6f0ff;
    color:#0b3d91;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    display:inline-block;
    margin-bottom:10px;
}

.about-left h2{
    font-size:32px;
    color:#0b3d91;
    margin-bottom:15px;
}

.lead{
    font-size:17px;
    color:#333;
    margin-bottom:15px;
}

.about-left p{
    color:#555;
    line-height:1.7;
}

/* FEATURES GRID */
.features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin:20px 0;
    font-size:14px;
}

/* BUTTON */
.about-btn{
    display:inline-block;
    margin-top:10px;
    background:#ff6600;
}

/* RIGHT */
.about-right{
    flex:1;
    min-width:320px;
}

/* VIDEO BOX */
.video-box{
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,0.2);
}

.video-box iframe{
    width:100%;
    height:320px;
    border:none;
}

/* CAPTION */
.video-caption{
    margin-top:12px;
    font-size:14px;
    color:#555;
}

/* MOBILE */
@media(max-width:768px){
    .about-flex{
        flex-direction:column;
    }

    .features{
        grid-template-columns:1fr;
    }
}


/* GRID */
.programs-grid{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    justify-content:center;
}

/* CARD DESIGN */
.programs-grid .card{
    background:#fff;
    padding:18px 22px;
    border-radius:12px;
    min-width:220px;
    text-align:center;
    font-weight:500;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transition:0.3s ease;
    cursor:pointer;
}

/* HOVER EFFECT */
.programs-grid .card:hover{
    transform:translateY(-6px);
    background:#0b3d91;
    color:#fff;
}

/* CTA SECTION */
.form-box{
    background:rgba(255,255,255,0.96);
    padding:32px;
    border-radius:18px;
    width:100%;
    max-width:420px;
    box-shadow:0 20px 50px rgba(0,0,0,0.35);
    backdrop-filter:blur(6px);
    margin:auto;
}

.form-box form{
    width:100%;
}

.form-box input,
.form-box select,
.form-box button{
    width:100%;
    display:block;
    margin:0 0 16px;
    box-sizing:border-box;
}

.form-box input,
.form-box select{
    padding:14px 16px;
    border:1px solid #d8d8d8;
    border-radius:10px;
    font-size:15px;
    background:#fff;
}

.form-box button{
    margin-bottom:0;
    padding:14px 16px;
    border:none;
    border-radius:10px;
    background:#0b3d91;
    color:#fff;
    font-weight:600;
}

/* MOBILE */
@media(max-width:768px){
    .programs-grid .card{
        min-width:100%;
    }
}


/* MOBILE FIX */
@media(max-width:768px){
    .about-flex{
        flex-direction:column;
        gap:30px;
    }

    .about-left, .about-right{
        padding:0;
        text-align:center;
    }

    .about-left ul{
        text-align:left;
    }
}

.form-box{
    width:100%;
    max-width:380px;
}

.form-title{
    text-align:center;
    font-size:22px;
    font-weight:700;
    color:#0b3d91;
    margin-bottom:5px;
}

.form-subtitle{
    text-align:center;
    font-size:13px;
    color:#666;
    margin-bottom:15px;
}


.form-box button{
    background:#0b3d91;
    color:#fff;
    padding:13px;
    border:none;
    width:100%;
    border-radius:6px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.form-box button:hover{
    background:#092f6b;
}


.form-box form{
    width:100%;
}

.form-box{
    padding:30px;
}
.eligibility-section{
    padding:80px 20px;
    background:#f5f7fb;
}

/* TITLE */
.section-title{
    text-align:center;
    font-size:32px;
    color:#0b3d91;
    margin-bottom:10px;
}

/* SUBTITLE */
.section-subtitle{
    text-align:center;
    max-width:800px;
    margin:0 auto 40px;
    color:#555;
    font-size:15px;
}



.full-width{
    width:100%;
    margin:0;
}

.cta-inner{
    max-width:900px;
    margin:auto;
    text-align:center;
}
/* GRID FIX (MAIN ISSUE FIXED HERE) */
.eligibility-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}
.elig-card{
    background:#fff;
    padding:25px;
    border-radius:14px;
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
    transition:0.3s;
    border-top:4px solid #0b3d91;
}

.elig-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

.elig-card h3{
    font-size:15px;
    font-weight:600;
    line-height:1.5;
}

.elig-card ul{
    font-size:13.5px;
    line-height:1.7;
}

/* CARD */
.elig-card{
    background:#fff;
    padding:25px;
    border-radius:14px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.elig-card:hover{
    transform:translateY(-5px);
}
.elig-card{
    border-top:4px solid #0b3d91;
}
/* TITLE */
.elig-card h3{
    font-size:16px;
    color:#0b3d91;
    margin-bottom:12px;
}

/* LIST */
.elig-card ul{
    padding-left:18px;
    font-size:14px;
    color:#444;
    line-height:1.6;
}

/* CTA */
.elig-cta{
    text-align:center;
    margin-top:50px;
}

.elig-cta p{
    margin-bottom:10px;
    color:#666;
}

.eligibility-section{
    padding:80px 0;
    background:linear-gradient(180deg,#eef3fb,#ffffff);
}

/* MOBILE FIX */
@media(max-width:768px){
    .section-title{
        font-size:26px;
    }

    .elig-card{
        padding:20px;
    }
}


.cta-section{
    width:100%;
    background:linear-gradient(135deg,#0b3d91,#092f6b);
    color:#fff;
    text-align:center;
    padding:80px 20px;
}

.cta-inner{
    max-width:900px;
    margin:0 auto;
}

.cta-section h2{
    font-size:32px;
    margin-bottom:10px;
    font-weight:700;
}

.cta-section p{
    font-size:17px;
    margin-bottom:25px;
    color:#e6ecff;
}

.cta-btn{
    display:inline-block;
    background:#ff6600;
    padding:15px 32px;
    font-size:16px;
    border-radius:8px;
    text-decoration:none;
    color:#fff;
    font-weight:600;
    box-shadow:0 8px 20px rgba(0,0,0,0.2);
    transition:0.3s;
}

.cta-btn:hover{
    background:#e65c00;
    transform:translateY(-2px);
}

</style>