/* ============================================
   Kamboh Logistics - Ultra-Premium Light Theme
   Clean, Minimal, High-End Design (Stripe/Apple Inspired)
   ============================================ */

:root {
    /* Premium Light Palette */
    --bg-light: #ffffff;
    --bg-surface: #f8fafc; /* Soft cool gray for sections */
    --bg-surface-elevated: #ffffff;
    
    --white: #ffffff;
    --text-primary: #0f172a; /* Slate 900 for sharp contrast */
    --text-secondary: #475569; /* Slate 600 */
    --text-muted: #94a3b8;
    --border-light: rgba(15, 23, 42, 0.08); /* Very soft border */

    /* Vibrant SaaS Accent (Deep Indigo to Azure) */
    --accent: #4F46E5;
    --accent-light: #6366f1;
    --accent-dark: #3730a3;
    --accent-gradient: linear-gradient(135deg, #4F46E5 0%, #3b82f6 100%);

    /* Typography (Modern, crisp, Sans-Serif) */
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;

    /* Effects & Glassmorphism (Stripe/Apple Style) */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-elevated: 0 25px 50px -12px rgba(50, 50, 93, 0.15), 0 15px 25px -15px rgba(0, 0, 0, 0.1); 
    --shadow-glow: 0 10px 25px rgba(79, 70, 229, 0.3); /* Indigo glow */
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Faster, snappier iOS curve */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Frosted Glass for Light Theme */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 1.85rem; }
h4 { font-size: 1.35rem; }

p { color: var(--text-secondary); font-size: 1.125rem; line-height: 1.7; font-weight: 400; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent-light); color: var(--white); }

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

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

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.header-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 0;
    transition: padding 0.4s ease;
}

.header.scrolled .header-inner { padding: 16px 0; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}
.logo-img:hover {
    opacity: 0.9;
    transform: scale(1.05);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
    font-family: var(--font-display);
    font-size: 1.75rem; font-weight: 800;
    color: var(--text-primary); letter-spacing: -0.03em;
}
.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem; letter-spacing: 3px;
    color: var(--accent); font-weight: 600; text-transform: uppercase;
}

/* Footer logo styles */
.footer-logo-img {
    height: 70px;
    width: auto;
    margin-bottom: 12px;
}

.nav { display: flex; gap: 36px; }
.nav-link {
    font-size: 0.9rem; font-weight: 500;
    color: var(--text-secondary); 
    position: relative; padding: 8px 0;
    transition: var(--transition);
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: var(--transition); border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--text-primary); }

.mobile-toggle {
    display: none; flex-direction: column; gap: 6px;
    cursor: pointer; padding: 8px; z-index: 1001;
}
.mobile-toggle span {
    width: 28px; height: 2px; background: var(--text-primary);
    border-radius: 2px; transition: var(--transition);
}

.mobile-menu {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh;
    background: var(--glass-bg); backdrop-filter: blur(25px);
    padding: 100px 40px 40px;
    flex-direction: column; gap: 24px;
    z-index: 999;
}
.mobile-menu.active { display: flex; }
.mobile-link {
    font-size: 1.75rem; font-weight: 600; font-family: var(--font-display);
    color: var(--text-primary); border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
}
.mobile-link:hover { color: var(--accent); padding-left: 10px; }


/* ============================================
   HERO SECTION (Vibrant Stripe Style)
   ============================================ */
.hero {
    position: relative;
    padding: 240px 0 160px;
    background: var(--bg-surface);
    overflow: hidden;
}

/* Soft, colorful mesh gradient background */
.hero::before, .hero::after, .hero-mesh {
    content: ''; position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(80px); opacity: 0.7; z-index: 0;
}
.hero::before {
    top: -10%; right: -5%; width: 600px; height: 600px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(236, 72, 153, 0.2) 100%);
    animation: drift 15s infinite alternate cubic-bezier(0.5, 0, 0.5, 1);
}
.hero::after {
    bottom: -10%; left: -10%; width: 700px; height: 700px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(16, 185, 129, 0.15) 100%);
    animation: drift 20s infinite alternate-reverse cubic-bezier(0.5, 0, 0.5, 1);
}
@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 40px) scale(1.05); }
}

.hero-content {
    position: relative; z-index: 1; max-width: 850px; text-align: left;
}

