@import url('pay-supplier.css');

/* CSS Variables */
:root {
    --primary-blue: #0052FF;
    --primary-dark: #0d1f33;
    --text-dark: #212529;
    --text-body: #495057;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #FFFFFF;
    --border-color: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
    --orange-accent: #ff6b35;
    --success-green: #10b981;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, #4f46e5 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-spin {
    animation: rotate 10s linear infinite;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    z-index: 1001;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Navigation Button Hover Effects */
.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #000000 !important;
    color: var(--white) !important;
    border-color: #000000 !important;
}

.btn-primary {
    background: #000000 !important;
    color: var(--white) !important;
    border-color: #000000 !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--white) !important;
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-2px);
}

/* Ensure the hover effects work specifically in navigation */
.nav-links .btn-secondary:hover {
    background: #000000 !important;
    color: var(--white) !important;
    border-color: #000000 !important;
}

.nav-links .btn-primary:hover {
    background: var(--white) !important;
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Navigation */
.nav-links.mobile-active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    font-size: 1.2rem;
    z-index: 1000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230052FF' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    animation: float infinite 2s;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Trusted Partners */
.trusted-partners {
    background: var(--white);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-content {
    text-align: center;
}

.partners-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.taobao {
    background: #ff4000;
}

.pinduoduo {
    background: #e02e24;
}

.tmall {
    background: #ff6500;
}

.jd {
    background: #0070f3;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid #d1d5db;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #9ca3af;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    animation: pulse 1s ease-in-out;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-body);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.learn-more {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.learn-more:hover {
    gap: 1rem;
}

.learn-more i {
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Process Section - Clean Implementation */
.process {
    padding: 8rem 0;
    background: var(--white);
}

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

.process .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.process-grid {
    position: relative;
    margin-top: 5rem;
}

/* Large screens - Horizontal layout */
@media (min-width: 993px) {
    .process-grid {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
        position: relative;
    }

    /* Connecting line for large screens */
    .process-grid::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 10%;
        right: 10%;
        height: 3px;
        background: linear-gradient(90deg,
                var(--primary-blue) 0%,
                var(--primary-blue) 25%,
                var(--success-green) 25%,
                var(--success-green) 50%,
                var(--orange-accent) 50%,
                var(--orange-accent) 75%,
                #8b5cf6 75%,
                #8b5cf6 100%);
        z-index: 1;
        border-radius: 2px;
    }

    .process-step {
        flex: 1;
        max-width: 250px;
        text-align: center;
        position: relative;
        z-index: 2;
    }
}

/* Tablets - 2x2 grid */
@media (max-width: 992px) and (min-width: 769px) {
    .process-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-grid::before {
        display: none;
    }
}

/* Mobile - Vertical stack */
@media (max-width: 768px) {
    .process-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-grid::before {
        display: none;
    }

    .process-step {
        width: 100%;
        text-align: center;
    }
}

/* Process step styling */
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--white);
    flex-shrink: 0;
}

.process-step:nth-child(1) .step-number {
    background: var(--primary-blue);
}

.process-step:nth-child(2) .step-number {
    background: var(--success-green);
}

.process-step:nth-child(3) .step-number {
    background: var(--orange-accent);
}

.process-step:nth-child(4) .step-number {
    background: #8b5cf6;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.process-step h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: center;
}

.process-step p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .process-step h4 {
        font-size: 1.1rem;
    }

    .process-step p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .process {
        padding: 4rem 0;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .process-step h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .process-step p {
        font-size: 0.85rem;
    }
}

/* Stats Section */
.stats {
    padding: 8rem 0;
    background: var(--primary-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.stats-content {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: block;
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Cpolygon points='50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40'/%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.btn-cta {
    background: var(--white);
    color: var(--primary-blue);
    font-size: 1.1rem;
    padding: 18px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Warehouse Visual - Clean Implementation */
.warehouse-visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    width: 100%;
}

.warehouse-scene {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.warehouse-center {
    text-align: center;
    z-index: 10;
    position: relative;
}

.warehouse-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: block;
}

.address-sign {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.2);
    margin-top: 10px;
}

.address-text {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Floating elements around warehouse */
.floating-element {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    z-index: 5;
}

/* Specific element positioning and colors */
.package-1 {
    background: var(--success-green);
    top: 60px;
    left: 40px;
    animation: bounce 2s infinite;
}

.package-2 {
    background: var(--orange-accent);
    top: 80px;
    right: 50px;
    animation: bounce 2s infinite 0.5s;
}

.package-3 {
    background: #8b5cf6;
    bottom: 80px;
    left: 50px;
    animation: bounce 2s infinite 1s;
}

.truck-element {
    background: var(--primary-blue);
    bottom: 40px;
    right: 40px;
    animation: float 3s ease-in-out infinite;
}

.flag-element {
    background: var(--white);
    top: 120px;
    right: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.flag-element i {
    color: #de2910;
}

/* Responsive scaling - maintains exact same layout */
@media (max-width: 992px) {
    .warehouse-scene {
        width: 350px;
        height: 350px;
    }

    .warehouse-icon {
        font-size: 3.5rem;
    }

    .floating-element {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .address-text {
        font-size: 0.85rem;
    }

    /* Scale positions proportionally */
    .package-1 {
        top: 52px;
        left: 35px;
    }

    .package-2 {
        top: 70px;
        right: 44px;
    }

    .package-3 {
        bottom: 70px;
        left: 44px;
    }

    .truck-element {
        bottom: 35px;
        right: 35px;
    }

    .flag-element {
        top: 105px;
        right: 18px;
    }
}

@media (max-width: 768px) {
    .warehouse-scene {
        width: 300px;
        height: 300px;
    }

    .warehouse-icon {
        font-size: 3rem;
    }

    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .address-sign {
        padding: 12px;
    }

    .address-text {
        font-size: 0.8rem;
    }

    /* Scale positions proportionally */
    .package-1 {
        top: 45px;
        left: 30px;
    }

    .package-2 {
        top: 60px;
        right: 38px;
    }

    .package-3 {
        bottom: 60px;
        left: 38px;
    }

    .truck-element {
        bottom: 30px;
        right: 30px;
    }

    .flag-element {
        top: 90px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .warehouse-scene {
        width: 250px;
        height: 250px;
    }

    .warehouse-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .floating-element {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .address-sign {
        padding: 10px;
    }

    .address-text {
        font-size: 0.75rem;
    }

    /* Scale positions proportionally */
    .package-1 {
        top: 38px;
        left: 25px;
    }

    .package-2 {
        top: 50px;
        right: 32px;
    }

    .package-3 {
        bottom: 50px;
        left: 32px;
    }

    .truck-element {
        bottom: 25px;
        right: 25px;
    }

    .flag-element {
        top: 75px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .warehouse-scene {
        width: 220px;
        height: 220px;
    }

    .warehouse-icon {
        font-size: 2.2rem;
    }

    .floating-element {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .address-text {
        font-size: 0.7rem;
    }

    /* Scale positions proportionally */
    .package-1 {
        top: 33px;
        left: 22px;
    }

    .package-2 {
        top: 44px;
        right: 28px;
    }

    .package-3 {
        bottom: 44px;
        left: 28px;
    }

    .truck-element {
        bottom: 22px;
        right: 22px;
    }

    .flag-element {
        top: 66px;
        right: 11px;
    }
}

@media (max-width: 360px) {
    .warehouse-scene {
        width: 200px;
        height: 200px;
    }

    .warehouse-icon {
        font-size: 2rem;
    }

    .floating-element {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        z-index: 2000;
    }

    .address-sign {
        padding: 8px;
    }

    .address-text {
        font-size: 0.65rem;
    }

    /* Scale positions proportionally */
    .package-1 {
        top: 30px;
        left: 20px;
    }

    .package-2 {
        top: 40px;
        right: 25px;
    }

    .package-3 {
        bottom: 40px;
        left: 25px;
    }

    .truck-element {
        bottom: 20px;
        right: 20px;
    }

    .flag-element {
        top: 60px;
        right: 10px;
    }
}

/* RESPONSIVE DESIGN */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero-text h1 {
        font-size: 3.2rem;
    }

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

    .warehouse-address-visual {
        width: 350px;
        height: 350px;
    }

    .process-grid {
        gap: 1.5rem;
    }

    .process-step {
        max-width: 220px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-links.mobile-active {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

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

    /* Process section - Switch to grid for tablets */
    .process-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        max-width: 600px;
    }

    .process-grid::before {
        display: none;
    }

    .process-step {
        max-width: none;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .warehouse-address-visual {
        width: 300px;
        height: 300px;
    }

    .partner-logos {
        gap: 1.5rem;
    }

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

    .cta h2 {
        font-size: 2.5rem;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-lg {
        padding: 14px 30px;
        font-size: 1rem;
    }

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

    .section-subtitle {
        font-size: 1.1rem;
    }

    .services {
        padding: 6rem 0;
    }

    .process {
        padding: 6rem 0;
    }

    .stats {
        padding: 6rem 0;
    }

    .cta {
        padding: 6rem 0;
    }

    /* Process section - Single column for mobile */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .cta h2 {
        font-size: 2.2rem;
    }

    .cta p {
        font-size: 1.1rem;
    }

    .partner-logos {
        gap: 1rem;
        justify-content: center;
    }

    .partner-logo {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .warehouse-address-visual {
        width: 250px;
        height: 250px;
    }

    .address-element {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .process-step h4 {
        font-size: 1.1rem;
    }

    .process-step p {
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav {
        padding: 0.8rem 0;
    }

    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    /* Features section grid fix for mobile */
    .services[style*="background: white"] .container>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .services[style*="background: white"] .fade-in div[style*="display: flex; flex-direction: column"] {
        gap: 1.5rem !important;
    }

    .services[style*="background: white"] div[style*="display: flex; align-items: center"] {
        padding: 1rem !important;
        flex-direction: column !important;
        text-align: center !important;
    }

    .services[style*="background: white"] div[style*="width: 60px; height: 60px"] {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 1rem !important;
    }

    .services[style*="background: white"] h4 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .services[style*="background: white"] p {
        font-size: 0.9rem !important;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .services {
        padding: 4rem 0;
    }

    .process {
        padding: 4rem 0;
    }

    .stats {
        padding: 4rem 0;
    }

    .cta {
        padding: 4rem 0;
    }

    .trusted-partners {
        padding: 3rem 0;
    }

    .service-card {
        padding: 1.5rem;
    }

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

    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .process-step h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .process-step p {
        font-size: 0.85rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .cta p {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 14px 25px;
        font-size: 1rem;
    }

    .partner-logos {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .partner-logo {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 120px;
        text-align: center;
    }

    .partners-title {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .warehouse-address-visual {
        width: 200px;
        height: 200px;
    }

    .address-element {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .address-sign {
        padding: 10px;
    }

    .address-text {
        font-size: 0.8rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .footer-brand h3 {
        font-size: 1.3rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
    }

    .footer-col h4 {
        font-size: 1rem;
    }

    .footer-col ul a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.9rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

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

    .cta h2 {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .warehouse-address-visual {
        width: 180px;
        height: 180px;
    }

    .partner-logo {
        font-size: 0.75rem;
        padding: 6px 10px;
        min-width: 100px;
    }
}

/* Ultra Small Mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

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

    .cta h2 {
        font-size: 1.4rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1rem;
    }

    .warehouse-address-visual {
        width: 160px;
        height: 160px;
    }

    .logo {
        font-size: 1.2rem;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .services,
    .process,
    .stats,
    .cta {
        padding: 4rem 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-visual img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {

    .animate-bounce,
    .animate-float,
    .animate-pulse,
    .animate-spin {
        animation: none;
    }

    .fade-in,
    .scale-in {
        transition: none;
    }

    .btn:hover,
    .service-card:hover,
    .stat-item:hover {
        transform: none;
    }
}

/* Print styles */
@media print {

    .header,
    .mobile-menu-toggle,
    .btn,
    .social-links {
        display: none;
    }

    .hero,
    .services,
    .process,
    .stats,
    .cta {
        padding: 2rem 0;
    }

    .hero-text h1,
    .section-title,
    .cta h2 {
        color: black !important;
        background: none !important;
        -webkit-text-fill-color: initial !important;
    }
}

/* Force inline layout on large screens - Additional override */
@media (min-width: 993px) {
    .process-grid {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
    }

    .process-grid::before {
        display: block !important;
    }

    .process-step {
        flex: 1 !important;
        max-width: 250px !important;
    }
}

/* Ensure proper spacing for very large screens */
@media (min-width: 1400px) {
    .process-grid {
        max-width: 1400px;
        gap: 3rem;
    }

    .process-step {
        max-width: 300px;
    }

    .process-step h4 {
        font-size: 1.4rem;
    }

    .process-step p {
        font-size: 1rem;
    }
}



/* Buy For Me Section */
.buy-for-me {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.buy-for-me::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230052FF' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.buy-for-me .container {
    position: relative;
    z-index: 2;
}

/* Buy Process Section */
.buy-for-me-process {
    margin: 6rem 0;
}

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

.process-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.process-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.buy-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.buy-process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg,
            var(--primary-blue) 0%,
            var(--primary-blue) 33%,
            var(--success-green) 33%,
            var(--success-green) 66%,
            var(--orange-accent) 66%,
            var(--orange-accent) 100%);
    z-index: 1;
    border-radius: 2px;
}

.buy-step {
    text-align: center;
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.buy-step:hover {
    transform: translateY(-5px);
}

.buy-step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
    border: 4px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.buy-step:nth-child(1) .buy-step-icon {
    background: var(--primary-blue);
}

.buy-step:nth-child(2) .buy-step-icon {
    background: var(--success-green);
}

.buy-step:nth-child(3) .buy-step-icon {
    background: var(--orange-accent);
}

.buy-step:nth-child(4) .buy-step-icon {
    background: #8b5cf6;
}

.buy-step h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.buy-step p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Supported Platforms */
.supported-platforms {
    margin: 6rem 0;
    text-align: center;
}

.supported-platforms h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.supported-platforms>p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.platform-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.platform-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.taobao-bg {
    background: #ff4000;
}

.tmall-bg {
    background: #ff6500;
}

.pdd-bg {
    background: #e02e24;
}

.alibaba-bg {
    background: #ff6600;
}

.platform-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.platform-card p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: var(--bg-light);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Order Form Section */
.order-form-section {
    margin: 6rem 0;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 600px;
}

.form-content {
    padding: 3rem;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Form Styling */
.buy-for-me-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.half {
    flex: 0.5;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.form-group small {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    margin-top: 1rem;
    text-align: center;
}

.form-actions .btn {
    min-width: 250px;
    margin-bottom: 1rem;
}

.form-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Form Benefits Sidebar */
.form-benefits {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-benefits h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--white);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.benefit-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .buy-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .buy-process-grid::before {
        display: none;
    }

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

    .form-container {
        grid-template-columns: 1fr;
    }

    .form-benefits {
        order: -1;
        padding: 2rem;
    }

    .benefits-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .benefit-item {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .buy-for-me {
        padding: 6rem 0;
    }

    .process-header h3 {
        font-size: 1.8rem;
    }

    .supported-platforms h3 {
        font-size: 1.8rem;
    }

    .buy-process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .buy-step {
        padding: 1.5rem;
    }

    .buy-step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .platform-logo {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .form-content {
        padding: 2rem;
    }

    .form-header h3 {
        font-size: 1.6rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .form-group.half {
        flex: 1;
    }

    .benefits-list {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .buy-for-me {
        padding: 4rem 0;
    }

    .buy-step {
        padding: 1rem;
    }

    .buy-step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .buy-step h4 {
        font-size: 1.1rem;
    }

    .buy-step p {
        font-size: 0.85rem;
    }

    .platform-card {
        padding: 1.5rem;
    }

    .platform-logo {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .form-content {
        padding: 1.5rem;
    }

    .form-benefits {
        padding: 1.5rem;
    }

    .form-actions .btn {
        min-width: 200px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* --- MOBILE SLIDE-OUT MENU (Updated to match your HTML) --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 80%;
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    /* Hidden off-screen by default */
    transition: transform 0.3s ease-in-out;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

/* Show mobile menu when active */
.mobile-menu.active {
    transform: translateX(0);
    /* Slide into view */
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.mobile-menu-top h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.close-icon {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-icon:hover {
    background-color: var(--bg-light);
}

.mobile-nav-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links-wrapper a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 15px 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-links-wrapper a:hover {
    color: var(--primary-blue);
    background-color: var(--bg-light);
    transform: translateX(5px);
}

.mobile-nav-links-wrapper a.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.mobile-auth-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: auto;
}

.mobile-auth-wrapper .logged-out-view {
    display: none;
    flex-direction: row;
    width: 100%;
    gap: 12px;
    justify-content: space-between;
}

.mobile-auth-wrapper .logged-out-view .btn {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
}

.mobile-auth-wrapper .btn {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Hide mobile menu on desktop */
@media (min-width: 993px) {

    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Show mobile menu elements on mobile */
@media (max-width: 992px) {

    /* Hide desktop navigation */
    .nav-links {
        display: none;
    }

    /* Show hamburger */
    .mobile-menu-toggle {
        display: block;
        z-index: 2001;
        position: relative;
    }

    /* Ensure mobile menu is available */
    .mobile-menu {
        display: flex;
    }
}

/* Hamburger animation */
.mobile-menu-toggle {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active {
    transform: rotate(90deg);
}

/* Animation for menu items */
.mobile-nav-links-wrapper a {
    transform: translateX(20px);
    opacity: 0;
    animation: slideInLeft 0.3s ease forwards;
}

.mobile-nav-links-wrapper a:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-nav-links-wrapper a:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-nav-links-wrapper a:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-nav-links-wrapper a:nth-child(4) {
    animation-delay: 0.4s;
}

.mobile-nav-links-wrapper a:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mobile-menu:not(.active) .mobile-nav-links-wrapper a {
    animation: none;
    transform: translateX(20px);
    opacity: 0;
}

.mobile-menu-toggle.active {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-toggle {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.about-hero {
    min-height: 70vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Story Section */
.story-section {
    padding: 8rem 0;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.story-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.story-visual {
    position: relative;
    text-align: center;
}

.story-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background-image: url(/images/WhatsApp\ Image\ 2025-10-01\ at\ 11.12.51_1d9410d4.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.story-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Values Section */
.values-section {
    padding: 8rem 0;
    background: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.value-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 82, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 2rem;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-body);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 8rem 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    margin: 2rem auto 1.5rem;
    transition: transform 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.team-info {
    padding: 0 2rem 2rem;
}

.team-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-info p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Journey Section */
.journey-section {
    padding: 8rem 0;
    background: var(--primary-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.03'%3E%3Cpolygon points='50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40'/%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.journey-content {
    position: relative;
    z-index: 2;
}

.journey-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, var(--white) 0%, var(--white) 100%);
    z-index: 1;
    border-radius: 2px;
}

.journey-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.journey-year {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 2rem;
    border: 4px solid var(--primary-dark);
    transition: transform 0.3s ease;
}

.journey-item:hover .journey-year {
    transform: scale(1.1);
}

.journey-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.journey-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Floating Animation */
@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating-element {
    animation: floatUpDown 3s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-element:nth-child(3) {
    animation-delay: 1s;
}

.floating-element:nth-child(4) {
    animation-delay: 1.5s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-hero h1 {
        font-size: 3rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .story-content {
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .journey-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 60vh;
        padding-top: 100px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .story-section,
    .values-section,
    .team-section,
    .journey-section {
        padding: 6rem 0;
    }

    .story-content h2 {
        font-size: 2.2rem;
    }

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

    .journey-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .story-content h2 {
        font-size: 1.8rem;
    }

    .value-card,
    .team-card {
        margin-bottom: 2rem;
    }
}


/* Contact Page Specific Styles */
.contact-hero {
    min-height: 70vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Contact Main Section */
.contact-main-section {
    padding: 8rem 0;
    background: var(--white);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
}

.contact-info-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-block {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 82, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-block:hover::before {
    left: 100%;
}

.contact-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.contact-block h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-block h4::before {
    content: '';
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-block:nth-child(1) h4::before {
    content: '\f086';
}

/* chat */
.contact-block:nth-child(2) h4::before {
    content: '\f095';
}

/* phone */
.contact-block:nth-child(3) h4::before {
    content: '\f3c5';
}

/* map-marker */
.contact-block:nth-child(4) h4::before {
    content: '\f017';
}

/* clock */

.contact-block p {
    color: var(--text-body);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-block a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-block a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Form Styling */
.contact-form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.contact-form-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.form-grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-card .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Lower CTA Section */
.contact-lower-cta-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.lower-cta-card {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 82, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.lower-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.lower-cta-card>* {
    position: relative;
    z-index: 2;
}

.lower-cta-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.lower-cta-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.phone-number,
.email-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.phone-number i,
.email-address i {
    font-size: 1.3rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* Success/Error Messages */
.auth-message {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
}

.auth-message.success {
    background: #e6fff8;
    color: #008a75;
    border: 1px solid #b3f5e6;
}

.auth-message.error {
    background: #fff1f0;
    color: #cf1322;
    border: 1px solid #ffccc7;
}

@media (max-width: 992px) {
    .contact-hero h1 {
        font-size: 3rem;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-form-card {
        order: -1;
        margin-bottom: 2rem;
    }

    .form-grid-two-cols {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 60vh;
        padding-top: 100px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-main-section {
        padding: 6rem 0;
    }

    .contact-form-card {
        padding: 2rem;
    }

    .lower-cta-card {
        padding: 3rem 2rem;
    }

    .lower-cta-card h3 {
        font-size: 1.8rem;
    }

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

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-block {
        padding: 2rem;
    }

    .lower-cta-card {
        padding: 2rem 1.5rem;
    }

    .phone-number,
    .email-address {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.logged-out-view {
    display: none;
    gap: 1rem;
}

body:not(.is-logged-in) .logged-out-view {
    display: flex;
}

.logged-in-view {
    display: none;
}

body.is-logged-in .logged-in-view {
    display: flex;
}

.mobile-auth-wrapper .logged-out-view {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.mobile-auth-wrapper .logged-in-view {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

body:not(.is-logged-in) .mobile-auth-wrapper .logged-out-view {
    display: flex;
}

body.is-logged-in .mobile-auth-wrapper .logged-in-view {
    display: flex;
}


.mobile-auth-wrapper .logged-out-view {
    display: none;
    flex-direction: row;
    width: 100%;
    gap: 12px;
    justify-content: space-between;
}


.mobile-auth-wrapper .logged-out-view .btn {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    font-size: 0.9rem;
}

.mobile-auth-wrapper .logged-in-view {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.mobile-auth-wrapper .logged-out-view {
    display: none;
    flex-direction: row;
    width: 100%;
    gap: 12px;
    justify-content: space-between;
}

.mobile-auth-wrapper .logged-out-view .btn {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    font-size: 0.9rem;
}

.mobile-auth-wrapper .logged-in-view {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.mobile-auth-wrapper .logged-out-view {
    display: none;
    flex-direction: row;
    width: 100%;
    gap: 12px;
    justify-content: space-between;
}

.mobile-auth-wrapper .logged-out-view .btn {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    font-size: 0.9rem;
}

.mobile-auth-wrapper .logged-in-view {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 768px) {

    .services[style*="background: white"] .container>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}



.logged-out-view {
    display: none;
    gap: 1rem;
}

body:not(.is-logged-in) .logged-out-view {
    display: flex;
}

.logged-in-view {
    display: none;
}

body:is-logged-in .logged-in-view {
    display: flex;
}


.mobile-auth-wrapper .logged-out-view {
    display: none;
    flex-direction: row;
    width: 100%;
    gap: 12px;
    justify-content: space-between;
}

.mobile-auth-wrapper .logged-out-view .btn {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    font-size: 0.9rem;
}

.mobile-auth-wrapper .logged-in-view {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

body:not(.is-logged-in) .mobile-auth-wrapper .logged-out-view {
    display: flex;
}

body:is-logged-in .mobile-auth-wrapper .logged-in-view {
    display: flex;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    gap: 3rem;
}

.warehouse-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}


@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .services-grid,
    .buy-process-grid,
    .platforms-grid,
    .process-grid,
    .stats-grid,
    .warehouse-features-grid {
        grid-template-columns: 1fr !important;
    }

    .services[style*="background: white"] .container>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}


/* --- Shipping Calculator Section --- */
.shipping-calculator-section {
    padding: 4rem 0 6rem 0;
    background: var(--bg-light);
}

.calculator-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.calculator-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
}

/* Calculator Tabs */
.calculator-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.calculator-tab-btn {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transform: translateY(2px);
    transition: all 0.2s ease;
}

.calculator-tab-btn i {
    margin-right: 8px;
}

.calculator-tab-btn:hover {
    color: var(--primary-dark);
}

.calculator-tab-btn.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

/* Calculator Panels */
.calculator-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.calculator-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calculator-card .form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.calculator-card .form-group {
    margin-bottom: 1rem;
}

.calculator-card .form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.calculator-card label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Checkbox style */
.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
}

.form-group-checkbox input[type="checkbox"] {
    width: 1.2em;
    height: 1.2em;
    accent-color: var(--primary-blue);
    flex-shrink: 0;
}

.form-group-checkbox label {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

.form-group-checkbox small {
    margin-left: 5px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.3;
}


.calculator-card .form-group input,
.calculator-card .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.calculator-card .form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.calculator-card .form-group input:focus,
.calculator-card .form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.calculator-card .form-group select:disabled {
    background-color: var(--bg-light);
    color: var(--text-muted);
    cursor: not-allowed;
}

.dimension-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.calculator-card small {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

.calculator-card .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 2rem;
}

.calculator-card .btn-primary:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Calculator Result */
.calculator-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e6f0ff, var(--bg-light));
    border-radius: 12px;
    border: 1px solid var(--primary-blue);
    text-align: center;
}

.calculator-result h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 10px 0;
}

.calculator-result h4 span {
    color: var(--primary-blue);
    font-size: 1.5rem;
    display: block;
    margin-top: 5px;
}

.calculator-result p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0 0 15px 0;
}

.calculator-result p span {
    font-weight: 600;
}

.calculator-disclaimer {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 0 !important;
    line-height: 1.4;
}

.calculator-disclaimer i {
    color: #FF9800;
}

/* Responsive for Quote Page (and Calculator) */
@media (max-width: 992px) {
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .quote-info-block {
        position: static;
        order: -1;
    }

    .quote-form-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .quote-main-section {
        padding: 4rem 0;
    }

    .shipping-calculator-section {
        padding: 4rem 0 2rem 0;
    }

    .calculator-card {
        padding: 1.5rem;
    }

    .calculator-card h3 {
        font-size: 1.6rem;
    }

    .calculator-card .form-group-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .calculator-card .form-group {
        margin-bottom: 1rem;
    }

    .dimension-inputs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group-checkbox {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .form-group-checkbox small {
        margin-left: 0;
    }

    .calculator-result h4 span {
        font-size: 1.3rem;
    }

    /* Form Styles */
    .quote-form-card {
        padding: 1.5rem;
    }

    .quote-form-card h3 {
        font-size: 1.6rem;
    }

    .quote-form-card .form-grid-two-cols {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-form-card .form-grid-two-cols .form-group {
        margin-bottom: 1.5rem;
    }

    .quote-info-block {
        padding: 1.5rem;
    }

    .quote-info-block h4 {
        font-size: 1.2rem;
    }
}