/* ===================================
   ECS75 - Engagement Confiance Sécurité
   Unified Theme: Navy + Red + White
   =================================== */

/* --- CSS Variables --- */
:root {
    --color-navy: #152a4a;
    --color-navy-light: #1e3a5f;
    --color-navy-dark: #0e1f38;
    --color-red: #e51414;
    --color-red-light: #f03030;
    --color-red-dark: #c00e0e;
    --color-blue: #2980b9;
    --color-blue-light: #3498db;
    --color-white: #ffffff;
    --color-light: #f4f6f9;
    --color-text: #2d3748;
    --color-text-light: #5a6577;
    --color-gray: #8c95a4;
    --color-border: #dce1e8;
    --color-success: #10b981;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --shadow-sm: 0 1px 3px rgba(21,42,74,0.06);
    --shadow-md: 0 4px 16px rgba(21,42,74,0.08);
    --shadow-lg: 0 10px 30px rgba(21,42,74,0.1);
    --shadow-red: 0 4px 20px rgba(229,20,20,0.2);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

.text-gold {
    color: var(--color-red);
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-red);
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-navy);
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: all var(--transition);
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 16px rgba(21,42,74,0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-red);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
    color: var(--color-navy);
}

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

.nav-link.active {
    color: var(--color-red);
}

.btn-nav-quote {
    background: var(--color-red);
    color: var(--color-white) !important;
    font-weight: 600;
    padding: 8px 20px;
}

.btn-nav-quote:hover {
    background: var(--color-red-dark);
    color: var(--color-white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-red);
}

.btn-nav-quote.active {
    color: var(--color-white) !important;
}

.btn-nav-extranet {
    border: 1px solid var(--color-navy);
    padding: 8px 20px;
    color: var(--color-navy) !important;
}

.btn-nav-extranet:hover {
    background: var(--color-navy);
    color: var(--color-white) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   HERO SECTION (Colis Prive-inspired centered layout)
   =================================== */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-light) 100%);
    overflow: hidden;
    padding: 140px 24px 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/delivery-hero.png') center/cover no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--color-navy-dark), transparent);
    pointer-events: none;
}

/* Hero Background Pattern */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(229,20,20,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(41,128,185,0.08) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(229,20,20,0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* Centered Hero Layout */
.hero-centered {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.text-nowrap {
    white-space: nowrap;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    color: var(--color-white);
}

.hero h1 .text-gold {
    color: var(--color-red-light);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    padding: 16px 40px;
    font-size: 1rem;
}

/* Tracking Card */
.tracking-card {
    position: relative;
    z-index: 3;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    padding: 40px;
    max-width: 520px;
    margin: -50px auto 0;
    text-align: center;
}

.tracking-card h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 24px;
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tracking-form input {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 16px 20px;
    border: 2px solid var(--color-navy);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    outline: none;
    transition: all var(--transition);
}

.tracking-form input::placeholder {
    color: var(--color-gray);
}

.tracking-form input:focus {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(229,20,20,0.1);
}

.tracking-help {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    width: 100%;
    text-align: center;
    transition: all var(--transition);
}

.tracking-help:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

.tracking-note {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--color-red);
}

/* Stats Bar */
.stats-bar {
    background: var(--color-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
}

.stats-bar-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stats-bar-item {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-text);
    white-space: nowrap;
}

.stats-bar-item strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-navy);
}

/* Fleet Banner */
.fleet-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.fleet-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fleet-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    background: linear-gradient(to top, rgba(14,31,56,0.85), transparent);
}

.fleet-banner-overlay p {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fleet-banner-overlay i {
    color: var(--color-red-light);
    font-size: 1.2rem;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* Outline on light backgrounds */
.section .btn-outline,
.contact-section .btn-outline,
.quote-section .btn-outline,
.about-main .btn-outline {
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.section .btn-outline:hover,
.contact-section .btn-outline:hover,
.quote-section .btn-outline:hover,
.about-main .btn-outline:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
    margin-top: 8px;
}

/* ===================================
   VALUES SECTION
   =================================== */
.values {
    padding: 80px 0;
    background: var(--color-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.value-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(21,42,74,0.06);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-navy);
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-navy);
}

.value-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================================
   SERVICES OVERVIEW (Homepage)
   =================================== */
.services-overview {
    padding: 100px 0;
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    padding: 0;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    overflow: hidden;
}

.service-card:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover .service-card-img img {
    transform: scale(1.08);
}

.service-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:nth-child(3) .service-card-img img {
    object-position: center top;
}

.service-card-img .service-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(14,31,56,0.6), transparent);
    pointer-events: none;
}

