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

@font-face {
    font-family: "Outfit";
    src: url("../Outfit/static/Outfit-Regular.ttf");
    font-weight: 400; /* Regular */
    font-style: normal;
    font-display: swap; /* Optional but recommended for better user experience */
}
@font-face {
    font-family: "Outfit-bold";
    src: url("../Outfit/static/Outfit-Bold.ttf");
    font-weight: 700; /* Bold */
    font-style: normal;
    font-display: swap; /* Optional but recommended for better user experience */
}
@font-face {
    font-family: "Outfit-medium";
    src: url("../Outfit/static/Outfit-Medium.ttf");
    font-weight: 400; /* Medium */
    font-style: normal;
    font-display: swap; /* Optional but recommended for better user experience */
}

body {
    font-family: "Outfit", sans-serif;
    color: #252525;
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f3f7 100%);
    min-height: 100vh;
}
/* Language and currency */
.selected {
    background: linear-gradient(135deg, #7e7e7e 0%, #000000 100%);
    border: 1px solid #ed0000;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 106, 255, 0.3);
}
.active-tab {
    border-bottom: 3px solid #595959;
    font-weight: bold;
    color: #595959;
}

/* ===== Header & Navigation Styling ===== */
#main-header {
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#main-header.pb-3 {
    padding-bottom: 12px;
}

#main-header.pb-2 {
    padding-bottom: 8px;
}

header nav a {
    position: relative;
}

header nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #595959 0%, #af0000 100%);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

header nav a:hover::after {
    width: 80%;
}

/* ===== Footer Styling ===== */
footer {
    background: linear-gradient(to bottom, #111827, #0f172a, #000000);
    position: relative;
}

footer a {
    transition: all 0.3s ease;
}

footer .fab,
footer .fas {
    transition: all 0.3s ease;
}

footer a:hover {
    transform: translateX(4px);
}

/* ===== Language Modal Styling ===== */
#language-modal {
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-in;
}

#language-modal:not(.hidden) {
    display: flex;
}

#language-modal > div {
    animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Tab buttons styling */
#currency-tab-btn,
#lang-tab-btn {
    position: relative;
    overflow: hidden;
}

#currency-tab-btn.bg-\[\#595959 \],
#lang-tab-btn.bg-\[\#595959 \] {
    background: linear-gradient(135deg, #595959 0%, #af0000 100%);
    color: white;
}

#currency-tab-btn.bg-\[\#595959 \]::after,
#lang-tab-btn.bg-\[\#595959 \]::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, white, transparent);
}

/* Modal content scrolling */
#country-list::-webkit-scrollbar,
#currency-list::-webkit-scrollbar {
    width: 6px;
}

#country-list::-webkit-scrollbar-track,
#currency-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#country-list::-webkit-scrollbar-thumb,
#currency-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #595959 0%, #af0000 100%);
    border-radius: 10px;
}

#country-list::-webkit-scrollbar-thumb:hover,
#currency-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #af0000 0%, #003090 100%);
}

/* ===== Vehicle Category Section Styling ===== */
.vehicle-category-card {
    perspective: 1000px;
}

.vehicle-category-card:hover {
    transform: perspective(1000px) rotateX(5deg);
}

.vehicle-category-card img {
    filter: drop-shadow(0 4px 12px rgba(0, 106, 255, 0.1));
    transition: filter 0.3s ease;
}

.vehicle-category-card:hover img {
    filter: drop-shadow(0 8px 20px rgba(0, 106, 255, 0.2));
}

/* ===== Blog Section Styling ===== */
.blog-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    box-shadow: 0 20px 40px rgba(0, 106, 255, 0.15);
    transform: translateY(-8px);
    border-color: #595959;
}

.blog-card img {
    transition: transform 0.5s ease-out;
}

/* Swiper pagination customization for blogs */
.blogs-swiper .swiper-pagination-bullet {
    background: #d1d5db;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.blogs-swiper .swiper-pagination-bullet-active {
    background: #595959;
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 106, 255, 0.4);
}

