/* Devi Travels - Custom CSS */

:root {
    /* Devi Travels Refined Theme */
    --primary-color: #7A2E2E;   /* Rich maroon */
    --secondary-color: #2B1A1A; /* Deep maroon/brown */
    --accent-color: #F2B01E;    /* Warm golden */
    --success-color: #1FA77A;
    --warning-color: #F2B01E;   /* Align warning with accent */
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #faf7f4;     /* Slight warm tint */
    --dark-color: #1a1a1a;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    padding-top: 76px; /* Account for fixed navbar */
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--warning-color) !important;
}

/* Make Bootstrap bg-primary match our theme */
.navbar.bg-primary, .bg-primary {
    background-color: var(--primary-color) !important;
}

/* Navbar links active state with subtle underline */
.navbar-nav .nav-link {
    position: relative;
}
.navbar-nav .nav-link.active {
    color: var(--warning-color) !important;
}
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 4px;
    height: 2px;
    background: var(--warning-color);
    border-radius: 2px;
}

/* Enhanced Navbar Styling */
.navbar-branding {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.navbar-branding .navbar-brand {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.navbar-branding .navbar-brand {
    align-items: center; /* ensure logo and slogan are centered vertically */
}
.navbar-branding .nav-link {
    color: #3b2a2a !important;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
}
.navbar-branding .nav-link:hover {
    background: rgba(242,176,30,0.12);
    color: var(--primary-color) !important;
}
.navbar-branding .nav-link.active {
    background: rgba(242,176,30,0.18);
    color: var(--primary-color) !important;
}
.navbar-branding .navbar-toggler {
    border-color: rgba(0,0,0,0.15);
}
.navbar-branding .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(242,176,30,0.3);
}

/* Logo sizes */
.brand-logo {
    height: 75px; /* even bigger logo */
    width: auto;
}

.footer-logo {
    height: 48px;
    width: auto;
}

/* Brand slogan under logo */
.brand-slogan {
    display: block;
    font-size: 0.78rem; /* ~1-1.5px larger than original 0.7rem */
    letter-spacing: 0.6px;
    color: #000000; /* black for stronger visibility */
    font-weight: 600;
    line-height: 1.1;
    margin-top: 2px; /* gentle spacing below logo */
    text-align: center; /* center the slogan under the logo */
}

@media (max-width: 576px) {
    .brand-logo {
        height: 64px; /* slightly reduce logo on small screens */
    }
    .brand-slogan {
        font-size: 0.72rem;
        margin-top: 1px;
    }
}

/* Hero Section */
.hero-section {
    background: radial-gradient(1200px 400px at 10% 10%, rgba(242,176,30,0.25), transparent 60%),
                linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0 50px;
}

/* Cards */
.service-card, .vehicle-card, .package-card, .testimonial-card, 
.feature-item, .value-card, .contact-item, .booking-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.service-card:hover, .vehicle-card:hover, .package-card:hover,
.testimonial-card:hover, .feature-item:hover, .value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* Vehicle Cards */
.vehicle-card .vehicle-image {
    height: 220px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.vehicle-card .placeholder-image {
    height: 220px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.vehicle-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Specific tweak for WagonR image to appear slightly smaller and fully visible */
.wagonr-img {
    object-fit: contain;
    padding: 8px;
    transform: scale(0.92);
}

/* Ensure Tempo Traveller images are fully visible */
.tempo-img {
    object-fit: contain !important;
    padding: 8px;
}

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

/* Vehicle Badge */
.vehicle-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.vehicle-badge .badge {
    margin-left: 4px;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Enhanced Vehicle Details */
.vehicle-details .badge {
    font-size: 0.7rem;
    padding: 6px 10px;
    border-radius: 15px;
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    background: rgba(var(--primary-color), 0.05);
    border-radius: 10px;
    padding: 12px;
    margin: 15px 0;
}

.pricing .text-primary {
    font-size: 1.1rem;
    font-weight: 600;
}

.pricing .text-success {
    font-size: 1.1rem;
    font-weight: 600;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--success-color);
}

/* Package Cards */
.package-card {
    border-left: 4px solid var(--warning-color);
}

.package-card .price {
    font-size: 1.5rem;
}

/* Testimonial Cards */
.testimonial-card {
    border-top: 4px solid var(--warning-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.stars i {
    font-size: 1.2rem;
}

/* Forms */
.booking-form-card, .booking-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn {
    border-radius: 25px;
    font-weight: 500;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
}

/* Book Now button emphasis in navbar */
.btn-book-now {
    border-radius: 999px;
    padding: 0.5rem 1rem;
    box-shadow: 0 6px 14px rgba(242,176,30,0.35);
    border: 2px solid rgba(255,255,255,0.0);
}
.btn-book-now:hover {
    box-shadow: 0 10px 22px rgba(242,176,30,0.45);
    transform: translateY(-3px);
}

/* Outline variant for secondary actions */
.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-warning {
    background: linear-gradient(45deg, var(--warning-color), #ffbf2a);
    border: none;
    color: var(--dark-color);
}

.btn-warning:hover {
    background: linear-gradient(45deg, #fd7e14, var(--warning-color));
    transform: translateY(-2px);
}

/* Sections */
.services-section, .vehicles-section, .features-section,
.packages-section, .testimonials-section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Stats */
.stats-row .stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Contact Items */
.contact-item i {
    color: var(--primary-color);
}

.working-hours-card {
    border: 2px solid var(--primary-color);
}

/* Section titles underline accent */
.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: "";
    display: block;
    height: 4px;
    width: 60px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--warning-color), var(--primary-color));
    border-radius: 3px;
}

/* Map */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Global links hover color */
a { color: inherit; }
a:hover { color: var(--warning-color); }

/* Destinations */
.destination-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 2rem;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Category Headers */
.category-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Vehicle Features */
.vehicle-features ul li {
    padding: 0.25rem 0;
}

/* Enhanced Vehicle Card Styling */
.vehicle-card {
    overflow: hidden;
    position: relative;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
}

.vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--warning-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vehicle-card:hover::before {
    opacity: 1;
}

.vehicle-card .vehicle-info h5 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.vehicle-card .btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.vehicle-card .btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Category Section Styling */
.category-section {
    margin-bottom: 4rem;
}

.category-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--warning-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments for vehicle cards */
@media (max-width: 768px) {
    .vehicle-card .vehicle-image {
        height: 180px;
    }
    
    .category-header h2 {
        font-size: 1.5rem;
    }
    
    .vehicle-card .vehicle-info {
        padding: 1rem !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .stats-row .stat-item {
        margin-bottom: 1rem;
    }
    
    .package-card, .vehicle-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .service-card, .feature-item, .value-card {
        margin-bottom: 1.5rem;
    }
}

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

.service-card, .vehicle-card, .package-card, .testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Messages */
.alert {
    border-radius: 10px;
    margin-top: 76px;
}

/* Footer */
footer {
    margin-top: auto;
}

footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: var(--warning-color);
    color: var(--dark-color) !important;
    transform: translateY(-2px);
}

/* Footer gradient overlay for bg-dark */
footer.bg-dark {
    background: linear-gradient(180deg, #1d0f0f, var(--secondary-color)) !important;
}

/* Custom Utilities */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.border-primary-left {
    border-left: 4px solid var(--primary-color);
}

.border-warning-top {
    border-top: 4px solid var(--warning-color);
}

/* Customers Section */
.customers-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.customer-logos {
    row-gap: 1.5rem;
}

.customer-logo {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: all 0.25s ease;
}

.customer-logo:hover {
    filter: none;
    opacity: 1;
    transform: translateY(-2px);
}

/* Customer Cards */
.customer-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.customer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--warning-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.customer-card:hover::before {
    transform: scaleX(1);
}

.customer-card .customer-icon {
    transition: all 0.4s ease;
}

.customer-card h6 {
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.company-specialty {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.customer-card:hover .company-specialty {
    opacity: 1;
    transform: translateY(0);
}

/* Company-Specific Hover Designs */

/* CBSE - Education Theme */
.customer-cbse:hover {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.3);
}

.customer-cbse:hover .customer-icon i {
    color: #1976d2 !important;
    transform: scale(1.2) rotate(5deg);
}

.customer-cbse:hover h6 {
    color: #1565c0;
}

/* AYUSH - Healthcare Theme */
.customer-ayush:hover {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.3);
}

.customer-ayush:hover .customer-icon i {
    color: #388e3c !important;
    transform: scale(1.2);
    animation: heartbeat 1.5s infinite;
}

.customer-ayush:hover h6 {
    color: #2e7d32;
}

/* BEAM - Beverages Theme */
.customer-beam:hover {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 152, 0, 0.3);
}

.customer-beam:hover .customer-icon i {
    color: #f57c00 !important;
    transform: scale(1.2) rotate(-10deg);
    animation: bounce 2s infinite;
}

.customer-beam:hover h6 {
    color: #ef6c00;
}

/* CCRAS - Research Theme */
.customer-ccras:hover {
    background: linear-gradient(135deg, #e1f5fe, #b3e5fc);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(3, 169, 244, 0.3);
}

.customer-ccras:hover .customer-icon i {
    color: #0288d1 !important;
    transform: scale(1.2);
    animation: pulse 2s infinite;
}

.customer-ccras:hover h6 {
    color: #0277bd;
}

/* Franco - Pharmaceuticals Theme */
.customer-franco:hover {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(244, 67, 54, 0.3);
}

.customer-franco:hover .customer-icon i {
    color: #d32f2f !important;
    transform: scale(1.2) rotate(360deg);
}

.customer-franco:hover h6 {
    color: #c62828;
}

/* Chugoku - Marine Paints Theme */
.customer-chugoku:hover {
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(63, 81, 181, 0.3);
}

.customer-chugoku:hover .customer-icon i {
    color: #3949ab !important;
    transform: scale(1.2);
    animation: colorChange 3s infinite;
}

.customer-chugoku:hover h6 {
    color: #303f9f;
}

/* Pharma - Healthcare Theme */
.customer-pharma:hover {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.3);
}

.customer-pharma:hover .customer-icon i {
    color: #7b1fa2 !important;
    transform: scale(1.2);
    animation: medicalPulse 1.5s infinite;
}

.customer-pharma:hover h6 {
    color: #6a1b9a;
}

/* Snowman - Cold Chain Theme */
.customer-snowman:hover {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 150, 136, 0.3);
}

.customer-snowman:hover .customer-icon i {
    color: #00695c !important;
    transform: scale(1.2);
    animation: snowfall 2s infinite;
}

.customer-snowman:hover h6 {
    color: #004d40;
}

/* KDRCL - Railways Theme */
.customer-kdrcl:hover {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.3);
}

.customer-kdrcl:hover .customer-icon i {
    color: #f57f17 !important;
    transform: scale(1.2);
    animation: trainMove 2s infinite;
}

.customer-kdrcl:hover h6 {
    color: #f57f17;
}

/* Diagio - Spirits Theme */
.customer-diagio:hover {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.3);
}

.customer-diagio:hover .customer-icon i {
    color: #c2185b !important;
    transform: scale(1.2) rotate(-15deg);
    animation: spiritBubble 2s infinite;
}

.customer-diagio:hover h6 {
    color: #ad1457;
}

/* Advantis - Analytics Theme */
.customer-advantis:hover {
    background: linear-gradient(135deg, #e8f5e8, #dcedc8);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 195, 74, 0.3);
}

.customer-advantis:hover .customer-icon i {
    color: #689f38 !important;
    transform: scale(1.2);
    animation: dataFlow 2s infinite;
}

.customer-advantis:hover h6 {
    color: #558b2f;
}

/* Logiwiz - Logistics Theme */
.customer-logiwiz:hover {
    background: linear-gradient(135deg, #fff3e0, #ffcc02);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 152, 0, 0.3);
}

.customer-logiwiz:hover .customer-icon i {
    color: #e65100 !important;
    transform: scale(1.2);
    animation: truckMove 2s infinite;
}

.customer-logiwiz:hover h6 {
    color: #bf360c;
}

/* Johnson Electric - Electronics Theme */
.customer-johnson:hover {
    background: linear-gradient(135deg, #fff9c4, #f0f4c3);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(205, 220, 57, 0.3);
}

.customer-johnson:hover .customer-icon i {
    color: #9e9d24 !important;
    transform: scale(1.2);
    animation: electricSpark 1s infinite;
}

.customer-johnson:hover h6 {
    color: #827717;
}

/* Lindstrom - Textiles Theme */
.customer-lindstrom:hover {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.3);
}

.customer-lindstrom:hover .customer-icon i {
    color: #0097a7 !important;
    transform: scale(1.2);
    animation: fabricWave 2s infinite;
}

.customer-lindstrom:hover h6 {
    color: #00838f;
}

/* Valv Technologies - Technology Theme */
.customer-valv:hover {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.3);
}

.customer-valv:hover .customer-icon i {
    color: #7b1fa2 !important;
    transform: scale(1.2) rotate(180deg);
    animation: techSpin 2s infinite;
}

.customer-valv:hover h6 {
    color: #6a1b9a;
}

/* KHS Machinery - Machinery Theme */
.customer-khs:hover {
    background: linear-gradient(135deg, #efebe9, #d7ccc8);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(121, 85, 72, 0.3);
}

.customer-khs:hover .customer-icon i {
    color: #5d4037 !important;
    transform: scale(1.2);
    animation: machineryWork 1.5s infinite;
}

.customer-khs:hover h6 {
    color: #4e342e;
}

/* SCRI - Research Theme */
.customer-scri:hover {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.3);
}

.customer-scri:hover .customer-icon i {
    color: #388e3c !important;
    transform: scale(1.2);
    animation: researchGlow 2s infinite;
}

.customer-scri:hover h6 {
    color: #2e7d32;
}

/* Animations */
@keyframes heartbeat {
    0%, 100% { transform: scale(1.2); }
    50% { transform: scale(1.3); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: scale(1.2) translateY(0); }
    40% { transform: scale(1.2) translateY(-10px); }
    60% { transform: scale(1.2) translateY(-5px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1.2); }
    50% { opacity: 0.7; transform: scale(1.3); }
}

@keyframes colorChange {
    0% { color: #3949ab; }
    33% { color: #1976d2; }
    66% { color: #00acc1; }
    100% { color: #3949ab; }
}

@keyframes medicalPulse {
    0%, 100% { transform: scale(1.2); box-shadow: 0 0 0 0 rgba(156, 39, 176, 0.7); }
    50% { transform: scale(1.3); box-shadow: 0 0 0 10px rgba(156, 39, 176, 0); }
}

@keyframes snowfall {
    0% { transform: scale(1.2) translateY(0); }
    50% { transform: scale(1.2) translateY(-5px); }
    100% { transform: scale(1.2) translateY(0); }
}

@keyframes trainMove {
    0%, 100% { transform: scale(1.2) translateX(0); }
    50% { transform: scale(1.2) translateX(5px); }
}

@keyframes spiritBubble {
    0%, 100% { transform: scale(1.2) rotate(-15deg); }
    50% { transform: scale(1.3) rotate(-10deg); }
}

@keyframes dataFlow {
    0% { transform: scale(1.2) rotate(0deg); }
    100% { transform: scale(1.2) rotate(360deg); }
}

@keyframes truckMove {
    0%, 100% { transform: scale(1.2) translateX(0); }
    25% { transform: scale(1.2) translateX(3px); }
    75% { transform: scale(1.2) translateX(-3px); }
}

@keyframes electricSpark {
    0%, 100% { transform: scale(1.2); filter: brightness(1); }
    50% { transform: scale(1.3); filter: brightness(1.5); }
}

@keyframes fabricWave {
    0%, 100% { transform: scale(1.2) rotate(0deg); }
    25% { transform: scale(1.2) rotate(2deg); }
    75% { transform: scale(1.2) rotate(-2deg); }
}

@keyframes techSpin {
    0% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1.2) rotate(540deg); }
}

@keyframes machineryWork {
    0%, 100% { transform: scale(1.2); }
    25% { transform: scale(1.25) rotate(2deg); }
    75% { transform: scale(1.25) rotate(-2deg); }
}

@keyframes researchGlow {
    0%, 100% { transform: scale(1.2); filter: brightness(1); }
    50% { transform: scale(1.3); filter: brightness(1.3); }
}

/* Visitor Counter Section */
.visitor-counter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.visitor-counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

.counter-item {
    position: relative;
    z-index: 2;
    padding: 1rem;
    transition: all 0.3s ease;
}

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

.counter-icon {
    transition: all 0.3s ease;
}

.counter-item:hover .counter-icon i {
    transform: scale(1.1);
    color: var(--warning-color) !important;
}

.counter-number {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.counter-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 500;
}

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.counter-number {
    animation: countUp 0.8s ease-out;
}

/* Responsive Design for Counter */
@media (max-width: 768px) {
    .counter-number {
        font-size: 2rem;
    }
    
    .counter-icon i {
        font-size: 2rem !important;
    }
    
    .counter-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .visitor-counter-section {
        padding: 2rem 0 !important;
    }
    
    .counter-number {
        font-size: 1.8rem;
    }
    
    .counter-icon i {
        font-size: 1.5rem !important;
    }
    
    .counter-item {
        padding: 0.5rem;
    }
}

/* Customer Carousel */
#customerCarousel {
    position: relative;
    overflow: hidden;
}

#customerCarousel .carousel-inner {
    padding: 20px 0;
}

#customerCarousel .carousel-control-prev,
#customerCarousel .carousel-control-next {
    width: 5%;
    background: rgba(122, 46, 46, 0.1);
    border-radius: 50px;
    margin: auto 10px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
}

#customerCarousel .carousel-control-prev-icon,
#customerCarousel .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

#customerCarousel .carousel-indicators {
    bottom: -40px;
}

