﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #1e3c72; /* ShubhYatra Navy Blue */
    --primary-hover: #162b54;
    --accent: #FFC107; /* Taxi Yellow/Amber for highlights */
    --accent-hover: #ffb300;
    --dark: #111111;
    --dark-light: #1f1f1f;
    --light: #F4F7F6;
    --white: #FFFFFF;
    --text-main: #333333;
    --text-muted: #6B7280;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body { background-color: var(--light); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* Header */
.top-bar { background: var(--primary); color: var(--white); padding: 10px 5%; display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; letter-spacing: 0.5px; }
.top-bar i { color: var(--accent); margin-right: 6px; }
.top-bar-left span { margin-right: 20px; }

header { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); }
.logo { font-size: 26px; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent); }

nav ul { display: flex; list-style: none; gap: 25px; }
nav ul li a { font-weight: 600; color: var(--text-main); transition: var(--transition); font-size: 15px; }
nav ul li a:hover { color: var(--primary); }

.call-btn { background: var(--primary); color: var(--white); padding: 12px 24px; border-radius: 30px; font-weight: 700; display: flex; align-items: center; gap: 10px; transition: var(--transition); }
.call-btn:hover { background: var(--primary-hover); transform: translateY(-2px); }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* Hero Section */
.hero { padding: 40px 5% 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--white); min-height: 80vh; }
.hero-text h1 { font-size: clamp(2.5rem, 4vw, 3.8rem); line-height: 1.15; color: var(--primary); margin-bottom: 20px; font-weight: 800; }
.hero-text h1 span { color: var(--accent); }
.hero-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; font-weight: 500; }
.hero-image img { width: 100%; max-height: 500px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }

.booking-widget { background: var(--white); padding: 25px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(30,60,114,0.1); border: 1px solid rgba(0,0,0,0.05); }
.booking-widget h3 { margin-bottom: 20px; font-size: 1.4rem; color: var(--primary); font-weight: 800; }
.input-group { display: flex; align-items: center; background: var(--light); padding: 14px 18px; border-radius: 8px; margin-bottom: 12px; border: 1px solid transparent; transition: var(--transition); }
.input-group:focus-within { border-color: var(--primary); background: var(--white); }
.input-group i { color: var(--primary); font-size: 18px; margin-right: 12px; }
.input-group input { border: none; background: transparent; outline: none; width: 100%; font-size: 15px; color: var(--text-main); font-weight: 500; }

.book-now-btn { width: 100%; background: #25D366; color: var(--white); border: none; padding: 16px; font-size: 17px; font-weight: 800; border-radius: 8px; cursor: pointer; transition: var(--transition); display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 10px; }
.book-now-btn:hover { background: #1ebe58; transform: translateY(-2px); }

/* Stats Bar */
.stats-bar { background: var(--primary); color: var(--white); padding: 30px 5%; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.stat-box { text-align: center; }
.stat-box h4 { font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 5px; }
.stat-box p { font-size: 0.95rem; font-weight: 500; }

/* Common Sections */
.section-padding { padding: 80px 5%; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; color: var(--primary); font-weight: 800; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.service-card { background: var(--white); padding: 30px 20px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-sm); border-top: 4px solid var(--accent); transition: var(--transition); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--dark); }

/* Routes Cards */
.routes-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.route-card-rich { background: var(--white); border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.05); }
.route-card-rich:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.route-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.route-title { font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 10px; color: var(--primary); }
.route-title i { color: var(--accent); }
.route-stats { display: flex; gap: 20px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dashed #eee; }
.stat-item { display: flex; flex-direction: column; }
.stat-val { font-size: 1.1rem; font-weight: 700; color: var(--text-main); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; }
.route-pricing { margin-bottom: 20px; }
.price-tag { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.price-tag span { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.btn-route-book { background: var(--light); color: var(--primary); padding: 12px; text-align: center; border-radius: 8px; font-weight: 700; transition: var(--transition); display: block; border: 1px solid var(--primary); }
.btn-route-book:hover { background: var(--primary); color: var(--white); }

/* Fleet Section */
.fleet-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.fleet-card { background: var(--white); border-radius: var(--radius); padding: 25px; transition: var(--transition); border: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.fleet-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.fleet-rate-badge { background: var(--accent); color: var(--dark); display: inline-block; padding: 6px 14px; border-radius: 30px; font-weight: 800; font-size: 1.05rem; align-self: flex-start; margin-bottom: -10px; z-index: 2; }
.fleet-img { width: 100%; height: 160px; object-fit: contain; margin-bottom: 20px; mix-blend-mode: multiply; transition: var(--transition); }
.fleet-card:hover .fleet-img { transform: scale(1.05); }
.fleet-card h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 6px; font-weight: 800; }
.fleet-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; min-height: 45px; }
.fleet-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 25px; }
.feature-box { background: var(--light); padding: 8px; border-radius: 6px; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.feature-box i { color: var(--primary); font-size: 1rem; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.review-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-sm); position: relative; }
.review-card i.fa-quote-left { font-size: 2rem; color: var(--light); position: absolute; top: 20px; right: 20px; }
.review-stars { color: var(--accent); margin-bottom: 15px; font-size: 1.1rem; }
.review-text { font-size: 1rem; color: var(--text-muted); margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.author-name { font-weight: 700; color: var(--dark); }

/* Extensive Routes List */
.extensive-routes { background: var(--primary); color: var(--white); padding: 60px 5%; }
.extensive-routes h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; color: var(--accent); }
.routes-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; max-width: 1200px; margin: 0 auto; }
.routes-list a { background: rgba(255,255,255,0.1); padding: 12px 15px; border-radius: 8px; font-size: 0.95rem; font-weight: 500; display: block; transition: var(--transition); border: 1px solid rgba(255,255,255,0.05); }
.routes-list a:hover { background: var(--accent); color: var(--dark); }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 15px; background: var(--white); border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; border-left: 4px solid var(--primary); }
.faq-question { padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; color: var(--primary); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease; color: var(--text-muted); }
.faq-item.active .faq-answer { padding: 0 20px 20px; max-height: 500px; }

