/* Custom CSS */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.main-content {
    padding-top: 38px;
    min-height: calc(100vh - 200px);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.ecommerce-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
}

/* Hero Section */
.hero-section {
    background-image: url('../../img/header-bg.jpg');
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.btn-hero {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card .card-body {
    padding: 2rem;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-card,
    .contact-form {
        padding: 30px 20px;
    }
}

/* Trust Badges */
.trust-badge {
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.trust-badge i {
    margin-bottom: 1rem;
}

.trust-badge h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

/* SuperlyTech specific colors */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --superlytech-blue: #0066cc;
    --superlytech-green: #00cc66;
}

/* eCommerce specific styling */
.ecommerce-badge {
    background: linear-gradient(135deg, var(--superlytech-blue), var(--superlytech-green));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin: 0.25rem;
}

/* Platform logos styling */
.platform-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Service category cards */
.service-category-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-category-card .card-header {
    padding: 1.5rem;
    border-bottom: none;
}

.service-category-card .card-body {
    padding: 1.5rem;
}

/* Contact page specific */
.contact-department {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-department:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Marketplace specific colors */
.amazon-color { background-color: #ff9900; }
.flipkart-color { background-color: #2874f0; }
.meesho-color { background-color: #9c1ab1; }
.myntra-color { background-color: #ff3f6c; }
.jiomart-color { background-color: #0066cc; }

/* Responsive improvements */
@media (max-width: 768px) {
    .service-category-card .card-header h5 {
        font-size: 1rem;
    }
    
    .trust-badge {
        padding: 1.5rem 0.5rem;
    }
    
    .contact-department {
        padding: 1rem;
    }
}

/* ========================================================
   Service Pages — shared components
   ======================================================== */

/* Service page hero */
.service-hero {
    background: linear-gradient(135deg, #0062cc 0%, #004494 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.service-hero-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.service-hero-green {
    background: linear-gradient(135deg, #0f9b58 0%, #047348 100%);
}

.service-hero-orange {
    background: linear-gradient(135deg, #e55a2b 0%, #c04320 100%);
}

.service-hero-purple {
    background: linear-gradient(135deg, #7b2ff7 0%, #5a1abf 100%);
}

.service-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
}

.service-hero .badge-pill {
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Icon boxes */
.icon-box {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
}

.icon-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.icon-box .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.icon-box h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Pricing table */
.pricing-card {
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    position: relative;
    transform: scale(1.04);
    box-shadow: 0 16px 40px rgba(0,123,255,0.15);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--secondary-color);
}

.pricing-features li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.pricing-features li:last-child { border-bottom: none; }

/* Platform tabs */
.platform-tabs .nav-link {
    color: #555;
    font-weight: 600;
    border-radius: 0;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.25rem;
    background: transparent;
}

.platform-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: transparent;
}

.platform-tabs .nav-link:hover:not(.active) {
    color: var(--primary-color);
    background: transparent;
}

/* Process steps */
.process-step {
    text-align: center;
    position: relative;
}

.process-step .step-num {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(0,123,255,0.3);
}

/* Stats strip */
.stats-strip {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 0.25rem;
}

/* Marketplace badges */
.marketplace-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.marketplace-badge:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* FAQ accordion */
.faq-accordion .accordion-button {
    font-weight: 600;
    color: #333;
    background: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: #f0f7ff;
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    filter: none;
}

.faq-accordion .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #0062cc 0%, #004494 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 { font-weight: 800; }

/* WhatsApp float button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.5);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}

/* Footer */
.footer-link {
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-color) !important;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .service-hero {
        padding: 80px 0 60px;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    .stat-number {
        font-size: 2rem;
    }
}
