html,
body {
    margin: 0;
    padding: 0;

}

.hero-section {
    position: relative;
}

/* ================= HERO SECTION ================= */
.hero {
    padding: 0px 20px 0px !important;
    /* 🔥 bottom padding removed */
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    /* 🔥 remove margin bottom */
    text-align: center;
    background: linear-gradient(to bottom, #ffffff 0%, #faf7ff 100%);
}

.hero-contact {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    text-decoration: none;
    font-weight: 600;
    color: #4a235a;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.contact-item:hover {
    color: #a020f0;
    transform: translateY(-2px);
}

.logo {
    margin-top: 20px !important;
    padding: 0px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}


/* HERO HEADING */
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    color: #411E59;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 4px;
}

/* HERO SUBTITLE */
.hero p {
    font-size: 15px;
    color: #5B297C;
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto 16px;
    line-height: 1.55;
}

/* ========================= */
/* TOP RIGHT POSITION */
/* ========================= */
.top-actions {
    position: absolute;
    top: 20px;
    right: 25px;
    display: flex;
    gap: 15px;
    z-index: 999;
}

/* ========================= */
/* COMMON ROUND BUTTON */
/* ========================= */
.round-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    color: #fff;
    text-decoration: none;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

/* REMOVE GLOSS COMPLETELY */
.round-btn::before {
    display: none;
}

/* HOVER EFFECT */
.round-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

/* ========================= */
/* BUTTON COLORS */
/* ========================= */

/* PHONE */
.phone {
    background: radial-gradient(circle at 30% 30%, #4fc3ff, #0066cc);
}

/* MAP */
.map {
    background: radial-gradient(circle at 30% 30%, #fffc3b, #fd7914);
}

/* WHATSAPP */
.whatsapp {
    background: radial-gradient(circle at 30% 30%, #4be47b, #128c3e);
}

.whatsapp i {
    font-size: 38px;
}

/* ========================= */
/* ICON FIX */
/* ========================= */

.round-btn i {
    font-size: 22px;
}

.round-btn img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* ================= BUTTON GROUP ================= */
.btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    /* 🔥 reduce gap */
}

button.btn {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
    padding: 0 34px;
    /* vertical padding remove */
    height: 42px;
}

.btn-group a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    line-height: 42px;
    /* 🔥 important for <a> */
    padding: 0 34px;
    text-align: center;
}

/* HERO BUTTONS */
.btn {
    padding: 0 34px;
    border-radius: 9999px !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    margin: 0 9px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    height: 42px;
    min-width: 150px;

    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
    border: none;
    outline: none;
    overflow: hidden;

    line-height: normal;
    appearance: none;
    -webkit-appearance: none;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* BUTTON 1 */
.btn-start {
    background: linear-gradient(to right, #ff8a00, #ff4d00);
}

/* BUTTON 2 */
.btn-course {
    background: linear-gradient(to right, #7b5cff, #5c3dff);
}

/* ================= HERO CARDS ================= */
.hero-cards {
    margin-top: 18px;
    /* 🔥 reduced */
    margin-bottom: 0px;
    /* 🔥 removed */
    padding-bottom: 0px;
    /* 🔥 removed */
    display: flex;
    width: 100%;
    height: 360px;
    /* 🔥 reduced from 430px */
    gap: 0px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

/* CARD COMMON */
.hero-card {
    width: 33.333%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.35s ease;
    overflow: hidden;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 60%);
    opacity: 0.35;
    z-index: 1;
}

/* LEFT CARD */
.card-left {
    background-image: url('demo/public/images/herocard1.webp');
    clip-path: polygon(0% 0%, 92% 0%, 100% 100%, 0% 100%);
}

/* CENTER CARD */
.card-center {
    background-image: url('demo/public/images/hero2.webp');
    clip-path: polygon(1% 0%, 99% 0%, 92% 100%, 8% 100%);

    z-index: 2;
    margin-left: -35px;
    margin-right: -35px;
    position: relative;
}

/* RIGHT CARD */
.card-right {
    background-image: url('demo/public/images/herocard3.webp');
    clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-card:hover {
    transform: scale(1.03);
    z-index: 5;
}

/* ================= WHY SECTION ================= */
.why-section {
    width: 100%;
    padding: 40px 40px;
    /* 🔥 remove extra top padding */
    margin-top: -5px;
    /* 🔥 pull up section */
    background: #fffafc;
    text-align: center;

}

/* WHY TITLE */
.why-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    color: #411E59;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.why-bulb {
    width: 82px;
    height: 82px;
    object-fit: contain;
}

/* WHY CARDS */
.why-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}


/* WHY CARD */
.why-card {
    width: 100%;
    max-width: 100%;
    background: linear-gradient(145deg, #ffffff, #f7f2ff);
    border-radius: 18px;
    padding: 32px 26px;
    border: 1px solid rgba(106, 17, 203, 0.15);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0;
}

.why-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106, 17, 203, 0.12), transparent 70%);
    opacity: 0.6;
    z-index: 0;
}

.why-card * {
    position: relative;
    z-index: 1;
}

.why-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 70px rgba(90, 30, 120, 0.18);
}

