/* ============================================================
   LOCAL RAHI — Premium Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
    --primary: #FF6B00;
    --primary-light: #FF8533;
    --primary-dark: #E85D00;
    --primary-bg: #FFF4EB;
    --primary-gradient: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);

    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6B7280;
    --text-white: #FFFFFF;

    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-section: #F8FAFC;
    --bg-dark: #0F172A;
    --bg-card: #FFFFFF;

    --border: #E5E7EB;
    --border-light: #F3F4F6;

    --green: #22C55E;
    --green-bg: #ECFDF5;
    --blue: #2563EB;
    --blue-bg: #EFF6FF;
    --yellow: #F59E0B;
    --red: #EF4444;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 30px rgba(255, 81, 26, 0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-max: 1240px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

button,
input,
select,
textarea {
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    border: none;
}

ul,
ol {
    list-style: none;
}

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

/* ── Layout Utilities ── */
.features-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    background: var(--bg-light);
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 48px;
    letter-spacing: -1px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 16px;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 0 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}

.workflow-number {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
    text-align: center;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.logo span:last-child {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 81, 26, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-green {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.btn-green:hover {
    background: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    padding: 48px 0 40px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero-content h1 .highlight {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ── Search Box ── */
.search-box {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.search-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.search-row-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-light);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 81, 26, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.swap-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
    align-self: flex-end;
    margin-bottom: 4px;
}

.swap-btn:hover {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.btn-find {
    padding: 12px 28px;
    border-radius: var(--radius-md);
    align-self: flex-end;
}

/* ── Quick Actions ── */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.quick-action:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.quick-action-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.quick-action-icon.pool {
    background: var(--primary-bg);
    color: var(--primary);
}

.quick-action-icon.offer {
    background: var(--blue-bg);
    color: var(--blue);
}

.quick-action-icon.hire {
    background: var(--green-bg);
    color: var(--green);
}

.quick-action-text h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.quick-action-text p {
    font-size: 11px;
    color: var(--text-muted);
}

/* ── Hero Image Area ── */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
}

.hero-image-container img {
    width: 100%;
    border-radius: var(--radius-xl);
}

/* ── USP Banner ── */
.usp-banner {
    padding: 32px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
}

.usp-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.usp-icon.save {
    background: #FFF3E0;
    color: #F57C00;
}

.usp-icon.eco {
    background: #E8F5E9;
    color: #43A047;
}

.usp-icon.trust {
    background: #FBE9E7;
    color: var(--primary);
}

.usp-icon.flex {
    background: #FCE4EC;
    color: #E91E63;
}

.usp-text h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.usp-text p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
    padding: 48px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-header.text-center {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.section-header h2 {
    font-size: 24px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.view-all:hover {
    gap: 8px;
}

/* ============================================================
   RIDE CARDS
   ============================================================ */
.rides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ride-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition);
    position: relative;
}

.ride-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.ride-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.driver-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

.driver-info h4 {
    font-size: 14px;
    margin-bottom: 1px;
}

.driver-info .rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.rating .star {
    color: var(--yellow);
}

.vehicle-info {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.ride-route {
    margin-bottom: 14px;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
}

.route-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.route-dot.end {
    background: var(--primary);
}

.route-line {
    width: 1px;
    height: 16px;
    background: var(--border);
    margin-left: 4px;
}

.route-time {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.ride-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.price span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.seats-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.seats-badge.available {
    background: var(--green-bg);
    color: var(--green);
}

.seats-badge.limited {
    background: #FEF3C7;
    color: #D97706;
}

.ride-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.ride-card-actions .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
}

.action-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text-muted);
}

.action-icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ============================================================
   DRIVER SECTION
   ============================================================ */
.driver-section {
    background: var(--bg-section);
}

.driver-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.driver-tab {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-secondary);
}

.driver-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.driver-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.drivers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.driver-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.driver-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.driver-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-bg), #FFE0D3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

.top-rated-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.driver-card h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.driver-card .rating {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.experience {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.driver-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.driver-price span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

.driver-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 600;
}

.badge-green {
    background: var(--green-bg);
    color: var(--green);
}

.badge-blue {
    background: var(--blue-bg);
    color: var(--blue);
}

.badge-orange {
    background: #FFF3E0;
    color: #F57C00;
}

.driver-card-actions {
    display: flex;
    gap: 8px;
}

.driver-card-actions .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    padding: 48px 0;
}

.how-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
}

.how-tab {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-secondary);
    transition: var(--transition);
}

.how-tab:first-child {
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.how-tab:last-child {
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    border-left: none;
}

.how-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    color: var(--primary);
    position: relative;
}

.step h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.step p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-arrow {
    position: absolute;
    top: 32px;
    right: -12px;
    color: var(--text-muted);
    font-size: 18px;
}

/* ============================================================
   BOTTOM SECTIONS (DUAL COLUMN)
   ============================================================ */
.dual-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 0;
}

/* Safety */
.safety-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.safety-card h2 {
    margin-bottom: 24px;
    font-size: 22px;
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.safety-item {
    display: flex;
    gap: 12px;
}

.safety-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    font-size: 16px;
}

.safety-text h4 {
    font-size: 13px;
    margin-bottom: 2px;
}

.safety-text p {
    font-size: 11px;
    color: var(--text-muted);
}

/* App CTA */
.app-cta {
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-cta h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 8px;
}

.app-cta p {
    opacity: 0.9;
    font-size: 14px;
    margin-bottom: 24px;
}

.app-buttons {
    display: flex;
    gap: 12px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    color: white;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.app-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.app-btn-label {
    font-size: 9px;
    opacity: 0.8;
    display: block;
}

.app-btn-name {
    font-size: 15px;
    font-weight: 600;
    display: block;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    padding: 48px 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

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

.testimonial-quote {
    font-size: 34px;
    color: var(--primary);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 8px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 60px;
}

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

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

.testimonial-name {
    font-size: 13px;
    font-weight: 600;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--yellow);
    font-size: 11px;
    margin-top: 2px;
}

/* ============================================================
   REFERRAL BANNER
   ============================================================ */
.referral-banner {
    padding: 48px 0;
}

.referral-card {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DD 50%, #FFDCC8 100%);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.referral-content h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--primary);
}

.referral-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
}

