/* ==========================================================================
   Essential Freight and Logistics Pvt Ltd - Premium Corporate Stylesheet
   ========================================================================== */

/* --- Custom Fonts & Theme Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    /* Brand Color Palette */
    --primary-blue: #1F4FBF;
    --deep-navy: #071B3A;
    --royal-blue: #2E6CFF;
    --bright-red: #E11D2E;
    --light-gray: #F6F8FB;
    --white: #FFFFFF;
    --dark-text: #0B1526;
    --success-green: #22C55E;
    --text-muted: #64748B;
    
    /* Transparent / Glassmorphic Variants */
    --navy-glass: rgba(7, 27, 58, 0.85);
    --white-glass: rgba(255, 255, 255, 0.08);
    --white-glass-border: rgba(255, 255, 255, 0.15);
    --blue-glow: rgba(31, 79, 191, 0.4);
    --red-glow: rgba(225, 29, 46, 0.4);

    /* Fonts */
    --font-headings: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-numbers: 'Space Grotesk', monospace;

    /* High Density Spacing & Borders */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.15s ease;
    
    /* Elegant Subtle Shadows */
    --shadow-soft: 0 4px 12px rgba(7, 27, 58, 0.02);
    --shadow-medium: 0 10px 25px rgba(7, 27, 58, 0.04);
    --shadow-premium: 0 15px 40px rgba(7, 27, 58, 0.06);
    --shadow-glow: 0 0 25px rgba(46, 108, 255, 0.2);
}

/* --- Base & Reset Rules --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 15px; /* Symmetrical reduction of text size across the viewport for high density scale */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background-color: #F6F8FB; /* Light slate base background from the design */
    overflow-x: hidden;
    line-height: 1.55;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
    border: 2px solid var(--light-gray);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* --- Typographical System --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--deep-navy);
    font-weight: 700;
    line-height: 1.15;
}

p {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 0.95vw + 0.1rem, 1.02rem);
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Compact section padding for high density view */
.section-padding {
    padding: clamp(3.5rem, 5vw, 6.5rem) 0;
}

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

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    align-items: center;
}

/* Header Tag / Section Badges matching the design aesthetics */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(31, 79, 191, 0.05);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    border-left: 3px solid var(--bright-red);
}

.badge.white {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-left-color: var(--bright-red);
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    color: var(--deep-navy);
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.05rem;
}

.section-title span {
    color: var(--primary-blue);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--bright-red);
    border-radius: 2px;
    opacity: 0.25;
}

/* --- Loading Screen --- */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--deep-navy);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

.loader-container {
    width: 90%;
    max-width: 450px;
    text-align: center;
}

.loader-logo {
    width: 280px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: loaderLogoIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    filter: drop-shadow(0 0 20px rgba(46, 108, 255, 0.15));
}

.loader-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--royal-blue), var(--bright-red));
    border-radius: 10px;
    transition: width 0.1s linear;
}

.loader-status {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-headings);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.loader-pct {
    font-family: var(--font-numbers);
    color: var(--white);
    font-weight: 600;
}

/* Shipping Container Micro Animation in Loader */
.container-icon-anim {
    width: 40px;
    height: 25px;
    background: var(--bright-red);
    border-radius: 4px;
    border: 2px solid var(--white);
    position: relative;
    margin: 0 auto 1.5rem auto;
    opacity: 0.8;
    animation: cargoMove 2s infinite ease-in-out;
}

.container-icon-anim::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 2px;
    height: 100%;
    background: var(--white);
}

.container-icon-anim::after {
    content: '';
    position: absolute;
    top: 0;
    right: 25%;
    width: 2px;
    height: 100%;
    background: var(--white);
}

