@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0b3d91;
    --secondary: #2563eb;
    --accent-orange: #f97316;
    --accent-green: #22c55e;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --white: #ffffff;
    --gradient-blue: linear-gradient(135deg, #0b3d91 0%, #2563eb 100%);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #f0f2f5;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.top-header {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    color: #0b3d91;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #0b3d91 50%, #4ade80 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    z-index: 1;
}

.logo-icon i {
    position: relative;
    z-index: 2;
    color: #0b3d91;
    font-size: 18px;
}



.top-nav {
    display: flex;
    gap: 20px;
}

.top-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.top-nav a:hover {
    color: var(--primary);
}

.search-bar {
    position: relative;
    width: 300px;
}

.search-bar input {
    width: 100%;
    padding: 8px 15px 8px 35px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13px;
    outline: none;
}

.search-bar i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Main Navigation */
.main-nav {
    background: var(--primary);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-links a,
.nav-item>span {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    cursor: pointer;
}

.nav-links a:hover,
.nav-item:hover>span {
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1100;
    list-style: none;
    padding: 10px 0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    color: var(--text-dark) !important;
    padding: 12px 20px !important;
    width: 100%;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.dropdown-menu li a:hover {
    background: #f1f5f9 !important;
    color: var(--primary) !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        /* Adjust based on top header */
        left: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background: var(--primary);
        flex-direction: column;
        transition: 0.3s;
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a,
    .nav-item>span {
        padding: 15px 20px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        display: none;
        width: 100%;
        border-radius: 0;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        color: white !important;
        padding-left: 40px !important;
    }
}

.nav-links a:hover {
    opacity: 1;
}

.nav-utilities {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.lang-selector,
.utility-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.login-pill {
    background: #fb8c00;
    padding: 6px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: #f8fafc;
    padding: 60px 0 30px 0;
    position: relative;
}

.hero-content {
    position: relative;
    padding-bottom: 50px;
}

.hero-text h1 {
    font-size: 38px;
    font-weight: 800;
    color: #0b3d91;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 40px;
}

.hero-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 0px;
    position: relative;
    z-index: 5;
    width: calc(100% - 300px);
    /* Leave space for image overlap */
}

.hero-card {
    flex: 1;
    height: 100px;
    padding: 0 25px;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-card.blue {
    background: #3b82f6;
}

.hero-card.green {
    background: #22c55e;
}

.hero-card.orange {
    background: #f97316;
}

.hero-card i {
    font-size: 28px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-info {
    display: flex;
    flex-direction: column;
}

.hero-card span {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
}

.hero-card small {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
}

.hero-image {
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 480px;
    z-index: 10;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
}


/* Tabs Bar */
.tabs-outer {
    background: #e5e7eb;
    border-bottom: 1px solid #d1d5db;
}

.tabs-container {
    display: flex;
}

.tab {
    padding: 15px 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.tab.active {
    background: #2563eb;
    color: white;
}

.tab-more {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* Stats Section */
.stats {
    padding: 10px 0 40px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    height: 95px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.stat-card.blue {
    background: linear-gradient(to right, #2563eb, #3b82f6);
}

.stat-card.green {
    background: linear-gradient(to right, #16a34a, #22c55e);
}

.stat-card.orange {
    background: linear-gradient(to right, #ea580c, #f97316);
}

.stat-left-icon {
    font-size: 32px;
    opacity: 1;
    border: 2px solid rgba(255, 255, 255, 0.4);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-info {
    flex: 1;
    padding-left: 15px;
}

.stat-info .label {
    font-size: 15px;
    font-weight: 600;
    opacity: 0.95;
    white-space: nowrap;
}

.stat-info .value {
    font-size: 30px;
    font-weight: 800;
    margin-top: -2px;
    font-variant-numeric: tabular-nums;
}

.stat-right-graphic {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stat-right-graphic i {
    font-size: 45px;
    opacity: 0.4;
}

.stat-right-graphic .large-num {
    font-size: 45px;
    font-weight: 800;
    opacity: 0.7;
}


/* Services Section */
.services-flex {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    background: white;
    margin-top: 20px;
    border-radius: 12px;
    padding: 40px;
}

.services-list {
    flex: 1.5;
}

.services-list h2 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 20px;
}

.services-columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.services-ul {
    list-style: none;
    flex: 1;
}

.services-ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 15px;
}

.services-ul li i {
    color: #22c55e;
    font-size: 18px;
}

.services-graphic {
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-graphic img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.upload-card-promo {
    width: 350px;
    background: #fff8eb;
    border: 1px solid #ffeeba;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.upload-card-promo h3 {
    font-size: 20px;
    color: #856404;
    margin-bottom: 20px;
}

.upload-card-promo img {
    width: 200px;
    margin-bottom: 20px;
}

.btn-upload {
    background: var(--accent-green);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: filter 0.3s;
}

.btn-upload:hover {
    filter: brightness(1.1);
}

/* Service Marketplace - Landing Page */
.marketplace-container {
    padding: 60px 0;
}

.marketplace-header {
    text-align: center;
    margin-bottom: 40px;
}

.marketplace-header h2 {
    font-size: 32px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 10px;
}

.marketplace-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.services-marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.marketplace-svc-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.marketplace-svc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.marketplace-svc-icon {
    width: 70px;
    height: 70px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

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

.marketplace-svc-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.marketplace-svc-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.marketplace-svc-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 20px;
}

.marketplace-order-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.marketplace-order-btn:hover {
    background: var(--secondary);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.marketplace-learn-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
}

.marketplace-learn-btn:hover {
    background: #f1f5f9;
}

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

    .marketplace-header h2 {
        font-size: 26px;
    }
}

/* Track & Billing */
.track-billing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.section-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.section-box h2 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
}

.track-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.track-input-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
}

.btn-search {
    background: var(--accent-green);
    color: white;
    padding: 0 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.billing-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.billing-links {
    list-style: none;
}

.billing-links li {
    padding: 8px 0;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.billing-links i {
    color: var(--accent-green);
    font-size: 14px;
}

.billing-img img {
    width: 120px;
}

/* Footer Tracking Bar */
.footer-tracking-bar {
    background: white;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.footer-tracking-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tracking-left {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
}

.btn-track-status {
    background: var(--accent-green);
    color: white;
    padding: 10px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}

.view-details {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer Main */
footer {
    background: #001f3f;
    color: white;
    padding: 60px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 25px;
    color: white;
}

.footer-col.brand h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.helpline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #cbd5e1;
    font-size: 14px;
}

.helpline-item i {
    color: #60a5fa;
    font-size: 18px;
}

.bottom-bar {
    background: #001529;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 13px;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    color: #94a3b8;
    font-size: 16px;
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .hero-cards {
        width: 100%;
        flex-direction: column;
    }

    .hero-image {
        position: static;
        width: 100%;
        margin-top: 30px;
    }

    .services-flex {
        flex-direction: column;
    }

    .services-columns {
        flex-direction: column;
    }

    .services-graphic {
        width: 100%;
        margin-top: 20px;
    }

    .upload-card-promo {
        width: 100%;
    }

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


@media (max-width: 768px) {
    .top-header .container {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 20px;
    }

    .main-mobile-btn {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--primary);
        cursor: pointer;
    }

    .top-nav {
        display: none;
        /* Hide top nav on mobile */
    }

    .search-bar {
        display: none;
        /* Optional: hide search bar on mobile to save space */
    }

    .main-nav {
        overflow-x: auto;
    }

    .nav-links {
        padding: 5px 20px;
        gap: 15px;
    }

    .nav-links a {
        white-space: nowrap;
    }

    .nav-utilities {
        display: none;
        /* Hide complex utilities on small mobile */
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

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

    .stat-card {
        height: auto;
        padding: 20px;
    }

    .track-billing {
        grid-template-columns: 1fr;
    }

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

    .footer-tracking-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }

    .hero-cards {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .hero-image {
        display: none;
    }
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Auth Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header .logo {
    justify-content: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 26px;
    color: #0b3d91;
    margin-bottom: 15px;
}

.modal-header p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn-auth {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    margin-bottom: 15px;
    transition: all 0.2s;
}

.primary-auth {
    background: #0b3d91;
    color: white;
}

.secondary-auth {
    background: white;
    color: #0b3d91;
    border: 2px solid #e2e8f0;
}

.btn-auth:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.divider {
    margin: 20px 0;
    position: relative;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 15px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}

.modal-footer {
    margin-top: 30px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.6;
}

.modal-footer a {
    color: #0b3d91;
    text-decoration: none;
    font-weight: 600;
}