@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0f172a;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --secondary-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
}

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

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#ffffff;
    color:var(--text-dark);
    overflow-x:hidden;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--primary-color);
    color: var(--text-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero{
    margin-top:85px; /* Navbar fixed hai isliye ye zaroori hai */
    text-align:center;
    padding:80px 20px;
    background:#f8fafc;
}

.hero h1{
    font-size:3rem;
    color:#0284c7;
    margin-bottom:15px;
}

.hero p{
    max-width:700px;
    margin:auto;
    color:#64748b;
    line-height:1.8;
    margin-bottom:25px;
}

.home-btn{
    display:inline-block;
    padding:12px 25px;
    background:#0284c7;
    color:white;
    text-decoration:none;
    border-radius:30px;
    transition:.3s;
}

.home-btn:hover{
    transform:translateY(-3px);
    box-shadow: 0 5px 15px rgba(2, 132, 199, 0.3);
}

/* =====================
   BATCH SECTION
===================== */

.batch-section{
    max-width:1400px;
    margin:auto;
    padding:60px 20px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.batch-card{
    background:#ffffff;
    border-radius:20px;
    overflow:hidden;
    border:1px solid #e2e8f0;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:.3s;
}

.batch-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

.card-header{
    background:linear-gradient(135deg,#0284c7,#38bdf8);
    color:white;
    text-align:center;
    padding:25px;
}

.card-header h2{
    font-size:2rem;
    margin-bottom:5px;
}

.card-header span{
    opacity:.95;
    letter-spacing: 1px;
}

.card-body{
    padding:30px;
}

.card-body h3{
    color:#0284c7;
    margin-bottom:20px;
    text-align: center;
}

/* SYLLABUS LIST STYLING */
.card-body ul{
    list-style:none;
    margin-bottom: 25px;
}

/* PC par List ko 2 columns me divide karne ka code */
@media(min-width: 1024px){
    .card-body ul{
        column-count: 2;
        column-gap: 30px;
    }
}

.card-body ul li{
    padding:10px 0;
    border-bottom:1px solid #e2e8f0;
    line-height:1.6;
    color:#475569;
    display: flex;
    align-items: flex-start;
    break-inside: avoid; /* List item column ke beech me na tute */
}

.card-body ul li:last-child {
    border-bottom: none;
}

/* Auto Green Checkmark for list */
.card-body ul li::before {
    content: "✓";
    color: #10b981; /* Green color suitable for your theme */
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.1rem;
}

/* INFO BOXES */
.info-box{
    margin-top:20px;
    padding:18px;
    border-radius:12px;
    background:#f8fafc;
    border-left: 4px solid #0284c7; /* Side blue line premium look ke liye */
}

.info-box h4{
    color:#0284c7;
    margin-bottom:8px;
}

.info-box p{
    margin:6px 0;
    color: #475569;
    font-weight: 500;
}

/* =====================
   FOOTER
===================== */
.copyright {
    background-color: var(--primary-color); 
    color: #cbd5e1; 
    text-align: center;
    padding: 30px 5%;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    margin-top: 40px;
}

.copyright p {
    margin-bottom: 8px;
}

.copyright .location-text {
    margin: 15px 0;
    color: #f8fafc;
}

.copyright i.fa-map-marker-alt, 
.copyright i.fa-heart {
    color: #ff4757; 
}

.copyright a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.copyright a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* =====================
   TABLET
===================== */

@media(max-width:992px){
    .batch-section{
        grid-template-columns:1fr;
        max-width: 700px;
    }
}

/* =====================
   MOBILE
===================== */

@media(max-width:768px){

    .hamburger{
        display:block;
    }

    .nav-links{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#0f172a;
        display:none;
        flex-direction:column;
        gap:0;
    }

    .nav-links.active{
        display:flex;
    }

    .nav-links li{
        width:100%;
        border-bottom:1px solid rgba(255,255,255,0.08);
    }

    .nav-links a{
        display:block;
        width:100%;
        padding:18px;
        text-align:center;
        color:white;
    }

    .nav-links a:hover{
        background:rgba(255,255,255,0.05);
        color:#38bdf8;
    }

    .hero{
        padding:60px 20px;
        margin-top: 75px;
    }

    .hero h1{
        font-size:2.2rem;
    }

    .batch-section{
        padding:40px 15px;
    }

    .card-header h2{
        font-size:1.7rem;
    }
    
    .card-body {
        padding: 20px;
    }
}