/* --- Interactive Button System --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem; /* High density tighter padding */
    border-radius: 8px; /* High density clean border-radius */
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.btn-primary {
    background-color: var(--royal-blue);
    color: var(--white);
    box-shadow: 0 6px 15px rgba(46, 108, 255, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(31, 79, 191, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(31, 79, 191, 0.12);
}

.btn-red {
    background-color: var(--primary-blue); /* Accent Action blue from high-density design */
    color: var(--white);
    box-shadow: 0 6px 15px rgba(31, 79, 191, 0.15);
}

.btn-red:hover {
    background-color: var(--royal-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(46, 108, 255, 0.25);
}

/* --- Header & Navigation (High-Density Clean Solid White Theme) --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(7, 27, 58, 0.01);
}

/* Sticky Class triggered via JS */
header.sticky {
    padding: 0.7rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 8px 25px rgba(7, 27, 58, 0.04);
}

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

.nav-logo {
    width: 195px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.nav-logo svg {
    width: 100%;
    height: auto;
}

/* High contrast colored branding logo texts inside white header */
.nav-logo svg text {
    transition: fill 0.3s ease;
}

.nav-logo svg g text:nth-child(1) {
    fill: #071B3A !important;
}

.nav-logo svg g text:nth-child(2) {
    fill: #E11D2E !important;
}

header.sticky .nav-logo svg text {
    /* Keep high density colors identical on sticky */
    transition: none;
}

header.sticky .nav-logo svg g text:nth-child(1) {
    fill: #071B3A !important;
}

header.sticky .nav-logo svg g text:nth-child(2) {
    fill: #E11D2E !important;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.9rem; /* Clean text-sm scale */
    color: #475569; /* Elegant Slate 600 */
    position: relative;
    padding: 0.4rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--bright-red);
    transition: var(--transition-smooth);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

header.sticky .nav-link:hover,
header.sticky .nav-link.active {
    color: var(--primary-blue);
}

/* Customize the trigger-quote button specifically inside the header */
header .btn-trigger-quote {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px !important; /* Pill style */
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 14px rgba(31, 79, 191, 0.15) !important;
}

header .btn-trigger-quote:hover {
    background-color: var(--royal-blue) !important;
    box-shadow: 0 10px 20px rgba(46, 108, 255, 0.25) !important;
    transform: translateY(-1px) !important;
}

/* Hamburger Icon in light header */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2.5px;
    background-color: #071B3A; /* Dark navy hamburger lines */
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--white); /* White on dark overlay */
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--white); /* White on dark overlay */
}

/* Mobile Slide Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--deep-navy);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 2rem;
}

.mobile-nav-overlay.active {
    transform: translateY(0);
}

.mobile-nav-logo {
    width: 250px;
    margin-bottom: 4rem;
}

.mobile-nav-logo svg text {
    fill: var(--white) !important;
}

.mobile-nav-logo svg g text[fill="#071B3A"] {
    fill: var(--white) !important;
}

.mobile-nav-menu {
    list-style: none;
    text-align: center;
    margin-bottom: 3rem;
}

.mobile-nav-item {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav-overlay.active .mobile-nav-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger item entrance */
.mobile-nav-overlay.active .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(6) { transition-delay: 0.6s; }
.mobile-nav-overlay.active .mobile-nav-item:nth-child(7) { transition-delay: 0.7s; }

.mobile-nav-link {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--white);
}

.mobile-nav-link:hover {
    color: var(--bright-red);
}

/* --- Hero Section --- */
.hero {
    height: 90vh; /* Tighter viewport footprint for denser visual layout */
    min-height: 700px;
    position: relative;
    overflow: hidden;
    color: var(--white);
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(7, 27, 58, 0.96) 40%, rgba(31, 79, 191, 0.3) 100%), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.02);
    animation: zoomHero 20s infinite ease-in-out;
}

/* Decorative grid pattern mimicking high density design details */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cpath d='M50,50 L350,50 L350,350 L50,350 Z' fill='none' stroke='white' stroke-width='1' stroke-dasharray='10 10' opacity='0.15'/%3E%3Ccircle cx='200' cy='200' r='100' fill='none' stroke='white' stroke-width='0.5' opacity='0.15'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    pointer-events: none;
    z-index: 1;
}

