/* ============================================================
   car-register.css — Driver Partner Landing Page Styles
   ============================================================ */

/* --- Variables --- */
:root {
    --primary: #001e64;
    --secondary: #feae32;
    --light-bg: #f8f9fb;
    --card-bg: #ffffff;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0, 30, 100, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 30, 100, 0.15);
}

/* --- Base --- */
.driver-landing-page {
    font-family: 'Poppins', sans-serif;
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section-header {
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   CTA BUTTON (Global)
   ============================================================ */
.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.cta-button:hover {
    background-color: #e09a20;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(254, 174, 50, 0.35);
    text-decoration: none;
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button-secondary:hover {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 30, 100, 0.2);
}

.cta-button-large {
    padding: 15px 36px;
    font-size: 1rem;
}

.cta-button-yellow {
    background-color: #feae32 !important;
    color: #001e64 !important;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(254, 174, 50, 0.4);
}

.cta-button-yellow:hover {
    background-color: #e09a20 !important;
    color: #001e64 !important;
    box-shadow: 0 8px 28px rgba(254, 174, 50, 0.55);
    transform: translateY(-2px);
    text-decoration: none;
}


/* ============================================================
   SECTION 1: HERO
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 60%, #fffaf0 100%);
    padding: 110px 0 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.eyebrow-text {
    display: inline-block;
    background: rgba(0, 30, 100, 0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 30, 100, 0.15);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 30, 100, 0.06);
    border: 1px solid rgba(0, 30, 100, 0.12);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

@media (max-width: 991.96px) {
    .hero-section {
        padding: 100px 0 50px;
        min-height: auto;
    }
    .hero-title { font-size: 1.8rem; }
    .hero-content { padding-right: 0; text-align: center; }
}

/* --- Registration Card --- */
.register-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0, 30, 100, 0.12);
    padding: 36px;
    border-top: 4px solid var(--secondary);
}

.form-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.register-form .form-group {
    margin-bottom: 16px;
}

.register-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
    display: block;
}

.register-form .form-control {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #111827;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f9fafb;
}

.register-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 30, 100, 0.1);
    background: #fff;
    outline: none;
}

.pass-group {
    position: relative;
}

.pass-group .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
}

.terms-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: center;
}

.terms-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.signin-link {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 14px;
    margin-bottom: 0;
}

.signin-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* ============================================================
   SECTION 2: WHY GAADIWALA
   ============================================================ */
.why-section {
    padding: 80px 0;
    background: #fff;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #001e64;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.4rem;
    color: #fff;
    transition: background 0.25s, color 0.25s;
}

.feature-card:hover .feature-icon {
    background: #feae32;
    color: #fff;
}

.feature-icon i,
.feature-icon i::before {
    color: #fff !important;
}

.feature-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #001e64;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   SECTION 3: HOW IT WORKS (Steps)
   ============================================================ */
.how-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, #001e64, #feae32);
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-item .step-icon {
    width: 72px;
    height: 72px;
    background: #001e64;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 30, 100, 0.25);
    border: 4px solid #fff;
    transition: background 0.25s, transform 0.25s;
}

.step-item .step-icon i,
.step-item .step-icon i::before {
    color: #fff !important;
}

.step-item:hover .step-icon {
    background: #feae32;
    transform: scale(1.1);
}

.step-item h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #001e64;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 767.96px) {
    .steps-container::before { display: none; }
    .steps-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .steps-container { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 4: TRUST & SCALE
   ============================================================ */
.trust-section {
    padding: 80px 0;
    background: #f8f9fb;
}

.trust-section .section-title {
    color: #001e64;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 30, 100, 0.08);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.stat-card:hover {
    border-color: #feae32;
    box-shadow: 0 12px 36px rgba(0, 30, 100, 0.14);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: #feae32;
    margin-bottom: 14px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #001e64;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* ============================================================
   SECTION 5: FEATURES & BENEFITS
   ============================================================ */
.features-section {
    padding: 80px 0;
    background: #fff;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 24px;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 30, 100, 0.15);
    border-color: #feae32;
    background: #fff;
}

.benefit-icon-circle {
    width: 56px;
    height: 56px;
    background: #001e64;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s;
}

.benefit-card:hover .benefit-icon-circle {
    background: #feae32;
    color: #fff;
}

.benefit-icon-circle i,
.benefit-icon-circle i::before {
    color: #fff !important;
}

.benefit-card h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #001e64;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   SECTION 6: TESTIMONIALS
   ============================================================ */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    height: 100%;
    border-left: 4px solid var(--secondary);
    transition: transform 0.25s, box-shadow 0.25s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 14px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-icon {
    font-size: 2.4rem;
    color: var(--primary);
    line-height: 1;
}

.testimonial-author h6 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.testimonial-author p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================================
   SECTION 7: MID CTA BANNER
   ============================================================ */
.cta-banner-section {
    padding: 72px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0a2a7a 100%);
}

.cta-banner-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.cta-banner-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.7;
}

