/* ============================================
   HERO BANNER CSS - Knowledge Wave India
   Colors: #7AC74F #FDFFFC #F7B32B #FF2E00 #140F2D
   ============================================ */

.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #FDFFFC 0%, #e8f5e0 100%);
    padding: 80px 0 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    z-index: auto;
}

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

.hero-blob-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: rgba(122, 199, 79, 0.06);
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: rgba(247, 179, 43, 0.06);
}

.hero-banner .container {
    position: relative;
    z-index: auto;
    width: 100%;
}

.hero-row {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    justify-content: space-between;
}

/* ========== LEFT CONTENT ========== */
.hero-content {
    flex: 0 0 42%;
    min-width: 280px;
    padding-bottom: 80px;
}

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

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

.hero-badge {
    display: inline-block;
    background: #7AC74F;
    color: #FDFFFC;
    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: #F7B32B;
    color: #140F2D;
    font-weight: 700;
    padding: 15px 34px;
    border-radius: 50px;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid #F7B32B;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(247, 179, 43, 0.3);
}

.btn-enroll:hover {
    background: #FF2E00;
    color: #FDFFFC;
    border-color: #FF2E00;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 46, 0, 0.3);
}

.btn-enroll svg { transition: transform 0.3s ease; }
.btn-enroll:hover svg { transform: translateX(5px); }
.btn-enroll:hover svg path { stroke: #FDFFFC; }

/* ========== RIGHT IMAGE ========== */
.hero-image {
    flex: 0 0 52%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 500px;
    min-width: 280px;
}

.hero-main-img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: floatImg 900s ease-in-out infinite;
}

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

.hero-arrow-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    z-index: 1;
    opacity: 0.7;
}

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

/* ========== FLOATING CARD ========== */
.hero-float-card {
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 5;
    background: #FDFFFC;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(20, 15, 45, 0.12);
    animation: floatCard 5s ease-in-out infinite;
}

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

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

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

.hero-dots-grid {
    position: absolute;
    top: 50px;
    left: -20px;
    width: 100px;
    z-index: 0;
    opacity: 0.5;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .hero-banner {
        padding: 60px 0 0;
        min-height: auto;
    }
    .hero-row {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        align-items: center;
    }
    .hero-content {
        flex: unset;
        width: 100%;
        padding-bottom: 30px;
        order: 2;
    }
    .hero-image {
        flex: unset;
        width: 100%;
        order: 1;
        min-height: 380px;
    }
    .hero-title { font-size: 36px; }
    .hero-desc { margin: 0 auto 25px; }
    .hero-btns { justify-content: center; }
    .hero-main-img { max-width: 75%; }
    .hero-dots-grid { display: none; }
}

@media (max-width: 767.98px) {
    .hero-banner { padding: 50px 0 0; }
    .hero-title { font-size: 30px; }
    .hero-desc { font-size: 14px; }
    .btn-enroll { padding: 13px 26px; font-size: 15px; }
    .hero-image { min-height: 300px; }
    .hero-main-img { max-width: 85%; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 26px; }
    .hero-image { min-height: 260px; }
    .hero-main-img { max-width: 95%; }
    .hero-float-card { top: 10px; left: 2%; padding: 8px 10px; }
    .hero-float-card img { width: 40px; height: 40px; }
    .hero-float-card span { font-size: 11px; }
}