#customerCarousel .carousel-indicators button {
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Responsive adjustments for customer cards */
@media (max-width: 992px) {
    .customer-card {
        margin-bottom: 1rem;
        min-height: 180px;
    }
    
    .customer-card h6 {
        font-size: 0.8rem;
    }
    
    .customer-card .customer-icon i {
        font-size: 1.5rem !important;
    }
    
    #customerCarousel .carousel-control-prev,
    #customerCarousel .carousel-control-next {
        width: 8%;
    }
}

@media (max-width: 768px) {
    .customer-card {
        padding: 1.5rem !important;
        min-height: 160px;
    }
    
    .customer-card h6 {
        font-size: 0.75rem;
    }
    
    .customer-card .customer-icon i {
        font-size: 1.3rem !important;
    }
    
    #customerCarousel .carousel-control-prev,
    #customerCarousel .carousel-control-next {
        width: 10%;
        height: 40px;
    }
    
    #customerCarousel .carousel-control-prev-icon,
    #customerCarousel .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 576px) {
    .customer-card {
        padding: 1rem !important;
        margin-bottom: 1rem;
        min-height: 140px;
    }
    
    .customer-card h6 {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .customer-card .customer-icon {
        margin-bottom: 0.5rem !important;
    }
    
    .customer-card .customer-icon i {
        font-size: 1.2rem !important;
    }
    
    .company-specialty {
        font-size: 0.6rem;
    }
    
    #customerCarousel .carousel-control-prev,
    #customerCarousel .carousel-control-next {
        display: none;
    }
    
    #customerCarousel .carousel-indicators {
        bottom: -30px;
    }
    
    #customerCarousel .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
}