/* Animated subtle particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 4.5rem;
}

.hero-content {
    max-width: 800px;
}

.hero-title-container {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.6rem); /* Symmetrical reduction for tight layout */
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--white); /* Explicit white color for maximum visibility on dark background */
}

.hero-title span {
    display: block;
}

.hero-title span.blue-text {
    color: #60A5FA; /* Brighter sky blue for excellent visibility and high-contrast on dark navy background */
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.35);
}

.hero-title span.red-text {
    color: #FF5A60; /* Brighter light red for excellent visibility and high-contrast on dark navy background */
    text-shadow: 0 0 30px rgba(255, 90, 96, 0.35);
}

/* Typing Effect Cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--bright-red);
    margin-left: 5px;
    animation: blinkCursor 0.8s infinite;
}

.hero-subheading {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 630px;
    font-weight: 400;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Floating Statistics Grid inside Hero (High-Density Clean White Theme) */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: #FFFFFF;
    backdrop-filter: none;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(7, 27, 58, 0.05);
    transform: translateY(50px);
    opacity: 0;
    animation: slideUpStats 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.stat-item {
    text-align: left;
    border-right: 1px solid #F1F5F9;
    padding-right: 0.8rem;
}

.stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-number {
    font-family: var(--font-numbers);
    font-size: clamp(1.6rem, 2.2vw, 2.3rem);
    font-weight: 700;
    color: #071B3A; /* High contrast dark text */
    line-height: 1;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
}

.stat-number span {
    color: var(--bright-red);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748B; /* High density slate text */
    font-weight: 700;
}

/* Floating Shipping Container Decorative Widget (Pure White High Contrast) */
.floating-container-widget {
    position: absolute;
    right: 5%;
    bottom: 25%;
    width: 300px;
    height: 180px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    backdrop-filter: none;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 12px 35px rgba(7, 27, 58, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 3;
    animation: floatWidget 6s infinite ease-in-out;
    pointer-events: none;
    color: #071B3A;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 0.6rem;
}

.widget-title {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #071B3A;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: var(--success-green);
    border-radius: 50%;
    animation: pulseDot 1.5s infinite;
}

.widget-body {
    padding: 0.8rem 0;
}

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

.route-node {
    font-family: var(--font-numbers);
    font-weight: 800;
    font-size: 1.1rem;
    color: #071B3A;
}

.route-line-anim {
    flex-grow: 1;
    height: 2px;
    background: #E2E8F0;
    margin: 0 0.8rem;
    position: relative;
    overflow: hidden;
}

.route-line-anim::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--bright-red), transparent);
    animation: shippingPulse 2s infinite linear;
}

.widget-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748B;
    border-top: 1px solid #F1F5F9;
    padding-top: 0.5rem;
}

/* --- About Us Section --- */
.about-section {
    background-color: #F6F8FB !important; /* Unified slate background */
    position: relative;
}

.about-img-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(7, 27, 58, 0.04);
}

.about-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.about-img-container:hover img {
    transform: scale(1.03);
}

/* Decorative Card overlapping Image */
.about-overlay-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(7, 27, 58, 0.1);
    max-width: 250px;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-number {
    font-family: var(--font-numbers);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.3rem;
    color: var(--white);
}

.overlay-text {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    padding-left: 1.5rem;
}

.about-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.about-point {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.about-point-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(31, 79, 191, 0.05);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(31, 79, 191, 0.08);
}

.about-point-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    color: #071B3A;
    margin-bottom: 0.2rem;
}

.about-point-text {
    font-size: 0.85rem;
}

/* Counter Grid Section below description (White High-Density Theme Card) */
.about-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    margin-top: 4rem;
    box-shadow: 0 10px 25px rgba(7, 27, 58, 0.03);
}

.counter-card {
    text-align: center;
    border-right: 1px solid #F1F5F9;
}

.counter-card:last-child {
    border-right: none;
}

.counter-num {
    font-family: var(--font-numbers);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    color: #071B3A !important;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.counter-num span {
    color: var(--bright-red);
}

.counter-lbl {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #64748B;
    font-weight: 700;
}

