/* UI Design System - Bhagwati Tours & Travels */

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

:root {
    /* Color Palette - Royal Blue & Gold */
    --primary-color: #1E3A8A; /* Deep Royal Blue */
    --secondary-color: #FBBF24; /* Gold */
    --secondary-hover: #D97706;
    --accent-blue: #60A5FA;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-muted-light: #94A3B8;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.1), 0 4px 6px -2px rgba(30, 58, 138, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(30, 58, 138, 0.15), 0 10px 10px -5px rgba(30, 58, 138, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Poppins', sans-serif;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Typography Helpers */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-white { color: var(--white); }
.text-muted-light { color: #E2E8F0; } /* Lighter for dark backgrounds */
.text-upper { text-transform: uppercase; }
.spacing-2 { letter-spacing: 2px; }
.fw-600 { font-weight: 600; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Custom Utilities */
.hover-translate {
    transition: var(--transition);
}

.hover-translate:hover {
    transform: translateY(-10px);
}

.bg-secondary-light {
    background-color: rgba(255, 193, 7, 0.1);
}

.spacing-1 { letter-spacing: 1px; }

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-4 {
    border-radius: 1.5rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Advanced Animations & Effects */
.text-gradient {
    background: linear-gradient(to right, var(--secondary-color), #f1c40f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.bg-pattern {
    background-image: radial-gradient(var(--secondary-color) 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.image-shimmer {
    position: relative;
    overflow: hidden;
}

.image-shimmer::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translate(-100%, -100%) rotate(45deg); }
    100% { transform: translate(100%, 100%) rotate(45deg); }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

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

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

.btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

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

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cards */
.custom-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: var(--transition);
    border: none;
}

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

/* Icons */
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
    padding: 1rem 0;
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 0.8rem 0;
}

.header.scrolled .nav-link {
    color: var(--primary-color);
}

.header.scrolled .logo-container h1 {
    color: var(--primary-color);
}

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

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Sidebar Styling */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background: var(--primary-color);
    z-index: 2000;
    padding: 3rem 2rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.5);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.mobile-nav-links li {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
}

.mobile-nav-links a {
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.mobile-socials {
    margin-top: auto;
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.mobile-socials a:hover {
    color: var(--white);
    transform: translateY(-3px);
}

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

.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.6) 100%), url('assets/images/scenic_hero_bg.png') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    color: var(--white);
    animation: zoomBG 20s infinite alternate;
}

@keyframes zoomBG {
    from { background-size: 100%; }
    to { background-size: 110%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 25, 47, 0.5) 100%);
    pointer-events: none;
}

.hero-content {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Booking Form Overlay */
.booking-form-wrapper {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    padding: 0 1rem;
    z-index: 10;
}

.booking-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 1rem;
    align-items: flex-end;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input, .form-group select {
    padding: 0.8rem;
    border: 1px solid #CBD5E1;
    border-radius: 5px;
    outline: none;
}

.form-group input:focus {
    border-color: var(--secondary-color);
}

/* Services Grid Styles (from HTML) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover { transform: translateY(-10px); }
.service-card i { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 1.5rem; }
.service-card h3 { margin-bottom: 1rem; color: var(--primary-color); }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Features Grid Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
    text-align: center;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.feature-item {
    padding: 1.5rem;
    transition: var(--transition);
}

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

.feature-item i { 
    font-size: 2.8rem; 
    color: var(--secondary-color); 
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.2));
}

.feature-item h4 { 
    margin-bottom: 1.2rem; 
    font-size: 1.4rem; 
    font-weight: 700; 
    color: var(--white); /* Fixed visibility on dark background */
}

.feature-item p { 
    color: #CBD5E1; 
    font-size: 1rem; 
    line-height: 1.7; 
    margin-bottom: 0;
}

/* Fleet Showcase Styles (from HTML) */
.fleet-filters { 
    display: flex; 
    justify-content: center; 
    gap: 1rem; 
    margin-bottom: 3rem; 
    flex-wrap: wrap;
}
.filter-btn { 
    padding: 0.6rem 1.8rem; 
    border: 1px solid #CBD5E1; 
    border-radius: 30px; 
    background: white; 
    cursor: pointer; 
    transition: var(--transition);
    font-weight: 500;
}
.filter-btn.active { 
    background: var(--secondary-color); 
    border-color: var(--secondary-color); 
    color: var(--primary-color);
    font-weight: 600; 
}
.filter-btn:hover:not(.active) {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.fleet-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2.5rem; 
}
.fleet-card { overflow: hidden; position: relative; display: flex; flex-direction: column; }
.fleet-card img { width: 100%; height: 240px; object-fit: cover; transition: var(--transition); }
.fleet-card:hover img { transform: scale(1.05); }

.fleet-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: var(--shadow);
}

