/* ==========================================================
   GreenDrive — Teal & Chrome Colour Palette
   ──────────────────────────────────────────────────────────
   Deep Teal      #006D77   25%  Navbar, stats bar, teal accents
   Chrome Silver  #B0BEC5   15%  Section bgs, card borders, chips
   White          #FFFFFF   35%  Page bg, hero, fleet, form, cards
   Dark Charcoal  #2C3E50   15%  Footer bg, body text
   Coral Accent   #E29578   10%  CTA buttons, pricing, highlights
   ──────────────────────────────────────────────────────────
   Page visual-area mapping:
     Navbar          → Teal     ┐
     Stats bar       → Teal     ┤ ~25%
     Teal accents    → Teal     ┘
     Hero section    → White    ┐
     Fleet section   → White    ┤ ~35%
     Enquiry section → White    ┘
     Why Us section  → Chrome   ┐ ~15%
     How It Works    → Chrome   ┘
     Footer          → Charcoal ─ ~15%
     All CTAs/prices → Coral    ─ ~10%
   ========================================================== */

/* ── VARIABLES ── */
:root {
    --teal:          #006D77;
    --teal-dark:     #004E56;
    --teal-light:    #4DAFBB;
    --teal-xlight:   #E0F4F6;
    --chrome:        #B0BEC5;
    --chrome-bg:     #EEF1F3;
    --chrome-dark:   #90A4AE;
    --white:         #FFFFFF;
    --charcoal:      #2C3E50;
    --charcoal-80:   rgba(44, 62, 80, 0.80);
    --charcoal-60:   rgba(44, 62, 80, 0.60);
    --charcoal-40:   rgba(44, 62, 80, 0.40);
    --charcoal-10:   rgba(44, 62, 80, 0.07);
    --coral:         #E29578;
    --coral-dark:    #C8745A;
    --coral-light:   #FAEAE3;
    --font:          'Poppins', sans-serif;
    --radius-sm:     8px;
    --radius-md:     12px;
    --radius-lg:     18px;
    --radius-xl:     24px;
    --shadow-sm:     0 4px 12px rgba(0,0,0,0.06);
    --shadow-md:     0 10px 30px rgba(0,0,0,0.09);
    --shadow-teal:   0 8px 24px rgba(0,109,119,0.22);
    --shadow-coral:  0 8px 24px rgba(226,149,120,0.35);
    --transition:    0.25s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
    font-family: var(--font);
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a   { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── UTILITY ── */
.text-teal      { color: var(--teal)     !important; }
.text-teal-lt   { color: var(--teal-light) !important; }
.text-coral     { color: var(--coral)    !important; }
.text-charcoal  { color: var(--charcoal) !important; }

.bg-white        { background-color: var(--white)      !important; }
.bg-chrome-light { background-color: var(--chrome-bg)  !important; }

.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

/* ── SECTIONS ── */
section { padding: 90px 0; }

.section-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--charcoal);
    line-height: 1.18;
    margin-bottom: 14px;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--charcoal-60);
    max-width: 520px;
    margin: 0 auto;
}


/* ==========================================================
   BUTTONS  (Coral — 10%)
   ========================================================== */
.btn-coral {
    background-color: var(--coral);
    border: 2px solid var(--coral);
    color: var(--white);
    font-family: var(--font);
    font-weight: 600;
    border-radius: var(--radius-md);
    letter-spacing: 0.2px;
    transition: background-color var(--transition),
                border-color var(--transition),
                transform var(--transition),
                box-shadow var(--transition);
}
.btn-coral:hover,
.btn-coral:focus-visible {
    background-color: var(--coral-dark);
    border-color:     var(--coral-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-coral);
}
.btn-coral:active { transform: translateY(0); }

.btn-teal-outline {
    background-color: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
    font-family: var(--font);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: background-color var(--transition),
                color var(--transition),
                transform var(--transition),
                box-shadow var(--transition);
}
.btn-teal-outline:hover,
.btn-teal-outline:focus-visible {
    background-color: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
}
.btn-teal-outline:active { transform: translateY(0); }


/* ==========================================================
   NAVBAR  (Deep Teal — 25%)
   ========================================================== */
#mainNav {
    background-color: var(--teal);
    padding: 14px 0;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
    z-index: 1030;
}
#mainNav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 109, 119, 0.35);
    padding: 10px 0;
}

/* Brand */
#mainNav .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white) !important;
    letter-spacing: -0.4px;
}
.brand-icon { color: var(--coral) !important; }

/* Nav links */
#mainNav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s, color 0.2s;
}
#mainNav .nav-link:hover {
    color: var(--white) !important;
    background-color: rgba(255,255,255,0.13);
}

/* Toggler */
#mainNav .navbar-toggler {
    border-color: rgba(255,255,255,0.45);
    padding: 4px 8px;
}
#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ==========================================================
   HERO  (White — 35%)
   ========================================================== */