/* --- Vision & Mission Section --- */
.vision-mission-section {
    background-color: var(--deep-navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.vision-mission-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 79, 191, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

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

.vision-card {
    background: var(--white-glass);
    border: 1px solid var(--white-glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--royal-blue);
    transition: var(--transition-smooth);
}

.vision-card.mission-card::before {
    background: var(--bright-red);
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.vision-card:hover::before {
    width: 10px;
}

.vision-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--royal-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.mission-card .vision-icon {
    color: var(--bright-red);
}

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

.vision-title {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.vision-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* --- Core Services Section (High-Density Clean White Theme) --- */
.services-section {
    background-color: #F6F8FB !important; /* Unified slate background */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem; /* High density tighter grid gap */
}

.service-card {
    height: 380px; /* Highly compact fixed height */
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #FFFFFF !important; /* Pure white clean look */
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 15px rgba(7, 27, 58, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Information structured from the top */
    padding: 2rem;
    z-index: 1;
    transition: var(--transition-smooth);
}

/* Hide heavy photo background for premium minimalist tech look */
.service-card .service-bg {
    display: none !important;
}

/* Remove dark gradient overlay */
.service-card::after {
    display: none !important;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(7, 27, 58, 0.05);
    border-color: #CBD5E1;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: #F8FAFC !important;
    color: var(--primary-blue) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
    box-shadow: none;
    border: 1px solid #E2E8F0;
}

.service-card:hover .service-icon {
    background-color: #EFF6FF !important;
    color: var(--royal-blue) !important;
    transform: scale(1.05);
}

.service-title {
    font-size: 1.25rem;
    color: #071B3A !important;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.service-desc {
    color: #64748B !important;
    font-size: 0.9rem;
    line-height: 1.55;
    height: auto !important; /* Always readable for high density */
    opacity: 1 !important;
    overflow: visible !important;
    transition: none;
    margin-top: 0 !important;
}

.service-footer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-blue) !important;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto; /* Aligns at bottom of card */
    opacity: 1 !important;
    transform: none !important;
}

/* --- Industries We Serve --- */
.industries-section {
    background-color: #F6F8FB !important; /* Unified slate background */
    position: relative;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem; /* Tighter gap */
}

.industry-card {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.8rem 1rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: #CBD5E1;
    box-shadow: 0 10px 25px rgba(7, 27, 58, 0.04);
}

.industry-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: #F8FAFC !important;
    color: var(--primary-blue) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem auto;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
    border: 1px solid #E2E8F0;
}

.industry-card:hover .industry-icon {
    background-color: #EFF6FF !important;
    color: var(--royal-blue) !important;
    transform: scale(1.05);
}

.industry-title {
    font-size: 0.95rem;
    color: #071B3A !important;
    font-weight: 700;
}

/* --- Why Choose Us Section --- */
.why-section {
    background-color: var(--light-gray);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.why-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.why-card:nth-child(even)::after {
    background: var(--bright-red);
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: #CBD5E1;
    box-shadow: 0 12px 30px rgba(7, 27, 58, 0.05);
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: #F8FAFC !important;
    color: var(--primary-blue) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    border: 1px solid #E2E8F0;
}

.why-card:hover .why-icon {
    background-color: var(--bright-red) !important;
    color: var(--white) !important;
}

.why-card:nth-child(even):hover .why-icon {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
}

.why-title {
    font-size: 1.15rem;
    color: #071B3A !important;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.why-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* --- Process Section (High-Density Minimalist Flow) --- */
.process-section {
    background-color: #F6F8FB !important; /* Unified slate background */
    overflow: hidden;
}

.timeline-container {
    position: relative;
    margin-top: 3.5rem;
    padding: 1.5rem 0;
}

/* Continuous connecting line */
.timeline-line {
    position: absolute;
    top: 26px; /* Offset for compact step numbers */
    left: 5%;
    width: 90%;
    height: 3px;
    background-color: #E2E8F0;
    z-index: 1;
    border-radius: 10px;
}

.timeline-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--royal-blue), var(--bright-red));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-step {
    text-align: center;
    flex-basis: 15%;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.timeline-step.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger reveals */
.timeline-step:nth-child(1) { transition-delay: 0.1s; }
.timeline-step:nth-child(2) { transition-delay: 0.2s; }
.timeline-step:nth-child(3) { transition-delay: 0.3s; }
.timeline-step:nth-child(4) { transition-delay: 0.4s; }
.timeline-step:nth-child(5) { transition-delay: 0.5s; }
.timeline-step:nth-child(6) { transition-delay: 0.6s; }

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid #E2E8F0;
    color: var(--text-muted);
    font-family: var(--font-numbers);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem auto;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(7, 27, 58, 0.02);
}

.timeline-step:hover .step-number {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(31, 79, 191, 0.15);
}

/* Active State */
.timeline-step.active .step-number {
    border-color: var(--royal-blue);
    background-color: var(--royal-blue);
    color: var(--white);
    box-shadow: 0 0 20px rgba(46, 108, 255, 0.2);
}

.timeline-step.active:nth-child(even) .step-number {
    border-color: var(--bright-red);
    background-color: var(--bright-red);
}

.step-title {
    font-family: var(--font-headings);
    font-size: 1rem;
    color: #071B3A !important;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.step-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Regional Coverage Map (Clean High-Density Light Mode) --- */
.coverage-section {
    background-color: #F6F8FB !important; /* Unified slate background */
    color: #071B3A !important; /* High contrast dark text */
    position: relative;
    overflow: hidden;
}

.map-grid {
    display: grid;
    grid-template-columns: 4fr 3fr;
    gap: 3rem;
    align-items: center;
}

.map-container {
    background: #FFFFFF !important; /* Pristine white card for the map */
    border: 1px solid #E2E8F0 !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    box-shadow: 0 10px 30px rgba(7, 27, 58, 0.04) !important;
    position: relative;
}

.map-svg {
    width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
}

/* Africa Map Paths Styles (High density clean lines) */
.map-country {
    fill: #E2E8F0 !important; /* Light gray base */
    stroke: #CBD5E1 !important; /* Fine slate stroke */
    stroke-width: 1.5px;
    transition: var(--transition-smooth);
}

/* Highlighted trade corridor countries */
.map-country.highlighted {
    fill: #EFF6FF !important; /* Soft, inviting trade-channel blue */
    stroke: var(--royal-blue) !important;
    stroke-width: 2px;
}

/* Core Country: Zimbabwe */
.map-country.zimbabwe {
    fill: #FEF2F2 !important; /* Premium branding highlight red */
    stroke: var(--bright-red) !important;
    stroke-width: 2.5px !important;
    filter: drop-shadow(0 0 8px rgba(225, 29, 46, 0.15));
}

.map-country:hover {
    fill: #CBD5E1 !important;
}

.map-country.highlighted:hover {
    fill: #DBEAFE !important;
}

.map-country.zimbabwe:hover {
    fill: #FEE2E2 !important;
}

/* Map route overlay lines */
.map-route-line {
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 6 4;
    animation: dashRoute 8s linear infinite;
}

.map-route-line.blue {
    stroke: var(--royal-blue);
}

.map-route-line.red {
    stroke: var(--bright-red);
}

/* Map node points */
.map-node {
    fill: var(--white);
    stroke-width: 3px;
    r: 5px;
    transition: var(--transition-smooth);
}

.map-node:hover {
    r: 8px;
}

.map-node.zim-hub {
    fill: var(--bright-red);
    stroke: var(--white);
    stroke-width: 4px;
    r: 7px;
    animation: pulseHub 2s infinite;
}

.map-node.port-node {
    fill: var(--royal-blue);
    stroke: var(--white);
}

.map-label {
    font-family: var(--font-headings);
    font-size: 10px;
    font-weight: 700;
    fill: #0F172A !important; /* Deep navy text for legibility */
    text-shadow: none !important;
}

.map-label.zim-lbl {
    font-size: 11px;
    fill: var(--bright-red) !important;
}

/* Map Legend & Info Panel */
.map-info-panel {
    padding-right: 1.5rem;
}

.coverage-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.coverage-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(7, 27, 58, 0.01);
}

.coverage-item:hover {
    background: #EFF6FF !important;
    border-color: #CBD5E1 !important;
    transform: translateX(4px);
}

.coverage-flag {
    width: 22px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    display: block;
}

.coverage-name {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 700;
    color: #071B3A !important;
}

/* --- Testimonials Section (High-Density Canvas) --- */
.testimonials-section {
    background-color: #F6F8FB !important; /* Unified slate background */
    position: relative;
}

.carousel-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 24px !important;
    padding: 3.5rem 2.5rem 2.5rem 2.5rem !important;
    box-shadow: 0 10px 30px rgba(7, 27, 58, 0.04) !important;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    padding: 0 1.5rem;
}

.testimonial-quote-icon {
    font-size: 3rem;
    color: rgba(31, 79, 191, 0.08);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    color: #FBBF24;
    margin-bottom: 1.2rem;
}

.testimonial-text {
    font-family: var(--font-headings);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    color: #071B3A !important;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.author-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(7, 27, 58, 0.08);
}

.author-name {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.05rem;
    color: #071B3A !important;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Carousel Nav Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    color: var(--deep-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(7, 27, 58, 0.04);
    transition: var(--transition-smooth);
}

.carousel-btn:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(31, 79, 191, 0.2);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* Carousel Indicators/Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #E2E8F0;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dot.active {
    background-color: var(--primary-blue);
    width: 20px;
    border-radius: 10px;
}

