@charset "UTF-8";
/* Hub page: ecommerce-development.php - styles for ecommerce-development.php only */
/* Service hub page (Website Development, SEO & Digital Marketing, E-Commerce, Hosting, WhatsApp) */
/* ---------- page banner for service pages (breadcrumb, title, text, image) */
.svc-hero {
    position: relative;
    background: var(--ink);
    padding: 64px 0 96px;
    overflow: hidden;
}

.sh-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.sh-shape-1 {
    width: 520px;
    height: 520px;
    right: -160px;
    top: -200px;
    border: 1px solid var(--line-dark);
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .02), 0 0 0 140px rgba(255, 255, 255, .015);
}

.sh-shape-2 {
    width: 14px;
    height: 14px;
    left: 8%;
    bottom: 60px;
    background: var(--accent);
    box-shadow: 40px -30px 0 -3px var(--accent), 80px 10px 0 -5px rgba(221, 179, 94, .5);
    animation: floaty 7s ease-in-out infinite;
}

.crumbs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 28px;
    color: var(--muted);
}

.crumbs a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}

.crumbs a:hover {
    color: var(--accent);
}

.crumbs .sep {
    color: var(--accent);
}

.sh-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 56px;
    align-items: center;
}

.svc-hero h1 {
    color: #fff;
    font-size: clamp(36px, 4.6vw, 62px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.sh-lead {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.75;
    max-width: 680px;
    margin-top: 22px !important;
}

.sh-side {
    position: relative;
}

.sh-img {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.sh-img img {
    width: 100%;
    aspect-ratio: 10/7;
    object-fit: cover;
}

.sh-img-contain img {
    aspect-ratio: 1/1;
    object-fit: contain;
    padding: 20px;
}

.sh-badge {
    position: absolute;
    left: -26px;
    bottom: -22px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 290px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}

.sh-badge strong {
    font-family: var(--title-font);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.3;
}

.sh-badge .ic-box {
    background: var(--accent);
    color: var(--ink);
}

.sh-badges {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 26px 0 0 !important;
}

.sh-badges li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 500;
}

.sh-badges i {
    color: var(--accent);
}

@media (max-width: 991px) {
    .sh-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sh-badge {
        left: 12px;
    }

}

@media (max-width: 767px) {
    .svc-hero {
        padding: 40px 0 70px;
    }

}

.ah-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
}

.ah-img {
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
    background: var(--soft);
}

.ah-img img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.ah-grid > div > p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.8;
    margin-top: 16px !important;
}

.points {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px !important;
}

.points li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--soft);
    font-family: var(--title-font);
    font-weight: 700;
    color: var(--ink);
    transition: background-color .3s;
}

.points i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 12px;
    background: var(--ink);
    color: var(--accent);
}

.points li:hover {
    background: var(--accent-soft);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.hf-card {
    padding: 34px 30px;
    border-radius: 22px;
    border: 1px solid var(--line-dark);
    transition: background-color .4s, transform .4s var(--ease), border-color .4s;
}

.hf-card .ic-box {
    background: var(--accent);
    color: var(--ink);
    margin-bottom: 24px;
}

.hf-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hf-card p {
    line-height: 1.7;
}

.hf-card:hover {
    background: var(--ink-3);
    border-color: var(--accent);
    transform: translateY(-8px);
}

.hf-card:hover .ic-box {
    transform: rotate(-10deg);
}

.sub-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.sub-card {
    display: block;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    transition: box-shadow .4s, transform .4s var(--ease);
}

.sub-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.sub-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px;
}

.sub-name h3 {
    font-size: 18px;
    font-weight: 700;
}

.sub-name i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 50%;
    background: var(--soft);
    color: var(--ink);
    transition: background-color .3s, transform .35s var(--ease);
}

.sub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 50px rgba(16, 28, 44, .1);
}

.sub-card:hover .sub-name i {
    background: var(--accent);
    transform: rotate(-45deg);
}

.why-hub {
    background: var(--ink);
}

.wh-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 72px;
    align-items: center;
}

.why-hub h2 {
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat {
    padding: 30px 26px;
    border-radius: 22px;
    border: 1px solid var(--line-dark);
    transition: border-color .3s, background-color .3s;
}

.stat strong {
    font-family: var(--title-font);
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat > span {
    font-family: var(--title-font);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
}

.stat small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
}

.stat:hover {
    border-color: var(--accent);
    background: var(--ink-3);
}

@media (max-width: 1199px) {
    .sub-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 991px) {
    .ah-grid,
    .wh-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .feat-grid,
    .sub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 575px) {
    .feat-grid,
    .sub-grid,
    .points {
        grid-template-columns: 1fr;
    }

}
