/* --- eCommerce Development Specific Styles --- */

.ecommerce-container {
    background: #ffffff;
}

/* Hero/Banner Section */
.ecommerce-hero {
    background: linear-gradient(135deg, rgba(31, 102, 120, 0.85) 0%, rgba(17, 121, 151, 0.85) 100%), url("../images/op-banner.jpg") no-repeat center center/cover;
    padding: 5rem 0;
    color: var(--white);
    position: relative;
    border-bottom: 4px solid var(--secondary);
}

.ecommerce-hero .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.ecommerce-hero .hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ecommerce-hero .hero-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ecommerce-hero .hero-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ecommerce-hero .hero-list li {
    position: relative;
    padding-left: 2.25rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--white);
}

.ecommerce-hero .hero-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary);
    font-size: 1.25rem;
}

/* Mobile App Hero Banner */
.mobile-app-hero {
    background: linear-gradient(135deg, rgba(31, 102, 120, 0.85) 0%, rgba(17, 121, 151, 0.85) 100%), url("../images/m-com-banner.jpg") no-repeat center center/cover;
    padding: 5rem 0;
    color: var(--white);
    position: relative;
    border-bottom: 4px solid var(--secondary);
}

.mobile-app-hero .hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
}

.mobile-app-hero .hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-app-hero .hero-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mobile-app-hero .hero-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mobile-app-hero .hero-list li {
    position: relative;
    padding-left: 2.25rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--white);
}

.mobile-app-hero .hero-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary);
    font-size: 1.25rem;
}

/* Smartphone CSS Mockup */
.phone-mockup {
    width: 240px;
    height: 480px;
    border: 10px solid #2d3748;
    border-radius: 36px;
    background: #1a202c;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    animation: floatMockup 4s ease-in-out infinite alternate;
}

@keyframes floatMockup {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 18px;
    background: #2d3748;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Screenshot Grid */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 6px solid #2d3748;
    background: #1a202c;
    transition: var(--transition);
    aspect-ratio: 9 / 19;
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Circle Demo Buttons */
.rond-btn-wrapper {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.rond-btn-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rond-btn {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    border: 4px solid var(--primary-light);
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    position: relative;
    text-align: center;
    overflow: visible;
}

.rond-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
    border-color: var(--secondary);
}

.rond-btn-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 100%;
    height: 100%;
}

.rond-btn-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.rond-btn-subtitle {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.rond-btn-preview {
    background: var(--primary);
    color: var(--white);
    padding: 5px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2.5px solid var(--white);
    margin-top: 0.35rem;
    box-shadow: var(--shadow-sm);
}

.rond-btn:hover .rond-btn-preview {
    background: var(--secondary);
    color: var(--primary-darker);
    border-color: var(--white);
}

/* eCommerce Description Section */
.ecommerce-desc-section {
    padding: 5rem 0;
    background: #ffffff;
}

.ecommerce-title-area {
    margin-bottom: 2.5rem;
}

.ecommerce-title-area h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.ecommerce-title-area .divider-line {
    border-bottom: 2px dotted var(--gray-border);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.ecommerce-desc-section p {
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.desc-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-top: 3rem;
}

.desc-list-card {
    background: var(--gray-light);
    border: 1px solid var(--gray-border);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.desc-list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: #ffffff;
    border-color: var(--primary-light);
}

.desc-list-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    border-bottom: 2px dotted rgba(var(--primary-rgb), 0.25);
    padding-bottom: 0.5rem;
}

.desc-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.desc-list-items li {
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}

.desc-list-items li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Feature grid - basic & advance package */
.package-section {
    padding: 4rem 0;
    background: #ffffff;
}

.package-header {
    margin-bottom: 2.5rem;
}

.package-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.package-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.package-header .divider-line {
    border-bottom: 2px dotted var(--gray-border);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.feature-item {
    background: var(--gray-light);
    padding: 1.15rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4.5px solid var(--primary-light);
    border-top: 1px solid rgba(0,0,0,0.02);
    border-right: 1px solid rgba(0,0,0,0.02);
    border-bottom: 1px solid rgba(0,0,0,0.02);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.15rem;
    min-width: 24px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover i {
    color: var(--primary-light);
    transform: scale(1.1);
}

/* Promo Highlights Callouts */
.promo-highlights {
    padding: 4rem 0;
    background: var(--gray-light);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    margin: 2rem 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.promo-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.promo-card i {
    font-size: 2.75rem;
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.08);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.promo-card:hover i {
    background-color: var(--primary);
    color: #ffffff;
}

.promo-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
}

.promo-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Gateway Grid Layouts */
.gateways-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

.gateways-title-area {
    margin-bottom: 2.5rem;
}

.gateways-title-area h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.gateways-title-area .divider-line {
    border-bottom: 2px dotted var(--gray-border);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.gateways-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1.25rem;
}

.gateway-card {
    background: #ffffff;
    border: 1px solid var(--gray-border);
    border-radius: 14px;
    padding: 1.15rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 110px;
    text-decoration: none;
    border-top: 1px solid rgba(0,0,0,0.02);
}

.gateway-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.gateway-card .card-img {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.gateway-card img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.gateway-card:hover img {
    transform: scale(1.06);
}

.gateway-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    text-align: center;
}

.gateway-card:hover span {
    color: var(--primary);
}

/* Our Success Stories (Dynamic Rendering) */
.success-stories {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    color: var(--white);
    border-top: 4px solid var(--secondary);
    border-bottom: 4px solid var(--secondary);
}

.success-stories-header {
    text-align: center;
    margin-bottom: 4rem;
}

.success-stories-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.success-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 220px;
    margin: 0 auto;
}

.success-divider::before,
.success-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
}

.success-divider span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--white);
    margin: 0 0.65rem;
    flex-shrink: 0;
}

