/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --primary: #252329;        /* Raisin black */
    --primary-400: #1e1c21;
    --primary-600: #4f4b58;
    --accent: #F4BA2E;         /* Xanthous */
    --highlight: #F9CB58;      /* Saffron */
    --deep: #251B1B;           /* Licorice */
    --soft: #DBD68E;           /* Flax */
    --whatsapp-green: #25d366;
    --white: #ffffff;
    --light-surface: #f6f4f0;
    --dark-gray: #2f2c35;
    --text-gray: #7a7387;
    --shadow: rgba(37, 35, 41, 0.15);
    --shadow-hover: rgba(37, 35, 41, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-surface);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 36px);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.logo-image {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 14px;
    background-color: var(--white);
    padding: 4px;
    box-shadow: 0 4px 12px rgba(244, 186, 46, 0.25);
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--accent);
}

.logo .tagline {
    font-size: 0.85rem;
    color: var(--soft);
    opacity: 0.95;
    font-style: italic;
    letter-spacing: 0.5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.auth-nav-item {
    margin-left: 0.5rem;
}

.btn-auth {
    padding: 8px 20px;
    font-size: 0.95rem;
    border-radius: 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

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

.btn-signup {
    background-color: var(--accent);
    color: var(--deep);
}

.btn-signup:hover {
    background-color: var(--highlight);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 186, 46, 0.4);
}

.btn-user {
    background-color: var(--primary-600);
    color: var(--white);
    position: relative;
}

.btn-user:hover {
    background-color: var(--primary-600);
}

.user-menu {
    position: relative;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 20px var(--shadow);
    min-width: 200px;
    margin-top: 0.5rem;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--primary);
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--light-surface);
}

.user-dropdown a:last-child {
    border-bottom: none;
}

.user-dropdown a:hover {
    background-color: var(--light-surface);
    color: var(--accent);
}

.user-dropdown a i {
    width: 20px;
    text-align: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-link:hover,
.nav-link.active {
    color: var(--deep);
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 6px 15px rgba(244, 186, 46, 0.25);
}

.nav-link.active::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-400) 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500"><rect fill="%23252329" width="1200" height="500"/><path d="M0,200 Q300,100 600,200 T1200,200 L1200,500 L0,500 Z" fill="%231e1c21" opacity="0.4"/><circle cx="300" cy="120" r="90" fill="%23F4BA2E" opacity="0.12"/><circle cx="950" cy="160" r="120" fill="%23F9CB58" opacity="0.1"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(160deg, rgba(37, 35, 41, 0.85) 0%, rgba(37, 27, 27, 0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--deep);
}

.btn-primary:hover {
    background-color: var(--highlight);
    color: var(--deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.btn-hero {
    font-size: 1.1rem;
    padding: 15px 40px;
    animation: fadeInUp 1.2s ease;
}

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

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn i {
    margin-right: 8px;
}

/* ============================================
   Main Content & Tabs
   ============================================ */
.main-content {
    padding: clamp(2.75rem, 6vw, 4.5rem) 0;
    background-color: var(--light-surface);
    min-height: 600px;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid transparent;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 10px var(--shadow);
}

.tab-btn:hover {
    background-color: var(--primary);
    color: var(--highlight);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-hover);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--accent);
    border-color: var(--accent);
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tab-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tab-header h2 i {
    color: var(--accent);
    margin-right: 10px;
}

.tab-subtitle {
    font-size: 1.2rem;
    color: var(--primary-600);
    font-style: italic;
}

/* ============================================
   Services Grid
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px var(--shadow-hover);
    border-color: rgba(244, 186, 46, 0.6);
}

.service-photo {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 24px rgba(37, 35, 41, 0.2);
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-photo img {
    transform: scale(1.05);
}

.price-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(244, 186, 46, 0.92);
    color: var(--deep);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(244, 186, 46, 0.35);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-400));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight);
    font-size: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--highlight);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section .tagline {
    font-style: italic;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-whatsapp:hover {
    color: var(--whatsapp-green);
}

.footer-whatsapp i {
    font-size: 1.5rem;
    color: var(--whatsapp-green);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    color: var(--deep);
}

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

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px var(--shadow);
    }

    .nav-list.active {
        left: 0;
    }

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

    .hero {
        height: 440px;
        padding: 0 24px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero {
        font-size: 1.05rem;
        padding: 13px 30px;
        width: 100%;
        max-width: 320px;
    }

    .logo-link {
        align-items: center;
    }

    .logo-image {
        width: 44px;
        height: 44px;
    }

    .tab-navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }

    .tab-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .logo .tagline {
        font-size: 0.75rem;
    }
}

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

    .hero {
        height: 400px;
        padding: 0 18px;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 1.2px;
    }

    .btn-hero {
        width: 100%;
        font-size: 1rem;
        padding: 12px 28px;
    }

    .main-content {
        padding: 2.5rem 0;
    }

    .tab-navigation {
        gap: 0.75rem;
    }

    .tab-btn {
        padding: 12px 22px;
        font-size: 1rem;
        border-radius: 40px;
    }

    .services-grid {
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.35rem;
        text-align: left;
    }

    .service-card .btn {
        width: 100%;
    }

    .service-photo {
        height: 150px;
        margin-bottom: 1rem;
    }

    .price-tag {
        top: 12px;
        right: 12px;
        font-size: 0.85rem;
        padding: 5px 12px;
    }

    .service-icon {
        margin: 0 0 1rem 0;
    }

    .service-card h3 {
        font-size: 1.35rem;
    }

    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 400px) {
    .hero {
        height: 360px;
    }

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

    .tab-btn {
        font-size: 0.95rem;
        padding: 11px 18px;
    }

    .service-photo {
        height: 135px;
    }

    .service-card {
        padding: 1.2rem;
    }

    .price-tag {
        font-size: 0.8rem;
    }

    .floating-whatsapp {
        width: 46px;
        height: 46px;
    }
}

/* ============================================
   Registration Banner & Modal
   ============================================ */
.registration-banner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(244, 186, 46, 0.3);
}

