
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
  --primary-color: #02053d;
  --secondary-color: #af203d;
  --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: 55px;      /* 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: #007bff;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 80vh;
    background-image: url("../images/backgroundArt.png");
    background-size: cover;        /* Cover entire hero */
    background-position: center;   /* Center the image */
    background-repeat: no-repeat;
}

.hero-content h1 {
    font-family: 'Imperial Script', serif;
    font-size: 7rem;
    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);
}
h5 {
    color: var(--secondary-color);
}
/* App container */
#app {
    padding: 2rem;
}

.about {
    padding: 80px 10%;
}

.about-content {
    display: flex;
    gap: 60px;
}

.about-text {
    flex-direction: column;
    gap: 20px;
}
.about p{
    margin-top: 20px;
    line-height: 1.6;
    color: var(--text-color);
}

.about-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Right image */
.about-image {
    flex: 1;
    text-align: right;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 5%;
}

@media (max-width: 900px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: left;   /* force left alignment */
        align-items: flex-start;
    }
}


/* 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;
}
.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(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;
}

.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(--secondary-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(--secondary-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;
    }
}
