<style>
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
}

a {
    text-decoration: none;
}

/* ================= NAVBAR ================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background: linear-gradient(90deg, #007bff, #0056d2);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav h1 {
    font-size: 22px;
}

.menu {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.menu li {
    position: relative;
}

.menu a {
    color: #fff;
    font-weight: 500;
}

/* ================= MEGA MENU ================= */
.mega-parent {
    position: relative;
}

/* invisible hover bridge */
.mega-parent::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
}

/* mega menu */
.mega-menu {
    position: absolute;
    top: 100%; /* FIX GAP */
    left: -260px;
    width: 650px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    padding: 25px;

    /* animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;

    z-index: 999;
}

.mega-content {
    display: flex;
    gap: 40px;
}

.mega-column {
    flex: 1;
}

.mega-column h4 {
    margin-bottom: 10px;
    color: #007bff;
}

.mega-column a {
    display: block;
    margin: 8px 0;
    color: #333;
    font-size: 14px;
}

.mega-column a:hover {
    color: #007bff;
}

.mega-column p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.mega-btn {
    display: inline-block;
    padding: 10px 15px;
    background: linear-gradient(45deg, #007bff, #00c2ff);
    color: #fff;
    border-radius: 6px;
}

/* SHOW MENU */
.mega-parent:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ================= HERO ================= */
.hero {
    background: linear-gradient(180deg, #eef5ff, #ffffff);
    padding: 80px 60px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    color: #555;
    margin-bottom: 20px;
}

/* BUTTON */
.btn {
    background: linear-gradient(45deg, #007bff, #00c2ff);
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    display: inline-block;
}

/* ================= STATS ================= */
.stats {
    display: flex;
    justify-content: space-around;
    background: #f5f9ff;
    padding: 50px 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat {
    text-align: center;
}

.stat h2 {
    color: #007bff;
    font-size: 30px;
}

/* ================= SECTIONS ================= */
.section {
    padding: 30px 60px;
    text-align: center;
}

.section h2 {
    margin-bottom: 40px;
}

/* ================= SERVICES ================= */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* always 3 columns */
    gap: 25px;
}

.card {
    padding: 30px;
    border-radius: 14px;
    color: #fff;
    transition: 0.3s;
}

.card h3 {
    margin-bottom: 10px;
}

/* colorful cards */
.card:nth-child(1) {
    background: linear-gradient(45deg, #007bff, #00c2ff);
}

.card:nth-child(2) {
    background: linear-gradient(45deg, #ff7a18, #ffb347);
}

.card:nth-child(3) {
    background: linear-gradient(45deg, #6f42c1, #b388ff);
}

.card:nth-child(4) {
    background: linear-gradient(45deg, #28a745, #7dffb3);
}

.card:nth-child(5) {
    background: linear-gradient(45deg, #dc3545, #ff7b8a);
}

.card:nth-child(6) {
    background: linear-gradient(45deg, #17a2b8, #6ee7ff);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* ================= CONTACT ================= */
input, textarea {
    width: 300px;
    max-width: 90%;
    padding: 10px;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* ================= FOOTER ================= */
footer {
    padding: 40px;
    text-align: center;
    background: #f5f9ff;
    border-top: 1px solid #eee;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    nav {
        flex-direction: column;
        padding: 15px;
    }

    .menu {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section {
        padding: 50px 20px;
    }

    .stats {
        flex-direction: column;
    }

    /* mobile mega menu */
    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .mega-content {
        flex-direction: column;
    }

    .mega-menu.show {
        display: block;
    }
}

/* WHY SECTION */
.why {
    background: #f8fbff;
}

.why-sub {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

/* GRID */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

/* CARD */
.why-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    text-align: left;
    transition: 0.3s;
}

.why-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.why-card p {
    font-size: 14px;
    color: #666;
}

/* HOVER */
.why-card:hover {
    transform: translateY(-8px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.about {
    text-align: center;
}

.about-sub {
    max-width: 700px;
    margin: auto;
    color: #555;
    margin-bottom: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.about-text h3 {
    margin-bottom: 15px;
}

.about-text p {
    color: #555;
    margin-bottom: 15px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background: #f5f7fb;
    padding: 20px;
    border-radius: 10px;
}

.about-card h4 {
    margin-bottom: 10px;
}

/* Responsive */
@media(max-width:768px){
    .about-grid {
        grid-template-columns: 1fr;
    }
}
</style>