.hero h1 { margin-bottom: 24px; font-size: 5rem; line-height: 1.05; letter-spacing: -0.04em; }
.hero h1 span { 
    background: var(--accent-gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.hero p { font-size: 1.25rem; margin-bottom: 48px; max-width: 650px; color: var(--text-secondary); }

.hero-badges { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 20px; background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.95rem; font-weight: 600; text-transform: uppercase;
    color: var(--text-primary); letter-spacing: 0.5px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
}
.badge i {
    color: var(--accent);
    font-size: 1.1rem;
}
.badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(79, 70, 229, 0.2);
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(25px);
}
.badge:hover i {
    color: var(--white);
}
.badge i { color: var(--accent); }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; padding: 16px 36px; font-family: var(--font-body);
    font-size: 0.95rem; font-weight: 600; 
    border-radius: 50px; /* Pill shape for modern look */
    cursor: pointer; transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
    overflow: hidden; position: relative; z-index: 1; border: none;
}
.btn-primary {
    background: var(--accent); color: var(--white);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: var(--accent-light);
}

.btn-secondary {
    background: var(--white); color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--border-light); 
    box-shadow: var(--shadow-medium);
}

.btn-small { padding: 12px 24px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: var(--section-padding); position: relative; }

/* Offset for anchor links to account for fixed header */
section .container > div[id] {
  scroll-margin-top: 120px;
}
.section-dark { background: var(--bg-surface); } /* Not actually dark anymore, just surface contrast */

.section-title { font-size: 3.5rem; text-align: center; margin-bottom: 20px; }
.section-subtitle {
    text-align: center; font-size: 1.25rem; color: var(--text-secondary);
    max-width: 650px; margin: 0 auto 70px; font-weight: 400;
}

/* ============================================
   GLASS & CARDS (Floating effect)
   ============================================ */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
}

.card {
    background: var(--white); border: 1px solid var(--border-light); 
    border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
    transition: var(--transition); overflow: hidden;
}
.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-elevated);
}

/* ============================================
   FLEET GRID
   ============================================ */
.fleet-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px; margin-top: 50px;
}

.vehicle-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); box-shadow: var(--shadow-soft);
    overflow: hidden; transition: var(--transition); cursor: pointer; position: relative;
    display: flex; flex-direction: column;
}
.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(79, 70, 229, 0.2);
}

.vehicle-image {
    height: 260px; overflow: hidden; position: relative;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.03) 0%, transparent 70%);
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.vehicle-image img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.vehicle-card:hover .vehicle-image img { transform: scale(1.06); }

.vehicle-info { padding: 32px; display: flex; flex-direction: column; flex-grow: 1; }
.vehicle-name { font-size: 1.6rem; margin-bottom: 4px; color: var(--text-primary); }
.vehicle-years {
    font-size: 0.8rem; color: var(--accent);
    text-transform: uppercase; font-weight: 700; margin-bottom: 16px; letter-spacing: 1px;
}
.vehicle-desc { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 24px; flex-grow: 1; line-height: 1.6; }

.vehicle-action {
    margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border-light);
    display: flex; justify-content: space-between; align-items: center;
}
.vehicle-action span {
    font-size: 0.9rem; font-weight: 600; color: var(--accent);
    display: flex; align-items: center; gap: 8px; transition: var(--transition);
}
.vehicle-card:hover .vehicle-action span { gap: 14px; }


/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: var(--white); border-radius: var(--radius-lg); 
    width: 90%; max-width: 900px; max-height: 90vh; overflow-y: auto; padding: 60px;
    box-shadow: 0 50px 100px -20px rgba(50,50,93,0.25);
    transform: translateY(40px) scale(0.98); transition: var(--transition-smooth);
}
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute; top: 24px; right: 24px; width: 40px; height: 40px;
    background: var(--bg-surface); color: var(--text-primary);
    border: none; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; transition: var(--transition);
}
.modal-close:hover { background: var(--border-light); }

.modal-header { margin-bottom: 40px; text-align: center; }
.modal-header h2 { font-size: 2.5rem; margin-bottom: 8px; }