.hero-section {
    background-color: var(--white);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow behind image */
.hero-section::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,109,119,0.055) 0%, transparent 68%);
    pointer-events: none;
}

.hero-row {
    min-height: 80vh;
    gap: 0;
}

.hero-content { padding-right: 48px; }

/* Pill badge above headline */
.badge-pill-teal {
    display: inline-block;
    padding: 6px 18px;
    border: 2px solid var(--teal);
    color: var(--teal);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.hero-heading {
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--charcoal);
    margin: 18px 0 20px;
}
.hero-heading .text-teal { color: var(--teal); }

.hero-sub {
    font-size: 1.1rem;
    color: var(--charcoal-60);
    max-width: 460px;
    margin-bottom: 36px;
}

/* Trust strip */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal-60);
}
.trust-item i { font-size: 1.05rem; }

/* Hero image card */
.hero-img-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,109,119,0.16);
}
.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

/* Floating review badge */
.hero-float-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}
.coral-star  { color: var(--coral); font-size: 1.4rem; }
.float-title { font-weight: 700; font-size: 0.92rem; color: var(--charcoal); }
.float-sub   { font-size: 0.75rem; color: var(--charcoal-60); }


/* ==========================================================
   STATS BAR  (Deep Teal — 25%)
   ========================================================== */
.stats-section {
    background-color: var(--teal);
    padding: 0;
}
.stat-item {
    padding: 40px 20px;
    border-right: 1px solid rgba(255,255,255,0.16);
}
.stat-item:last-child { border-right: none; }

.stat-num {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-lbl {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.68);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}


/* ==========================================================
   WHY US  (Chrome bg — 15% | White cards — 35%)
   ========================================================== */
.why-section { background-color: var(--chrome-bg); }

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 38px 28px;
    height: 100%;
    border: 1px solid var(--chrome);
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 56px rgba(0,109,119,0.11);
}

.feature-icon-wrap {
    width: 62px;
    height: 62px;
    background-color: var(--teal-xlight);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
}

.fc-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 18px 0 10px;
}
.fc-body {
    font-size: 0.92rem;
    color: var(--charcoal-60);
    line-height: 1.7;
    margin: 0;
}


/* ==========================================================
   FLEET GRID  (White — 35%)
   ========================================================== */
.fleet-section { background-color: var(--white); }

/* Filter tabs */
.filter-btn {
    background: var(--white);
    border: 2px solid var(--chrome);
    color: var(--charcoal-60);
    font-family: var(--font);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    line-height: 1.4;
}
.filter-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}
.filter-btn.active {
    background-color: var(--teal);
    border-color:     var(--teal);
    color: var(--white);
}

/* Car card */
.car-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--chrome);
    overflow: hidden;
    height: 100%;
    transition: transform var(--transition),
                box-shadow var(--transition),
                border-color var(--transition);
}
.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 64px rgba(0,109,119,0.13);
    border-color: var(--teal);
}
.car-card--popular {
    border-color: var(--coral);
}
.car-card--popular:hover {
    border-color: var(--coral-dark);
}

/* Car image */
.car-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}
.car-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.car-card:hover .car-thumb { transform: scale(1.05); }

/* Badges over image */
.car-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: var(--teal);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 100px;
}
.badge-coral   { background-color: var(--coral)    !important; }
.badge-charcoal { background-color: var(--charcoal) !important; }

/* Card body */
.car-body { padding: 20px; }

.car-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.car-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 6px;
}

/* Fuel / seats chips */
.car-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.73rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1.5px solid;
    white-space: nowrap;
}
.chip-chrome {
    background-color: var(--chrome-bg);
    border-color: var(--chrome);
    color: var(--charcoal);
}
.chip-petrol {
    background-color: rgba(0,109,119,0.07);
    border-color: var(--teal);
    color: var(--teal);
}
.chip-hybrid {
    background-color: rgba(0,140,90,0.08);
    border-color: #009966;
    color: #007a50;
}
.chip-diesel {
    background-color: rgba(44,62,80,0.08);
    border-color: var(--charcoal);
    color: var(--charcoal);
}

/* Price */
.price-wrap  { text-align: right; flex-shrink: 0; }
.price-amt   { font-size: 1.55rem; font-weight: 900; color: var(--coral); line-height: 1; display: block; }
.price-unit  { font-size: 0.78rem; font-weight: 500; color: var(--charcoal-60); }

/* Feature perks */
.car-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--chrome-bg);
}
.car-perks span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--charcoal-60);
}
.car-perks i { font-size: 0.88rem; }

/* Hidden (filter) */
.car-col.hidden { display: none; }


/* ==========================================================
   HOW IT WORKS  (Chrome bg — 15% | White cards — 35%)
   ========================================================== */
.how-section { background-color: var(--chrome-bg); }

