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

html {
    scroll-behavior: smooth;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --input-bg: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --border-color: #4b5563;
    --header-bg: #1f2937;
    --card-bg: #374151;
    --input-bg: #1f2937;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.2;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 12px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
    min-height: 36px;
    align-items: center;
}

.language-btn {
    background: none;
    border: 1px solid #d1d5db;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    color: #374151;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
    min-height: 28px;
    min-width: 50px;
}

.language-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.language-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.language-btn span {
    display: flex;
    align-items: center;
}

.lang-text {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Desktop - Top right corner */
@media (min-width: 769px) {
    .language-selector {
        top: 12px;
        right: 18px;
        padding: 2px 2px;
        gap: 7px;
        min-height: 38px;
    }
    
    .language-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
        min-width: 60px;
        min-height: 32px;
    }
}

/* Mobile - Optimized for small screens */
@media (max-width: 768px) {
    .language-selector {
        top: 8px;
        right: 8px;
        padding: 4px 6px;
        gap: 3px;
        min-height: 32px;
    }
    
    .language-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
        min-width: 44px;
        min-height: 28px;
        border-width: 1px;
    }
    
    .lang-text {
        font-size: 0.7rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .language-selector {
        top: 10px;
        right: 6px;
        padding: 3px 5px;
        gap: 2px;
        min-height: 30px;
    }
    
    .language-btn {
        padding: 3px 6px;
        font-size: 0.7rem;
        min-width: 40px;
        min-height: 26px;
    }
    
    .lang-text {
        display: none;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

@media (min-width: 768px) {
    .btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #f0f7ff;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: clamp(28px, 5vw, 44px);
    }

    .section-subtitle {
        font-size: 16px;
    }
}

/* Dark Mode Toggle */
.theme-toggle {
    position: fixed;
    top: 8px;
    right: 145px;
    z-index: 101;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .theme-toggle {
        top: 6px;
        right: 220px;
        padding: 8px 12px;
        font-size: 20px;
    }
}

/* Header */
header {
    background: var(--header-bg);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: none;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #2563eb;
}

@media (min-width: 768px) {
    nav {
        display: flex;
        gap: 25px;
    }

    .logo {
        font-size: 20px;
    }

    header {
        padding: 14px 0;
    }

    .container {
        padding: 0 20px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #06b6d4 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -30px;
    left: 20px;
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    display: none;
}

.hero-image {
    display: none;
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 15px;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .hero {
        padding: clamp(60px, 10vh, 100px) 0;
    }

    .hero::before {
        width: 400px;
        height: 400px;
        top: -100px;
        right: -100px;
    }

    .hero::after {
        width: 300px;
        height: 300px;
        bottom: -50px;
        left: 100px;
    }

    .hero-text {
        display: block;
    }

    .hero-image {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: clamp(32px, 6vw, 56px);
        margin-bottom: 20px;
    }

    .hero-text p {
        font-size: 16px;
        margin-bottom: 35px;
        line-height: 1.8;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 15px;
    }

    .btn {
        width: auto;
        text-align: center;
    }
}

/* Booking Loader */
.booking-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.booking-loader.active {
    display: flex;
}

.loader-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Email Loader (Inline) */
.email-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.email-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f0f0f0;
    border-top: 2px solid #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Booking Form */
.booking-form {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.booking-form h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

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

@media (min-width: 768px) {
    .booking-form {
        padding: clamp(25px, 5vw, 40px);
    }

    .booking-form h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }

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

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

.customer-type {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    align-items: center;
}

.customer-option {
    position: relative;
}

.customer-option input[type="radio"] {
    display: none;
}

.customer-option label {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    background: var(--bg-primary);
    white-space: nowrap;
}

.customer-option input[type="radio"]:checked + label {
    border-color: #2563eb;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: #2563eb;
}

.customer-option label:hover {
    border-color: #2563eb;
}

/* Add Return Button */
.add-return-btn-wrapper {
    margin-bottom: 18px;
}

.add-return-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 14px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.add-return-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.04);
}

.add-return-btn i {
    font-size: 14px;
}

/* Return Date Row with X button */
.return-date-row {
    position: relative;
}

.remove-return-btn {
    position: absolute;
    top: -10px;
    right: -8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: #64748b;
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
    line-height: 1;
    padding: 0;
}

.remove-return-btn:hover {
    background: #ef4444;
}

/* Return date/time inline error */
.return-dt-error {
    font-size: 12px;
    color: #991b1b;
    background: #fee2e2;
    border-left: 3px solid #ef4444;
    border-radius: 4px;
    padding: 6px 10px;
    margin-bottom: 12px;
    animation: fadeInWarning 0.25s ease;
}
[data-theme="dark"] .return-dt-error {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.12);
}