/* Footer */
footer { background: var(--dark); color: var(--white); padding: 60px 5% 30px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 30px; }
.footer-logo { font-size: 28px; font-weight: 800; margin-bottom: 15px; color: var(--white); }
.footer-logo span { color: var(--accent); }
.footer-contact li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; color: #A0AEC0; font-size: 1rem;}
.footer-contact i { color: var(--accent); font-size: 18px; margin-top: 4px; }
.footer-contact a { color: #A0AEC0; transition: var(--transition); }
.footer-contact a:hover { color: var(--white); }
.bottom-footer { display: flex; justify-content: space-between; align-items: center; color: #6B7280; font-size: 0.9rem; }
.policy-links { display: flex; gap: 20px; }

/* Floating WhatsApp */
.wa-float { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 32px; box-shadow: var(--shadow-lg); z-index: 100; transition: var(--transition); }
.wa-float:hover { transform: scale(1.1); color: white; }

@media (max-width: 992px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding: 40px 5%; }
    .hero-text { margin: 0 auto; }
    .hero-image img { max-height: 400px; }
    .stats-bar { padding: 30px 2%; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .menu-toggle { display: block; }
    nav { position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); box-shadow: var(--shadow-md); display: none; flex-direction: column; padding: 20px; text-align: left; }
    nav.active { display: flex; }
    nav ul { flex-direction: column; gap: 15px; }
    .call-btn { display: none; }
    
    .hero { padding: 20px 5% 40px; }
    .hero-text h1 { font-size: 2.2rem; }
    .booking-widget { padding: 15px; text-align: left; }
    .input-group { padding: 12px 15px; }
    .book-now-btn { font-size: 16px; padding: 14px; }
    
    .stats-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
    .stat-box h4 { font-size: 1.6rem; }
    .stat-box p { font-size: 0.85rem; }
    
    .section-padding { padding: 50px 5%; }
    .section-header { margin-bottom: 30px; }
    .section-header h2 { font-size: 2rem; }
    
    .routes-grid-cards, .fleet-container, .reviews-grid, .services-grid { grid-template-columns: 1fr; }
    .extensive-routes h2 { font-size: 1.6rem; }
    
    .footer-content { gap: 30px; }
    .bottom-footer { flex-direction: column; gap: 15px; text-align: center; }
    .policy-links { flex-wrap: wrap; justify-content: center; gap: 10px; }
}
/* SEO Content Styling */
.seo-article p { margin-bottom: 15px; font-size: 1.05rem; }
.seo-fleet-box { background: var(--light); padding: 15px 20px; border-radius: 8px; border-left: 3px solid #e53935; flex: 1 1 200px; min-width: 200px; box-shadow: var(--shadow-sm); }

/* Image-Matching Routes Grid */
.seo-routes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}
@media (max-width: 992px) { .seo-routes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .seo-routes-grid { grid-template-columns: 1fr; } }

.seo-routes-col h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.seo-routes-col ul {
    list-style: none;
}

.seo-routes-col ul li {
    position: relative;
    padding: 12px 15px 12px 25px;
    margin-bottom: 12px;
    background: #f9f9fb;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
    border-left: 3px solid #e53935; /* Red border from image */
}

.seo-routes-col ul li::before {
    content: "\2022";
    position: absolute;
    left: 10px;
    color: #e53935;
    font-weight: bold;
}

.seo-routes-col ul li:hover {
    background: #f1f1f5;
    transform: translateX(3px);
}

.why-choose-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.05rem;
}

/* =========================================
   PREMIUM UI UPGRADES (MAST UI)
========================================= */

/* Smooth Scrolling Globally */
html {
    scroll-behavior: smooth;
}

/* Enhanced Gradient and Box Shadows for Cards */
.route-card-rich, .fleet-card, .service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.route-card-rich:hover, .fleet-card:hover, .service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(30, 60, 114, 0.15);
    border-color: transparent;
}

/* Glassmorphism for Booking Widget */
.booking-widget {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    transform: translateZ(0);
}

/* Glowing Pulse Effect for Floating WhatsApp Button */
@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-float {
    animation: waPulse 2s infinite;
    transition: transform 0.3s ease;
}

.wa-float:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Button Shimmer / Sweep Effect */
.btn-route-book, .book-now-btn, .btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-route-book::after, .book-now-btn::after, .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: -1;
    animation: buttonSweep 3s infinite;
}

@keyframes buttonSweep {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Section Header Underline Animation */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--accent);
    bottom: -8px;
    left: 25%;
    border-radius: 2px;
    transition: width 0.3s ease, left 0.3s ease;
}

.section-header:hover h2::after {
    width: 100%;
    left: 0;
}

/* Fade in Animation for Hero Content */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
}

.booking-widget {
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0; /* starts invisible, animated in */
}

/* Beautiful custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; border: 2px solid var(--light); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }


/* Active Nav State */
nav ul li a.active {
    color: var(--accent) !important;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
}
