/* =========================================
   SALMAN CAR RENTAL - PREMIUM STYLESHEET
   Luxury Design with Glassmorphism & Animations
========================================= */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0c2461;
    --secondary: #1e3799;
    --accent: #ff9f1a;
    --light: #f8f9fa;
    --dark: #222f3e;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-dark: rgba(0, 0, 0, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== LOADING SCREEN ===== */
/* ===== FIXED TICKER STRIP - SLOW & SMOOTH ===== */
.ticker-strip {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ticker-wrapper {
    display: flex;
    width: fit-content;
    animation: ticker-scroll 40s linear infinite;
    animation-play-state: running;
    padding: 0 20px;
}

.ticker-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 60px; /* More spacing between items */
}

.ticker-content span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 4px 0;
    transition: all 0.3s ease;
}

.ticker-content a {
    color: var(--accent);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticker-content a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ticker-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.ticker-content a:hover::after {
    width: 80%;
}

/* Email link special styling */
.ticker-content a.email-link {
    color: #ff9f1a;
}

.ticker-content a.email-link:hover {
    color: white;
    background: linear-gradient(45deg, #ff9f1a, #ff7e00);
}

/* Pause animation on hover */
.ticker-strip:hover .ticker-wrapper {
    animation-play-state: paused;
}

/* Slower animation speed */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Moves exactly half width */
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .ticker-wrapper {
        animation: none;
        justify-content: center;
        width: 100%;
    }
    
    .ticker-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .ticker-content {
        gap: 50px;
    }
}

@media (max-width: 992px) {
    .ticker-wrapper {
        animation-duration: 50s; /* Even slower on tablets */
    }
    
    .ticker-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .ticker-strip {
        padding: 8px 0;
    }
    
    .ticker-wrapper {
        animation-duration: 60s; /* Slowest on mobile */
    }
    
    .ticker-content {
        gap: 30px;
    }
    
    .ticker-content span {
        font-size: 0.85rem;
    }
    
    .ticker-content a {
        padding: 3px 8px;
    }
}

@media (max-width: 576px) {
    .ticker-wrapper {
        animation-duration: 80s; /* Very slow for readability on small screens */
    }
    
    .ticker-content {
        gap: 25px;
    }
    
    .ticker-content span {
        font-size: 0.8rem;
    }
}


/* ===== FIXED PROFESSIONAL NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    transition: all 0.3s ease;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.15);
}

/* Brand Container */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
    padding: 0 !important;
    margin: 0 !important;
}

/* Logo Container */
.brand-logo-container {
    position: relative;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
}

/* Logo Image - Replaceable */
.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Brand Name */
.brand-name-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0c2461;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