.service-card-body {
    padding: 30px;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21,42,74,0.06);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.service-card-img + .service-card-body .service-icon {
    margin-top: -44px;
    position: relative;
    z-index: 2;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-white);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-navy);
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.service-link:hover {
    gap: 10px;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats {
    position: relative;
    padding: 100px 0;
    background: var(--color-navy);
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/flotte-ecs75.png') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.stats::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, rgba(30,58,95,0.85) 100%);
    pointer-events: none;
}

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

.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    display: inline;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ===================================
   TECHNOLOGY SECTION
   =================================== */
.technology {
    padding: 100px 0;
    background: var(--color-light);
}

.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.tech-content .section-label {
    display: block;
    margin-bottom: 16px;
}

.tech-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-navy);
}

.tech-content > p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.tech-features {
    list-style: none;
    margin-bottom: 30px;
}

.tech-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-text);
}

.tech-features li:last-child {
    border-bottom: none;
}

.tech-features li i {
    color: var(--color-red);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.tech-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.tech-visual .tech-image-dashboard {
    grid-column: 1 / -1;
}

.tech-card {
    padding: 18px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.tech-card:hover {
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tech-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229,20,20,0.06);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--color-red);
    margin-bottom: 10px;
}

.tech-card h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-navy);
}

.tech-card p {
    color: var(--color-text-light);
    font-size: 0.8rem;
    line-height: 1.5;
}

.tech-fleet-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--color-navy), #1a2a4a);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--color-white);
}

.tech-fleet-banner > i {
    font-size: 1.6rem;
    color: var(--color-gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.tech-fleet-banner h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-gold);
}

.tech-fleet-banner p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.tech-image-dashboard {
    position: relative;
}

.tech-dashboard-logo {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 100px;
    height: auto;
    background: rgba(255,255,255,0.92);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ===================================
   CTA SECTION
   =================================== */
.cta {
    padding: 100px 0;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/cta-bg.jpg') center/cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-red);
}

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

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-white);
}

.cta-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   PAGE HERO (Sub-pages)
   =================================== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-light) 100%);
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/delivery-door.png') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(229,20,20,0.07) 0%, transparent 60%);
    pointer-events: none;
}

/* Fleet / Gallery Showcase */
/* ===================================
   TRACKING / SUIVI EN TEMPS RÉEL
   =================================== */
.tracking-section {
    background: var(--color-light);
}

.tracking-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.tracking-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.tracking-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.tracking-content .section-label {
    display: block;
    margin-bottom: 16px;
}

.tracking-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 20px;
    line-height: 1.3;
}

.tracking-content > p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.tracking-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.tracking-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tracking-step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-red);
    min-width: 36px;
}

.tracking-step p {
    color: var(--color-navy);
    font-weight: 500;
    margin: 0;
}

.tracking-note {
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .tracking-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .tracking-content h2 { font-size: 1.8rem; }
    .tracking-step { padding: 12px 16px; gap: 14px; }
    .step-number { font-size: 1.2rem; }
}

/* ===================================
   FLEET SHOWCASE
   =================================== */
.fleet-showcase {
    padding: 100px 0;
    background: var(--color-white);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.fleet-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    height: 280px;
}

.fleet-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fleet-item:hover img {
    transform: scale(1.1);
}

.fleet-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(14,31,56,0.85), transparent);
    color: var(--color-white);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.fleet-item:hover .fleet-item-overlay {
    transform: translateY(0);
    opacity: 1;
}

.fleet-item-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.fleet-item-overlay p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.fleet-item:first-child {
    height: 280px;
}

/* Technology section image */
.tech-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
}

.tech-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
    color: var(--color-white);
}

.breadcrumb i {
    font-size: 0.65rem;
    margin: 0 8px;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-white);
}

.page-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   SERVICE DETAILS (Services page)
   =================================== */
.service-details {
    padding-top: 60px;
}

.service-detail-card {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    padding: 50px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-bottom: 30px;
    transition: all var(--transition);
}

.service-detail-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.service-detail-card.reverse {
    flex-direction: row-reverse;
}

.service-detail-img {
    width: 280px;
    min-width: 280px;
    height: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.service-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail-card:hover .service-detail-img img {
    transform: scale(1.05);
}

.service-detail-card:nth-child(3) .service-detail-img img {
    object-position: center top;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(21,42,74,0.06);
    border-radius: var(--radius-md);
    font-size: 1.8rem;
    color: var(--color-navy);
}

.service-detail-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--color-navy);
}