@media (max-width: 767.96px) {
    .cta-banner-title { font-size: 1.5rem; }
}

/* ============================================================
   SECTION 8: BENEFITS LIST
   ============================================================ */
.benefits-section {
    padding: 80px 0;
    background: #fff;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits-list li:last-child { border-bottom: none; }

.benefits-list li i {
    color: var(--secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============================================================
   SECTION 9: FAQ
   ============================================================ */
.faq-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.faq-container {
    max-width: 760px;
    margin: 0 auto;
}

.faq-container .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-container .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    background: #fff;
    padding: 18px 24px;
}

.faq-container .accordion-button:not(.collapsed) {
    background: rgba(0, 30, 100, 0.04);
    color: var(--primary);
    box-shadow: none;
}

.faq-container .accordion-button::after {
    filter: none;
}

.faq-container .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-container .accordion-body {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding: 0 24px 18px;
    background: #fff;
}

/* ============================================================
   SECTION 10: FINAL CTA
   ============================================================ */
.final-cta-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid var(--border);
}

.final-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
}

.final-cta-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 767.96px) {
    .final-cta-title { font-size: 1.5rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

/* ============================================================
   MOBILE RESPONSIVE FIXES (< 576px)
   ============================================================ */
@media (max-width: 575.96px) {

    /* Hero section */
    .hero-section { padding: 90px 0 40px; }
    .hero-title { font-size: 1.55rem; line-height: 1.25; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-badge { font-size: 0.75rem; padding: 5px 10px; }
    .eyebrow-text { font-size: 0.72rem; }

    /* Register card */
    .register-card { padding: 22px 16px; }
    .form-title { font-size: 1.15rem; }

    /* Section headers */
    .section-title { font-size: 1.35rem; }
    .section-subtitle { font-size: 0.875rem; }
    .section-header { margin-bottom: 30px; }

    /* Trust section stat cards */
    .stat-number {
        font-size: 1.6rem;
        white-space: nowrap;
    }
    .stat-label { font-size: 0.8rem; }
    .stat-card { padding: 20px 12px; }

    /* Feature cards */
    .feature-card { padding: 20px 16px; }
    .feature-icon { width: 52px; height: 52px; font-size: 1.2rem; }

    /* Steps */
    .step-item .step-icon { width: 58px; height: 58px; font-size: 1.3rem; }
    .step-item h5 { font-size: 0.875rem; }

    /* Benefit cards */
    .benefit-card { padding: 20px 16px; }
    .benefit-icon-circle { width: 48px; height: 48px; font-size: 1.1rem; }

    /* CTA sections */
    .cta-banner-title { font-size: 1.3rem; }
    .cta-banner-text { font-size: 0.875rem; }
    .cta-button { padding: 11px 20px; font-size: 0.9rem; }
    .cta-button-large { padding: 13px 24px; font-size: 0.95rem; }

    /* Testimonials */
    .testimonial-card { padding: 20px 16px; }
    .testimonial-text { font-size: 0.85rem; }

    /* FAQ */
    .faq-container .accordion-button { font-size: 0.875rem; padding: 14px 16px; }
    .faq-container .accordion-body { font-size: 0.82rem; padding: 0 16px 14px; }

    /* Benefits list */
    .benefits-list li { font-size: 0.875rem; }

    /* Final CTA */
    .final-cta-title { font-size: 1.3rem; }
    .final-cta-text { font-size: 0.875rem; }
    .cta-buttons .cta-button { width: 100%; text-align: center; }
}
