/* Modern Reset & Base Styles */
:root {
    /* Colors - Synced with JS constants */
    --primary-color: #128756;
    --primary-dark: #0e6b44;
    --primary-light: #E8F5E9;
    --secondary-color: #FFC107;
    --accent-color: #20C997;
    --background-color: #FFFFFF;
    --surface-color: #F8F9FA;
    --text-color: #52525B;
    --text-dark: #18181B;
    --text-light: #A1A1AA;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #128756 0%, #20C997 100%);
    --gradient-surface: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    --gradient-glow: radial-gradient(circle at top right, rgba(32, 201, 151, 0.1), transparent 40%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-family: 'DM Sans', 'Inter', sans-serif;

    /* Spacing */
    --container-padding: 2rem;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    position: relative;
    background: var(--gradient-surface);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(18, 135, 86, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-dark) 0%, #333 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(18, 135, 86, 0.3);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(18, 135, 86, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(18, 135, 86, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(18, 135, 86, 0);
    }
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
    animation: none;
    box-shadow: 0 8px 25px rgba(18, 135, 86, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0px;
}

.stat-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-phone {
    position: relative;
    z-index: 2;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 8px solid white;
    max-width: 320px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.card-top-right {
    top: 15%;
    right: -20px;
}

.card-bottom-left {
    bottom: 20%;
    left: -40px;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.btn-dark {
    background: #000;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Floating Emojis */
.floating-emoji {
    position: absolute;
    font-size: 2.5rem;
    z-index: 1;
    opacity: 0.8;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: float-random 8s ease-in-out infinite;
}

.emoji-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
    font-size: 3rem;
}

.emoji-2 {
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
    font-size: 2.5rem;
}

.emoji-3 {
    top: 40%;
    right: -5%;
    animation-delay: 4s;
    font-size: 2rem;
}

.emoji-4 {
    bottom: 40%;
    left: -5%;
    animation-delay: 1s;
    font-size: 1.5rem;
}

@keyframes float-random {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(10px, -20px) rotate(5deg);
    }

    66% {
        transform: translate(-10px, 15px) rotate(-5deg);
    }
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-tag {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.feature-box {
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    background: var(--surface-color);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: white;
    border-color: rgba(18, 135, 86, 0.1);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: rotate(-5deg);
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* How It Works with Sticky Scroll or Alternating Layout */
.steps-section {
    padding: 8rem 0;
    background: var(--surface-color);
    overflow: hidden;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.step-row:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
}

.step-number-badge {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.step-img {
    max-width: 280px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

/* Driver Section - Dark Mode feel */
.driver-banner {
    padding: 8rem 0;
    background: #0f172a;
    /* Dark blue/slate */
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.driver-banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.driver-text h2 {
    color: white;
    font-size: 3.5rem;
}

.driver-text p {
    color: #cbd5e1;
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e2e8f0;
}

.check-item i {
    color: var(--secondary-color);
}

.driver-img-group {
    position: relative;
}

.driver-main-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
}

/* Testimonials */
.reviews-section {
    padding: 8rem 0 0;
    background: white;
}

.review-card {
    padding: 2.5rem;
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    height: 100%;
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.review-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

.reviewer-info p {
    font-size: 0.875rem;
    color: var(--text-color);
}

/* Contact / Footer */
.footer-area {
    background: #111;
    color: white;
    padding-top: 6rem;
    padding-bottom: 2rem;
    margin-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    height: 40px;
}

.footer-desc {
    color: #a1a1aa;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #a1a1aa;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.social-bar {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #52525b;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: block;
    width: 100%;
    text-align: center;
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Visuals */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Refinements */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
    }

    .nav-links {
        display: none;
        /* Hide desktop nav */
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .step-row,
    .step-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .step-image-wrapper {
        order: -1;
        /* Image first on mobile */
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .driver-banner-content {
        grid-template-columns: 1fr;
    }

    .driver-text h2 {
        font-size: 2.5rem;
    }
}

/* Fleet Card Polish */
.fleet-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 1.25rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(18, 135, 86, 0.4);
}

/* Background Pattern for Features */
.features-section {
    background-color: var(--surface-color);
    background-image: radial-gradient(var(--primary-light) 1px, transparent 1px);
    background-size: 30px 30px;
}