.brand-name-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: #ff9f1a;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation Links - FIXED CONSISTENT STYLE */
.navbar-nav {
    gap: 5px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #2c3e50 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Hover Effect - Same on All Pages */
.nav-link:hover {
    color: #0c2461 !important;
    background: rgba(12, 36, 97, 0.08);
    transform: translateY(-1px);
    opacity: 1;
}

/* Active Link Style - Same on All Pages */
.nav-link.active {
    color: #0c2461 !important;
    background: rgba(12, 36, 97, 0.1);
    font-weight: 700;
    opacity: 1;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background: #ff9f1a;
    border-radius: 2px;
}

/* Remove any conflicting styles */
.navbar-light .navbar-nav .nav-link {
    color: #2c3e50 !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #0c2461 !important;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #0c2461 !important;
}

/* Mobile Menu */
.navbar-toggler {
    border: 2px solid rgba(12, 36, 97, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: #ff9f1a;
}

/* Responsive Design */
@media (max-width: 992px) {
    .navbar-brand {
        gap: 12px;
    }
    
    .brand-logo-container {
        width: 50px;
        height: 50px;
    }
    
    .brand-name-main {
        font-size: 1.3rem;
    }
    
    .brand-name-tagline {
        font-size: 0.65rem;
    }
    
    .navbar-nav {
        margin-top: 15px;
        width: 100%;
        gap: 5px;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 12px 20px !important;
        text-align: center;
    }
    
    .nav-link.active::after {
        bottom: 5px;
    }
}

@media (max-width: 768px) {
    .brand-logo-container {
        width: 45px;
        height: 45px;
    }
    
    .brand-name-main {
        font-size: 1.2rem;
    }
    
    .brand-name-tagline {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        gap: 10px;
    }
    
    .brand-logo-container {
        width: 40px;
        height: 40px;
    }
    
    .brand-name-main {
        font-size: 1.1rem;
    }
    
    .brand-name-tagline {
        display: none;
    }
}

/* ===== SERVICES SECTION ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: linear-gradient(135deg, var(--glass), var(--glass-dark));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-20px) rotateX(5deg);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.1));
}

.car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .car-image {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin: 15px 0;
}

.service-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 15px;
}

.service-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.view-all-btn {
    display: block;
    margin: 0 auto 80px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(12, 36, 97, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(12, 36, 97, 0.4);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-title {
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.testimonials-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 300px;
}

.testimonials-track {
    display: flex;
    position: absolute;
    left: 0;
    animation: testimonialsScroll 40s linear infinite;
    width: max-content;
}

.testimonial-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin: 0 20px;
    min-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--accent);
}

.client-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.client-review {
    font-style: italic;
    line-height: 1.8;
}

@keyframes testimonialsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--accent);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.floating-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s;
}

.floating-btn:hover::after {
    transform: translateY(0);
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.call-btn {
    background: linear-gradient(45deg, var(--accent), #ff7e00);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* ===== ABOUT PAGE ===== */
.page-hero {
    height: 300px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1486496572940-2bb2341fdbdf?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.about-content {
    padding: 100px 0;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    margin-bottom: 40px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(135deg, var(--glass), var(--glass-dark));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* ===== FLEET PAGE ===== */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 0;
}

.car-card {
    background: linear-gradient(135deg, var(--glass), var(--glass-dark));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.car-card:hover {
    transform: translateY(-20px) rotateX(5deg);
    box-shadow: var(--shadow-heavy);
}

.car-image-container {
    height: 200px;
    overflow: hidden;
}

.car-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.car-card:hover .car-image-container img {
    transform: scale(1.1);
}

.car-info {
    padding: 25px;
}

.car-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.car-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin: 15px 0;
}

.car-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.feature i {
    color: var(--accent);
}

.book-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.book-btn:hover {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    transform: translateY(-3px);
}

/* ===== RATES PAGE ===== */
.print-section {
    text-align: right;
    margin-bottom: 30px;
}

.print-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.print-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(12, 36, 97, 0.3);
}

.rates-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 100px;
}

.table {
    margin: 0;
}

.table thead {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

.table th {
    border: none;
    padding: 20px;
    font-weight: 600;
    text-align: center;
}

.table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(12, 36, 97, 0.05);
}

.section-header {
    background: linear-gradient(45deg, var(--accent), #ff7e00);
    color: white;
    padding: 15px 20px;
    font-weight: 700;
    text-align: center;
}

/* ===== CONTACT PAGE ===== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.contact-card {
    background: linear-gradient(135deg, var(--glass), var(--glass-dark));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.1));
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--accent), #ff7e00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow);
    margin: 50px 0;
}

.form-control {
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 25px;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 159, 26, 0.2);
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    font-size: 1.1rem;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(12, 36, 97, 0.3);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 50px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .testimonial-card {
        min-width: 350px;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .fleet-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .testimonial-card {
        min-width: 300px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .floating-buttons {
        right: 20px;
        bottom: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-slide {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .services-grid,
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .ticker-strip,
    .floating-buttons,
    .footer,
    .print-section {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .rates-table {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .table {
        page-break-inside: avoid;
    }
}

/* ===== FIXED HERO SECTION WITH AUTO SLIDE ===== */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
}

.carousel {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(12, 36, 97, 0.8), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease 0.3s both;
}

/* Contact Button at Bottom Center */
.contact-bottom-btn-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    animation: fadeIn 1s ease 0.6s both;
}

.contact-bottom-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, var(--accent), #ff7e00);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 159, 26, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-bottom-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 159, 26, 0.6);
    background: linear-gradient(45deg, #ff7e00, var(--accent));
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    bottom: 100px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--accent);
    transform: scale(1.3);
    border-color: white;
}

/* Auto Slide Timer Indicator */
.auto-slide-timer {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.timer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: pulse 1s infinite;
}

