/* ==========================================================================
   ECOMMERCE DEVELOPMENT SUBPAGE SPECIFIC STYLES
   ========================================================================== */

/* --- 1. HERO SECTION --- */
.ecommerce-hero {
    background: var(--gradient-premium-dark);
    padding: 140px 24px 100px;
    position: relative;
    overflow: hidden;
}

/* Glowing backdrops for depth */
.ecommerce-hero .glow-blob-hero {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(231, 24, 27, 0.12) 0%, transparent 70%);
    top: -10%;
    right: 5%;
    border-radius: 50%;
    z-index: 1;
}

.ecommerce-hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content-left {
    color: var(--color-white);
}

.hero-content-left .badge {
    margin-bottom: 24px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.hero-content-left .badge-pulse {
    background: #10b981;
    /* emerald green */
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-secondary-white {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 38px;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* Right Illustration */
.hero-image-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-right img {
    width: 100%;
    max-width: 540px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}



.hero-image-right:hover img {
    transform: translateY(-5px);
}

/* Floating Enquire Badge */
.float-enquire {
    position: fixed;
    right: 0;
    top: 40%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px 8px 0 0;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(231, 24, 27, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.float-enquire:hover {
    background: var(--color-primary-hover);
    padding-bottom: 34px;
}

.float-enquire i {
    margin-right: 8px;
}


/* --- 2. SERVICES GRID SECTION --- */
.services-grid-section {
    padding: 100px 24px;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 55px;
}

.service-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    border-color: rgba(231, 24, 27, 0.15);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 80px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

.service-card p strong {
    color: #0f172a;
    font-weight: 600;
}


/* --- 3. CONVERSIONS CTA BANNER --- */
.conversions-banner-section {
    padding: 100px 24px;
    background: #f8fafc;
}

.conversions-banner {
    background: var(--gradient-premium-dark);
    border-radius: 24px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.conversions-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.conversions-avatar-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    flex-shrink: 0;
}

.conversions-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversions-text {
    color: var(--color-white);
}

.conversions-text h3 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
}

.conversions-text p {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.conversions-banner .btn-primary {
    flex-shrink: 0;
}


/* --- 4. SPECIALIZING PLATFORMS SECTION --- */
.platform-section {
    padding: 100px 24px;
    background: var(--color-white);
}

.platform-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.platform-left-col {
    position: sticky;
    top: 100px;
}

.platform-left-col .section-title {
    margin-bottom: 20px;
}

.platform-left-col .section-line {
    margin: 0 0 25px 0;
}

.platform-desc {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #475569;
}

.platform-right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.platform-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 30px;
    display: flex;
    gap: 24px;
    align-items: start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-card:hover {
    background: var(--color-white);
    transform: translateY(-5px);
    border-color: rgba(231, 24, 27, 0.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.platform-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.8rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

/* Brand Colors */
.brand-shopify {
    color: #7ab55c;
}

.brand-woo {
    color: #96588a;
}

.brand-webflow {
    color: #4353ff;
}

.brand-wix {
    color: #0f172a;
}

.brand-php {
    color: #777bb4;
}

.platform-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.platform-info p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
}


/* --- 4.5 ECOMMERCE FEATURES SECTION --- */
.ecom-features-section {
    padding: 100px 24px;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--color-white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(231, 24, 27, 0.15);
    box-shadow: 0 20px 40px rgba(231, 24, 27, 0.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(231, 24, 27, 0.05);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
}

/* responsive rule for features grid */
@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 30px 20px;
    }
}


/* --- 5. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    .conversions-banner-section {
        padding: 50px 16px;
    }
    .ecommerce-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .conversions-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .conversions-left {
        flex-direction: column;
        gap: 20px;
    }

    .platform-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .platform-left-col {
        position: relative;
        top: 0;
    }
}

@media (max-width: 767px) {
    .ecommerce-hero {
        padding: 100px 16px 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .conversions-text h3 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .services-grid-section {
        padding: 60px 16px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .conversions-banner {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .conversions-text h3 {
        font-size: 1.35rem;
    }

    .conversions-text p {
        font-size: 0.9rem;
    }

    .platform-section {
        padding: 60px 16px;
    }

    .platform-card {
        padding: 24px 18px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .platform-card:hover {
        transform: translateY(-3px);
    }

    .platform-info h4 {
        font-size: 1.15rem;
    }

    .faq-section {
        padding: 60px 16px;
    }

    .faq-main-heading {
        font-size: 1.45rem;
    }

    .ecom-features-section {
        padding: 60px 20;
    }
}

/* ==========================================================================
   ADDED SECTION: ECOMMERCE CONVERSION OPTIMIZATION (CRO)
   ========================================================================== */
.ecom-cro-section {
    padding: 100px 24px;
    background: #f8fafc;
    position: relative;
}

.cro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 60px auto 0;
}

.cro-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.015);
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 24px;
}

.cro-card:hover {
    transform: translateY(-4px);
    border-color: rgba(231, 24, 27, 0.12);
    box-shadow: 0 15px 35px rgba(231, 24, 27, 0.04);
}

.cro-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(231, 24, 27, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cro-card:hover .cro-icon {
    transform: scale(1.05);
}

.cro-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.cro-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .cro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   ADDED SECTION: OMNI-CHANNEL COMMERCE ECOSYSTEM
   ========================================================================== */
.ecom-omni-section {
    padding: 100px 24px;
    background: var(--color-white);
    position: relative;
}

.omni-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 60px auto 0;
}

.omni-card {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    /* border-top: 3px solid var(--color-primary); */
    border-radius: 40px 12px;
    padding: 40px 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.omni-card:hover {
    transform: translateY(-5px);
    border-color: rgba(231, 24, 27, 0.15);
    box-shadow: 0 18px 40px rgba(231, 24, 27, 0.05);
    background: var(--color-white);
}

.omni-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.omni-card:hover .omni-icon {
    transform: scale(1.05);
    background: rgba(231, 24, 27, 0.06);
    color: var(--color-primary);
}

.omni-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.omni-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .omni-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .omni-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .cro-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 30px 20px;
    }
}