/* ========================================
   WORLD-CLASS COMPREHENSIVE ENHANCEMENTS
   Complete professional upgrade for all sections
   ======================================== */

/* =====================================
   NAVIGATION ENHANCEMENTS
   ===================================== */

.web-header {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4),
        0 1px 4px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 130px !important;
    /* Fixed height for large logo */
}

/* Hamburger color for Dark Header */
.hamburger .bar {
    background-color: #f1f5f9 !important;
}

@media (max-width: 768px) {
    .web-header {
        min-height: 100px !important;
    }

    .nav-menu {
        background-color: #0f172a !important;
        /* Dark mobile menu */
        top: 100px !important;
        /* Match header height */
    }
}

/* CORRECTED SELECTORS */
.nav-menu .nav-link {
    color: #f1f5f9 !important;
    font-weight: 500;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0284c7 0%, #0ea5e9 100%);
    transition: width 0.3s ease;
}

.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after {
    width: 100%;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    color: #38bdf8 !important;
    /* Lighter blue for dark background */
    transform: translateY(-1px);
}

/* =====================================
   STATS SECTION - PREMIUM DARK THEME
   ===================================== */

.stats-dashboard {
    padding: 50px 0 !important;
    background: linear-gradient(180deg,
            #0f172a 0%,
            #1e293b 50%,
            #0f172a 100%) !important;
    position: relative;
}

.stats-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 50%, rgba(56, 189, 248, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    backdrop-filter: blur(10px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(56, 189, 248, 0.1) !important;
    transform-origin: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(56, 189, 248, 0.3));
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    border-color: rgba(251, 191, 36, 0.5) !important;
    transform: translateY(-8px) scale(1.02);
}

.stat-card .stat-icon {
    font-size: 3rem;
    color: #38bdf8;
    filter: drop-shadow(0 4px 12px rgba(56, 189, 248, 0.4));
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #fbbf24 !important;
    text-shadow: 0 2px 20px rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-label {
    color: #cbd5e1 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes statIconFloat {

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

    50% {
        transform: translateY(-5px) rotate(2deg);
    }
}

/* =====================================
   PROJECTS CAROUSEL - PREMIUM ARROWS
   ===================================== */

.carousel-arrow {
    width: 55px !important;
    height: 55px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.carousel-arrow:hover {
    background: rgba(2, 132, 199, 0.9) !important;
    border-color: #0284c7 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4) !important;
}

.carousel-arrow i {
    font-size: 1.5rem !important;
    color: #ffffff !important;
}

/* =====================================
   TRACKING SECTION - COMMAND CENTER
   ===================================== */

#track {
    background: linear-gradient(135deg,
            #0f172a 0%,
            #1e293b 50%,
            #0f172a 100%) !important;
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
}

#track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(2, 132, 199, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: trackingGlow 20s ease-in-out infinite;
}

@keyframes trackingGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

#track .section-title {
    color: #ffffff !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#track .section-desc {
    color: #cbd5e1 !important;
}

.tracking-form {
    max-width: 700px;
    margin: 40px auto 0;
    position: relative;
    z-index: 2;
}

.tracking-input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(56, 189, 248, 0.3);
    border-radius: 16px;
    padding: 6px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.tracking-input-wrapper:focus-within {
    border-color: #0284c7;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2),
        0 8px 24px rgba(2, 132, 199, 0.3);
}

#tracking-number {
    background: transparent !important;
    border: none !important;
    padding: 18px 24px !important;
    font-size: 1.05rem !important;
    color: #ffffff !important;
    width: calc(100% - 140px) !important;
}

#tracking-number::placeholder {
    color: #94a3b8;
}

#tracking-number:focus {
    outline: none !important;
}

.tracking-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    padding: 16px 32px !important;
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4) !important;
}

.tracking-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5) !important;
}

/* =====================================
   QUOTE FORM - MODERN GLASSMORPHIC
   ===================================== */

.quote-form {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(2, 132, 199, 0.15) !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(2, 132, 199, 0.08) !important;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1) !important;
}

.input-icon {
    color: #0284c7 !important;
}

/* =====================================
   BUTTONS - PREMIUM GLOBAL STYLING
   ===================================== */

.btn {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    border: 2px solid #0284c7 !important;
}

/* =====================================
   SMOOTH SCROLLING & TRANSITIONS
   ===================================== */

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

/* All interactive elements */
a,
button,
.card,
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* =====================================
   DARK THEME TESTIMONIALS FIX
   ===================================== */

.section-dark {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg,
            #0f172a 0%,
            #1e293b 50%,
            #0f172a 100%) !important;
    padding: 80px 0 !important;
    color: #e2e8f0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-dark .section-title {
    color: #ffffff !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.section-dark .section-desc {
    color: #cbd5e1 !important;
}

.section-dark .testimonial-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.section-dark .testimonial-header h4 {
    color: #ffffff !important;
}

.section-dark .testimonial-text {
    color: #cbd5e1 !important;
    font-style: italic;
}

.section-dark .testimonial-avatar {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

/* =====================================
   RESPONSIVE ENHANCEMENTS
   ===================================== */

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

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

    .stat-card {
        padding: 20px !important;
    }

    #track {
        padding: 60px 0 !important;
    }

    #tracking-number {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .tracking-btn {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        width: 100%;
    }
}