/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#f8f9fa;
    color:#333;
    overflow-x:hidden;
    line-height:1.7;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

section{
    padding:90px 8%;
}

/* =========================
   HEADER
========================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#111827;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;
    box-shadow:0 4px 20px rgba(0,0,0,0.15);
}

.logo{
    color:#ffffff;
    font-size:24px;
    font-weight:700;
    letter-spacing:1px;
}

.logo span{
    color:#dc2626;
}

#navbar{
    display:flex;
    gap:30px;
}

#navbar a{
    color:#ffffff;
    font-weight:600;
    transition:.3s;
    position:relative;
}

#navbar a::after{
    content:'';
    position:absolute;
    width:0;
    height:2px;
    background:#dc2626;
    left:0;
    bottom:-5px;
    transition:.3s;
}

#navbar a:hover::after{
    width:100%;
}

#navbar a:hover{
    color:#dc2626;
}

.menu-toggle{
    display:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

/* =========================
   HERO SECTION
========================= */

.hero{
    min-height:100vh;
    width:100%;
    background:url('../images/hero.jpg') no-repeat;
    background-size:cover;
    background-position:center 15%;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
}

.hero::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.25);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    padding:0 20px;
}

.hero-content h1{
    color:#ffffff;
    font-size:58px;
    line-height:1.2;
    margin-bottom:20px;
}

.hero-content p{
    color:#f3f4f6;
    font-size:20px;
    margin-bottom:30px;
}

.hero-btn{
    display:inline-block;
    background:#dc2626;
    color:#ffffff;
    padding:14px 35px;
    border-radius:50px;
    font-weight:600;
    transition:.4s;
}

.hero-btn:hover{
    background:#f59e0b;
    transform:translateY(-5px);
}

/* =========================
   ANIMATION
========================= */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}
/* =========================
   ABOUT SECTION
========================= */

.about{
    background:#ffffff;
}

.about-container{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-image img{
    height:450px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
    transition:.5s;
}

.about-image img:hover{
    transform:scale(1.03);
}

.about-content h2{
    font-size:40px;
    color:#111827;
    margin-bottom:20px;
    position:relative;
}

.about-content h2::after{
    content:'';
    width:80px;
    height:4px;
    background:#dc2626;
    position:absolute;
    left:0;
    bottom:-8px;
}

.about-content p{
    margin-bottom:18px;
    color:#555;
    text-align:justify;
}

/* =========================
   TRAINING PROGRAMS
========================= */

.programs{
    background:#f3f4f6;
    text-align:center;
}

.programs h2{
    font-size:40px;
    color:#111827;
    margin-bottom:50px;
    position:relative;
    display:inline-block;
}

.programs h2::after{
    content:'';
    width:80px;
    height:4px;
    background:#dc2626;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-10px;
}

.program-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.program-card{
    background:#ffffff;
    padding:35px 25px;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transition:.4s;
    border-top:5px solid #dc2626;
}

.program-card:hover{
    transform:translateY(-10px);
    background:#111827;
}

.program-card i{
    font-size:45px;
    color:#dc2626;
    margin-bottom:15px;
    transition:.3s;
}

.program-card h3{
    color:#111827;
    margin-bottom:12px;
    transition:.3s;
}

.program-card p{
    color:#666;
    transition:.3s;
}

.program-card:hover h3,
.program-card:hover p{
    color:#ffffff;
}

.program-card:hover i{
    color:#f59e0b;
}
/* =========================
   WHY CHOOSE US
========================= */

.why{
    background:#ffffff;
    text-align:center;
}

.why h2{
    font-size:40px;
    color:#111827;
    margin-bottom:50px;
    position:relative;
    display:inline-block;
}

.why h2::after{
    content:'';
    width:80px;
    height:4px;
    background:#dc2626;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-10px;
}

.why-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.why-card{
    background:#f8f9fa;
    padding:30px 20px;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transition:.4s;
}

.why-card:hover{
    background:#111827;
    transform:translateY(-10px);
}

.why-card i{
    font-size:42px;
    color:#dc2626;
    margin-bottom:15px;
}

.why-card h3{
    color:#111827;
    margin-bottom:10px;
    transition:.3s;
}

.why-card p{
    color:#666;
    transition:.3s;
}

.why-card:hover h3,
.why-card:hover p{
    color:#ffffff;
}

/* =========================
   CONTACT SECTION
========================= */

.contact{
    background:#f3f4f6;
}

.contact h2{
    text-align:center;
    font-size:40px;
    color:#111827;
    margin-bottom:50px;
}

.contact-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.contact-card{
    background:#ffffff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.contact-item{
    display:flex;
    gap:18px;
    margin-bottom:30px;
}

.contact-item i{
    font-size:24px;
    color:#dc2626;
    margin-top:5px;
}

.contact-item h3{
    color:#111827;
    margin-bottom:5px;
}

.contact-item a{
    color:#111827;
    font-weight:600;
}

.contact-item a:hover{
    color:#dc2626;
}

.contact-map iframe{
    width:100%;
    height:100%;
    min-height:420px;
    border:none;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* =========================
   FOOTER
========================= */

footer{
    background:#111827;
    color:#ffffff;
    padding:70px 8% 20px;
}

.footer-content{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap:40px;
    padding-bottom:30px;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

.footer-box h3{
    color:#dc2626;
    margin-bottom:15px;
}

.footer-box p{
    color:#d1d5db;
    line-height:1.8;
}

.footer-box a{
    display:block;
    color:#d1d5db;
    margin-bottom:10px;
    transition:.3s;
}

.footer-box a:hover{
    color:#f59e0b;
    padding-left:5px;
}

.footer-bottom{
    max-width:1200px;
    margin:auto;
    padding-top:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-align:center;
    font-size:14px;
}

.footer-bottom a{
    color:#f59e0b;
    font-weight:600;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:992px){

    .program-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    #navbar{
        display:none;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#111827;
        flex-direction:column;
        text-align:center;
        padding:20px 0;
    }

    #navbar.active{
        display:flex;
    }

    #navbar a{
        padding:12px 0;
    }

    .about-container,
    .contact-grid,
    .footer-content{
        grid-template-columns:1fr;
    }

    .program-grid,
    .why-grid{
        grid-template-columns:1fr;
    }

    .hero{
        min-height:100vh;
        background-position:center top;
    }


    .hero-content h1{
        font-size:36px;
    }

    .hero-content p{
        font-size:16px;
    }

    .about-image img{
        height:300px;
    }

    .footer-bottom{
        flex-direction:column;
        gap:10px;
    }
}
