:root {
    --primary-blue: #1e3a6c;
    /* Deep blue from header */
    --primary-red: #c8102e;
    /* Red from buttons/logo details */
    --text-white: #ffffff;
    --text-dark: #333333;
    --bg-light-gray: #f8f9fa;
}

body {
    font-family: 'Outfit', sans-serif;
}

/* --- Top Bar --- */
.top-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: #555;
    position: relative;
    z-index: 1001;
    /* Ensure above navbar if needed */
}

.top-bar .contact-info i {
    color: var(--primary-red);
}

.social-signin a {
    color: var(--primary-blue) !important;
    transition: color 0.3s;
}

.social-signin a:hover {
    color: var(--primary-red) !important;
}

.social-icons i {
    color: var(--primary-red);
    font-size: 1.1rem;
}

/* --- Navigation Bar --- */
.main-nav {
    background-color: var(--primary-blue);
    padding: 0.5rem 0;
    min-height: 80px;
    /* Space for the logo */
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    font-size: 1.05rem;
    margin-right: 1.5rem;
    text-transform: capitalize;
}

.navbar-nav .nav-link:hover {
    color: #ddd !important;
}

/* Center Logo Styles */
.center-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -60px;
    /* Pop out effect */
    z-index: 1002;
    /* background: white; */
    padding: 5px;
    /* border-radius: 50%; */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.logo-circle {
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid var(--primary-blue);
    /* Placeholder styles for text logo */
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* Right Nav Items */
.btn-booking {
    background-color: var(--primary-red);
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-booking:hover {
    background-color: #a00c24;
    color: white;
}

.phone-icon-circle {
    width: 35px;
    height: 35px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.9rem;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 85vh;
    background-image: url('img/header-img.jpg');
    /* Bus placeholder */
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 59, 108, 0.014);
    /* Blue overlay */
    z-index: 1;
}

.welcome-badge {
    background-color: var(--primary-red);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
}

/* --- Booking Widget --- */
.booking-widget {
    max-width: 1000px;
    width: 100%;
    position: relative;
    margin-top: 3rem;
}

.widget-tabs {
    position: relative;
    top: 2px;
    /* Connect to the form container */
    z-index: 5;
}

.tab-btn {
    padding: 0.75rem 2.5rem;
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
    border: none;
    margin: 0 5px;
    background-color: var(--primary-red);
    color: white;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: white;
    color: var(--primary-blue);
}

.booking-form-container {
    border-radius: 15px;
    color: var(--text-dark);
}

.text-primary-dark {
    color: var(--primary-blue);
}

.form-select,
.form-control {
    padding: 0.8rem 1rem;
    background-color: #e9e9e9 !important;
    /* Light gray input bg */
    color: #555;
    font-weight: 500;
}

.input-group-text {
    background-color: #f0f2f5 !important;
    color: #777;
}

.btn-find-journey {
    background-color: var(--primary-red);
    color: white;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-find-journey:hover {
    background-color: #a00c24;
    color: white;
    transform: translateY(-2px);
}

/* --- Services Section --- */
.services-section {
    background-color: var(--bg-light-gray);
    position: relative;
    overflow: hidden;
    /* padding-top: 5rem; */
    /* padding-bottom: 5rem; */
}

section.services-section .service-hero-img {
    width: 100%;
    position: absolute;
}

.service-hero-img {
    /* border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(15deg);
    transition: transform 0.5s;
    width: 100%; */
}

.service-main-img-wrapper:hover .service-hero-img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Swiper Navigation */
.swiper-nav-btns button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    color: #888;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.swiper-nav-btns button:hover {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* Service Card */
.service-card {
    position: relative;
    border-radius: 15px;
    /* overflow: hidden; */
    height: 300px;
    /* Fixed height for uniformity */
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover img {
    transform: scale(1.1);
    /* Zoom effect */
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgb(30 58 108), #00000000);
    pointer-events: none;
}

.card-content {
    position: absolute;
    bottom: 25px;
    left: 20px;
    z-index: 2;
}

.card-action {
    position: absolute;
    transform: translate(-50%, -50%);
    bottom: -35px;
    right: 50%;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 3;
    transition: transform 0.3s;
    background: red;
    cursor: pointer;
    left: 50%;
}

/* .card-action:hover {
    transform: translate(-50%, -60%);

} */


/* --- About Section --- */
.collage-item {
    overflow: hidden;
    height: 100%;
}

.collage-item img {
    transition: transform 0.5s ease;
    width: 100%;
}

.collage-item:hover img {
    transform: scale(1.05);
}

.counter-card {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 14px solid white;
    min-width: 180px;
    z-index: 10;
    transition: transform 0.3s ease;
    background: #1e3a6c;
}

.counter-card:hover {
    transform: translate(-50%, -60%);
}

.display-5 {
    display: inline-block;
}

/* --- Partners Section --- */
.partner-logo {
    max-height: 50px;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partners-btn-prev,
.partners-btn-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    color: #888;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.partners-btn-prev:hover,
.partners-btn-next:hover {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

/* --- Testimonials Section --- */
.testimonial-card {
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    opacity: 0.2;
}

.testimonialSwiper .swiper-pagination {
    bottom: 0 !important;
}

.testimonialSwiper .swiper-pagination-bullet-active {
    background-color: var(--primary-blue) !important;
}

/* --- Footer Section --- */
.footer-section {
    background-color: var(--primary-blue);
    /* Darker blue */
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: "\f0da";
    /* FontAwesome caret-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    color: var(--primary-red);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons-footer a {
    width: 35px;
    height: 35px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: transform 0.3s;
    text-decoration: none;
}

.social-icons-footer a:hover {
    transform: translateY(-3px);
    background-color: white;
    color: var(--primary-red);
}

.footer-icon-circle {
    width: 35px;
    height: 35px;
    min-width: 35px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-red);
}

/* --- Advanced Hover Effects (User Requested) --- */

/* 1. Button Hover -> Arrow Slide */
/* Applied to buttons that have an icon inside, e.g., btn-find-journey or card-action */
.btn-booking,
.btn-find-journey {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Space between text and arrow if arrow exists */
}

/* If button has an icon, animate it */
.btn-booking i,
.btn-find-journey i {
    transition: transform 0.3s ease;
}

.btn-booking:hover i,
.btn-find-journey:hover i {
    transform: translateX(5px);
}

/* Specific arrow slide for Service Card Action button */
.card-action {
    transition: all 0.3s ease;
}


/* 2. Image Hover -> Zoom + Overlay */
/* Re-enforcing and enhancing existing styles */

.service-card,
.collage-item,
.testimonial-card,
.service-hero-img-wrapper {
    position: relative;
    /* overflow: hidden; */
    /* Essential for zoom containment */
    cursor: pointer;
}

/* Image Zoom */
.service-card img,
.collage-item img,
.testimonial-card img,
.service-hero-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    display: block;
}

.service-card:hover img,
.collage-item:hover img,
.testimonial-card:hover img,
.service-main-img-wrapper:hover .service-hero-img {
    transform: scale(1.1);
}

/* Overlay Effect */
/* Create a pseudo-element for the overlay that fades in */
.service-card::before,
.collage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 58, 108, 0.6), rgba(0, 0, 0, 0.1));
    /* Blue tint overlay */
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
    /* Let clicks pass through */
}

/* We already had some overlay on service-card::after, let's refine it or let this coexist */
/* The existing ::after was a gradient at bottom. This ::before is a full wash. */

.service-card:hover::before,
.collage-item:hover::before {
    opacity: 1;
}

/* Ensure content stays on top of overlay */
.card-content,
.card-action,
.counter-card {
    z-index: 2;
}

h2.section-title {
    font-size: 42px !important;
}

.service-card:hover .card-action{
    background-color: var(--primary-blue) !important;
    color: white
}

img.rounded-circle.user-img {
    border-radius: 50%;
    width: 60px ;
    height: 60px;
}

.navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

.booking-wrapper{
    max-width:1100px;
    margin:40px auto;
}
.booking-tabs .nav-link{
    border-radius:10px 10px 0 0;
    font-weight:600;
    color: #ffffff;
    background: #1e3a6c;
}
.booking-tabs .nav-link.active{
    background:#c8102e;
    color:#fff;
}
.booking-form{
    background:#fff;
    border-radius:0 0 16px 16px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}
.section-title{
    font-weight:700;
    color:#0d3b66;
    margin-bottom:15px;
    text-align: start;
}
.form-control,.form-select{
    background:#f2f4f8;
    border:none;
}
.btn-main{
    background:#c8102e;
    color:#fff;
    font-weight:600;
}
.btn-main:hover{
    background:#009688;
}
.btn-outline-main{
    border:1px solid #c8102e;
    color:#c8102e;
}
.price-box{
    font-size:24px;
    font-weight:700;
}
img.about-pages-img.img-fluid.rounded-4.shadow-lg {
    height: 500px;
    width: 100%;
    object-fit: cover;
}
button.btn.btn-outline-main.btn-sm:hover {
    background: #c8102e;
}
.tab-content.booking-form label {
    display: block;
    color: #535353;
    text-align: start;
}