/* --- Call To Action (CTA) --- */
.cta-section {
    padding: 0;
    position: relative;
    z-index: 2;
}

.cta-banner {
    background-image: linear-gradient(135deg, rgba(7, 27, 58, 0.98) 40%, rgba(31, 79, 191, 0.7) 100%), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 4.5rem 3rem;
    box-shadow: 0 15px 45px rgba(7, 27, 58, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: -100px;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(225, 29, 46, 0.1);
    filter: blur(80px);
    pointer-events: none;
}

.cta-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* --- Contact & Support Section (High-Density Slate Layout) --- */
.contact-section {
    background-color: #F6F8FB !important; /* Unified slate background */
    padding-top: 15rem; /* Large top padding to clear overlapping CTA banner */
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
}

/* Map/Address Widget (Left) */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.map-placeholder {
    width: 100%;
    height: 280px;
    background-color: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(7, 27, 58, 0.02);
    margin-bottom: 2rem;
}

/* Mock Map styling */
.mock-map {
    width: 100%;
    height: 100%;
    background-color: #E2E8F0;
    background-image: radial-gradient(#CBD5E1 2px, transparent 2px), radial-gradient(#CBD5E1 2px, transparent 2px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    position: relative;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.map-pin-icon {
    width: 36px;
    height: 36px;
    background-color: var(--bright-red);
    border-radius: 50%;
    border: 3px solid var(--white);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(225, 29, 46, 0.3);
    animation: bouncePin 2s infinite;
}

.map-pin-pulse {
    width: 16px;
    height: 8px;
    background: rgba(7, 27, 58, 0.15);
    border-radius: 50%;
    margin-top: 4px;
    animation: pulsePinShadow 2s infinite;
}

.map-tooltip {
    position: absolute;
    background-color: #071B3A;
    color: var(--white);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-headings);
    font-weight: 700;
    top: calc(50% - 65px);
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 25px rgba(7, 27, 58, 0.15);
    white-space: nowrap;
    z-index: 6;
}

.map-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: #071B3A transparent;
}