.referral-amount {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cashback-badge {
    background: var(--primary);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.cashback-amount {
    font-size: 36px;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.cashback-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 12px;
    font-size: 20px;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-column h4 {
    color: white;
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    padding: 40px 24px;
}

.auth-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.auth-card .logo {
    justify-content: center;
    margin-bottom: 8px;
    font-size: 24px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 4px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: 0;
}

.auth-form .form-group input {
    width: 100%;
    padding: 13px 16px;
}

.auth-form .btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-link a {
    color: var(--primary);
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.form-check label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================================
   OFFER RIDE FORM
   ============================================================ */
.offer-page {
    padding: 40px 0;
    background: var(--bg-light);
    min-height: 100vh;
}

.offer-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.offer-card h2 {
    margin-bottom: 8px;
}

.offer-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.offer-form .form-group {
    margin-bottom: 20px;
}

.offer-form .form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: 0;
}

.offer-form .form-group input,
.offer-form .form-group select,
.offer-form .form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--bg-light);
    transition: var(--transition-fast);
}

.offer-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.offer-form .form-group input:focus,
.offer-form .form-group select:focus,
.offer-form .form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 81, 26, 0.1);
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-page {
    padding: 40px 0;
    background: var(--bg-light);
    min-height: 100vh;
}

.search-header {
    margin-bottom: 32px;
}

.search-header h2 {
    margin-bottom: 4px;
}

.search-header p {
    color: var(--text-muted);
}

.search-filters {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
}

.search-filters .form-group {
    flex: 1;
    min-width: 160px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* ============================================================
   ALERTS / FLASH MESSAGES
   ============================================================ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background: var(--green-bg);
    color: #166534;
    border: 1px solid #BBF7D0;
}

.alert-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ============================================================
   MODERN SERVICE CARDS (WITH FLUSH IMAGES)
   ============================================================ */
.service-card-flush {
    padding: 0 !important;
    /* Override default padding */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-flush .service-card-header {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 120px;
    margin-bottom: 0;
}

.service-card-flush .service-header-content {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 2;
    width: 55%;
    padding: 24px;
}

.service-card-flush .service-title {
    margin-top: 0;
    margin-bottom: 4px;
}

.service-card-flush .service-desc {
    margin-bottom: 0;
}

.service-card-flush .service-header-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
}

.service-card-flush .service-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.service-card-flush .service-header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-flush .img-right-center {
    object-position: right center;
}

.service-card-flush .img-right-bottom {
    object-position: right bottom;
}

.service-card-flush .img-right-top {
    object-position: right top;
}

.service-card-flush .img-top-center {
    object-position: top center;
}

.service-card-flush .service-lists-wrapper {
    margin: 0 24px;
}

.service-card-flush .service-action {
    padding: 24px;
    margin-top: auto;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .rides-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .drivers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .step:nth-child(n+4) {
        display: none;
    }

    .dual-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 22px;
    }

    .nav-links {
        display: none;
    }

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

    .search-row {
        grid-template-columns: 1fr;
    }

    .search-row-bottom {
        grid-template-columns: 1fr;
    }

    .swap-btn {
        display: none;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .step-arrow {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .referral-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 28px;
    }

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

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

/* ============================================================
   HOME PAGE SPECIFIC STYLES
   ============================================================ */

/* Utility colors */
.text-primary {
    color: var(--primary) !important;
}

.text-blue {
    color: var(--blue) !important;
}

.text-dark {
    color: var(--text-primary) !important;
}

.bg-white {
    background: var(--bg-white) !important;
}

.bg-light {
    background: var(--bg-light) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.border-blue {
    border-color: var(--blue) !important;
}

.border-dark {
    border-color: var(--text-primary) !important;
}

.border-gray {
    border-color: var(--border) !important;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.home-section-header {
    text-align: center;
    margin-bottom: 48px;
    display: block;
}

.section-title {
    font-size: 32px;
    display: inline-block;
    position: relative;
    color: var(--text-primary);
}

.section-title.text-center {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.section-title::before,
.section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
}

.section-title::before {
    left: -60px;
}

.section-title::after {
    right: -60px;
}

.section-title.title-primary::before,
.section-title.title-primary::after {
    background: var(--primary);
}

.section-title.title-dark::before,
.section-title.title-dark::after {
    background: var(--text-primary);
}

/* Buttons */
.btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-primary.no-hover:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: none !important;
    box-shadow: none !important;
}

.btn-dark {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #fff;
}

.btn-dark:hover {
    background: #000;
    border-color: #000;
}

.btn-dark.no-hover:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    transform: none !important;
    box-shadow: none !important;
}

.btn-blue {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.btn-blue:hover {
    background: #1D4ED8;
    border-color: #1D4ED8;
}

.btn-blue.no-hover:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: none !important;
    box-shadow: none !important;
}

.action-btn {
    width: 200px;
    justify-content: center;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 0;
    overflow: hidden;
    background: var(--bg-white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    padding-bottom: 60px;
}

.hero-heading {
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-subtext {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 400px;
    font-weight: 500;
}

.hero-buttons-wrapper {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 40px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
}

.hero-image-wrapper {
    position: relative;
    height: 500px;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    right: -100px;
    width: 120%;
    height: 100%;
    background: var(--bg-white);
    border-top-left-radius: 300px;
    z-index: 1;
    overflow: hidden;
}

.hero-image-inner {
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
}

.trust-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--bg-white);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--blue);
}

