* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* HERO */
.ec-hero {
    position: relative;
    height: 100vh;
    background: url("./Assets/E-Commerce-Development/Hero.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}

.ec-hero-content {
    position: relative;
    text-align: center;
    width: 60%;
    background: rgba(0,0,0,0.55);
    padding: 40px 30px;
    border-radius: 10px;
}

.ec-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.ec-hero-content p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
}

.ec-btn {
    padding: 12px 28px;
    background: #0052cc;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.ec-btn:hover {
    background: #4f82ce;
}

/* ============= CARD SECTION ============= */
.ec-card-area {
    padding: 80px 40px;
    background: #f7f9fb;
}

.ec-card-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.ec-card {
    flex: 1;
    min-width: 320px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.12);
}

.ec-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.ec-card-btn {
    margin-top: 10px;
    padding: 12px 26px;
    background: #0052cc;
    color: white;
    border-radius: 8px;
}

/* ============= WHY CHOOSE US ============= */
.ec-why-wrapper {
    display: flex;
    align-items: center;
    padding: 80px 5%;
    gap: 50px;
}

.ec-why-left {
    flex: 1;
    position: relative;
    max-width: 45%;
}

.ec-image-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #e4f0ff;
    border-radius: 30% 70% 60% 40%;
    top: -20px;
    left: -20px;
    z-index: 1;
}

.ec-why-left img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.ec-why-right {
    max-width: 50%;
}

.ec-why-right h2 {
    font-size: 30px;
    margin-bottom: 25px;
}

/* ============= WHAT WE OFFER ============= */
.ec-offer-section {
    display: flex;
    gap: 50px;
    padding: 80px 5%;
    background: #E8F7FB;
}

.ec-offer-left {
    width: 45%;
}

.ec-offer-right {
    width: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
}

.ec-offer-item img {
    width: 45px;
    margin-bottom: 10px;
}
.ec-why-right h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #002147;
    font-weight: 700;
}



/* =========================================
   RESPONSIVE DESIGN
========================================= */

/* ---------- Max Width 1200px ---------- */
@media (max-width: 1200px) {

    .ec-hero-content {
        width: 75%;
    }

    .ec-offer-right {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

/* ---------- Max Width 992px (Tablets) ---------- */
@media (max-width: 992px) {

    /* HERO */
    .ec-hero {
        height: 80vh;
        padding: 20px;
    }

    .ec-hero-content h1 {
        font-size: 32px;
    }

    .ec-hero-content p {
        font-size: 16px;
    }

    /* WHY US */
    .ec-why-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .ec-why-left,
    .ec-why-right {
        max-width: 100%;
        width: 100%;
    }

    /* WHAT WE OFFER */
    .ec-offer-section {
        flex-direction: column;
        text-align: center;
    }

    .ec-offer-left,
    .ec-offer-right {
        width: 100%;
    }
}

/* ---------- Max Width 768px (Small Tablets & Large Mobiles) ---------- */
@media (max-width: 768px) {

    /* HERO */
    .ec-hero-content {
        width: 90%;
        padding: 30px 20px;
    }

    .ec-hero-content h1 {
        font-size: 28px;
    }

    /* CARD SECTION */
    .ec-card-container {
        flex-direction: column;
        gap: 20px;
    }

    .ec-card {
        min-width: 100%;
        padding: 30px;
    }

    /* WHAT WE OFFER GRID */
    .ec-offer-right {
        grid-template-columns: 1fr;
    }
}

/* ---------- Max Width 576px (Mobiles) ---------- */
@media (max-width: 576px) {

    /* HERO */
    .ec-hero {
        height: auto;
        padding: 60px 15px;
    }

    .ec-hero-content h1 {
        font-size: 24px;
    }

    .ec-hero-content p {
        font-size: 14px;
    }

    .ec-btn {
        font-size: 16px;
        padding: 10px 22px;
    }

    /* WHY US IMAGE SHAPE REMOVE SMALL SCREEN */
    .ec-image-shape {
        display: none;
    }

    .ec-why-left img {
        border-radius: 14px;
    }

    /* OFFERS */
    .ec-offer-right {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ec-offer-item img {
        width: 38px;
    }

    /* PADDING REDUCTIONS */
    .ec-card-area,
    .ec-offer-section,
    .ec-why-wrapper {
        padding: 50px 20px;
    }
}
