/* ============================================
   HERO BANNER CSS - Knowledge Wave India
   Colors: #0A210F #14591D #99AA38 #392F5A #F6F8FF
   ============================================ */

.hero-banner {
    position: relative;
    background: #F0EEFF;
    padding: 100px 0 80px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* ── Background blobs ── */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    top: -180px;
    right: -120px;
    background: rgba(57, 47, 90, 0.06);
}

.hero-blob-2 {
    width: 350px;
    height: 350px;
    bottom: -140px;
    left: -80px;
    background: rgba(153, 170, 56, 0.07);
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

/* ── Layout ── */
.hero-row {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

/* ── Left Content ── */
.hero-content {
    flex: 0 0 44%;
    min-width: 280px;
}

.hero-title {
    font-size: 50px;
    font-weight: 800;
    color: #161439;
    line-height: 1.18;
    margin-bottom: 22px;
}

.hero-title strong {
    color: #161439;
    font-weight: 800;
}

/* Gold badge highlight on "Learning" */
.hero-badge {
    display: inline-block;
    background: #C48A00;
    color: #fff;
    padding: 2px 18px 4px;
    border-radius: 8px;
    font-style: italic;
    font-weight: 800;
    position: relative;
    top: -2px;
}

.hero-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 35px;
    max-width: 440px;
}

/* ── Button ── */
.hero-btns {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-enroll {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #C48A00;
    color: #fff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(196, 138, 0, 0.3);
}

.btn-enroll:hover {
    background: transparent;
    color: #C48A00;
    border-color: #C48A00;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(196, 138, 0, 0.2);
}

.btn-enroll svg {
    transition: transform 0.3s ease;
}

.btn-enroll:hover svg {
    transform: translateX(5px);
}

/* ── Right Image ── */
.hero-image {
    flex: 0 0 50%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 420px;
    min-width: 280px;
}

/* Main person image */
.hero-main-img {
    position: relative;
    z-index: 3;
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-16px); }
}

/* Blue arrow shape behind image */
.hero-arrow-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 62%;
    z-index: 1;
    opacity: 0.9;
}

.hero-arrow-shape svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating course card top-left */
.hero-float-card {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 5;
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(57, 47, 90, 0.14);
    animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.hero-float-card span {
    font-size: 13px;
    font-weight: 700;
    color: #161439;
    white-space: nowrap;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* Dot grid decoration */
.hero-dots-grid {
    position: absolute;
    top: 30px;
    left: -30px;
    width: 120px;
    z-index: 0;
    opacity: 0.6;
}

.hero-dots-grid svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .hero-banner {
        padding: 70px 0 50px;
        min-height: auto;
    }

    .hero-row {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        flex: unset;
        width: 100%;
        order: 2;
    }

    .hero-image {
        flex: unset;
        width: 100%;
        order: 1;
        min-height: 320px;
    }

    .hero-title { font-size: 36px; }
    .hero-desc { margin: 0 auto 30px; }

    .hero-btns { justify-content: center; }

    .hero-main-img { max-width: 70%; }

    .hero-dots-grid { display: none; }
}

@media (max-width: 767.98px) {
    .hero-banner { padding: 55px 0 45px; }
    .hero-title { font-size: 30px; }
    .hero-desc { font-size: 14px; }
    .btn-enroll { padding: 13px 26px; font-size: 15px; }
    .hero-float-card { padding: 8px 12px; }
    .hero-float-card img { width: 40px; height: 40px; }
    .hero-float-card span { font-size: 12px; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 26px; }
    .hero-main-img { max-width: 88%; }
    .hero-arrow-shape { width: 75%; }
    .hero-float-card { top: 0; left: 5%; }
}