.why-card img {
    width: 110px;
    max-width: 100%;
    margin-bottom: 20px;
}

.why-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #3b2c54;
    margin-bottom: 10px;
    font-weight: 700;
}

.why-card p {
    font-size: 14px;
    color: #5B297C;
    line-height: 1.7;
}

/* ============================= */
/* 📱 MOBILE RESPONSIVE FIX */
/* ============================= */

@media (max-width: 768px) {

    /* HERO SECTION */
    .hero {
        padding: 10px 15px 35px !important;
        text-align: center;
    }

    /* LOGO */
    .logo img {
        width: 200px;
    }

    /* HERO HEADING */
    .hero h1 {
        font-size: 30px;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    /* HERO SUBTITLE */
    .hero p {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    /* BUTTON GROUP */
    .btn-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 25px;
    }

    .btn {
        width: 90%;
        max-width: 280px;
        height: 44px;
        font-size: 14px;

        margin-bottom: 16px;
        /* 🔥 GAP BETWEEN BUTTONS */
    }

    /* last button ku extra gap remove */
    .btn:last-child {
        margin-bottom: 0;
    }

    /* ================= HERO CARDS ================= */
    .hero-cards {
        display: flex;
        flex-direction: column;
        align-items: center;

        height: auto;
        overflow: visible;

        margin-top: 40px;
        padding: 0 12px;
    }

    .hero-card {
        width: 100%;
        max-width: 360px;
        height: 220px;

        clip-path: none;
        margin: 0 auto 24px auto;
        /* 🔥 GUARANTEED GAP */

        background-size: cover;
        background-position: center;

        border-radius: 22px;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    }

    /* remove last card extra space */
    .hero-card:last-child {
        margin-bottom: 0;
    }

    .card-center {
        margin-left: 0;
        margin-right: 0;
    }

    /* WHY SECTION */
    .why-section {
        margin-top: -15px;
    }

    .why-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 16px;
        margin-top: 15px;
    }

    .why-card {
        width: 440px;
        max-width: 320px;


        padding: 40px 30px;
        border-radius: 20px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);

        margin-bottom: 28px;
        /* 🔥 GUARANTEED GAP */
    }

    .why-card:last-child {
        margin-bottom: 0;
    }

    .why-title {
        font-size: 22px;
        text-align: center;
    }

    .why-bulb {
        width: 52px;
        height: 52px;
    }
}

.enquiry-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.enquiry-box {
    width: 380px;
    background: #fff;
    padding: 30px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0px 12px 35px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: popUp 0.3s ease;
}

@keyframes popUp {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.enquiry-box h2 {
    font-size: 22px;
    color: #4a235a;
    margin-bottom: 6px;
}

.enquiry-box p {
    font-size: 13px;
    color: #6a1b9a;
    margin-bottom: 15px;
}

.enquiry-box input,
.enquiry-box textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
    outline: none;
    font-size: 14px;
}

.enquiry-box textarea {
    height: 90px;
    resize: none;
}

.enquiry-box button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff4f87, #7c3aed);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.enquiry-box button:hover {
    transform: scale(1.03);
}

.close-enquiry {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {

    .top-actions {
        position: absolute;
        top: 8px;
        right: 8px;
        gap: 6px;
        z-index: 1000;
    }

    .round-btn {
        width: 34px;
        /* 🔥 smaller */
        height: 34px;
        font-size: 14px;
    }

    .round-btn::before {
        display: none;
        /* 🔥 remove gloss for small size */
    }

}