/* Contact Details Cards */
.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.contact-detail-card {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 4px 15px rgba(7, 27, 58, 0.02);
    transition: var(--transition-smooth);
}

.contact-detail-card:hover {
    transform: translateY(-4px);
    border-color: #CBD5E1;
    box-shadow: 0 10px 25px rgba(7, 27, 58, 0.04);
}

.detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #F8FAFC !important;
    color: var(--primary-blue) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    border: 1px solid #E2E8F0;
}

.detail-title {
    font-family: var(--font-headings);
    font-size: 1rem;
    color: #071B3A !important;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.detail-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.detail-text a:hover {
    color: var(--primary-blue);
}

/* Contact Form Card (Right) */
.contact-form-card {
    background-color: #FFFFFF !important;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 12px 40px rgba(7, 27, 58, 0.04);
    border: 1px solid #E2E8F0;
}

.form-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: #071B3A !important;
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background-color: #F8FAFC !important;
    color: var(--dark-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--primary-blue);
    background-color: var(--white) !important;
    box-shadow: 0 0 15px rgba(31, 79, 191, 0.08);
}

textarea.form-input {
    resize: none;
    min-height: 120px;
}

/* --- Footer --- */
footer {
    background-color: var(--deep-navy);
    color: var(--white);
    padding-top: 6rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info {
    max-width: 320px;
}

.footer-logo {
    width: 240px;
    margin-bottom: 2rem;
}

.footer-logo svg text {
    fill: var(--white) !important;
}

.footer-logo svg g text[fill="#071B3A"] {
    fill: var(--white) !important;
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--bright-red);
    transform: translateY(-3px);
}

