/* style.css */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    background:#f5f5f5;
}

header{
    position:sticky;
    top:0;
    z-index:1000;
    background:white;
    transition:background 0.3s ease;
}


/* NAVBAR */
.navbar{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 5%; /* Padding ko 8% se 5% kiya taaki corner space optimize ho */
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.logo h2{
    color:#FF6B35;
    font-size:45px;
    font-weight:700;
}

.logo img{
    height:55px; /* Mobile rendering ke liye height thodi restrict ki hai */
    width:auto;
    display: block;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:30px;
}

.nav-links a{
    text-decoration:none;
    color:#222;
    font-weight:500;
    transition:0.3s;
}

.nav-links a:hover{
    color:#FF6B35; 
}

.join-btn{
    padding:14px 28px;
    border:none;
    background:#FF6B35; 
    color:white;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.join-btn:hover{
    background:#cc4a1a;
}

/* HERO SECTION */

.hero{
    width:100%;
    min-height:90vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:50px 8%;
    background:#0B1B3D; 
    color:white;
}

.hero-left{
    width:50%;
}

.hero-left h1{
    font-size:60px;
    line-height:80px;
}

.hero-left span{
    color:#FF6B35; 
}

.hero-left p{
    margin-top:20px;
    font-size:18px;
    line-height:32px;
}

.hero-buttons{
    margin-top:35px;
    display:flex;
    gap:20px;
}

.primary-btn{
    padding:15px 30px;
    border:none;
    background:#FF6B35;
    color:white;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
}

.secondary-btn{
    padding:15px 30px;
    border:2px solid white;
    background:transparent;
    color:white;
    border-radius:8px;
    cursor:pointer;
}

.hero-right{
    width:42%;
}

.hero-right img{
    width:100%;
    border-radius:20px;
}

/* FEATURES */

.features{
    width:100%;
    padding:80px 8%;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.feature-card{
    background:white;
    padding:40px 25px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition:0.3s;
}

.feature-card:hover{
    transform:translateY(-10px);
}

.feature-card i{
    font-size:45px;
    color:#FF6B35;
    margin-bottom:20px;
}

.feature-card h3{
    margin-bottom:15px;
}

/* COURSES */

.courses{
    width:100%;
    padding:80px 8%;
}

.section-title{
    text-align:center;
    font-size:45px;
    color:#0B1B3D; 
    margin-bottom:50px;
}

.course-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.course-card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition:0.3s;
}

.course-card:hover{
    transform:translateY(-10px);
}

.course-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.course-card h3{
    padding:20px;
}

.course-card p{
    padding:0 20px 20px;
}

.course-card button{
    margin:0 20px 20px;
    padding:12px 24px;
    border:none;
    background:#FF6B35;
    color:white;
    border-radius:8px;
    cursor:pointer;
}

/* PLACEMENT */

.placements{
    width:100%;
    padding:80px 8%;
    background:#0B1B3D; 
    color:white;
    text-align:center;
}

.placements h2{
    font-size:45px;
}

.placement-steps{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.step{
    background:white;
    color:#0B1B3D; 
    padding:40px;
    border-radius:15px;
}

/* COUNTER */

.counter-section{
    width:100%;
    padding:80px 8%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.counter-box{
    background:white;
    padding:50px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.counter-box h2{
    font-size:55px;
    color:#FF6B35;
}

/* FOOTER */

footer{
    background:#061026; 
    color:white;
    text-align:center;
    padding:25px;
}

/* CONTACT PAGE */

.contact-page{
    width:100%;
    min-height:100vh;
    padding:100px 8%;
}

.contact-page h1{
    text-align:center;
    font-size:50px;
    color:#0B1B3D; 
}

.contact-page p{
    text-align:center;
    margin-top:15px;
    margin-bottom:50px;
}

#contactForm{
    max-width:700px;
    margin:auto;
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.input-group{
    display:flex;
    flex-direction:column;
    margin-bottom:25px;
}

.input-group label{
    margin-bottom:10px;
    font-weight:600;
}

.input-group input,
.input-group textarea,
.input-group select{
    padding:15px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
}

.input-group textarea{
    height:150px;
}

.submit-btn{
    width:100%;
    padding:16px;
    border:none;
    background:#FF6B35;
    color:white;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
}

/* ABOUT PAGE */

.about-hero{
    width:100%;
    padding:120px 8%;
    text-align:center;
    background:#0B1B3D; 
    color:white;
}

.about-hero h1{
    font-size:55px;
}

.about-hero p{
    margin-top:20px;
    font-size:18px;
    line-height:30px;
}

.history{
    padding:80px 8%;
    text-align:center;
}

.history h2{
    font-size:40px;
    color:#0B1B3D; 
}

.history p{
    margin-top:20px;
    max-width:800px;
    margin-left:auto;
    margin-right:auto;
    line-height:32px;
}

.stats{
    width:100%;
    padding:80px 8%;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    background:#f5f5f5;
}

.stat-box{
    background:white;
    padding:40px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.stat-box h2{
    font-size:45px;
    color:#FF6B35;
}

.mission{
    padding:80px 8%;
    text-align:center;
}

.mission h2{
    font-size:40px;
    color:#0B1B3D; 
}

.mission p{
    margin-top:20px;
    max-width:800px;
    margin-left:auto;
    margin-right:auto;
    line-height:32px;
}

.page-hero{
    width:100%;
    padding:120px 8%;
    text-align:center;
    background:#0B1B3D; 
    color:white;
}

.page-hero h1{
    font-size:55px;
}

.page-hero p{
    margin-top:15px;
    font-size:18px;
}

.course-grid{
    width:100%;
    padding:80px 8%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.course-box{
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition:0.3s;
}

.course-box:hover{
    transform:translateY(-10px);
}

.course-box h2{
    color:#FF6B35;
}

.course-box p{
    margin-top:10px;
    line-height:25px;
}

.course-box span{
    display:block;
    margin-top:15px;
    font-weight:600;
    color:#444;
}

.placement-stats{
    width:100%;
    padding:80px 8%;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    background:#f5f5f5;
}

.p-box{
    background:white;
    padding:40px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.p-box h2{
    font-size:40px;
    color:#FF6B35;
}

.companies{
    width:100%;
    padding:80px 8%;
    text-align:center;
}

.company-grid{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.company{
    background:#0B1B3D; 
    color:white;
    padding:25px;
    border-radius:10px;
    font-weight:600;
    transition:0.3s;
}

.company:hover{
    background:#FF6B35; 
}
.admin-login{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f5f5f5; /* Yeh login page ka background hai */
}

.login-box{
    width:350px;
    background:white;
    padding:30px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.login-box input{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:8px;
}

.login-box button{
    width:100%;
    padding:12px;
    background:#FF6B35; /* <--- Yahan pehle black/grey ho sakta tha, ab yeh aapka naya VIBRANT ORANGE hai */
    color:white;
    border:none;
    border-radius:8px;
    cursor:pointer;
}
/* HAMBURGER */

.hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}

.hamburger span{
    width:28px;
    height:3px;
    background:#0B1B3D; 
    border-radius:3px;
    transition:0.3s;
}

.hamburger.active span:nth-child(1){
    transform:rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:rotate(-45deg) translate(6px, -6px);
}

/* RESPONSIVE 992px */

@media(max-width:992px){

    .hero{
        flex-direction:column;
        gap:50px;
    }

    .hero-left,
    .hero-right{
        width:100%;
    }

    .features,
    .course-container,
    .placement-steps,
    .counter-section,
    .stats,
    .placement-stats,
    .course-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/* RESPONSIVE 768px */

@media(max-width:768px){

    /* Yahan badlav kiya hai taaki mobile view mein items corners par chale jayein */
    .navbar{
        padding: 15px 4% !important; 
    }

    .hamburger{
        display:flex;
        margin-left: auto; /* Hamburger ko forcibly right-most area mein push karne ke liye */
    }

    .nav-links{
        display:none;
        flex-direction:column;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:white;
        padding:20px;
        box-shadow:0 5px 15px rgba(0,0,0,0.1);
        text-align:center;
        gap:15px;
        z-index:999;
    }

    .nav-links.active{
        display:flex;
    }

    .join-btn{
        display:none;
    }

    .hero-left h1{
        font-size:36px;
        line-height:50px;
    }

    .features,
    .course-container,
    .placement-steps,
    .counter-section,
    .stats,
    .placement-stats,
    .course-grid,
    .company-grid{
        grid-template-columns:1fr;
    }

    .page-hero h1,
    .about-hero h1{
        font-size:36px;
    }

    .contact-page h1{
        font-size:36px;
    }

    #contactForm{
        padding:20px;
    }

}


/* ==========================
   ABOUT COMPANY SECTION
========================== */

.about-company{
    padding:80px 10%;
    background:#f5f5f5;
    text-align:center;
}

.about-company h2{
    font-size:42px;
    color:#FF6B35;
    margin-bottom:25px;
    font-weight:700;
}

.about-company p{
    max-width:1100px;
    margin:auto;
    font-size:18px;
    line-height:1.9;
    color:#555;
}

/* ==========================
   SERVICES SECTION
========================== */

.services{
    padding:80px 10%;
    background:#ffffff;
}

.services h2{
    text-align:center;
    font-size:42px;
    color:#FF6B35;
    margin-bottom:50px;
    font-weight:700;
}

/* Service Cards */

.service-box{
    background:#fff;
    padding:30px;
    margin-bottom:25px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:all 0.3s ease;
    border-left:5px solid #FF6B35;
}

.service-box:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.service-box h3{
    font-size:26px;
    color:#FF6B35;
    margin-bottom:15px;
}

.service-box p{
    font-size:16px;
    color:#555;
    line-height:1.8;
}

/* ==========================
   MOBILE RESPONSIVE
========================== */

@media(max-width:768px){

    .about-company,
    .services{
        padding:60px 5%;
    }

    .about-company h2,
    .services h2{
        font-size:32px;
    }

    .service-box{
        padding:20px;
    }

    .service-box h3{
        font-size:22px;
    }

    .about-company p,
    .service-box p{
        font-size:15px;
    }
}