/* Pause carousel on hover */
#customerCarousel:hover {
    animation-play-state: paused;
}

/* Smooth transitions for carousel items */
#customerCarousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Tariff Table Styling */
.tariff-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.tariff-table-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.tariff-table {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.tariff-table thead th {
    background: var(--primary-color) !important;
    color: white !important;
    border: none;
    padding: 1rem 0.75rem;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.tariff-table tbody td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}

.tariff-table tbody tr:nth-child(even) {
    background-color: rgba(122, 46, 46, 0.05);
}

.tariff-table tbody tr:hover {
    background-color: rgba(242, 176, 30, 0.1);
    transform: scale(1.01);
    transition: all 0.3s ease;
}

.terms-conditions {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.terms-conditions h5 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--warning-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Vehicle Card Click Effect */
.vehicle-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.vehicle-card:active {
    transform: translateY(-4px);
}

/* Modal Styling */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.vehicle-info-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid var(--primary-color);
}

.quote-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.quote-item:last-child {
    border-bottom: none;
}

#quoteResults .card {
    border-radius: 15px;
    overflow: hidden;
}

#quoteResults .card-header {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

/* Form Styling in Modal */
.modal-body .form-control,
.modal-body .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(122, 46, 46, 0.25);
}

.modal-body .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Responsive Design for Tariff Table */
@media (max-width: 768px) {
    .tariff-table-container {
        padding: 1rem;
    }
    
    .tariff-table {
        font-size: 0.8rem;
    }
    
    .tariff-table thead th,
    .tariff-table tbody td {
        padding: 0.5rem 0.25rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .vehicle-info-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .tariff-table thead th {
        font-size: 0.7rem;
        padding: 0.4rem 0.2rem;
    }
    
    .tariff-table tbody td {
        font-size: 0.75rem;
        padding: 0.4rem 0.2rem;
    }
    
    .terms-conditions {
        padding: 1rem;
    }
}