.year-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px; margin-bottom: 40px;
}
.year-card {
    background: var(--bg-light); border-radius: var(--radius-md);
    padding: 24px; border: 1px solid var(--border-light); box-shadow: var(--shadow-soft);
    transition: var(--transition); text-align: center;
}
.year-card:hover {
    border-color: var(--accent-light); transform: translateY(-4px); box-shadow: var(--shadow-medium);
}
.year-card h4 { font-size: 1.25rem; margin-bottom: 8px; color: var(--text-primary); }
.year-card p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 16px; }
.year-price { font-size: 1.5rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }

/* ============================================
   BOOKING FORM
   ============================================ */
.booking-section { background: var(--bg-surface); position: relative; }
.booking-container { max-width: 800px; margin: 0 auto; }
.booking-form {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 60px; border: 1px solid var(--border-light);
    box-shadow: var(--shadow-elevated);
}

.form-group { margin-bottom: 24px; }
.form-group label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: var(--text-primary); margin-bottom: 8px;
}
.form-control {
    width: 100%; padding: 16px 20px; font-family: var(--font-body);
    font-size: 1rem; color: var(--text-primary); font-weight: 400;
    background: var(--bg-surface); border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); background: var(--white); }

.checkbox-wrapper {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 20px; background: var(--bg-surface);
    border-radius: var(--radius-sm); border: 1px solid var(--border-light);
    cursor: pointer; transition: var(--transition); margin-bottom: 24px;
}
.checkbox-wrapper:hover { border-color: var(--accent-light); }
.checkbox-wrapper input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); }
.checkbox-wrapper label { cursor: pointer; font-weight: 500; font-size: 0.95rem; }
.checkbox-note { font-size: 0.85rem; color: var(--text-muted); display: block; margin-top: 4px; }

/* ============================================
   FEATURES & SERVICES
   ============================================ */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-top: 60px;
}
.feature-item {
    display: flex; align-items: flex-start; gap: 20px; padding: 30px;
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
}
.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(79, 70, 229, 0.2);
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(25px);
}
.feature-item:hover .feature-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1);
}
.feature-icon {
    width: 60px; height: 60px; background: rgba(79,70,229,0.1);
    color: var(--accent); border-radius: 16px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.5rem;
    transition: var(--transition);
}
.feature-text h4 { font-size: 1.25rem; margin-bottom: 8px; }
.feature-text p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; }
.feature-icon {
    width: 50px; height: 50px; background: rgba(79,70,229,0.1);
    color: var(--accent); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.25rem;
}
.feature-text h4 { font-size: 1.15rem; margin-bottom: 6px; }
.feature-text p { font-size: 0.95rem; color: var(--text-secondary); }

/* Trust Cards - Modern floating cards with glow */
.trust-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
    text-align: center;
}
.trust-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 40px 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    flex: 1 1 240px;
    min-width: 220px;
    max-width: 280px;
}
.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
}
.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(79, 70, 229, 0.2);
}
.trust-card:hover .trust-glow {
    opacity: 0.3;
    transform: scale(1.5);
}
.trust-icon {
    position: relative;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.08);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.trust-card:hover .trust-icon {
    background: rgba(79, 70, 229, 0.12);
    transform: scale(1.05);
}
.trust-icon i {
    font-size: 1.75rem;
    color: var(--accent);
    position: relative;
    z-index: 2;
}
.trust-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: var(--transition);
    z-index: 1;
}
.trust-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}
.trust-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 8px 0 0;
    padding: 0 8px;
} 

.service-card {
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
    padding: 50px 40px; border: 1px solid var(--border-light);
    transition: var(--transition); position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-elevated); }
.service-icon {
    width: 60px; height: 60px; background: rgba(79,70,229,0.1);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--accent); font-size: 1.75rem;
}

/* ============================================
    FOOTER
    ============================================ */
.footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); 
    padding: 100px 0 40px;
    border-top: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-social a {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 1.25rem;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.95rem; margin-top: 16px; max-width: 280px; }

.footer h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; margin-bottom: 24px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; }
.footer a { color: var(--text-secondary); font-size: 0.95rem; transition: var(--transition); }
.footer a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border-light); padding-top: 30px;
    text-align: center; color: var(--text-muted); font-size: 0.85rem;
}

/* ============================================
   STICKY ELEMENTS
   ============================================ */
.sticky-cta {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--accent); color: var(--white);
    padding: 14px 28px; border-radius: 50px; box-shadow: var(--shadow-glow);
    z-index: 999; display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 0.9rem;
    transform: translateY(150px); opacity: 0; transition: var(--transition);
}
.sticky-cta.visible { transform: translateY(0); opacity: 1; }
.sticky-cta:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4); }

