
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
  --primary-color: #0d898d;
  --secondary-color: #01a0df;
  --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: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 100;
}
.logo img {
    height: 50px;      /* adjust size */
    width: auto;
    display: block;
    padding: 0 2.5%;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* ⬅️ move content left */
    text-align: left;            /* ⬅️ left align text */
    padding: 0 2.5%;              /* optional spacing from edge */
    height: 80vh;
    background-image: url("../images/landing.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,   /* strong dark on left */
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0.2) 60%,
        rgba(0, 0, 0, 0) 100%    /* fully transparent on right */
    );

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Archivo Black', serif;
    font-size: 5rem;
    margin-bottom: 2rem;
    color: white;
}


.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color:#fff;
    text-shadow: 2px 2px 4px #000000;
}

.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: #0056b3;
    transform: translateY(-2px);
}

/* Mobile responsiveness for hero h1 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}

h5 {
    color: var(--secondary-color);
}
/* App container */
#app {
    padding: 2rem;
}

.about {
    padding: 100px 8%;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    background: #fff;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    transform: scale(1.05);
}

.about-text {
    flex-direction: column;
    gap: 20px;
}
.about-text h2 {
    font-size: 2rem;
    margin-top: 10px;
}
.about p{
    margin-top: 20px;
    line-height: 1.6;
    color: var(--text-color);
}

.about-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}


@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: left;   /* force left alignment */
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 4%;
    }

    .about-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 40px 2%;
    }

    .about-content {
        padding: 20px 15px;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about p {
        font-size: 0.95rem;
    }
}


/* 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: translateY(-8px);
    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(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Step card */
.step-card {
    background: #ffffff;
    padding: 40px 30px;
    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;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* 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: 0 auto 20px;
}

/* Typography */
.step-card h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

.step-card p {
    color: var(--text-color);
    line-height: 1.6;
}
.step-card {
    cursor: pointer;
}

/* Hidden expandable content */
.step-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease;
    margin-top: 0;
}

/* Active (expanded) state */
.step-card.active .step-details {
    max-height: 300px; /* enough for content */
    opacity: 1;
    margin-top: 20px;
}

/* Step details text */
.step-details p,
.step-details ul {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

.step-details ul {
    padding-left: 18px;
}

/* Optional visual cue */
.step-card::after {
    content: "Click for more";
    display: block;
    font-size: 0.75rem;
    color: rgba(0,0,0,0.4);
    margin-top: 15px;
    transition: opacity 0.3s ease;
}

.step-card.active::after {
    content: "Click to close";
}
/* Mobile adjustments */
@media (max-width: 768px) {
    .how-it-works {
        padding: 60px 15px;
    }
}
/* Step icon */
.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(175, 32, 61, 0.1); /* secondary color tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.step-icon i {
    font-size: 28px;
    color: var(--secondary-color);
}

/* Slight spacing tweak */
.step-number {
    margin-bottom: 15px;
}

/* =====================
   Footer
===================== */

.footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 70px 20px 25px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin-top: 60px;
}

section {
    margin-bottom: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

/* Brand */
.footer-brand img {
    width: 140px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* Headings */
.footer h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Links */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-color);
}

/* Contact */
.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    margin-right: 8px;
    color: var(--background-color);
}

/* Social Icons */
.footer-socials {
    margin-top: 15px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
}
.footer-socials a:link,
.footer-socials a:visited,
.footer-socials a:hover,
.footer-socials a:active {
    text-decoration: none;
}


.footer-socials a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Bottom */
.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

/* Mobile tweaks */
@media (max-width: 600px) {
    .footer {
        padding: 60px 15px 20px;
        text-align: center;
    }

    .footer-socials a {
        margin-right: 8px;
    }
}

/* Burger hidden on desktop, shown on mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Default burger lines */
.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* X animation */
.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 2rem 0;
        display: none;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }
}

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 1000;
}

.popup.active {
    opacity: 1;
    pointer-events: all;
}

.popup-content {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
}

.popup-content button {
    margin-top: 15px;
    padding: 8px 20px;
    border: none;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}