.timer-dot.active {
    background: var(--accent);
    animation: pulse 0.5s infinite;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-slide {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-bottom-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .contact-bottom-btn-container {
        bottom: 30px;
    }
    
    .carousel-indicators {
        bottom: 80px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-bottom-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .carousel-indicators {
        bottom: 70px;
    }
    
    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
}





/* Premium Card Foundation */
.luxury-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform, box-shadow;
}

/* Glassmorphism Enhancement */
.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Image Container with Scale Effect */
.card-image-container {
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    position: relative;
    transform: translateZ(20px);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base Hover Effects (GPU Optimized) */
.luxury-card:hover {
    transform: translateY(-12px) translateZ(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2),
                0 0 100px rgba(var(--accent-rgb), 0.1);
}

.luxury-card:hover .card-image {
    transform: scale(1.08);
}

/* Accessibility: Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .luxury-card,
    .luxury-card:hover,
    .card-image {
        transition: none;
        transform: none !important;
    }
}


/* Dynamic Glow Effect */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(var(--accent-rgb), 0.15) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.luxury-card:hover .card-glow {
    opacity: 1;
}

/* Price Styling with Animation */
.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.price::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.luxury-card:hover .price::after {
    width: 100%;
}


/* ===== FIXED TICKER STRIP - SLOW & SMOOTH ===== */
.ticker-strip {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ticker-wrapper {
    display: flex;
    width: fit-content;
    animation: ticker-scroll 40s linear infinite;
    animation-play-state: running;
    padding: 0 20px;
}

.ticker-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 60px; /* More spacing between items */
}

.ticker-content span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 4px 0;
    transition: all 0.3s ease;
}

.ticker-content a {
    color: var(--accent);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticker-content a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ticker-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.ticker-content a:hover::after {
    width: 80%;
}

/* Email link special styling */
.ticker-content a.email-link {
    color: #ff9f1a;
}

.ticker-content a.email-link:hover {
    color: white;
    background: linear-gradient(45deg, #ff9f1a, #ff7e00);
}

/* Pause animation on hover */
.ticker-strip:hover .ticker-wrapper {
    animation-play-state: paused;
}

/* Slower animation speed */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Moves exactly half width */
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .ticker-wrapper {
        animation: none;
        justify-content: center;
        width: 100%;
    }
    
    .ticker-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .ticker-content {
        gap: 50px;
    }
}

@media (max-width: 992px) {
    .ticker-wrapper {
        animation-duration: 50s; /* Even slower on tablets */
    }
    
    .ticker-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .ticker-strip {
        padding: 8px 0;
    }
    
    .ticker-wrapper {
        animation-duration: 60s; /* Slowest on mobile */
    }
    
    .ticker-content {
        gap: 30px;
    }
    
    .ticker-content span {
        font-size: 0.85rem;
    }
    
    .ticker-content a {
        padding: 3px 8px;
    }
}

@media (max-width: 576px) {
    .ticker-wrapper {
        animation-duration: 80s; /* Very slow for readability on small screens */
    }
    
    .ticker-content {
        gap: 25px;
    }
    
    .ticker-content span {
        font-size: 0.8rem;
    }
}

/* ===== PREMIUM CARD HOVER COLOR EFFECTS ===== */

/* Apply to all cards */
.service-card,
.car-card,
.feature-card,
.contact-card,
.testimonial-card,
.luxury-card,
.rates-card,
.fleet-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Gradient Overlay Effect */
.service-card::before,
.car-card::before,
.feature-card::before,
.contact-card::before,
.testimonial-card::before,
.luxury-card::before,
.rates-card::before,
.fleet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

/* Hover Color Effects - Different for Each Card Type */

/* Service Cards - Emerald Green to Turquoise */
.service-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}
.service-card:hover {
    color: white;
    transform: translateY(-15px) scale(1.02);
}
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .price {
    color: white;
}

/* Car/Fleet Cards - Royal Purple to Pink */
.car-card:hover::before,
.fleet-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, #8A2387 0%, #E94057 50%, #F27121 100%);
}
.car-card:hover,
.fleet-card:hover {
    color: white;
    transform: translateY(-15px) scale(1.02);
}
.car-card:hover h3,
.car-card:hover .price,
.car-card:hover .feature span,
.fleet-card:hover h3,
.fleet-card:hover .price,
.fleet-card:hover .feature span {
    color: white;
}
.car-card:hover .feature i,
.fleet-card:hover .feature i {
    color: #FFD700;
}

/* Feature Cards - Sunset Orange to Coral */
.feature-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, #F7971E 0%, #FFD200 100%);
}
.feature-card:hover {
    color: white;
    transform: translateY(-15px) scale(1.02);
}
.feature-card:hover h3,
.feature-card:hover p {
    color: white;
}
.feature-card:hover i {
    color: #FFD700;
}

