/**
 * Nayana Group — E-Commerce Service Pages
 * Loaded conditionally on /services/e-commerce-* and related store pages.
 */

/* Layout utilities */
.ec-text-sub-900 {
    max-width: 900px;
}

.ec-text-sub-850 {
    max-width: 850px;
}

.ec-text-sub-800 {
    max-width: 800px;
}

.ec-section-heading-constrained {
    color: #000080;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ec-blog-section {
    background-color: #edf4fe;
}

/* Icon colors */
.ec-icon-primary { color: #6600d3; }
.ec-icon-secondary { color: #ef4a44; }
.ec-icon-wordpress { color: #21759b; }
.ec-icon-shopify { color: #96bf48; }
.ec-icon-shopify-plus { color: #7ab55c; }
.ec-related-platform-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.ec-icon-magento { color: #ee672f; }
.ec-icon-adobe { color: #ff0000; }
.ec-icon-laravel { color: #f05340; }
.ec-icon-react { color: #61dafb; }
.ec-icon-dark { color: #000; }
.ec-icon-opencart { color: #23a8dd; }
.ec-icon-prestashop { color: #df0067; }
.ec-icon-navy { color: #000080; }

/* Section backgrounds */
.ec-page .bg {
    background-color: #edf4fe;
}

/* Hero */
.ec-page .hero-section {
    background: linear-gradient(135deg, #000080 0%, #6600d3 50%, #6600d3 100%);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center right;
}

.ec-page .hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.ec-page .hero-title span {
    background: linear-gradient(90deg, #ef4a44, #ef4a44);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ec-page .hero-subtext {
    font-size: 1.1rem;
    margin-top: 15px;
    color: #eee;
}

.ec-page .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Theme buttons — compact sizing for e-commerce UX */
.ec-page .theme-btn-1 {
    font-size: 14px;
    line-height: 1.35;
    padding: 9px 22px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    min-height: auto;
    letter-spacing: 0.2px;
}

.ec-page .theme-btn-1 i {
    margin-left: 6px;
    font-size: 12px;
}

/* Hero CTAs */
.ec-page .hero-buttons .theme-btn-1 {
    font-size: 14px;
    padding: 10px 22px;
}

/* Consultation form submit */
.ec-page .glass-form .theme-btn-1 {
    font-size: 14px;
    padding: 10px 18px;
    width: 100%;
    white-space: normal;
}

/* Platform & service cards */
.ec-page .service-card1 .theme-btn-1 {
    font-size: 13px;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Related services card label (inside stretched-link) */
.ec-page #related-ecommerce-services .service-card1 .theme-btn-1 {
    pointer-events: none;
}

/* Pricing table */
.ec-page .pricing-table .theme-btn-1 {
    font-size: 12px;
    padding: 6px 14px;
    line-height: 1.25;
    white-space: normal;
}

/* Portfolio discover more */
.ec-page .hero-btns-boduppal .theme-btn-1 {
    font-size: 14px;
    padding: 10px 26px;
}

/* Blog section header */
.ec-page .section-title .theme-btn-1,
.ec-page .title-box-center ~ .col-xl-6 .theme-btn-1,
.ec-page .row.align-items-end .text-lg-end .theme-btn-1 {
    font-size: 14px;
    padding: 8px 20px;
}

/* Related services bottom CTA */
.ec-page #related-ecommerce-services > .container > .text-center .theme-btn-1 {
    font-size: 14px;
    padding: 10px 22px;
}

@media (max-width: 767px) {
    .ec-page .hero-buttons .theme-btn-1 {
        font-size: 13px;
        padding: 9px 18px;
    }

    .ec-page .hero-buttons .theme-btn-1.me-3 {
        margin-right: 0 !important;
    }

    .ec-page #related-ecommerce-services > .container > .text-center .theme-btn-1 {
        display: inline-flex;
        width: auto;
        max-width: 100%;
    }
}

/* Hero form */
.ec-page .glass-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.ec-page .form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1rem;
}

.ec-page .glass-form .form-control {
    background: rgba(255, 255, 255, 1);
    border: none;
    border-radius: 8px;
    padding-left: 40px;
    color: #333;
}

.ec-page .glass-form .form-control::placeholder {
    color: #888;
}

.ec-page .glass-form .form-control:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(239, 74, 68, 0.4);
}

.ec-page .form-title {
    font-weight: 600;
    font-size: 1.4rem;
    color: #fff;
}

/* Typography */
.ec-page .text-sub {
    color: #000;
    font-size: 18px;
}

.ec-page .section-heading {
    font-size: 30px;
    color: #000080;
    font-weight: 700;
    padding-bottom: 20px;
}

/* Cards */
.ec-page .service-card1 {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.ec-page .service-card1 h5,
.ec-page .service-card1 h3 {
    color: #000080;
    padding-bottom: 15px;
    font-size: 23px;
}

.news-wrapper-style1 .news-description .the-title {
    margin-bottom: 30px;
    font-size: 18px;
}

.ec-page .service-card1 p {
    color: #000;
}

.ec-page .service-card1:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(102, 0, 211, 0.2);
}

.ec-page .why-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.ec-page .why-card h5 {
    color: #000080;
    padding-bottom: 15px;
}

.ec-page .why-card p {
    color: #000;
}

.ec-page .why-card i {
    color: #6600d3;
}

.ec-page .why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(102, 0, 211, 0.15);
}

/* Services grid (dark section) */
.ec-page .services-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b, #0f766e);
    color: #fff;
}

.ec-page .service-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 100px;
    text-decoration: none;
}

.ec-page .service-box:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.ec-page .service-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, #3b82f6, #9333ea);
    color: #fff;
}

.ec-page .service-text h5 {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
    color: #f1f5f9;
}

.ec-page .service-text p {
    margin: 0;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.3;
}

/* Client logos */
.ec-page .client-logos {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    background: #f9f9f9;
    padding: 20px 0;
}

.ec-page .logo-track {
    display: flex;
    align-items: center;
    animation: ec-logo-scroll 20s linear infinite;
    gap: 20px;
}

@keyframes ec-logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Process cards */
.ec-page .process-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    height: 100%;
}

.ec-page .process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.ec-page .process-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #6600d3, #000080);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-page .process-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: rgba(102, 0, 211, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-page .process-icon i {
    font-size: 28px;
    color: #6600d3;
}

.ec-page .process-card h6 {
    font-size: 18px;
    font-weight: 700;
    color: #000080;
    margin-bottom: 10px;
}

.ec-page .process-card p {
    font-size: 15px;
    color: #000;
    line-height: 1.6;
}

.ec-page .process-arrow {
    position: absolute;
    right: -32px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    color: #6600d3;
}

@media (max-width: 991px) {
    .ec-page .process-arrow {
        display: none;
    }
}

/* Results cards */
.ec-page .results-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    height: 100%;
}

.ec-page .results-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.ec-page .results-icon {
    width: 70px;
    height: 70px;
    background: rgba(239, 74, 68, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.ec-page .results-icon i {
    font-size: 30px;
    color: #ef4a44;
}

.ec-page .results-card h6 {
    font-size: 18px;
    font-weight: 700;
    color: #000080;
    margin-bottom: 10px;
}

.ec-page .results-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Pricing */
.ec-page .pricing-section {
    padding: 80px 0;
    background: #fff;
}

.ec-page .pricing-table {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}

.ec-page .pricing-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 14px;
}

.ec-page .pricing-table th,
.ec-page .pricing-table td {
    padding: 14px 10px;
    border: 1px solid #e5e5e5;
}

.ec-page .pricing-table th {
    font-weight: 700;
    color: #000;
}

.ec-page .plan-basic { background: #3b82f6; color: #fff; }
.ec-page .plan-business { background: #22c55e; color: #fff; }
.ec-page .plan-professional { background: #ef4444; color: #fff; }
.ec-page .plan-creative { background: #f59e0b; color: #fff; }
.ec-page .plan-extra { background: #a855f7; color: #fff; }

.ec-page .price {
    font-size: 18px;
    font-weight: 700;
}

.ec-page .tick {
    color: #22c55e;
    font-weight: 700;
    font-size: 16px;
}

.ec-page .cross {
    color: #999;
}

/* Footer top strap */
.ec-page .footer-top-strap {
    background: linear-gradient(90deg, #6600d3, #ef4a44);
    color: #ffffff;
    height: auto;
    width: 100%;
}

.ec-page .strap-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.ec-page .strap-text {
    font-size: 16px;
    font-weight: 600;
}

.ec-page .strap-links li {
    margin: 10px 30px;
    list-style: none;
    display: inline-block;
}

.ec-page .strap-links li a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: 0.3s ease;
}

.ec-page .strap-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.ec-page .strap-links li a:hover::after {
    width: 100%;
}

.ec-page .strap-links li a:hover {
    opacity: 0.9;
}

/* Platform hero badges & highlights */
.ec-page .ec-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.ec-page .ec-hero-highlights li {
    color: #eee;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ec-page .ec-hero-highlights li i {
    color: #ef4a44;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Shopify — green */
.ec-page.ec-theme-shopify .ec-hero-shopify,
.ec-page.ec-theme-shopify-plus .ec-hero-shopify-plus {
    background: linear-gradient(135deg, #004c3f 0%, #008060 45%, #95bf47 100%);
}

.ec-page.ec-theme-shopify .hero-title span,
.ec-page.ec-theme-shopify-plus .hero-title span {
    background: linear-gradient(90deg, #95bf47, #b4d66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* WooCommerce — WordPress purple */
.ec-page.ec-theme-woocommerce .ec-hero-woocommerce {
    background: linear-gradient(135deg, #1d2327 0%, #21759b 50%, #7e3ff2 100%);
}

.ec-page.ec-theme-woocommerce .hero-title span {
    background: linear-gradient(90deg, #7e3ff2, #96588a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Magento — orange */
.ec-page.ec-theme-magento .ec-hero-magento {
    background: linear-gradient(135deg, #4a1500 0%, #ee672f 55%, #f7931e 100%);
}

.ec-page.ec-theme-magento .hero-title span {
    background: linear-gradient(90deg, #f7931e, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* OpenCart — blue */
.ec-page.ec-theme-opencart .ec-hero-opencart {
    background: linear-gradient(135deg, #0a3d62 0%, #23a8dd 55%, #48dbfb 100%);
}

.ec-page.ec-theme-opencart .hero-title span {
    background: linear-gradient(90deg, #48dbfb, #7ed6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* PrestaShop — pink/magenta */
.ec-page.ec-theme-prestashop .ec-hero-prestashop {
    background: linear-gradient(135deg, #4a0028 0%, #df0067 55%, #ff4081 100%);
}

.ec-page.ec-theme-prestashop .hero-title span {
    background: linear-gradient(90deg, #ff4081, #ff80ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Laravel — red */
.ec-page.ec-theme-laravel .ec-hero-laravel {
    background: linear-gradient(135deg, #2d0505 0%, #f05340 55%, #ff6b57 100%);
}

.ec-page.ec-theme-laravel .hero-title span {
    background: linear-gradient(90deg, #ff6b57, #ff9a8b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom / headless — dark tech */
.ec-page.ec-theme-custom .ec-hero-custom {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 40%, #6600d3 100%);
}

/* Marketplace */
.ec-page.ec-theme-marketplace .ec-hero-marketplace {
    background: linear-gradient(135deg, #000080 0%, #6600d3 50%, #ef4a44 100%);
}

/* Multi-vendor */
.ec-page.ec-theme-multi-vendor .ec-hero-multi-vendor {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #6600d3 100%);
}

/* B2B */
.ec-page.ec-theme-b2b .ec-hero-b2b {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}