.service-detail-content p {
    color: var(--color-text-light);
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.service-features li i {
    color: var(--color-red);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ===================================
   ABOUT PAGE
   =================================== */
.about-main {
    padding: 80px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(14,31,56,0.4), transparent);
    pointer-events: none;
}

.about-image-badge {
    margin-top: 16px;
    background: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.about-content .section-label {
    display: block;
    margin-bottom: 16px;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-navy);
}

.about-content p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.highlight-card {
    padding: 28px;
    background: var(--color-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all var(--transition);
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.highlight-card i {
    font-size: 1.5rem;
    color: var(--color-red);
    margin-bottom: 12px;
}

.highlight-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-navy);
}

.highlight-card p {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* Strengths */
.strengths {
    background: var(--color-light);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.strength-item {
    text-align: center;
    padding: 40px 30px;
}

.strength-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(21,42,74,0.06);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-navy);
}

.strength-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-navy);
}

.strength-item p {
    color: var(--color-text-light);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ===================================
   RSE SECTION (About page)
   =================================== */
.rse-section {
    background: var(--color-light);
}

.rse-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.rse-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.rse-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.rse-content .section-label {
    display: block;
    margin-bottom: 16px;
}

.rse-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-navy);
}

.rse-content > p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.rse-commitments {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.rse-commitments li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}

.rse-commitments li:last-child {
    border-bottom: none;
}

.rse-commitments li i {
    color: var(--color-red);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.rse-closing {
    font-weight: 500;
    color: var(--color-navy) !important;
    margin-bottom: 24px !important;
}

@media (max-width: 1024px) {
    .rse-layout { grid-template-columns: 1fr; gap: 40px; }
    .rse-image img { height: 300px; }
}

@media (max-width: 768px) {
    .rse-image img { height: 240px; }
    .rse-content h2 { font-size: 1.8rem; }
}

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-section {
    padding: 80px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-navy);
}

.contact-form-wrapper > p {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
}

.required {
    color: var(--color-red);
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 14px 18px;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-navy);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(21,42,74,0.08);
}

.form-group select {
    cursor: pointer;
    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='%235a6577' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--color-white);
    color: var(--color-text);
}

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

.form-section-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
    padding-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Contact Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 28px;
    background: var(--color-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.contact-card.highlight {
    border-color: var(--color-red);
    border-left: 4px solid var(--color-red);
    background: var(--color-white);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-card-header i {
    font-size: 1.2rem;
    color: var(--color-red);
}

.contact-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.contact-card-body p {
    color: var(--color-text-light);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-card-body p i {
    color: var(--color-navy);
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-card-body a {
    color: var(--color-navy);
}

.contact-card-body a:hover {
    color: var(--color-red);
}

.agency {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.agency:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.agency h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-navy);
}

.agency h4 i {
    color: var(--color-red);
    font-size: 0.8rem;
}

.agency p {
    display: block !important;
    margin-bottom: 3px !important;
}

.availability {
    font-family: var(--font-heading);
    font-size: 1.3rem !important;
    color: var(--color-red) !important;
    display: block !important;
}

.big-phone {
    font-family: var(--font-heading);
    font-size: 1.1rem !important;
    display: block !important;
}

.big-phone a {
    color: var(--color-navy) !important;
    font-weight: 600;
}

.big-phone a:hover {
    color: var(--color-red) !important;
}

/* Map */
.map-section {
    width: 100%;
    height: 400px;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
}

.ecs-marker {
    background: none;
    border: none;
}

.ecs-marker-inner {
    background: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    white-space: nowrap;
    text-align: center;
}

.ecs-marker-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--color-red);
    margin: 0 auto;
}

/* ===================================
   QUOTE PAGE
   =================================== */
.quote-section {
    padding: 80px 0;
}

.quote-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: start;
}

.quote-form-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-navy);
}

.quote-form-wrapper > p {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.quote-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-navy-dark);
    padding: 0;
}