.whatsapp-float {
    position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px;
    background: #25d366; color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3); z-index: 998;
    font-size: 1.75rem; transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-4px); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); }

/* ============================================
   CONTACT & SERVICES (Specific Pages)
   ============================================ */
.contact-hero, .service-hero, .about-hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--bg-surface);
    text-align: center;
}

.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px; margin-top: 40px;
}

.contact-card {
    background: var(--white);
    padding: 50px 30px; border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    text-align: center; transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
}

.contact-icon {
    width: 70px; height: 70px; background: rgba(79, 70, 229, 0.1);
    color: var(--accent); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 24px;
}

.contact-card h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--text-primary); }
.contact-card p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 24px; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.75rem; }
    .hero, .contact-hero, .service-hero { padding: 160px 0 80px; }
    .nav { gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav { display: none; }
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    .hero-badges { justify-content: center; }
    .hero-content { text-align: center; margin: 0 auto; }
    .hero-actions { justify-content: center; }
    .section { padding: 80px 0; }
    .fleet-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    h1 { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .modal-content { padding: 40px 24px; }
}

/* ============================================
    PROCESS STEPS
   ============================================ */
.process-step {
    background: var(--white); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); padding: 40px 30px; text-align: center;
    box-shadow: var(--shadow-soft); transition: var(--transition);
    position: relative; overflow: hidden;
}
.process-step:hover {
    transform: translateY(-8px); box-shadow: var(--shadow-elevated);
    border-color: rgba(79, 70, 229, 0.2);
}
.step-icon {
    width: 80px; height: 80px; background: rgba(79, 70, 229, 0.08);
    color: var(--accent); border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 24px; transition: var(--transition);
}
.process-step:hover .step-icon {
    background: var(--accent); color: var(--white); transform: scale(1.1) rotate(5deg);
}
.process-step h3 { font-size: 1.25rem; color: var(--text-primary); margin-bottom: 12px; }
.process-step p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
    TESTIMONIALS
    ============================================ */
.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(79, 70, 229, 0.2);
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

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

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
    MOBILE SPECIFIC IMPROVEMENTS
    ============================================ */

/* Services Page - Mobile Image Improvements */
@media (max-width: 1024px) {
    /* Services layout: stack grid items vertically on mobile - override inline styles */
    section[id="car-rental"] > div:nth-child(3),
    section[id="long-term"] > div:nth-child(3) {
        display: block !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-rows: minmax(0, auto) !important;
    }
    
    /* Make images full width and proper height - override inline styles */
    section[id="car-rental"] img,
    section[id="long-term"] img {
        width: 100% !important;
        height: auto !important;
        min-height: 250px !important;
        max-height: 400px !important;
        object-fit: cover !important;
        border-radius: var(--radius-md) !important;
        box-shadow: var(--shadow-medium) !important;
        margin-bottom: 20px !important;
    }
    
    /* On mobile, reorder to show image first, then description */
    /* For car rental: image is second child, text is first child - swap order */
    section[id="car-rental"] > div:nth-child(3) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-auto-rows: minmax(0, auto) !important;
    }
    
    section[id="car-rental"] > div:nth-child(3) > div:nth-child(2) {  /* image container */
        order: 1 !important;
    }
    
    section[id="car-rental"] > div:nth-child(3) > div:nth-child(1) {  /* text container */
        order: 2 !important;
    }
    
/* For long-term: image is first child, text is second child - keep order but stack (same pattern as car rental) */
section[id="long-term"] > div:nth-child(3) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: minmax(0, auto) !important;
}

section[id="long-term"] > div:nth-child(3) > div:nth-child(1) {  /* image container */
    order: 1 !important;
}