/* Line clamp utility */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* header css */
#main-header nav {
    font-family: Outfit-medium, sans-serif;
}
/* all headings use Outfit */

h1,
h2 {
    font-family: Outfit-bold, sans-serif;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffffff; /* White arrows */
}
.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.7;
}
.swiper-pagination-bullet-active {
    background: #e50914; /* Theme Primary */
    opacity: 1;
}
.dots-swiper .swiper-pagination-bullet {
    background-color: #999999; /* secondary text grey */
    opacity: 1;
}

.dots-swiper .swiper-pagination-bullet-active {
    background-color: #595959;
}

/* Categories Swiper Navigation */
.categories-swiper .swiper-button-next,
.categories-swiper .swiper-button-prev {
    color: #595959;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.categories-swiper .swiper-button-next:hover,
.categories-swiper .swiper-button-prev:hover {
    background: #595959;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 106, 255, 0.3);
}

.categories-swiper .swiper-button-next::after,
.categories-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Enhanced button styles */
button,
[role="button"],
a.button {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

button:hover,
[role="button"]:hover,
a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Card animations */
.swiper-slide {
    transition: all 0.3s ease !important;
}

/* Section spacing and shadows */
section {
    border-radius: 12px;
    margin: 0 auto;
}

/* ===== Hero Carousel Styling ===== */
.hero-swiper {
    position: relative;
}

.hero-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

/* Enhanced pagination styling for hero carousel */
.hero-pagination.swiper-pagination {
    bottom: 24px;
}

.hero-pagination .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.8);
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #595959 0%, #af0000 100%);
    box-shadow: 0 0 12px rgba(0, 106, 255, 0.6);
    width: 32px;
    border-radius: 6px;
}

/* Navigation buttons */
.hero-nav-button {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.hero-nav-button:active {
    transform: scale(0.95) !important;
}

.hero-nav-button::after {
    font-size: 24px;
    color: white;
}

/* Radial gradient for enhanced effect */
.bg-radial-gradient {
    background: radial-gradient(
        circle at center,
        rgba(0, 106, 255, 0.1) 0%,
        transparent 70%
    );
}

/* Hero section enhancements */
section:has(.hero-swiper) {
    position: relative;
}

/* ===== Partner Card Styling ===== */
.partner-card-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    perspective: 1000px;
}

.partner-card-container:hover {
    z-index: 10;
}

/* Blog cards enhanced */
.blogs-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blogs-swiper .swiper-slide:hover {
    box-shadow: 0 12px 40px rgba(0, 106, 255, 0.2);
}
.blogs-swiper .swiper-slide > div {
    width: 100%; /* full responsive */
    max-width: 320px; /* optional max width */
}

/* ===== Car Booking Page Enhancements ===== */

/* Background Overlay for better contrast */
.booking-bg-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Breadcrumb Styles */
.breadcrumb-nav {
    margin-bottom: 24px;
    padding: 16px 16px 16px 24px;
}

@media (min-width: 1024px) {
    .breadcrumb-nav {
        padding: 24px;
    }
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-link {
    color: #595959;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #af0000;
}

.breadcrumb-separator {
    color: #6b7280;
}

/* Tabs Container */
.booking-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    padding: 0 16px;
}

@media (min-width: 1024px) {
    .booking-tabs-container {
        padding: 0 24px;
    }
}

/* Enhanced Tabs */
.booking-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.booking-tab {
    position: relative;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #6b7280;
}

.tab-icon {
    width: 20px;
    height: 20px;
}

.booking-tab:hover {
    background: rgba(0, 106, 255, 0.1);
    transform: translateY(-2px);
}

.booking-tab.active {
    background: linear-gradient(135deg, #595959 0%, #af0000 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 106, 255, 0.3);
}

.booking-tab.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

/* Section Content */
.booking-section-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
}

