.banner {
    position: relative;
    min-height: 60vh;   /* height control */
    width: 100%;        /* full width */

    /* 🔥 Local image path (IMPORTANT) */
    background: url('Banner/B2.jpg') no-repeat center;

    background-size: cover;   /* full cover */
    
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    color: white;
}

/* Dark Overlay -- Banner Mask Means Shadow effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* 🔥 Gradient overlay */
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.6),   /* left side dark */
        rgba(0, 0, 0, 0.2),   /* middle dark adjustment */
        rgba(0, 0, 0, 0.1)    /* right side light dark adjustment */
    );

    pointer-events: none;   /* 🔥 clicks pass ho jayenge */
}


/* Content above overlay */
.banner-content {
    position: relative;
    z-index: 1;     /* Banner ke content ko overlay ke upar rakhna */
    max-width: 600px;   /* Banner ke content ki maximum width set karna */
    padding: 20px 50px;  /* Banner ke content ko left side se 50px gap dena */
}



.banner-content h1 {    /* Banner call and jisko banner ke inside rakhna hai place kr do */
    font-size: 48px;     /* H1 ki Font Size */
    margin-bottom: 15px;    /* H1 may jo v likha hua hoga wo dawn side ho jayega 15px */
}

.banner-content p {      /* Paragraph Control and place on banner */
    font-size: 20px;
    margin-bottom: 25px;

}


/* ________Button Design colour animation adjustment ________*/
.btn {
    padding: 12px 25px;
    background: #000000;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    margin: 5px;
    display: inline-block;
    transition: 0.3s;
}


.btn:hover {            /* Animation Color First Button */
    background: #149eee;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid black;
    color: black;
}

.btn-secondary:hover {      /* Animation Color 2nd Button*/
    background: rgb(18, 250, 250);
    color: black;
}


/* ________2nd ROW STRIP SECTION START________ */
/* ===== Features Section start ===== */

.features {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 10px 40px;     /* Card ke top se gap and both side 20+20 = 40px gap  */
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
}

.feature-box {
    background: #f5f7fa;
    padding: 12px 15px;
    border-radius: 12px;
    text-align: left;
    flex: 0 1 auto;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;              /* Logo se text ka gap */
    min-width: 150px;       /* box ka wide size adjustment */
}

.feature-box h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.feature-box p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.feature-icon {
    font-size: 28px;
    color: #149eee;
    margin: 5px;
    display: inline-flex;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-box:hover {
    background: #e9ecf2;
}




/* ===== HEADER / NAVBAR TOP BANNER ===== */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 16px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo h2 {
    font-size: 24px;
    color: #0a1f44;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo span {
    color: #ff8c00;
    font-weight: 700;
}

/* Menu */
.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #ff8c00;
}

/* Button */
.nav-btn .btn {
    padding: 10px 20px;
    background: #ff8c00;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.nav-btn .btn:hover {
    background: #e67600;
}





/* ===== COURSE CARDS ===== */

.courses {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 40px; /* Card ke top se gap and both side 20+20 = 40px gap  */
    flex-wrap: nowrap;
    overflow-x: auto;
}

/* Glass Card */
.course-card {
    flex: 0 0 100px; /* 🔥 sab card equal wide control */
    padding: 10px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;   /* 🔥 content center aur explore bottom */
    align-items: center;              /* 🔥 center horizontally */
    gap: 5px;                         /* elements ke beech spacing */
    text-align: center;               /* 🔥 text ko center karna */

    height: 40px;  /* 🔥 sab card equal height control */
    border: 2px solid #000000;
    transition: 0.3s;
}

/* Title */
.course-card h3 {
    margin: 0;
    color: #0a1f44;
    font-size: 14px;
    white-space: nowrap;   /* 🔥 text break nahi hoga */
}

/* Explore link */
.course-card a {
    text-decoration: none;
    color: #ff8c00;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Hover Effect */
.course-card:hover {
    transform: translateY(-5px);
    border: 1px solid #ff8c00;
    box-shadow: 0 0 15px rgba(255,140,0,0.6);
}















/* Make it more responsive based on phone */
/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {

    /* ===== HEADER ===== */
    .header {
        padding: 10px;
    }

    .logo h2 {
        font-size: 18px;
    }

    .nav-menu {
        display: none; /* 🔥 mobile me menu hide (later hamburger add kar sakte ho) */
    }

    /* ===== BANNER ===== */
    .banner {
        min-height: 70vh;
        justify-content: center;
        text-align: center;
    }

    .banner-content {
        padding: 20px;
        max-width: 100%;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    /* ===== FEATURES (6 ROWS 🔥 जैसा तुमने बोला) ===== */
    .features {
        display: grid;
        grid-template-columns: 1fr;   /* 🔥 1 column */
        gap: 10px;
        padding: 15px;
        overflow-x: hidden;
    }

    .feature-box {
        width: 90%;
        justify-content: flex-start;
    }

    /* ===== COURSES (2 COLUMN GRID 🔥) ===== */
    .courses {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 🔥 2 columns */
        gap: 10px;
        padding: 15px;
        overflow-x: hidden;
    }

    .course-card {
        flex: unset;
        width: 85%;
        height: auto; /* 🔥 auto height */
        padding: 15px 10px;
    }

    .course-card h3 {
        font-size: 14px;
        white-space: normal; /* 🔥 text wrap allow */
    }

    .course-card a {
        font-size: 14px;
    }
    
}