section[id="long-term"] > div:nth-child(3) > div:nth-child(2) {  /* text container */
    order: 2 !important;
}
    
    /* Ensure both containers take full width - override inline styles */
    section[id="car-rental"] > div:nth-child(3) > div,
    section[id="long-term"] > div:nth-child(3) > div {
        width: 100% !important;
        margin: 0 !important;
    }
    
    /* Adjust text containers to take full width and reset padding/margin - override inline styles */
    section[id="car-rental"] > div:nth-child(2),
    section[id="long-term"] > div:nth-child(2),
    section[id="car-rental"] > div:nth-child(1),
    section[id="long-term"] > div:nth-child(1) {
        width: 100% !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }
    
    /* Also override any inline padding/margin on text containers */
    section[id="car-rental"] > div:nth-child(2) > *,
    section[id="long-term"] > div:nth-child(2) > *,
    section[id="car-rental"] > div:nth-child(1) > *,
    section[id="long-term"] > div:nth-child(1) > * {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Adjust text sizes for better readability on mobile */
    section[id="car-rental"] h2,
    section[id="delivery"] h2,
    section[id="corporate"] h2,
    section[id="long-term"] h2,
    section[id="auto-motors"] h2 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    section[id="car-rental"] p,
    section[id="delivery"] p,
    section[id="corporate"] p,
    section[id="long-term"] p,
    section[id="auto-motors"] p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    /* Improve spacing in service sections */
    section[id="car-rental"],
    section[id="delivery"],
    section[id="corporate"],
    section[id="long-term"],
    section[id="auto-motors"] {
        margin-bottom: 80px !important;
    }
    
    /* Improve delivery section layout on mobile */
    #delivery .grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Adjust delivery icons and text */
    #delivery .delivery-feature h3,
    #delivery .delivery-feature h4 {
        font-size: 1.5rem !important;
    }
    
    #delivery .delivery-feature p {
        font-size: 1rem !important;
    }
    
    /* Fix corporate rentals section */
    section[id="corporate"] > div:nth-child(2) {
        width: 100% !important;
    }
}
}

/* Booking Page - Mobile Widget Fixes */
@media (max-width: 768px) {
    /* Fix booking form layout */
    .booking-form {
        padding: 30px;
        margin: 0;
    }
    
    /* Fix grid layouts in booking form */
    .booking-form .form-group {
        margin-bottom: 20px;
    }
    
    /* Make form fields full width on mobile */
    .booking-form input[type="text"],
    .booking-form input[type="email"],
    .booking-form input[type="tel"],
    .booking-form select {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
    
    /* Improve button sizing for touch */
    .booking-form button.btn-primary {
        padding: 16px 20px;
        font-size: 1.1rem;
        min-height: 50px;
    }
    
    /* Fix success message styling */
    #successMessage {
        padding: 40px 20px;
        margin-top: 20px;
    }
    
    #successMessage h2 {
        font-size: 1.8rem;
    }
    
    #successMessage p {
        font-size: 1rem;
    }
    
    /* Fix trust grid on booking page */
    .trust-grid {
        gap: 20px;
    }
    
    .trust-card {
        padding: 25px 15px;
    }
    
    .trust-card h4 {
        font-size: 1.1rem;
    }
    
    .trust-card p {
        font-size: 0.9rem;
    }
}

/* Homepage - Mobile Text Size Adjustments */
@media (max-width: 768px) {
    /* Adjust hero section text sizes */
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Adjust section titles */
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* Improve fleet card spacing */
    .vehicle-card {
        margin-bottom: 20px;
    }
    
    /* Adjust vehicle info text sizes */
    .vehicle-name {
        font-size: 1.4rem;
    }
    
    .vehicle-years {
        font-size: 0.9rem;
    }
    
    .vehicle-desc {
        font-size: 0.95rem;
    }
    
    /* Improve button touch targets */
    .btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    /* Improve footer spacing */
    .footer {
        padding: 80px 0 30px;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
    }
    
    .footer h4 {
        font-size: 0.9rem;
    }
    
    .footer li {
        margin-bottom: 10px;
    }
    
    .footer a {
        font-size: 0.9rem;
    }
    
    /* Improve sticky CTA button size */
    .sticky-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }
}

/* Additional mobile fixes for better touch experience */
@media (max-width: 480px) {
    /* Further reduce sizes for very small screens */
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Improve form field heights */
    input, select, textarea {
        min-height: 48px;
    }
    
    /* Improve navbar toggle button size */
    .mobile-toggle {
        padding: 12px;
    }
    
    .mobile-toggle span {
        width: 24px;
        height: 2px;
    }
    
    /* Improve mobile menu spacing */
    .mobile-menu {
        padding: 80px 20px 20px;
    }
    
    .mobile-link {
        font-size: 1.5rem;
        padding-bottom: 10px;
    }
}