.footer-nav {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--bright-red);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--royal-blue);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.footer-contact-item svg {
    color: var(--bright-red);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Copyright Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* --- Back to Top Button --- */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 100;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

#back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: var(--bright-red);
    box-shadow: var(--shadow-premium);
}

/* --- Dynamic Tracking System --- */
#tracking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(7, 27, 58, 0.8);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 2rem;
}

#tracking-modal.active {
    opacity: 1;
    visibility: visible;
}

.tracking-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 650px;
    padding: 3rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--deep-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-fast);
}

.close-modal:hover {
    background-color: var(--bright-red);
    color: var(--white);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    margin-bottom: 2rem;
}

.tracking-input-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tracking-input-wrapper input {
    flex-grow: 1;
}

/* Tracking results visual track */
.tracking-results {
    border-top: 1px solid #E2E8F0;
    padding-top: 2rem;
    display: none;
}

.tracking-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.shipment-id {
    font-family: var(--font-numbers);
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.shipment-status-badge {
    background-color: rgba(34, 197, 94, 0.15);
    color: var(--success-green);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-headings);
}

.tracking-timeline {
    position: relative;
    padding-left: 3rem;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 11px;
    width: 2px;
    height: 100%;
    background-color: #E2E8F0;
}

.tracking-node {
    position: relative;
    padding-bottom: 2.5rem;
}

.tracking-node:last-child {
    padding-bottom: 0;
}

.tracking-node-dot {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid #CBD5E1;
    z-index: 2;
}

.tracking-node.completed .tracking-node-dot {
    border-color: var(--success-green);
    background-color: var(--success-green);
}

.tracking-node.current .tracking-node-dot {
    border-color: var(--royal-blue);
    animation: pulseTrackingDot 1.5s infinite;
}

.tracking-node-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--deep-navy);
}

.tracking-node-time {
    font-family: var(--font-numbers);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tracking-node-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Quote Wizard Modal --- */
#quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(7, 27, 58, 0.8);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 2rem;
}

#quote-modal.active {
    opacity: 1;
    visibility: visible;
}

.quote-wizard {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 800px;
    padding: 3.5rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

#quote-modal.active .quote-wizard {
    transform: translateY(0);
}

/* Wizard step tracking bar */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 1.5rem;
}

.wizard-step {
    flex-grow: 1;
    text-align: center;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
}

.wizard-step.active {
    color: var(--primary-blue);
}

.wizard-step.active::after {
    content: '';
    position: absolute;
    bottom: -1.7rem;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
}

.wizard-pane {
    display: none;
}

.wizard-pane.active {
    display: block;
    animation: paneIn 0.5s ease forwards;
}