label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 13px;
}

input, select {
    width: 100%;
    padding: 11px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Date and Time Picker Icons - Make them larger */
input[type="date"]::-webkit-calendar-picker-indicator {
    width: 24px;
    height: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Address Validation Warnings */
.address-warning {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.4;
    padding: 4px 8px;
    border-radius: 4px;
    animation: fadeInWarning 0.3s ease;
}
.address-warning.warn {
    color: #92400e;
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
}
.address-warning.error {
    color: #991b1b;
    background: #fee2e2;
    border-left: 3px solid #ef4444;
}
.address-warning.info {
    color: #1e40af;
    background: #dbeafe;
    border-left: 3px solid #3b82f6;
}
[data-theme="dark"] .address-warning.warn {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
}
[data-theme="dark"] .address-warning.error {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.12);
}
[data-theme="dark"] .address-warning.info {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.12);
}
@keyframes fadeInWarning {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Time Select Dropdowns (Stunden : Minuten) */
.time-select-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.time-select-wrapper .time-select {
    flex: 1;
    min-width: 0;
    padding: 11px 8px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
}

.time-select-wrapper .time-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.time-select-wrapper .time-separator {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    user-select: none;
    flex-shrink: 0;
}

[data-theme="dark"] .time-select-wrapper .time-select {
    background-color: var(--input-bg);
    color: var(--text-primary);
    border-color: var(--border-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

/* Dark mode inputs */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: var(--input-bg);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

@media (min-width: 768px) {
    .add-return-btn {
        font-size: 14px;
        padding: 14px 16px;
    }

    label {
        font-size: 15px;
        margin-bottom: 4px;
    }

    input, select {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Cities Section */
.cities {
    display: none;
    padding: 60px 0;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.cities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 35px;
}

.city-card {
    background: var(--card-bg);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    height: 200px;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.city-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.city-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 58, 138, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
    z-index: 2;
}

.city-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.city-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .cities {
        display: block;
        padding: clamp(60px, 10vh, 100px) 0;
    }

    .cities-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        margin-top: 50px;
    }

    .city-card {
        height: 280px;
        padding: 0;
    }

    .city-card:hover {
        transform: translateY(-8px);
    }

    .city-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .city-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .city-overlay {
        padding: 30px;
    }
}

/* Features Section */
.features {
    display: none;
    padding: 60px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 35px;
}

.feature-card {
    padding: 25px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    background: var(--card-bg);
}

.feature-card:hover {
    border-color: #2563eb;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 15px;
}

/* Passenger Counter */
.passenger-counter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.counter-btn:active {
    transform: scale(0.95);
}

#passengerCount {
    width: 50px;
    text-align: center;
    padding: 8px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text-primary);
}

/* Swap Button */
.swap-button {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    z-index: 10;
}

.swap-button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.swap-button:active {
    transform: translateY(-50%) scale(0.95);
}

@media (min-width: 768px) {
    .swap-button {
        right: -22px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

.form-row-swap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    position: relative;
}

@media (min-width: 768px) {
    .form-row-swap {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .features {
        display: block;
        padding: clamp(60px, 10vh, 100px) 0;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 50px;
    }

    .feature-card {
        padding: 35px;
    }

    .feature-card:hover {
        transform: translateY(-5px);
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
        margin: 0 auto 20px;
    }

    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .feature-card p {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* Stats Section */
.stats {
    display: none;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 12px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .stats {
        display: block;
        padding: clamp(60px, 10vh, 80px) 0;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px;
    }

    .stat-item h3 {
        font-size: clamp(32px, 5vw, 44px);
        margin-bottom: 10px;
    }

    .stat-item p {
        font-size: 15px;
    }
}

/* CTA Section */
.cta {
    display: none;
    padding: 60px 0;
    text-align: center;
    background: var(--bg-secondary);
}

.cta h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

@media (min-width: 768px) {
    .cta {
        display: block;
        padding: clamp(60px, 10vh, 80px) 0;
    }

    .cta h2 {
        font-size: clamp(28px, 5vw, 44px);
        margin-bottom: 20px;
    }

    .cta p {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 20px;
    background: #1f2937;
}

[data-theme="dark"] footer {
    background: #0f172a;
}

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

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 18px;
    font-size: 15px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #d1d5db;
    font-size: 13px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 25px;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    footer {
        padding: 40px 0 15px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Responsive */
@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 15px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

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

.city-card, .feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Language Selector - Header */
.language-selector {
    display: flex;
    gap: 8px;
    margin-left: auto;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    /*color: var(--text-primary);*/
    color:black;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
}

.lang-btn:hover {
    background-color: var(--bg-secondary);
    border-color: #2563eb;
    transform: translateY(-2px);
}

.lang-btn.active {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.lang-btn.active:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

/* Responsive Language Selector */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 0;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
        gap: 6px;
        height: fit-content;
    }
    
    .lang-btn {
        padding: 8px 10px;
        min-width: 40px;
        height: 34px;
        font-size: 13px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

/* ============================================
   CLEAR INPUT BUTTONS
   ============================================ */

.input-with-clear {
    position: relative;
}

.clear-input-btn {
    position: absolute;
    right: 12px;
    top: 4px; /* Adjusted for label height */
    width: 17px;
    height: 17px;
    border: none;
    background: #3975c9;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
    z-index: 10;
    font-size: 13px;
}

.clear-input-btn:hover {
    background: #111827;
    transform: scale(1.1);
}

.clear-input-btn:active {
    transform: scale(0.95);
}

/* Show button when input has value */
.input-with-clear input:not(:placeholder-shown) ~ .clear-input-btn {
    display: flex;
}

[data-theme="dark"] .clear-input-btn {
    background: #374151;
    color: #f9fafb;
}

[data-theme="dark"] .clear-input-btn:hover {
    background: #4b5563;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .clear-input-btn {
        width: 20px;
        height: 20px;
        right: 10px;
        font-size: 14px;
    }
}

/* ============================================
   GOOGLE PLACES AUTOCOMPLETE STYLING
   ============================================ */

/* Main container */
.pac-container {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    border: 2px solid #e5e7eb !important;
    margin-top: 8px !important;
    font-family: 'Inter', sans-serif !important;
    background: white !important;
    z-index: 9999 !important;
}

/* Dark mode support */
[data-theme="dark"] .pac-container {
    background: #1f2937 !important;
    border-color: #4b5563 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

/* Each item in dropdown */
.pac-item {
    padding: 10px 12px !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    transition: background-color 0.2s ease !important;
}

[data-theme="dark"] .pac-item {
    border-bottom-color: #374151 !important;
    color: #f9fafb !important;
}

.pac-item:last-child {
    border-bottom: none !important;
}

/* Hover state */
.pac-item:hover {
    background: #f9fafb !important;
}

[data-theme="dark"] .pac-item:hover {
    background: #374151 !important;
}

/* Selected state (keyboard navigation) */
.pac-item-selected,
.pac-item-selected:hover {
    background: #eff6ff !important;
}

[data-theme="dark"] .pac-item-selected,
[data-theme="dark"] .pac-item-selected:hover {
    background: #1e40af !important;
}

/* Hide Google's icons completely */
.pac-icon,
.pac-icon-marker {
    display: none !important;
}

/* Hide the extra marker icons that appear on mobile */
.pac-item-query .pac-matched {
    padding-left: 0 !important;
}

/* Main text (address name) */
.pac-item-query {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
}

[data-theme="dark"] .pac-item-query {
    color: #f9fafb !important;
}

/* Secondary text (city, country) */
.pac-matched {
    font-weight: 600 !important;
    color: #2563eb !important;
}

[data-theme="dark"] .pac-matched {
    color: #60a5fa !important;
}

/* Logo - keep at bottom but style better */
.pac-logo::after {
    padding: 8px 16px !important;
    font-size: 11px !important;
    color: #9ca3af !important;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .pac-container {
        font-size: 14px !important;
        max-width: calc(100vw - 32px) !important;
    }
    
    .pac-item {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
    
    .pac-icon {
        width: 36px !important;
        height: 36px !important;
        margin-right: 10px !important;
    }
}