.registration-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    color: var(--deep);
}

.registration-info i {
    font-size: 1.5rem;
}

.registration-info p {
    margin: 0;
    font-size: 1rem;
    color: var(--deep);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 18px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.modal-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.registration-fee {
    background-color: var(--light-surface);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.registration-fee p {
    margin: 0.5rem 0;
    color: var(--primary);
}

.small-text {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ============================================
   Mobility Tabs
   ============================================ */
.mobility-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mobility-tab-btn {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary-600);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px var(--shadow);
}

.mobility-tab-btn:hover {
    background-color: var(--primary);
    color: var(--highlight);
    transform: translateY(-2px);
}

.mobility-tab-btn.active {
    background-color: var(--primary);
    color: var(--accent);
    border-color: var(--accent);
}

.mobility-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.mobility-tab-content.active {
    display: block;
}

/* ============================================
   Forms
   ============================================ */
.form-container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-top: 2rem;
}

.form-container h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.form-description {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.mobility-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--primary-600);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
    color: var(--primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244, 186, 46, 0.1);
}

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

.form-group small {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.price-estimate {
    background-color: var(--light-surface);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.price-estimate h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.price-estimate ul {
    list-style: none;
    padding: 0;
}

.price-estimate li {
    padding: 0.5rem 0;
    color: var(--primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.price-estimate li:last-child {
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

/* ============================================
   Matches Display
   ============================================ */
.matches-container {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 18px;
    box-shadow: 0 5px 20px var(--shadow);
}

.matches-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-surface);
}

.matches-header h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.matches-header.success h3 {
    color: var(--whatsapp-green);
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.match-card {
    background-color: var(--light-surface);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.match-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.match-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.match-details p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
}

.match-total {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.match-total p {
    margin: 0.5rem 0;
    color: var(--primary);
}

.success-message {
    color: var(--whatsapp-green) !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-matches {
    text-align: center;
    padding: 2rem;
}

.no-matches i {
    font-size: 3rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.no-matches h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.no-matches p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.no-matches .info {
    background-color: var(--light-surface);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.match-action {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-surface);
}

.driver-match {
    background-color: var(--light-surface);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--whatsapp-green);
}

.driver-match h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.driver-match p {
    color: var(--text-gray);
    margin: 0.5rem 0;
}

.match-summary {
    background-color: var(--light-surface);
    padding: 1.5rem;
    border-radius: 12px;
}

.match-summary h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.match-summary p {
    color: var(--text-gray);
    margin: 0.5rem 0;
}

/* ============================================
   Drivers Section
   ============================================ */
.drivers-intro {
    margin-bottom: 3rem;
}

.intro-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 5px 20px var(--shadow);
}

.intro-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.intro-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.intro-card ul {
    list-style: none;
    padding: 0;
}

.intro-card li {
    padding: 0.75rem 0;
    color: var(--primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.intro-card li:last-child {
    border-bottom: none;
}

.intro-card li::before {
    content: '✓';
    color: var(--whatsapp-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.driver-card {
    background-color: var(--white);
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.driver-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
    border-color: rgba(244, 186, 46, 0.5);
}

.driver-photo-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-400) 100%);
}

.driver-profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.driver-card:hover .driver-profile-photo {
    transform: scale(1.05);
}

.security-badge-photo {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--whatsapp-green);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.driver-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1.5rem 2rem 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.driver-header h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 0;
}

.driver-age {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.security-badge {
    background-color: var(--whatsapp-green);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.driver-info {
    padding: 0 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.driver-info p {
    color: var(--text-gray);
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.driver-info strong {
    color: var(--primary);
}

.driver-home-address,
.driver-history {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.driver-home-address i,
.driver-history i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.driver-home-address > div,
.driver-history > div {
    flex: 1;
}

.driver-home-address strong,
.driver-history strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.driver-home-address p,
.driver-history p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.car-info {
    background-color: var(--light-surface);
    padding: 1rem;
    border-radius: 8px;
    margin: 0;
}

.car-info h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.car-info ul {
    list-style: none;
    padding: 0;
}

.car-info li {
    color: var(--text-gray);
    padding: 0.25rem 0;
}

.driver-areas {
    margin: 0;
}

.driver-rules {
    margin: 0;
}

.driver-areas h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.area-tag {
    background-color: var(--accent);
    color: var(--deep);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.driver-rules {
    margin: 0;
    padding: 1rem;
    background-color: var(--light-surface);
    border-radius: 8px;
}

.driver-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.driver-meta p {
    margin: 0;
}

.driver-rules h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.rules-do,
.rules-dont {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 8px;
}

.rules-do strong {
    color: var(--whatsapp-green);
}

.rules-dont strong {
    color: #e74c3c;
}

.rules-do ul,
.rules-dont ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.rules-do li,
.rules-dont li {
    padding: 0.25rem 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.special-services {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(244, 186, 46, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.special-services h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.special-services ul {
    list-style: none;
    padding: 0;
}

.special-services li {
    color: var(--primary);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.special-services li i {
    color: var(--accent);
}

/* ============================================
   Animations
   ============================================ */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design for New Components
   ============================================ */
@media (max-width: 768px) {
    .registration-banner {
        flex-direction: column;
        text-align: center;
    }

    .mobility-tabs {
        flex-direction: column;
    }

    .mobility-tab-btn {
        width: 100%;
        justify-content: center;
    }

    .form-container {
        padding: 1.5rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 10% auto;
    }

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

    .driver-card {
        padding: 0;
    }

    .driver-photo-container {
        height: 250px;
    }

    .driver-info {
        padding: 0 1.5rem 1.5rem;
    }

    .driver-header {
        padding: 1rem 1.5rem 0.5rem;
    }

.driver-photo-container {
    height: 250px;
}

    .match-details {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 540px) {
    .registration-info {
        flex-direction: column;
        text-align: center;
    }

    .registration-banner {
        padding: 1rem;
    }

    .form-container {
        padding: 1.25rem;
    }

    .modal-content {
        padding: 1.25rem;
    }

    .driver-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .driver-photo-container {
        height: 200px;
    }

    .driver-home-address,
    .driver-history {
        flex-direction: column;
        gap: 8px;
    }

    .driver-home-address i,
    .driver-history i {
        margin-top: 0;
    }
}

/* ============================================
   Authentication Forms & Styles
   ============================================ */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form .form-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 38px;
    cursor: pointer;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary);
}

.form-hint {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-top: 4px;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background-color: var(--light-surface);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 33%;
    background-color: #e74c3c;
}

.strength-fill.medium {
    width: 66%;
    background-color: #f39c12;
}

.strength-fill.strong {
    width: 100%;
    background-color: var(--whatsapp-green);
}

.strength-text {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.error-message {
    background-color: #fee;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-message {
    background-color: #efe;
    border: 1px solid var(--whatsapp-green);
    color: var(--whatsapp-green);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forgot-password {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--highlight);
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--light-surface);
}

.auth-divider span {
    background-color: var(--white);
    padding: 0 1rem;
    position: relative;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.auth-switch {
    text-align: center;
    color: var(--text-gray);
    margin-top: 1rem;
}

.auth-switch a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: var(--highlight);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

#passwordMatch {
    font-weight: 600;
}

#passwordMatch.match {
    color: var(--whatsapp-green);
}

#passwordMatch.mismatch {
    color: #e74c3c;
}

/* Responsive Auth Styles */
@media (max-width: 768px) {
    .auth-nav-item {
        margin-left: 0;
        width: 100%;
    }

    .btn-auth {
        width: 100%;
        justify-content: center;
    }

    .user-dropdown {
        right: auto;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 540px) {
    .modal-content {
        padding: 1.25rem;
        margin: 5% auto;
    }

    .auth-form {
        gap: 1rem;
    }
}