.wizard-footer-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    border-top: 1px solid #E2E8F0;
    padding-top: 2rem;
}

/* Custom Success Popups */
.custom-alert {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 3000;
    background-color: var(--deep-navy);
    border-left: 5px solid var(--success-green);
    color: var(--white);
    padding: 1.5rem 2.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.custom-alert.active {
    transform: translateY(0);
    opacity: 1;
}

.custom-alert-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(34, 197, 94, 0.2);
    color: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Micro Animations & Keyframes
   ========================================================================== */

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

@keyframes cargoMove {
    0%, 100% {
        transform: translateX(-15px);
    }
    50% {
        transform: translateX(15px);
    }
}

@keyframes blinkCursor {
    50% { opacity: 0; }
}

@keyframes zoomHero {
    0%, 100% { transform: scale(1.02); }
    50% { transform: scale(1.08); }
}

@keyframes floatWidget {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes shippingPulse {
    to { left: 100%; }
}

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

@keyframes dashRoute {
    to {
        stroke-dashoffset: -100;
    }
}

@keyframes pulseHub {
    0% { r: 6px; stroke-width: 4px; stroke-opacity: 0.8; }
    50% { r: 10px; stroke-width: 8px; stroke-opacity: 0.2; }
    100% { r: 6px; stroke-width: 4px; stroke-opacity: 0.8; }
}

@keyframes bouncePin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulsePinShadow {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.4); opacity: 0.05; }
}

@keyframes pulseTrackingDot {
    0% { box-shadow: 0 0 0 0 rgba(46, 108, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(46, 108, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 108, 255, 0); }
}

@keyframes paneIn {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Reveal classes triggered via Intersection Observer */
.reveal-el {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-el.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay classes */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ==========================================================================
   Responsive Breakpoints & Media Queries
   ========================================================================== */

/* 1600px+ Large Screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1550px;
    }
    
    .hero-title {
        font-size: 6rem;
    }
}

/* 1280px Laptop/Desktop */
@media (max-width: 1280px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* 1024px Small Laptops / Landscape Tablets */
@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-content {
        padding-left: 0;
    }
    
    .floating-container-widget {
        display: none; /* Hide decorative floating cargo box on medium screens for space */
    }
    
    .map-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .map-info-panel {
        padding-right: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .nav-menu {
        display: none; /* Switch to hamburger menu */
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .about-counters {
        grid-template-columns: repeat(2, 1fr);
        padding: 2.5rem 1.5rem;
    }
    
    .counter-card {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
        padding-bottom: 1.5rem;
    }
    
    .counter-card:nth-child(3),
    .counter-card:nth-child(4) {
        border-bottom: none;
        padding-bottom: 0;
        padding-top: 1.5rem;
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 768px Portrait Tablets */
@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
        padding-right: 0;
    }
    
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
        padding-bottom: 0;
        padding-top: 1rem;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-line {
        display: none; /* Hide horizontal timeline track line on mobile */
    }
    
    .timeline-steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-step {
        flex-basis: 100%;
        text-align: left;
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    .timeline-step-content {
        padding-top: 0.5rem;
    }
    
    .cta-banner {
        flex-direction: column;
        padding: 4rem 2rem;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-overlay-card {
        display: none; /* Hide large overlay picture-badge on small mobile screen */
    }
}

/* 480px / 320px Standard Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero {
        min-height: 720px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-bottom: 1rem !important;
        padding-top: 0 !important;
    }
    
    .stat-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    
    .about-counters {
        grid-template-columns: 1fr;
    }
    
    .counter-card {
        border-right: none !important;
        border-bottom: 1px solid #E2E8F0 !important;
        padding: 1.5rem 0 !important;
    }
    
    .counter-card:first-child {
        padding-top: 0 !important;
    }
    
    .counter-card:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 2.5rem 1.5rem;
    }
    
    .form-group-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.4rem, 10vw, 3.2rem);
    }
    
    .service-card {
        padding: 2rem;
        height: 420px;
    }
}
