
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
  --primary-color: #000000;
  --secondary-color: #614302;
  --text-color: #333333;
  --background-color: #f4f4f4;
}

body {
    background-color: var(--background-color);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 80px;      /* adjust size */
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 80vh;
    background-image: url("../images/background.png");
    background-size: cover;        /* Cover entire hero */
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--background-color);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}
h5 {
    color: var(--secondary-color);
}
/* =========================
   Modern About Section
========================= */

.about-modern {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
    padding: 6rem 1.5rem;
    font-family: 'Inter', sans-serif;
}

.about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}

/* Intro */
.about-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.about-intro h5 {
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.about-intro h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--primary-color);
}

/* Content Blocks */
.about-block {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.about-block.reverse {
    grid-template-columns: 1fr 1.1fr;
}

.about-block.reverse .about-image {
    order: -1;
}

/* Text */
.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.75;
    color: #374151;
}

/* Images */
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.4s ease;
}

.about-block:hover .about-image img {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 900px) {
    .about-block,
    .about-block.reverse {
        grid-template-columns: 1fr;
    }

    .about-block.reverse .about-image {
        order: 0;
    }

    .about-block {
        padding: 2rem;
    }
}



/* Fleet Section Styling */
.fleet {
    padding: 80px 20px;
    background-color: var(--background-color);
}

.fleet-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Vehicle Cards Grid */
.vehicle-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.fleet h2{
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}
.vehicle-card {
    background: var(--background-color);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    cursor: pointer;
}

/* Hidden details */
.vehicle-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Show on hover (desktop) */
.vehicle-card:hover .vehicle-details {
    max-height: 500px; /* large enough for content */
    opacity: 1;
}

/* Show when tapped (mobile) */
.vehicle-card.active .vehicle-details {
    max-height: 500px;
    opacity: 1;
}

.vehicle-card img {
    width: 100%;
    aspect-ratio: 16 / 9;   /* or 4 / 3 */
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.vehicle-card p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Hover Effect */
.vehicle-card:hover {
    transform: scale(0.95);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

@media (hover: none) {
    .vehicle-card:hover {
        transform: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }
}

/* Responsive Text */
@media (max-width: 768px) {
    .fleet h2 {
        font-size: 2rem;
    }
    .vehicle-types {
        margin-top: auto;
    }
}

@media (max-width: 480px) {
    .fleet h2 {
        font-size: 1.8rem;
    }
}

/* =========================
   HOW IT WORKS
========================= */
.how-it-works {
    padding: 80px 20px;
    background: linear-gradient(180deg, #ffffff, #f4f4f4);
}

.how-it-works-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.how-it-works h2 {
    margin: 10px 0 50px;
}

/* =========================
   Steps grid
========================= */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center; /* centers grid */
    gap: 30px;
    margin-bottom: 50px;
}

/* =========================
   Step card (base)
========================= */
.step-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden; /* REQUIRED for collapse */
}

/* Hover stays the same */
.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* =========================
   Clickable header
========================= */
.step-header {
    all: unset;
    display: flex;
    flex-direction: column;
    align-items: center;        /* center horizontally */
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 40px 30px;
    cursor: pointer;
}

.step-left {
    display: flex;
    flex-direction: column;
    align-items: center;        /* THIS fixes the right shift */
    justify-content: center;
    gap: 12px;
    width: 100%;
}

/* Title block */
.step-title {
    flex: 1;
    text-align: left;
}

/* Keep chevron aligned */
.step-toggle {
    margin-left: auto;
}

/* =========================
   Step number bubble
========================= */
.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

/* =========================
   Step icon
========================= */
.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(175, 32, 61, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.step-icon i {
    font-size: 28px;
    color: var(--secondary-color);
}

.cta-center {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}
/* =========================
   Typography
========================= */
.step-card h3 {
    margin-bottom: 6px;
    font-weight: 600;
}

.step-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* =========================
   Chevron toggle
========================= */
.step-toggle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

/* =========================
   Collapsible details
========================= */
.step-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 30px;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.step-details p,
.step-details ul {
    margin-bottom: 15px;
}

.step-details ul {
    padding-left: 20px;
}

.step-details li {
    margin-bottom: 8px;
}

/* =========================
   Active (open) state
========================= */
.step-card.active .step-details {
    max-height: 400px;
    opacity: 1;
    padding-bottom: 30px;
}

.step-card.active .step-toggle {
    transform: rotate(180deg);
}

/* =========================
   Mobile adjustments
========================= */
@media (max-width: 768px) {
    .how-it-works {
        padding: 60px 15px;
    }

    .step-header {
        padding: 30px 20px;
    }
}

/* FOOTER */
.site-footer {
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 80px;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

/* Brand */
.footer-brand img {
    height: 70px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Headings */
.site-footer h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

/* Links */
.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Contact */
.footer-contact p {
    margin-bottom: 10px;
    color: var(--text-color);
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Social */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(97, 67, 2, 0.1);
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: background 0.3s, transform 0.2s;
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Bottom bar */
.footer-bottom {
    background: #f4f4f4;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
}

/* Mobile tweaks */
@media (max-width: 480px) {
    .footer-container {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}