/* Contact Cards - Ocean Blue to Teal */
.contact-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, #00B4DB 0%, #0083B0 100%);
}
.contact-card:hover {
    color: white;
    transform: translateY(-15px) scale(1.02);
}
.contact-card:hover h3,
.contact-card:hover p {
    color: white;
}
.contact-card:hover .contact-icon {
    background: white;
    color: #0083B0;
}

/* Testimonial Cards - Rose Gold */
.testimonial-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, #B24592 0%, #F15F79 100%);
}
.testimonial-card:hover {
    color: white;
    transform: translateY(-10px) scale(1.02);
}
.testimonial-card:hover .client-name,
.testimonial-card:hover .client-review {
    color: white;
}
.testimonial-card:hover .client-rating i {
    color: #FFD700;
}

/* Price Text on Hover */
.service-card:hover .price,
.car-card:hover .price,
.fleet-card:hover .price {
    color: #FFD700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Buttons on Hover */
.service-card:hover .service-btn,
.car-card:hover .book-btn,
.fleet-card:hover .book-btn {
    background: white;
    color: #333;
    border: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Feature Icons on Hover */
.feature-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Card Image on Hover */
.service-card:hover .car-image,
.car-card:hover .car-image-container img,
.fleet-card:hover .car-image-container img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* ===== ALTERNATIVE COLOR SCHEMES ===== */

/* Option 2: Jewel Tones - Sapphire, Ruby, Amethyst */
.alternative-colors-1 .service-card:hover::before {
    background: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
}
.alternative-colors-1 .car-card:hover::before {
    background: linear-gradient(135deg, #780206 0%, #061161 100%);
}
.alternative-colors-1 .feature-card:hover::before {
    background: linear-gradient(135deg, #4568DC 0%, #B06AB3 100%);
}

/* Option 3: Earth Tones - Warm & Natural */
.alternative-colors-2 .service-card:hover::before {
    background: linear-gradient(135deg, #C04848 0%, #480048 100%);
}
.alternative-colors-2 .car-card:hover::before {
    background: linear-gradient(135deg, #5D4157 0%, #A8CABA 100%);
}
.alternative-colors-2 .feature-card:hover::before {
    background: linear-gradient(135deg, #4B6CB7 0%, #182848 100%);
}

/* ===== ADDITIONAL ENHANCEMENTS ===== */

/* Glow Effect on Hover */
.service-card:hover,
.car-card:hover,
.feature-card:hover,
.contact-card:hover,
.testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(102, 126, 234, 0.3);
}

/* Border Animation */
.service-card::after,
.car-card::after,
.feature-card::after,
.contact-card::after,
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: inherit;
    transition: all 0.3s ease;
    pointer-events: none;
}

.service-card:hover::after,
.car-card:hover::after,
.feature-card:hover::after,
.contact-card:hover::after,
.testimonial-card:hover::after {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Text Gradient Effect on Hover */
.service-card:hover .price,
.car-card:hover .price {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Responsive Hover Effects */
@media (max-width: 768px) {
    .service-card:hover,
    .car-card:hover,
    .feature-card:hover,
    .contact-card:hover,
    .testimonial-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

@media (max-width: 576px) {
    .service-card:hover,
    .car-card:hover,
    .feature-card:hover,
    .contact-card:hover,
    .testimonial-card:hover {
        transform: translateY(-5px) scale(1.005);
    }
    
    /* Disable complex effects on mobile */
    .service-card::after,
    .car-card::after,
    .feature-card::after,
    .contact-card::after,
    .testimonial-card::after {
        display: none;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .service-card:hover,
    .car-card:hover,
    .feature-card:hover,
    .contact-card:hover,
    .testimonial-card:hover {
        transform: translateY(-5px);
        transition: none;
    }
    
    .service-card:hover::before,
    .car-card:hover::before,
    .feature-card:hover::before,
    .contact-card:hover::before,
    .testimonial-card:hover::before {
        transition: none;
    }
}
.section-title p {
    font-size: 16px;
    color: #666;
    line-height: 1.9;
    max-width: 1000px;
    margin: 0 auto 15px auto;
    padding: 0 20px;
    
    /* Yeh properties lines ko perfectly align karengi */
    text-align: left;
    direction: rtl;
    word-break: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}