/* Form Container Enhancements */
.booking-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.5s ease-out;
    padding: 32px;
    max-width: 800px;
    width: 100%;
}

.booking-form-wrapper {
    margin: 0 50px;
}

@media (max-width: 768px) {
    .booking-form-wrapper {
        margin: 0 20px;
    }
    .booking-form-container {
        padding: 24px;
    }
}

/* Heading */
.booking-heading {
    text-align: left;
    margin-bottom: 24px;
}

.booking-title {
    font-size: 20px;
    font-weight: 600;
    color: #252525;
    margin: 0;
}

.booking-title .currency-selection {
    font-size: 22px;
    font-weight: bold;
    color: #595959;
}

.booking-title .unit-price {
    font-size: 22px;
    font-weight: bold;
    color: #595959;
}

.vehicle-name {
    font-size: 16px;
    color: #6b7280;
    margin: 8px 0 0 0;
}

/* Form */
.booking-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Form Grid */
.booking-form-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .booking-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Floating Label Inputs */
.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus {
    border-color: #595959;
    box-shadow: 0 0 0 3px rgba(0, 106, 255, 0.1);
    outline: none;
}

.form-group label {
    position: absolute;
    left: 48px;
    top: 16px;
    color: #6b7280;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 4px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -8px;
    left: 40px;
    font-size: 12px;
    color: #595959;
    background: white;
    padding: 0 8px;
}

.form-group .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    transition: color 0.3s ease;
}

.form-group input:focus ~ .input-icon {
    color: #595959;
}

/* Pricing Display Enhancement */
.booking-pricing {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
    width: 100%;
    font-family: "Outfit", sans-serif;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px 0;
}

.pricing-item .label {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.pricing-item .value {
    font-weight: bold;
    color: #595959;
    font-size: 16px;
}

.pricing-item.total {
    border-top: 1px solid #d1d5db;
    padding-top: 12px;
    margin-top: 12px;
}

.pricing-item.total .label,
.pricing-item.total .value {
    font-size: 18px;
    font-weight: bold;
    color: #595959;
}

.pricing-separator {
    border: none;
    border-top: 1px solid #d1d5db;
    margin: 12px 0;
}

/* Submit Button Enhancement */
.booking-submit-btn {
    background: linear-gradient(135deg, #595959 0%, #af0000 100%);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 106, 255, 0.3);
}

.booking-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 106, 255, 0.4);
}

.booking-submit-btn:active {
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .booking-tab {
        padding: 10px 16px;
        font-size: 14px;
    }

    .booking-pricing-display {
        flex-direction: column;
        gap: 12px;
    }

    .booking-days,
    .booking-total {
        justify-content: center;
    }
}

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

/* Alert Messages */
.alert {
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 8px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}
.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
    box-shadow: 0 4px 12px rgba(21, 87, 36, 0.1);
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
    box-shadow: 0 4px 12px rgba(114, 28, 36, 0.1);
}

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

/* Print Styles for Booking Details */
@media print {
    body {
        background: white !important;
        color: black !important;
        font-size: 12px;
    }

    .booking-detail-hero,
    .action-buttons,
    .back-button,
    .modal {
        display: none !important;
    }

    .booking-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        margin-bottom: 20px;
        page-break-inside: avoid;
    }

    .card-header {
        background: #f5f5f5 !important;
        border-bottom: 1px solid #ccc !important;
    }

    .detail-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .pricing-breakdown {
        background: #f9f9f9 !important;
        border: 1px solid #ccc !important;
    }

    .btn-primary,
    .btn-secondary,
    .btn-danger {
        display: none !important;
    }

    h1,
    h2,
    h3 {
        color: black !important;
    }

    .booking-status {
        border: 1px solid #ccc !important;
        background: white !important;
        color: black !important;
    }

    @page {
        margin: 0.5in;
        size: A4;
    }
}