.step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 38px 24px 32px;
    border: 1px solid var(--chrome);
    position: relative;
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.step-num {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 3.2rem;
    font-weight: 900;
    color: rgba(0,109,119,0.1);
    line-height: 1;
    user-select: none;
}

.step-icon-wrap {
    width: 66px;
    height: 66px;
    background-color: var(--teal-xlight);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 18px 0 10px;
}
.step-body {
    font-size: 0.91rem;
    color: var(--charcoal-60);
    margin: 0;
    line-height: 1.7;
}


/* ==========================================================
   ENQUIRY FORM  (White — 35% | Teal header — 25%)
   ========================================================== */
.enquiry-section {
    background-color: var(--white);
    padding-bottom: 100px;
}

.enquiry-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1.5px solid var(--chrome);
    box-shadow: 0 24px 64px rgba(0,109,119,0.11);
}

/* Teal header strip */
.eq-header {
    background-color: var(--teal);
    padding: 42px 40px 34px;
    text-align: center;
}
.eq-header-icon {
    font-size: 2.4rem;
    color: var(--white);
    display: block;
    margin-bottom: 12px;
}
.eq-header-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}
.eq-header-sub {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.72);
    margin: 0;
}

/* Selected car bar */
.selected-car-bar {
    background-color: rgba(0,109,119,0.06);
    border-bottom: 1px solid var(--chrome);
    padding: 12px 28px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
}
.price-inline {
    font-weight: 700;
    color: var(--coral);
}
.btn-x {
    background: none;
    border: none;
    color: var(--charcoal-40);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0 0 8px;
    margin-left: auto;
    transition: color 0.2s;
}
.btn-x:hover { color: var(--coral); }

/* Form body */
.eq-body { padding: 36px 40px 40px; }

.fw-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}
.req-star   { color: var(--coral); }
.optional-tag {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--charcoal-40);
}

/* Inputs */
.custom-input {
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--charcoal);
    border: 1.5px solid var(--chrome);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    background-color: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.custom-input::placeholder { color: var(--charcoal-40); }
.custom-input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,109,119,0.13);
    outline: none;
}

/* Input group icon box — Chrome Silver */
.ig-chrome {
    background-color: var(--chrome-bg);
    border: 1.5px solid var(--chrome);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md) !important;
    padding: 0 14px;
    color: var(--charcoal-60);
}
.ig-right {
    border-left: none !important;
    border-radius: 0 var(--radius-md) var(--radius-md) 0 !important;
}

/* Submit */
.submit-btn {
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    letter-spacing: 0.3px;
}

/* Success state */
.success-state {
    text-align: center;
    padding: 50px 20px 30px;
}
.success-icon-wrap i { font-size: 4.5rem; }
.success-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--charcoal);
    margin: 20px 0 10px;
}
.success-body {
    font-size: 0.95rem;
    color: var(--charcoal-60);
    max-width: 320px;
    margin: 0 auto;
}


/* ==========================================================
   FOOTER  (Dark Charcoal — 15%)
   ========================================================== */
.site-footer {
    background-color: var(--charcoal);
    padding-top: 72px;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
}
.footer-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.75;
    max-width: 300px;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--teal-light);
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-list li { margin-bottom: 10px; }
.footer-list a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.58);
    transition: color 0.2s;
}
.footer-list a:hover { color: var(--white); }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.footer-contact i {
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact span {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.5;
}

/* Social icons */
.social-row {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}
.soc-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.soc-link:hover {
    background-color: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    margin-top: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.footer-copy {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.38);
    margin: 0;
}
.footer-legal {
    display: flex;
    gap: 22px;
}
.footer-legal a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.38);
    transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }


/* ==========================================================
   BACK TO TOP
   ========================================================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background-color: var(--teal);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,109,119,0.38);
    transition: background-color var(--transition), transform var(--transition);
    z-index: 999;
}
.back-to-top:hover {
    background-color: var(--teal-dark);
    transform: translateY(-3px);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 991.98px) {
    .hero-content  { padding-right: 0; text-align: center; }
    .hero-sub      { margin-left: auto; margin-right: auto; }
    .hero-trust    { justify-content: center; }
    .hero-section  { padding: 60px 0 50px; }
    .hero-row      { min-height: auto; padding: 40px 0; }
    section        { padding: 72px 0; }
}

@media (max-width: 767.98px) {
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.16);
    }
    .stat-item:last-child { border-bottom: none; }

    .eq-body        { padding: 28px 24px; }
    .eq-header      { padding: 32px 24px; }

    .footer-bottom  { flex-direction: column; text-align: center; }
    .footer-legal   { justify-content: center; }

    section         { padding: 60px 0; }
}

@media (max-width: 575.98px) {
    .hero-heading   { font-size: 2.1rem; }
    .section-title  { font-size: 1.7rem; }
    .car-top-row    { flex-direction: column; gap: 10px; }
    .price-wrap     { text-align: left; }
}