.footer::before {
    content: '';
    display: block;
    height: 4px;
    background: var(--color-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-logo {
    margin-bottom: 4px;
}

.footer-about > p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-top: 12px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
    font-size: 0.9rem;
}

.footer-social a:hover {
    border-color: var(--color-red);
    color: var(--color-red);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--color-red);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact li a {
    color: rgba(255,255,255,0.6);
}

.footer-contact li a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

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

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

/* ===================================
   ANIMATIONS
   =================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

.values-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.values-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }

.services-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.services-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.services-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }

.stats-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.stats-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.stats-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }

.strengths-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.strengths-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }

.fleet-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.fleet-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.fleet-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.6rem; }
    .tracking-card { max-width: 460px; }
    .section-header h2 { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-image { max-width: 500px; }
    .about-image img { height: 300px; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .quote-layout { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .fleet-grid { grid-template-columns: 1fr 1fr; }
    .fleet-item:first-child { grid-row: span 1; height: 280px; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--color-white);
        padding: 80px 30px 30px;
        transition: right var(--transition);
        box-shadow: -10px 0 30px rgba(21,42,74,0.15);
        z-index: 999;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav-link {
        display: block;
        padding: 14px 16px;
        font-size: 0.95rem;
        border-radius: var(--radius-sm);
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(21,42,74,0.04);
    }

    .btn-nav-quote {
        text-align: center;
        margin-top: 8px;
    }

    .btn-nav-extranet {
        text-align: center;
    }

    .hero { padding: 130px 16px 100px; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .tracking-card { margin: -40px 16px 0; padding: 30px 24px; }
    .stats-bar-grid { gap: 24px; }
    .stats-bar-item { font-size: 0.9rem; }
    .stats-bar-item strong { font-size: 1.15rem; }
    .fleet-banner { height: 280px; }
    .logo-tagline { display: none; }

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

    .page-hero { padding: 130px 0 60px; }
    .page-hero h1 { font-size: 2.2rem; }

    .service-detail-card {
        flex-direction: column !important;
        gap: 24px;
        padding: 30px;
    }

    .service-detail-img {
        width: 100%;
        min-width: auto;
        height: 200px;
    }

    .service-features { grid-template-columns: 1fr; }

    .fleet-grid { grid-template-columns: 1fr; }
    .fleet-item { height: 220px; }
    .fleet-item:first-child { height: 220px; }

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

    .about-highlights { grid-template-columns: 1fr 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .hero { padding: 120px 16px 80px; }
    .tracking-card { padding: 24px 20px; }
    .tracking-card h2 { font-size: 1.3rem; }
    .stats-bar-grid { flex-direction: column; align-items: center; gap: 12px; }
    .fleet-banner { height: 220px; }
    .section-header h2 { font-size: 1.6rem; }
    .stat-number { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .about-highlights { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .cta-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
}

/* ===================================
   FORM SUCCESS MESSAGE
   =================================== */
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: var(--radius-md);
}

.form-success.show {
    display: block;
}

.form-success i {
    font-size: 2.5rem;
    color: var(--color-success);
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-navy);
}

.form-success p {
    color: var(--color-text-light);
}

/* Form Error */
.form-error {
    display: none;
    padding: 16px 20px;
    background: rgba(229,20,20,0.05);
    border: 1px solid rgba(229,20,20,0.2);
    border-left: 4px solid var(--color-red);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.form-error.show {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-error i {
    font-size: 1.2rem;
    color: var(--color-red);
    flex-shrink: 0;
}

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

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14,31,56,0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

/* Hide WhatsApp button when chatbot window is open */
.whatsapp-float.chatbot-active {
    opacity: 0;
    pointer-events: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    color: #fff;
    font-size: 2rem;
}

.whatsapp-float .whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: #fff;
    color: var(--color-text);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ===================================
   Chatbot Widget
   =================================== */

#chatbot-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-navy);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(21,42,74,0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

#chatbot-toggle:hover {
    transform: scale(1.1);
    background: var(--color-navy-light);
}

#chatbot-toggle.open {
    background: var(--color-red);
}

#chatbot-toggle.open svg {
    display: none;
}

#chatbot-toggle.open::after {
    content: "\00D7";
    font-size: 28px;
    line-height: 1;
}

#chatbot-window {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 380px;
    max-height: 520px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(21,42,74,0.18);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

#chatbot-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#chatbot-header {
    background: var(--color-navy);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

#chatbot-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

#chatbot-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

#chatbot-close:hover {
    opacity: 1;
}

#chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 200px;
    max-height: 360px;
}

.chatbot-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.chatbot-msg-user {
    align-self: flex-end;
    background: var(--color-navy);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chatbot-msg-assistant {
    align-self: flex-start;
    background: var(--color-light);
    color: var(--color-text);
    border-bottom-left-radius: 4px;
}

/* Loading dots animation */
.chatbot-loading {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
}

.chatbot-dot {
    width: 8px;
    height: 8px;
    background: var(--color-gray);
    border-radius: 50%;
    animation: chatbot-bounce 1.4s infinite both;
}

.chatbot-dot:nth-child(2) {
    animation-delay: 0.16s;
}

.chatbot-dot:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes chatbot-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

#chatbot-input-area {
    display: flex;
    padding: 10px 12px;
    border-top: 1px solid var(--color-border);
    gap: 8px;
    flex-shrink: 0;
    background: #fff;
}

#chatbot-input {
    flex: 1;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.88rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

#chatbot-input:focus {
    border-color: var(--color-navy);
}

#chatbot-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-red);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

#chatbot-send:hover {
    background: var(--color-red-dark);
}

#chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile responsive */
@media (max-width: 480px) {
    #chatbot-window {
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    #chatbot-messages {
        max-height: calc(100vh - 130px);
    }

    #chatbot-toggle {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float {
        bottom: 84px;
        right: 16px;
    }
}