.success-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.success-stat-item {
    text-align: center;
}

.success-stat-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.success-stat-item:hover .success-stat-icon {
    transform: translateY(-6px) scale(1.05);
    background: rgba(255, 255, 255, 0.18);
}

.success-stat-icon.orange {
    color: #f97316;
    background: rgba(249, 115, 22, 0.15);
}

.success-stat-icon.gold {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
}

.success-stat-icon.blue {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
}

.success-stat-icon.red {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}

.success-stat-icon.green {
    color: var(--secondary);
    background: rgba(var(--secondary-rgb), 0.18);
}

.success-stat-icon.teal {
    color: var(--primary-soft);
    background: rgba(255, 255, 255, 0.12);
}

.success-stat-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.45;
    text-align: center !important;
}

.success-stat-item p strong {
    font-weight: 800;
    color: var(--white) !important;
    display: block;
    font-size: 1.85rem;
    margin-bottom: 0.25rem;
}

/* bottom CTA Section Styles */
.portfolio-cta {
    padding: 5.5rem 0;
    background: linear-gradient(358deg, rgba(8, 113, 139, 0) 0%, rgba(8, 113, 139, 0.95) 100%);
    color: #ffffff;
    text-align: center;
}

.portfolio-cta h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-cta .page-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 220px;
    margin: 0 auto 2.5rem;
}

.portfolio-cta .page-divider::before,
.portfolio-cta .page-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
}

.portfolio-cta .page-divider span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
    margin: 0 0.65rem;
}

.cta-modes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 2.5rem auto 0 auto;
    max-width: 680px;
}

.cta-mode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0.5rem;
}

.cta-mode:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
}

.cta-mode-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.cta-mode:hover .cta-mode-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Get a Quote Button */
.getquotebtn {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.getquotebtn .vmbtn {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 3rem;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.getquotebtn .vmbtn:hover {
    background: var(--secondary);
    color: var(--primary-darker);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .feature-list {
        grid-template-columns: repeat(3, 1fr);
    }
    .gateways-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .screenshot-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .success-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 2rem;
    }
}

@media (max-width: 992px) {
    .ecommerce-hero .hero-grid,
    .mobile-app-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .ecommerce-hero .hero-list li,
    .mobile-app-hero .hero-list li {
        text-align: left;
        max-width: 450px;
        margin: 0 auto;
    }
    .desc-lists {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cta-modes {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .gateways-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .success-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
    .gateways-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    .success-stats-grid {
        grid-template-columns: 1fr;
    }
    .rond-btn-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    .ecommerce-hero .hero-content h1,
    .mobile-app-hero .hero-content h1 {
        font-size: 2.25rem;
    }
}