.trust-badge-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    color: var(--blue);
    border: 2px solid var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.trust-badge-title {
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.trust-badge-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Features Bar */
.features-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--blue);
    font-size: 20px;
}

.feature-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 24px;
    border: 2px solid;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.card-primary {
    border-color: var(--primary);
}

.card-blue {
    border-color: var(--blue);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.service-icon {
    width: 60px;
    height: 60px;
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.icon-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.icon-blue {
    background: var(--blue);
    border-color: var(--blue);
}

.service-title {
    font-size: 24px;
    margin-bottom: 4px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.service-lists-wrapper {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    border-top: 1px solid;
    padding-top: 24px;
}

.service-list-box {
    flex: 1;
}

.service-list-title {
    font-size: 14px;
    margin-bottom: 12px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.check-icon {
    margin-right: 6px;
    font-weight: bold;
}

.service-action {
    text-align: center;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 10px;
    background: var(--bg-white);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.tag-blue {
    border: 1px solid var(--blue);
    color: var(--blue);
}

/* Workflow */
.workflow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.workflow-box {
    border: 2px solid;
    border-radius: 20px;
    padding: 32px;
    background: var(--bg-white);
}

.workflow-title {
    text-align: center;
    margin-bottom: 24px;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.workflow-line {
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    height: 1px;
    border-top: 2px dashed;
    z-index: 1;
}

.line-primary {
    border-color: var(--primary);
}

.line-blue {
    border-color: var(--blue);
}

.workflow-step {
    text-align: center;
    position: relative;
    z-index: 2;
    background: var(--bg-white);
    padding: 0 10px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-white);
    border: 2px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 12px;
}

.step-icon.icon-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.step-icon.icon-blue {
    color: var(--blue);
    border-color: var(--blue);
}

.step-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Benefits */
.benefits-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    background-color: #F8FAFC;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

/* Vertical separator line between items on desktop */
.benefit-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    /* Centers the line in the 24px gap */
    top: 10%;
    bottom: 10%;
    width: 1px;
    background-color: #E5E7EB;
}

@media (max-width: 1024px) {
    .benefits-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }

    .benefit-item:nth-child(2)::after {
        display: none;
    }

    .benefit-item:nth-child(1)::before,
    .benefit-item:nth-child(2)::before {
        content: '';
        position: absolute;
        bottom: -16px;
        /* Centers horizontally in the 32px row gap */
        left: 0;
        right: 0;
        height: 1px;
        background-color: #E5E7EB;
    }
}

@media (max-width: 768px) {
    .benefits-row {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .benefit-item::after {
        display: none !important;
    }

    .benefit-item:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: -16px;
        left: 0;
        right: 0;
        height: 1px;
        background-color: #E5E7EB;
        display: block !important;
    }
}

.benefit-icon {
    font-size: 40px;
}

.benefit-icon-ring {
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border: 2px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.benefit-icon-ring.icon-blue {
    color: var(--blue);
    border-color: var(--blue);
}

.benefit-title {
    font-size: 14px;
    margin-bottom: 2px;
}

.benefit-desc {
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

/* Featured Cities */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.city-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 180px;
    border: 2px solid;
}

.city-card-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.city-name {
    color: #fff;
    position: absolute;
    bottom: 16px;
    width: 100%;
    text-align: center;
}

.city-card-more {
    background: var(--bg-white);
    border: 2px solid var(--text-primary);
    border-radius: 12px;
    padding: 20px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.more-cities-title {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.more-cities-lists {
    display: flex;
    gap: 40px;
}

.more-cities-list {
    list-style: disc;
    padding-left: 16px;
    font-size: 12px;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 500;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    display: flex;
    gap: 16px;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-stars {
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-text {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
}

.testimonial-author {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

/* App Download */
.app-download-section {
    padding: 40px 0;
}

.app-download-box {
    background: var(--bg-light);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 60px;
}

.app-mockup-wrapper {
    flex-shrink: 0;
}

.app-mockup {
    height: 250px;
    width: auto;
}

.app-download-content {
    flex: 1;
}

.app-download-title {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.app-download-desc {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 16px;
}

.app-store-links {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.store-badge {
    height: 48px;
    width: auto;
}

/* Pre-Footer CTA */
.cta-section {
    background: var(--primary);
    padding: 40px 0;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
}

.cta-title {
    color: #fff;
    font-size: 32px;
    margin-bottom: 8px;
}

.cta-desc {
    color: #fff;
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-white {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
}

.btn-white:hover {
    background: #f8f9fa;
    border-color: #f8f9fa;
}

/* App Download */
.app-download-section {
    padding: 60px 0;
}

.app-download-box {
    background: #f4f8fb;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.app-mockup-wrapper {
    flex: 1.5;
    max-width: 400px;
    display: flex;
    align-items: flex-end;
    margin-bottom: -10px;
}

.app-mockup {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.app-download-content {
    flex: 2;
    padding: 40px 20px;
}

.app-download-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.app-download-desc {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 0;
}

.app-store-links {
    flex: 1.5;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.store-badge {
    height: 48px;
    transition: transform 0.3s;
}

.store-badge:hover {
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
        width: 100%;
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
    }

    .hero-grid,
    .services-grid,
    .workflow-grid,
    .testimonials-grid,
    .cities-grid,
    .benefits-row {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .features-bar-inner {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .app-download-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px 0;
        gap: 20px;
    }

    .app-mockup-wrapper {
        margin: 0 auto -10px;
        max-width: 300px;
    }

    .app-download-content {
        padding: 0;
    }

    .app-store-links {
        justify-content: center;
        padding-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        justify-content: center;
    }
}

/* Social Icons */
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: white;
}

.social-icon-facebook {
    background: #1877F2;
}

.social-icon-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon-twitter {
    background: white;
    color: black !important;
}

.social-icon-twitter:hover {
    color: black !important;
}

.social-icon-linkedin {
    background: #0A66C2;
}

.social-icon-whatsapp {
    background: #25D366;
}

/* =========================================================================
   DRIVER PARTNER PAGE
   ========================================================================= */

.partner-hero {
    padding: 100px 0 80px;
    background: url('../images/partner_hero.png') no-repeat right bottom;
    background-size: cover;
    background-color: var(--bg-light);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.partner-hero-content {
    max-width: 600px;
}

.partner-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.partner-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.partner-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.partner-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.badge-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Why Join */
.why-join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.why-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.why-card h4 {
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--text-dark);
}

.why-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.icon-orange,
.icon-green,
.icon-blue,
.icon-purple {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.icon-orange {
    background: rgba(255, 81, 26, 0.1);
    color: var(--primary);
}

.icon-green {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.icon-blue {
    background: rgba(29, 78, 216, 0.1);
    color: var(--blue);
}

.icon-purple {
    background: rgba(147, 51, 234, 0.1);
    color: #9333EA;
}

.text-purple {
    color: #9333EA;
}

.text-green {
    color: #25D366;
}

/* Opportunities */
.opportunities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.opp-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.opp-orange {
    border-top: 4px solid var(--primary);
    background: linear-gradient(135deg, #fff 0%, #fff5f0 100%);
}

.opp-blue {
    border-top: 4px solid var(--blue);
    background: linear-gradient(135deg, #fff 0%, #eff6ff 100%);
}

.opp-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.opp-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.opp-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.opp-list i {
    width: 20px;
    text-align: center;
}

.opp-car-img {
    position: absolute;
    bottom: -20px;
    right: -20px;
    height: 180px;
    object-fit: contain;
}

/* Timeline */
.timeline-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-step {
    text-align: center;
    width: 120px;
    position: relative;
    z-index: 2;
}

.timeline-step .timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 2px dashed var(--border);
    background: white;
}

.timeline-line {
    flex: 1;
    height: 2px;
    border-top: 2px dashed var(--border);
    margin: 0 -20px;
    margin-top: -60px;
    z-index: 1;
}

.timeline-step h5 {
    margin-bottom: 4px;
    font-weight: 700;
}

.timeline-step p {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

/* Requirements & Earnings */
.req-earn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.req-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border);
}

.req-subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.req-content,
.earn-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.req-img,
.earn-img {
    width: 150px;
    object-fit: contain;
}

.earn-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.earn-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.earn-item h5 {
    margin-bottom: 4px;
}

.earn-item p {
    font-size: 13px;
    margin: 0;
    color: var(--text-muted);
}

/* App Demo */
.app-demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    gap: 40px;
    align-items: center;
}

.app-demo-block h3 {
    margin-bottom: 24px;
    font-size: 20px;
}

.orange-check i {
    color: var(--primary);
}

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

.app-demo-img img {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

/* CTA Footer */
.partner-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.partner-cta h2 {
    color: white;
    margin-bottom: 12px;
}

.partner-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.partner-cta .partner-buttons {
    justify-content: center;
    margin-bottom: 0;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

/* Responsive */
@media(max-width: 992px) {
    .partner-hero {
        background-position: left bottom;
    }

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

    .req-earn-grid {
        grid-template-columns: 1fr;
    }

    .app-demo-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .check-list li {
        justify-content: center;
    }

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

@media(max-width: 768px) {
    .timeline-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-line {
        width: 2px;
        height: 40px;
        margin: 0 auto;
        border-top: none;
        border-left: 2px dashed var(--border);
    }

    .req-content,
    .earn-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .earn-item {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================================
   ABOUT US PAGE REDESIGN
   ========================================================================= */

.about-hero-section {
    position: relative;
    padding: 80px 0 140px;
    /* Extra padding at bottom for floating stats */
    background-color: white;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-left-radius: 60px;
}

.about-hero-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.about-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.about-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mv-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.mv-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.mv-item h4 {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 700;
}

.mv-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Floating Stats Card */
.stats-card {
    position: absolute;
    bottom: -60px;
    left: 15px;
    right: 15px;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    padding: 30px 50px;
    z-index: 10;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 12px;
}

.stat-item h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* Story Section */
.story-section {
    padding-top: 120px;
    /* Space for overlapping stats card */
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-content h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.story-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.story-img img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
}

/* Values Grid */
.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-top: 8px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.value-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 81, 26, 0.3);
}

.value-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 16px;
}

.value-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.value-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.team-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.linkedin-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.linkedin-btn:hover {
    background: #0284c7;
    color: white;
}

/* CTA Banner */
.about-cta-banner {
    background: #fff5f0;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 400px;
}

.cta-content h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.cta-app-img {
    position: absolute;
    bottom: -40px;
    right: 300px;
    width: 250px;
}

.cta-app-img img {
    width: 100%;
    height: auto;
}

.cta-store-btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
}

.store-btn {
    background: black;
    color: white;
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s;
    min-width: 180px;
}

.store-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.store-btn i {
    font-size: 28px;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
}

.store-btn-text small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.store-btn-text span {
    font-size: 18px;
    font-weight: 600;
}

/* Responsive */
@media(max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-app-img {
        right: 250px;
    }
}

@media(max-width: 992px) {
    .about-hero-bg {
        display: none;
    }

    .about-hero-section {
        padding-bottom: 200px;
    }

    .stats-card {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        bottom: -80px;
    }

    .stat-item {
        width: 45%;
    }

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

    .about-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .cta-content {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .cta-app-img {
        position: relative;
        bottom: 0;
        right: 0;
        margin-bottom: 30px;
    }

    .cta-store-btns {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media(max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media(max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        width: 100%;
    }
}

/* =========================================================================
   DRIVER PARTNER PAGE
   ========================================================================= */

.partner-hero {
    padding: 100px 0 80px;
    background: url('../images/partner_hero.png') no-repeat right bottom;
    background-size: cover;
    background-color: var(--bg-light);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.partner-hero-content {
    max-width: 600px;
}

.partner-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.partner-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.partner-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.partner-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.badge-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Why Join */
.why-join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.why-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.why-card h4 {
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--text-dark);
}

.why-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.icon-orange,
.icon-green,
.icon-blue,
.icon-purple {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.icon-orange {
    background: rgba(255, 81, 26, 0.1);
    color: var(--primary);
}

.icon-green {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.icon-blue {
    background: rgba(29, 78, 216, 0.1);
    color: var(--blue);
}

.icon-purple {
    background: rgba(147, 51, 234, 0.1);
    color: #9333EA;
}

.text-purple {
    color: #9333EA;
}

.text-green {
    color: #25D366;
}

/* Opportunities */
.opportunities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.opportunities-grid.single-opp {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.opp-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.opp-orange {
    border-top: 4px solid var(--primary);
    background: linear-gradient(135deg, #fff 0%, #fff5f0 100%);
}

.opp-blue {
    border-top: 4px solid var(--blue);
    background: linear-gradient(135deg, #fff 0%, #eff6ff 100%);
}

.opp-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.opp-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.opp-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.opp-list i {
    width: 20px;
    text-align: center;
}

.opp-car-img {
    position: absolute;
    bottom: -20px;
    right: -20px;
    height: 180px;
    object-fit: contain;
}

.opp-card.full-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
}

.opp-card.full-width .opp-content {
    max-width: 55%;
    position: relative;
    z-index: 2;
}

.opp-card.full-width .opp-img-wrapper {
    height: auto;
    width: 45%;
}

.opp-card.full-width .opp-car-img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 55%;
    object-fit: cover;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
    mask-image: linear-gradient(to right, transparent 0%, black 25%);
}

/* Timeline */
.timeline-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-step {
    text-align: center;
    width: 120px;
    position: relative;
    z-index: 2;
}

.timeline-step .timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 2px dashed var(--border);
    background: white;
}

.timeline-line {
    flex: 1;
    height: 2px;
    border-top: 2px dashed var(--border);
    margin: 0 -20px;
    margin-top: -60px;
    z-index: 1;
}

.timeline-step h5 {
    margin-bottom: 4px;
    font-weight: 700;
}

.timeline-step p {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

/* Requirements & Earnings */
.req-earn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.req-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border);
}

.req-subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.req-content,
.earn-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.req-img,
.earn-img {
    width: 150px;
    object-fit: contain;
}

.earn-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.earn-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.earn-item h5 {
    margin-bottom: 4px;
}

.earn-item p {
    font-size: 13px;
    margin: 0;
    color: var(--text-muted);
}

/* App Demo */
.app-demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px 1fr;
    gap: 40px;
    align-items: center;
}

.app-demo-block h3 {
    margin-bottom: 24px;
    font-size: 20px;
}

.orange-check i {
    color: var(--primary);
}

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

.app-demo-img img {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

/* CTA Footer */
.partner-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.partner-cta h2 {
    color: white;
    margin-bottom: 12px;
}

.partner-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.partner-cta .partner-buttons {
    justify-content: center;
    margin-bottom: 0;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

/* Responsive */
@media(max-width: 992px) {
    .partner-hero {
        background-position: left bottom;
    }

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

    .opp-card.full-width {
        flex-direction: column;
        padding: 30px;
    }

    .opp-card.full-width .opp-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .opp-card.full-width .opp-img-wrapper {
        width: 100%;
        height: 200px;
    }

    .opp-card.full-width .opp-car-img {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 250px;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
        mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
    }

    .req-earn-grid {
        grid-template-columns: 1fr;
    }

    .app-demo-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .check-list li {
        justify-content: center;
    }

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

@media(max-width: 768px) {
    .timeline-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-line {
        width: 2px;
        height: 40px;
        margin: 0 auto;
        border-top: none;
        border-left: 2px dashed var(--border);
    }

    .req-content,
    .earn-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .earn-item {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================================
   DRIVER PARTNER HERO REDESIGN
   ========================================================================= */

.partner-hero-new {
    padding: 100px 0;
    position: relative;
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    min-height: 550px;
    display: flex;
    align-items: center;
}

.partner-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

.partner-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Keep head visible */
    border-bottom-left-radius: 80px;
}

.partner-hero-new .container {
    position: relative;
    z-index: 2;
}

.partner-hero-content-new {
    max-width: 50%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 100%);
    padding: 40px 40px 40px 0;
    margin-left: 0;
}

@media (max-width: 992px) {
    .partner-hero-bg {
        display: none;
    }

    .partner-hero-new {
        background: url('../images/partner_hero2.jpeg') no-repeat center center;
        background-size: cover;
    }

    .partner-hero-content-new {
        background: rgba(255, 255, 255, 0.9);
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

/* ==================================================
   CARPOOL PAGE STYLES
   ================================================== */

.cp-hero {
    padding: 80px 0;
    background: #fdfdfd;
}

.cp-hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cp-hero-text {
    flex: 1;
    max-width: 500px;
}

.cp-hero-text h1 {
    font-size: 48px;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cp-hero-text h1 span {
    color: var(--primary);
}

.cp-hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cp-hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.app-store-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.store-badge {
    height: 45px;
    width: auto;
}

.cp-hero-notice {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cp-hero-img-wrapper {
    flex: 1;
    position: relative;
    text-align: right;
}

.cp-hero-img-wrapper img {
    max-width: 120%;
    height: auto;
    margin-right: -10%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
    mask-image: linear-gradient(to right, transparent 0%, black 25%);
}

/* Section Titles with Lines */
.cp-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.cp-section-title::before,
.cp-section-title::after {
    content: "";
    display: inline-block;
    width: 60px;
    height: 2px;
    background: var(--primary);
    margin: 0 15px;
}

/* How Carpooling Works */
.cp-works-wrapper {
    display: flex;
    gap: 30px;
}

.cp-works-panel {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.cp-works-panel h3 {
    text-align: center;
    color: var(--blue);
    font-size: 20px;
    margin-bottom: 30px;
}

.cp-works-panel.offer-ride h3 {
    color: var(--primary);
}

.cp-steps-row {
    display: flex;
    justify-content: space-between;
    position: relative;
}

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

.cp-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: #fff;
    font-size: 24px;
    color: var(--blue);
    position: relative;
}

.cp-works-panel.offer-ride .cp-step-icon {
    border-color: var(--primary);
    color: var(--primary);
}

.cp-step-number {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cp-works-panel.offer-ride .cp-step-number {
    background: var(--primary);
}

.cp-step-text {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    max-width: 80px;
    margin: 15px auto 0;
    line-height: 1.4;
}

/* Arrows between steps */
.cp-step-item:not(:last-child)::after {
    content: "➔";
    position: absolute;
    top: 25px;
    right: -15px;
    color: #ccc;
    font-size: 16px;
}

/* Benefits Grid */
.cp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #fff9f6;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #ffe8d6;
}

.cp-benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cp-benefit-icon {
    font-size: 32px;
    color: var(--primary);
}

.cp-benefit-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.cp-benefit-text p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Feature Split */
.cp-features-split {
    display: flex;
    gap: 30px;
}

.cp-feature-card {
    flex: 1;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cp-feature-blue {
    background: #f0f7ff;
}

.cp-feature-orange {
    background: #fff5f0;
}

.cp-feature-content {
    flex: 1;
    padding-right: 20px;
}

.cp-feature-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.cp-feature-blue h3 {
    color: var(--blue);
}

.cp-feature-orange h3 {
    color: var(--primary);
}

.cp-feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.cp-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #444;
}

.cp-feature-blue .cp-feature-list li i {
    color: var(--blue);
}

.cp-feature-orange .cp-feature-list li i {
    color: var(--primary);
}

.cp-feature-img {
    flex: 1;
    text-align: right;
}

.cp-feature-img img {
    max-height: 350px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Trust Banner */
.cp-trust-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.cp-trust-item {
    text-align: center;
    flex: 1;
}

.cp-trust-icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.cp-trust-item h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}

.cp-trust-item p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* App Only Banner */
.cp-app-banner {
    background: #fdfdfd;
    display: flex;
    align-items: center;
    gap: 40px;
}

.cp-app-text {
    flex: 1;
}

.cp-app-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #111;
}

.cp-app-text h2 span {
    color: var(--primary);
}

.cp-app-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.cp-app-img {
    flex: 1;
    text-align: center;
}

.cp-app-img img {
    max-width: 100%;
    height: auto;
}

/* FAQ Grid */
.cp-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cp-faq-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
}

.cp-faq-item h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.cp-faq-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Orange CTA Banner */
.cp-cta-banner {
    background: var(--primary);
    padding: 40px 0;
    color: #fff;
}

.cp-cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cp-cta-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cp-cta-icon {
    font-size: 48px;
    background: #fff;
    color: var(--primary);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-cta-text h2 {
    font-size: 28px;
    margin-bottom: 5px;
    color: #fff;
}

.cp-cta-text p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.cp-cta-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {

    .cp-hero-grid,
    .cp-works-wrapper,
    .cp-features-split,
    .cp-app-banner {
        flex-direction: column;
    }

    .cp-benefits-grid,
    .cp-trust-grid,
    .cp-faq-grid {
        grid-template-columns: 1fr;
    }

    .cp-cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .cp-cta-text {
        flex-direction: column;
    }

    .cp-hero-text h1 {
        font-size: 36px;
    }

    .cp-feature-card {
        flex-direction: column;
        text-align: center;
    }

    .cp-feature-list {
        display: inline-block;
        text-align: left;
    }

    .cp-step-item:not(:last-child)::after {
        display: none;
    }
}/* ==================================================
   HIRE DRIVER PAGE STYLES
   ================================================== */
.hd-hero {
    background: #fdfdfd;
    padding: 60px 0;
}
.hd-hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}
.hd-hero-content {
    flex: 1;
}
.hd-hero-content h1 {
    font-size: 42px;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hd-hero-content h1 span {
    color: var(--primary);
}
.hd-hero-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}
.hd-hero-checks {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}
.hd-hero-checks span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}
.hd-hero-checks i {
    font-size: 24px;
}
.hd-hero-actions {
    display: flex;
    gap: 15px;
}
.hd-action-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    flex: 1;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.hd-action-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.hd-action-sub {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}
.btn-block {
    display: block;
    width: 100%;
}
.hd-hero-image {
    flex: 1;
    position: relative;
}
.hd-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}
.hd-hero-badge {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hd-badge-avatars {
    display: flex;
}
.hd-badge-avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
}
.hd-badge-avatars img:first-child {
    margin-left: 0;
}
.hd-badge-text strong {
    font-size: 16px;
    color: #111;
}
.hd-badge-text span {
    font-size: 12px;
    color: #666;
}

/* Services Grid */
.hd-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.hd-service-card {
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 25px;
    background: #fff;
}
.hd-service-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.hd-service-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    font-size: 24px;
}
.hd-service-header h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #111;
}
.hd-service-header p {
    font-size: 13px;
    color: #666;
}
.hd-service-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hd-service-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hd-service-options a {
    font-size: 13px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hd-service-options a i {
    color: var(--primary);
}
.hd-service-car img {
    max-width: 150px;
}

/* Why Hire a Driver */
.hd-why-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.hd-why-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}
.hd-why-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}
.hd-why-text {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* How It Works */
.hd-how-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
}
.hd-how-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}
.hd-how-step:not(:last-child)::after {
    content: "?";
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 18px;
}
.hd-how-number {
    font-size: 16px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
}
.hd-how-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px dashed var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin: 0 auto 15px;
}
.hd-how-text {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

/* Our Professional Drivers */
.hd-drivers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hd-driver-card {
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    padding: 15px;
    display: flex;
    gap: 15px;
}
.hd-driver-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}
.hd-driver-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #111;
}
.hd-driver-rating {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 600;
}
.hd-driver-meta {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}
.hd-driver-verified {
    font-size: 12px;
    color: #28a745;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 991px) {
    .hd-hero-grid { flex-direction: column; }
    .hd-hero-badge { left: 20px; }
    .hd-services-grid { grid-template-columns: 1fr; }
    .hd-drivers-grid { grid-template-columns: 1fr 1fr; }
    .hd-how-steps { flex-direction: column; gap: 30px; }
    .hd-how-step:not(:last-child)::after { display: none; }
}
@media (max-width: 576px) {
    .hd-hero-actions { flex-direction: column; }
    .hd-drivers-grid { grid-template-columns: 1fr; }
    .hd-hero-checks { flex-direction: column; gap: 15px; }
}

/* HD Benefits Fixes */
.hd-benefits-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px 24px !important; 
}
.hd-benefits-row .benefit-item::after {
    display: block !important;
}
.hd-benefits-row .benefit-item:nth-child(3n)::after {
    display: none !important;
}
@media (max-width: 1024px) {
    .hd-benefits-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .hd-benefits-row .benefit-item:nth-child(3n)::after {
        display: block !important; 
    }
    .hd-benefits-row .benefit-item:nth-child(2n)::after {
        display: none !important;
    }
}
@media (max-width: 576px) {
    .hd-benefits-row {
        grid-template-columns: 1fr !important;
    }
    .hd-benefits-row .benefit-item::after {
        display: none !important; 
    }
}

/* HD How It Works New Design */
.hd-how-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}
.hd-how-title::before, .hd-how-title::after {
    content: "";
    height: 2px;
    width: 60px;
    background-color: var(--primary);
}
.hd-how-title span {
    background-color: var(--blue);
    color: #fff;
    padding: 6px 16px;
    font-size: 24px;
    font-weight: 700;
    border-radius: 4px;
}

.hd-steps-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 60px 40px;
    background-color: #F8FAFC;
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 20px;
}

.hd-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 140px;
}

.hd-step-icon-box {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.hd-step-icon-box i {
    font-size: 32px;
    color: var(--blue);
}
.hd-step-number {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background-color: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    border: 3px solid #F8FAFC; 
}

.hd-step-text {
    font-weight: 600;
    color: #374151;
    font-size: 15px;
    line-height: 1.4;
}

.hd-step-arrow {
    color: #D1D5DB;
    font-size: 18px;
}

@media (max-width: 768px) {
    .hd-steps-container {
        flex-direction: column;
        gap: 40px;
    }
    .hd-step-arrow {
        transform: rotate(90deg);
    }
}

/* App Download Section */
.app-download-section {
    padding: 60px 0;
}
.app-download-box {
    background: #F8FAFC;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 40px 60px;
    gap: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.app-mockup-wrapper {
    flex: 0 0 auto;
}
.app-mockup-wrapper img.app-mockup {
    max-width: 240px;
    height: auto;
    display: block;
}
.app-download-content {
    flex: 1 1 auto;
    text-align: left;
}
.app-download-title {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}
.app-download-desc {
    font-size: 18px;
    color: #4B5563;
    font-weight: 500;
    margin-bottom: 0;
}
.app-store-links {
    display: flex;
    gap: 16px;
    flex: 0 0 auto;
}

/* Store Buttons CSS */
.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 12px;
    min-width: 160px;
}
.store-btn:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}
.store-btn i {
    font-size: 28px;
}
.store-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.store-btn-text small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    opacity: 0.8;
}
.store-btn-text span {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .app-download-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .app-download-content {
        text-align: center;
    }
    .app-store-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ============================================================
   CONTACT US REDESIGN
   ============================================================ */
.contact-redesign-hero {
    background: #FFFFFF;
    padding: 80px 0;
    position: relative;
}

.contact-redesign-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.contact-hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-hero-tag {
    color: #FF511A;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.contact-hero-title span {
    color: #FF511A;
}

.contact-hero-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
}

.contact-hero-benefits {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.contact-benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-benefit-icon {
    width: 36px;
    height: 36px;
    background: #FFF0EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF511A;
    font-size: 16px;
}

.contact-hero-right {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.contact-agent-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: visible;
    width: 100%;
    max-width: 480px;
}

.contact-agent-img {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-lg);
}

.serving-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #FFFFFF;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    z-index: 5;
}

.serving-badge i {
    color: #FF511A;
}

/* Floating Cards on Hero */
.floating-contact-card {
    position: absolute;
    background: #FFFFFF;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    width: 300px;
    transition: var(--transition);
}

.floating-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.floating-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.floating-card-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 2px;
}

.floating-card-title {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
    text-align: left;
}

.floating-card-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    line-height: 1.3;
    margin: 0;
}

.floating-card-subtext {
    font-size: 9px;
    color: var(--text-muted);
    margin: 0;
    text-align: left;
    white-space: nowrap;
}

/* Specific Card Offsets */
.card-email {
    top: 20px;
    left: -120px;
}
.card-email .floating-card-icon { background: #FF9900; }

.card-call {
    top: 130px;
    left: -120px;
}
.card-call .floating-card-icon { background: #2563EB; }

.card-whatsapp {
    top: 240px;
    left: -120px;
}
.card-whatsapp .floating-card-icon { background: #25D366; }

.card-office {
    top: 350px;
    left: -120px;
}
.card-office .floating-card-icon { background: #8B5CF6; }

/* ── 2-Column Content Section ── */
.contact-content-section {
    padding: 80px 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.contact-section-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Form Styles */
.contact-form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    padding: 14px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    background: #F8FAFC;
    color: var(--text-primary);
    transition: var(--transition);
    width: 100%;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: #FF511A;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(255, 81, 26, 0.1);
}

.contact-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.btn-contact-submit {
    background: #FF511A;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.btn-contact-submit:hover {
    background: #E8450F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 81, 26, 0.2);
}

/* Other Ways to Connect Cards */
.connect-method-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.connect-method-card:hover {
    border-color: #E2E8F0;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.connect-method-left {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.connect-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FFFFFF;
    flex-shrink: 0;
}

.connect-method-info {
    display: flex;
    flex-direction: column;
}

.connect-method-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.connect-method-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 280px;
}

.connect-method-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 4px;
}

.connect-method-subtext {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.connect-method-right {
    flex-shrink: 0;
}

.btn-connect-outline {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-connect-outline:hover {
    background: var(--bg-hover-color);
    color: #FFFFFF !important;
}

.card-whatsapp-outline {
    --border-color: #25D366;
    --text-color: #25D366;
    --bg-hover-color: #25D366;
}
.card-email-outline {
    --border-color: #2563EB;
    --text-color: #2563EB;
    --bg-hover-color: #2563EB;
}
.card-office-outline {
    --border-color: #8B5CF6;
    --text-color: #8B5CF6;
    --bg-hover-color: #8B5CF6;
}
.card-call-outline {
    --border-color: #FF511A;
    --text-color: #FF511A;
    --bg-hover-color: #FF511A;
}

/* ── Map Section ── */
.contact-map-section {
    position: relative;
    height: 450px;
    background-image: url('../images/contact_map_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.contact-map-card {
    position: absolute;
    left: 10%;
    background: #FFFFFF;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 10;
}

.map-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-card-icon {
    width: 36px;
    height: 36px;
    background: #FFEBE5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF511A;
    font-size: 16px;
}

.map-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.map-card-address {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.btn-map-directions {
    background: #FF511A;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-map-directions:hover {
    background: #E8450F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 81, 26, 0.15);
}

/* ── FAQ Section ── */
.contact-faq-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.contact-faq-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.faq-accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-accordion-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-accordion-item:hover {
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.faq-accordion-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    user-select: none;
}

.faq-accordion-icon {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-accordion-item.active .faq-accordion-icon {
    transform: rotate(180deg);
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 200px;
    padding: 0 24px 24px;
}

/* ── App Download Promo Section ── */
.contact-app-section {
    padding: 40px 0 80px;
    background: #FFFFFF;
}

.contact-app-box {
    background: #FFF5F0;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 60px;
    padding: 60px 80px;
    overflow: hidden;
}

.contact-app-left {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.contact-app-img {
    max-height: 320px;
    width: auto;
    object-fit: contain;
}

.contact-app-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-app-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.contact-app-title span {
    color: #FF511A;
}

.contact-app-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-app-stores {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.contact-store-badge {
    height: 48px;
    width: auto;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ── Responsive Styling ── */
@media (max-width: 1024px) {
    .contact-redesign-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-hero-left {
        text-align: center;
        align-items: center;
    }
    .contact-hero-benefits {
        justify-content: center;
    }
    .contact-hero-right {
        justify-content: center;
    }
    .floating-contact-card {
        display: none;
    }
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .faq-accordion-grid {
        grid-template-columns: 1fr;
    }
    .contact-app-box {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 30px;
        text-align: center;
    }
    .contact-app-left {
        justify-content: center;
    }
    .contact-app-stores {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 36px;
    }
    .contact-redesign-hero {
        padding: 40px 0;
    }
    .contact-content-section {
        padding: 40px 0;
    }
    .contact-form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-map-section {
        height: 350px;
    }
    .contact-map-card {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* Footer Contact Items */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-contact-item i.fa-phone {
    color: var(--green);
}
.footer-contact-item i.fa-envelope {
    color: #FFFFFF;
}

/* ============================================================
   USER PROFILE DROPDOWN
   ============================================================ */
.user-profile-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #E2E8F0;
    padding: 6px 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-trigger:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.user-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #FF511A;
}

.user-name-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-arrow {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.user-profile-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-profile-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    display: none;
    flex-direction: column;
    padding: 8px 0;
    z-index: 1000;
    animation: fadeInDropdown 0.2s ease-out;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-profile-dropdown.active .dropdown-menu {
    display: flex;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #FFF5F0;
    color: #FF511A;
}

.dropdown-divider {
    border: none;
    border-top: 1px solid #F1F5F9;
    margin: 6px 0;
}

.dropdown-item-form {
    margin: 0;
    width: 100%;
}

.logout-btn-link {
    color: #EF4444 !important;
}

.logout-btn-link:hover {
    background: #FEF2F2 !important;
    color: #EF4444 !important;
}

.profile-upload-label:hover {
    transform: scale(1.1);
    background: #E8450F !important;
}

/* SweetAlert 2 Z-Index fix */
.swal2-container {
    z-index: 100000 !important;
}




/* ==== Profile Edit Page Styles ==== */
.profile-container {
    max-width: 800px;
    margin: 40px auto;
    background: var(--bg-white);
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Increase width of profile edit form */
.profile-container {
    max-width: 1000px; /* wider form */
}

/* Style readonly fields */
input[readonly], .admin-form-control[readonly] {
    background: var(--bg-light);
    color: var(--text-secondary);
    cursor: not-allowed;
}


.error-box {
    background: #FDE8E8; /* light red */
    border: 1px solid var(--red);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 24px;
}
.error-title {
    color: var(--red);
    font-weight: 600;
    margin-bottom: 8px;
}
.error-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.error-list li {
    color: var(--red);
    margin-bottom: 4px;
}
.profile-image-section {
    text-align: center;
    margin-bottom: 24px;
}
.profile-preview {
    position: relative;
    display: inline-block;
}
.profile-preview-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}
.upload-note {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
.hr-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}
.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.btn-half {
    width: 50%;
}