.fleet-info { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.fleet-info h3 { margin-bottom: 0.5rem; font-size: 1.5rem; color: var(--primary-color); }

.models-list { 
    color: var(--accent-blue); 
    font-weight: 600; 
    font-size: 1rem; 
    margin-bottom: 1rem;
    min-height: 1.5rem;
}

.fleet-description {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
    padding: 0.8rem;
    background: rgba(255, 193, 7, 0.05);
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
}

.fleet-specs { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 0.5rem; 
    margin-bottom: 2rem; 
    margin-top: auto;
}

.fleet-specs span { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    gap: 0.4rem; 
    font-size: 0.75rem; 
    color: var(--text-muted);
    font-weight: 500;
}

.fleet-specs i { 
    color: var(--secondary-color); 
    font-size: 1.2rem;
}

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

/* Individual Car Card Styles */
.car-card {
    border: none !important;
    border-radius: 15px !important;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
}

.car-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.car-card:hover img {
    transform: scale(1.1);
}

.popular-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: var(--shadow);
}

.car-card .card-body {
    padding: 1.5rem;
}

.car-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.car-card .car-type {
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.car-card .card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.car-card .seating-info {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.8rem;
    transition: var(--transition);
}

.btn-warning:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
}

/* Detailed Booking Form Styles (from HTML) */
.booking-detailed { border: none; padding: 4rem; overflow: hidden; background: white; border-radius: 20px; box-shadow: var(--shadow-lg); transition: transform 0.4s ease; }
.booking-detailed:hover { transform: translateY(-5px); }
.booking-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.booking-info h2 { color: var(--primary-color); margin-bottom: 1.5rem; font-size: 2.5rem; line-height: 1.2; }
.booking-info p { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 1.1rem; }
.info-list { list-style: none; padding: 0; }
.info-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; color: var(--primary-color); font-weight: 600; font-size: 1.1rem; }
.info-list i { color: #22C55E; font-size: 1.5rem; }
.booking-form-detailed { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.booking-form-detailed .form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.booking-form-detailed label { font-weight: 600; color: var(--primary-color); font-size: 0.95rem; }
.booking-form-detailed input, .booking-form-detailed select, .booking-form-detailed textarea { padding: 1.1rem; border: 1.5px solid #E2E8F0; border-radius: 10px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s; }
.booking-form-detailed input:focus, .booking-form-detailed select:focus { border-color: var(--secondary-color); outline: none; }
.booking-form-detailed .full-width { grid-column: span 2; }
.booking-form-detailed .submit-btn { grid-column: span 2; padding: 1.3rem; font-size: 1.2rem; font-weight: 700; margin-top: 1rem; text-transform: uppercase; letter-spacing: 1px; }

/* Testimonials Styles (from HTML) */
.testimonials-slider { 
    display: flex; 
    gap: 2rem; 
    overflow-x: auto; 
    padding: 1.5rem 0.5rem; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.testimonials-slider::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome/Safari */
.testimonial-card { min-width: 380px; flex: 1; scroll-snap-align: center; }
.rating { color: var(--secondary-color); margin-bottom: 1rem; font-size: 1rem; }
.client-info { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.client-info h5 { margin-bottom: 0.2rem; font-size: 1.1rem; }
.client-info small { color: var(--text-muted); }

/* Utility & Section Specific */
.direct-assistance {
    margin-top: 3.5rem;
    border-top: 1px solid #F1F5F9;
    padding-top: 2rem;
}

.phone-link {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.bg-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%), url('assets/images/hero_premium_car.png') center/cover no-repeat;
    background-blend-mode: overlay;
    color: white;
    text-align: center;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: #f1f5f9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .cta-title { font-size: 1.8rem; }
    .cta-subtitle { font-size: 1rem; }
    .direct-assistance { margin-top: 2rem; }
    .phone-link { font-size: 1.25rem; }
}

/* Floating Actions Stack */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: white;
}

.btn-wa { background-color: #25D366; }
.btn-call { background-color: var(--secondary-color); color: var(--primary-color) !important; }
.btn-email { background-color: #007BFF; }

@media (max-width: 768px) {
    .floating-container {
        bottom: 85px; /* Adjust to stay above sticky bar */
        right: 20px;
        gap: 10px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

.sticky-cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.sticky-cta-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

/* Footer Section - Enhanced */
.footer {
    background-color: var(--primary-color);
    background-image: radial-gradient(circle at 0% 0%, rgba(30, 64, 175, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 100% 100%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    color: var(--white);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.brand-col .logo-img {
    height: 70px;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #CBD5E1; /* Higher contrast on dark background */
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

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

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    transform: translateY(-5px);
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}

.footer-heading {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 1rem;
}

.footer-list a {
    color: #CBD5E1;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.footer-list a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.icon-circle {
    min-width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

.footer-contact-list span, .footer-contact-list a {
    color: #CBD5E1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact-list a:hover {
    color: var(--secondary-color);
}

.contact-numbers a {
    display: block;
    font-weight: 600;
}

/* Footer Bottom Section */
.footer-bottom {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748B;
    font-size: 0.9rem;
}

.footer-designer a {
    color: #94A3B8;
    font-weight: 600;
}

.footer-designer a:hover {
    color: var(--secondary-color);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .footer {
        padding-top: 60px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }
    .footer-bottom-grid {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .social-wrapper {
        justify-content: flex-start;
    }
    .footer-heading::after {
        left: 0;
        transform: none;
    }
}

/* Floating Actions Stack */
/* Floating Contact Buttons */
.floating-buttons {
  position: fixed;
  right: 25px;
  bottom: 100px; /* Above the sticky bar on mobile if needed */
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1001;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

/* Tooltip Styling */
.float-btn .tooltip-text {
  position: absolute;
  right: 70px;
  background: #333;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.float-btn .tooltip-text::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

.float-btn:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
  right: 65px;
}

/* Colors */
.whatsapp { background: #25D366; animation: bounce 2s infinite; }
.call { background: #007BFF; }
.email { background: #FF5733; }

/* Hover effect */
.float-btn:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
  .floating-buttons {
    bottom: 85px; /* Above the mobile sticky bar */
    right: 20px;
  }
  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  .float-btn .tooltip-text {
    display: none; /* Hide tooltips on touch devices */
  }
}

/* Sticky Mobile CTA Bar */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none;
    grid-template-columns: 1fr 1fr;
    z-index: 999;
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: grid;
    }
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
}

#back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .booking-form {
        grid-template-columns: repeat(2, 1fr);
    }
    .booking-form-wrapper {
        bottom: -150px;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .booking-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }
    .booking-detailed { 
        padding: 2.5rem; 
    }
    .booking-info h2 { 
        font-size: 2rem; 
    }
}

@media (max-width: 768px) {
    .nav-links, .header-cta {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header.scrolled .mobile-menu-btn {
        color: var(--primary-color);
    }
    .hero {
        height: auto;
        padding: 120px 0 80px;
        min-height: auto;
    }
    .hero-content h1 {
        font-size: 2.4rem;
        text-align: center;
    }
    .hero-content p {
        font-size: 1.1rem;
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .btn {
        width: 100%;
    }
    .booking-form {
        grid-template-columns: 1fr;
    }
    .booking-form-wrapper {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        margin-top: 0;
        padding: 2rem 1.25rem;
        background: var(--white);
        z-index: 1;
    }
    .booking-form {
        box-shadow: none;
        padding: 0;
        border-radius: 0;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        min-width: 280px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .footer-brand, .footer-contact ul, .social-icons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-contact li {
        justify-content: center;
    }
    .footer-links li a {
        display: block;
    }
    .footer-links #btn-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .booking-form-detailed { 
        grid-template-columns: 1fr; 
    }
    .booking-form-detailed .full-width, .booking-form-detailed .submit-btn { 
        grid-column: span 1; 
    }
    .booking-detailed {
        padding: 1.5rem;
    }
    .booking-info h2 {
        font-size: 1.75rem;
    }
    .section-padding {
        padding: 50px 0;
    }
    .whatsapp-float {
        display: none;
    }
    #back-to-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
    }
}

.bg-dark {
    background-color: #111827 !important; /* Deep Slate Blue instead of pure black */
}

/* CTA Section styling moved to line 902 */

/* Preloader Styles */
.preloader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

/* From Uiverse.io by Rodrypaladin */ 
.loader {
  width: 70px;
  height: 190px;
  background-image: linear-gradient(to right bottom, var(--primary-color), #243B55, #141E30);
  border: 5px solid var(--primary-color);
  border-radius: 18px;
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
}

.loader:after {
  content: "";
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 10px;
  height: 200px;
  background-color: var(--primary-color);
  z-index: -1000;
  border: 5px solid var(--primary-color);
}

.loader-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: relative;
}

.loader-circle::after {
  position: absolute;
  content: "";
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  height: 80%;
  width: 80%;
  background-image: linear-gradient(
  to right bottom,
  rgba(255, 255, 255, 0.05),
  rgba(255, 255, 255, 0.1),
  rgba(255, 255, 255, 0.2),
  rgba(255, 255, 255, 0.3),
  rgba(255, 255, 255, 0.4),
  rgba(255, 255, 255, 0.5)
  );
  border-radius: 50%;
}

.loader-circle:nth-child(1) {
  background-color: red;
  animation: changeGrayscale 1s linear infinite;
  animation-delay: 0.15s;
}

.loader-circle:nth-child(2) {
  background-color: rgb(255, 200, 0);
  animation: changeGrayscale 1s linear infinite;
  animation-delay: 0.3s;
}

.loader-circle:nth-child(3) {
  background-color: rgb(36, 182, 0);
  animation: changeGrayscale 1s linear infinite;
  animation-delay: 0.45s;
}

@keyframes changeGrayscale {
  0%, 100% {
    filter: brightness(0);
 /* En grayscale al principio y al final */
  }

  50% {
    filter: grayscale(0);
 /* Sin grayscale en la mitad de la animación */
  }
}
