* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



:root {
    --text-dark: #1B1B1B;
    --text-light: #4F4F4F;
    --highlight: #FFB300;

    /* Button Colors */
    --btn-primary-bg: #FFB300;
    --btn-primary-text: #ffffff;
    --btn-primary-hover: #ffa000;

    --bg-color: #f9f9f9;
}

body {
    font-family: "Roboto", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--highlight);
}

p,
li {
    color: var(--text-light);
    line-height: 1.3;
}

.sub-container {
    max-width: 1024px;
    margin: 0 auto;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px;
}

.main-heading {
    margin: auto;
    text-align: center;
    margin: 0 0 24px;
}

h1,
h2,
h3,
h4,
h5 {
    margin-bottom: 24px;
    color: var(--text-dark);
    font-family: "Montserrat", sans-serif;
}

.primary-btn,
.secondary-btn,
.tab-btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

/* Primary Button */
.primary-btn,
.tab-btn.active {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.primary-btn:hover,
.tab-btn.active:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Secondary Button */
.secondary-btn,
.tab-btn {
    color: var(--text-light);
    border: 1px solid var(--btn-primary-bg);
    background-color: #fff;
}

.secondary-btn:hover,
.tab-btn:hover {
    background-color: var(--btn-primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.grid {
    display: grid;
}

.gap-md-24 {
    gap: 24px;
}

.col-md-2 {
    grid-template-columns: 1fr 1fr;
}

.col-md-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.col-sm-2 {
    grid-template-columns: 1fr 1fr;
}

.col-sm-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.section {
    padding: 42px 0;
}

/* General Header */
header {
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .container .grid {
    align-items: center;
    width: 100%;
}

header nav {
    width: 100%;
}

header .contact-btn {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo h1 {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.logo h1 span {
    font-size: 16px;
    font-weight: 500;

}

.menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.menu ul li {
    position: relative;
}

.menu ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 12px;
    transition: color 0.3s;
    white-space: nowrap;
}

.menu ul li a:hover {
    color: var(--highlight);
}

/* Submenu */
.menu ul li .submenu {
    position: absolute;
    top: 30px;
    left: 0;
    background-color: var(--bg-color);
    list-style: none;
    min-width: max-content;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 10;
}

.menu ul li .submenu .contact-btn {
    display: none;
}

.menu ul li .submenu li {
    padding: 5px 20px;
}

.menu ul li .submenu li a {
    color: var(--text-light);
    font-weight: 400;
    display: block;
}

.menu ul li .submenu li:hover {
    color: var(--highlight);
    background-color: #fff;
}

/* Show submenu on hover for desktop */
@media(min-width: 768px) {
    .menu ul li:hover .submenu {
        display: block;
    }
}

/* Contact Button */
.contact-btn .btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.contact-btn .btn-primary:hover {
    background-color: var(--btn-primary-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    width: 25px;
    height: 20px;
    justify-content: center;
}

.hamburger span {
    display: block;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;

}

/* Transform to X when open */
.hamburger.open span {
    z-index: 99;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* Mobile Styles */
@media(max-width: 767px) {
    .custom-popup .custom-popup-block {
        padding: 24px;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: var(--bg-color);
        flex-direction: column;
        padding-top: 60px;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 9;
    }

    .menu.active {
        right: 0;
        overflow: auto;
        height: 100vh;
    }

    .menu ul {
        flex-direction: column;
        gap: 0;
    }

    .menu ul li {
        border-bottom: 1px solid #ddd;
    }

    .menu ul li a {
        padding: 15px;
        display: block;
    }

    .menu ul li .submenu {
        position: static;
        display: none;
        padding-left: 20px;
        box-shadow: none;
    }

    .menu ul li.open>.submenu {
        display: block;
    }

    .hamburger {
        display: flex;
        position: fixed;
        top: 24px;
        right: 12px;
        z-index: 9;
    }

    .contact-btn {
        display: none;
    }
}

/* END - header */
/* START Home page - main banner */
.main-banner {
    background: url("./images/homepage-banner-1.webp") center / cover no-repeat;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    position: relative;
}

.main-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffffd6;
    z-index: 0;
}

.main-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.main-banner .banner-text {
    flex: 1 1;
}

.main-banner .banner-text h1 span {
    color: var(--highlight);
}

.main-banner .banner-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    animation: fadeInLeft 1.2s ease;
}

.main-banner .banner-text .primary-btn {
    animation: fadeInUp 1.4s ease;
}

.main-banner .banner-image {
    flex: 1;
    text-align: right;
}

.main-banner .banner-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* END Home page - main banner */

/* STARt - How It Works Section */
.how-it-works.section {
    text-align: center;
}

.how-it-works.section p {
    margin-bottom: 42px;
}

/* Step cards */

.how-it-works.section .step-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.how-it-works.section .step-card i {
    font-size: 2.5rem;
    color: var(--highlight);
    margin-bottom: 15px;
}

.how-it-works.section .step-card .icon {
    width: 80px;
    height: 80px;
    display: block;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 50%;
    margin-bottom: 24px;
    position: relative;
    transition: 0.3s;
}

.how-it-works.section .step-card .icon::after {
    content: '';
    position: absolute;
    height: calc(100% + 12px);
    width: calc(100% + 12px);
    border: 2px dashed;
    border-radius: 50%;
    transition: 0.3s;
}

.how-it-works.section .step-card .icon-1:after {
    border-color: aqua;
}

.how-it-works.section .step-card .icon-2:after {
    border-color: var(--highlight);
}

.how-it-works.section .step-card .icon-3:after {
    border-color: wheat;
}

.how-it-works.section .step-card .icon-1 {
    background-color: aqua;
}

.how-it-works.section .step-card .icon-2 {
    background-color: var(--highlight);
}

.how-it-works.section .step-card .icon-3 {
    background-color: wheat;
}

.how-it-works.section .step-card .icon img {
    width: 100%;
    mix-blend-mode: darken;
}

.how-it-works.section .step-card h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.how-it-works.section .step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.how-it-works.section .step-card:hover .icon::after {
    height: calc(100% + 18px);
    width: calc(100% + 18px);
    border: 3px dashed inherit;
}

.how-it-works.section .step-card:hover .icon {
    padding: 20px;
}

/* END how it work section - home page */

/* START - main tabber - home page */
/* Tab styles */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
}

.tab-btn {
    font-weight: 600;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--btn-primary-bg);
}


.tab-content {
    display: none;
    background-color: var(--bg-color);
    padding: 42px;
}

.tab-content.active {
    display: block;
}

.tab-content .vehicle-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tab-content .vehicle-list .vehicle-info {
    display: none;
}

#backBtn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.location-list#bus-list {
    display: block;
}

.trip-detail .trip-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    background-color: #fff;
    box-shadow: 2px 10px 20px -4px #00000026;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trip-detail .trip-detail ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trip-detail .trip-detail ul li {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    white-space: nowrap;

}

.trip-detail .trip-detail ul li .fa {
    display: none;
}

.trip-detail img.selected-vehicle-image {
    mix-blend-mode: darken;
    max-height: 320px;
    margin: auto;
}

#bus-list .location-price,
#bus-list .trip-price {
    display: none;
}

/* Card styles */
.vehicle-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    place-content: space-between;
}

.vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.vehicle-card img {
    border-radius: 8px;
    max-height: 240px;
    margin: auto;
    display: block;
}

.vehicle-card h3 {
    margin: 0;
    height: fit-content;
}

i.fa {
    height: 50px;
    width: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

i.fa.agra {
    background-image: url(/images/locations/agra.png);

}

i.fa.mathura {
    background-image: url(/images/locations/mathura.png);

}

i.fa.haridwar {
    background-image: url(/images/locations/haridwar.png);

}

i.fa.jaipur {
    background-image: url(/images/locations/jaipur.png);

}

i.fa.nainital {
    background-image: url(/images/locations/nainital.png);

}

i.fa.rishikesh {
    background-image: url(/images/locations/rishikesh.png);

}

i.fa.salasar {
    background-image: url(/images/locations/salasar.png);

}

i.fa.khatushyam {
    background-image: url(/images/locations/khatushyam.png);

}

.vehicle-card h3 {
    background-color: var(--bg-color);
    padding: 12px;
    border-radius: 4px;
    text-align: center;
}

.vehicle-card .info {
    color: var(--text-light);
    font-size: 14px;
    display: none;
}

.location-list {
    display: block;
    text-align: center;
}

.location-list .location-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;

}

.location-card {
    flex: 1 1 calc(25% - 16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    border: 2px solid var(--bg-color);
    transition: 0.3s;
}

.location-card h4.location-name {
    margin: 18px 0 6px;
}

.location-card:hover {
    border: 2px solid var(--highlight);
}

/* Trip Details */
.trip-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.trip-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 16px;
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-content {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    text-align: center;
}

.popup-content form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 20px;
    cursor: pointer;
}

.fallback {
    color: var(--text-light);
    font-size: 1.1rem;
    text-align: center;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* END - main tabber - home page */


/* START - why choose us - home page */
.why-us-cards {
    margin-top: 42px;
}

.why-us-card {
    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.why-us-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.why-us-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
}

.why-us-card h3 {
    margin-bottom: 12px;
}

/* END - why choose us - home page */

/* START - alert message */
.custom-popup {
    position: fixed;
    inset: 0;
    background: #ffffffbd;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    padding: 30px 40px;
    text-align: center;
    display: none;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.custom-popup .custom-popup-block {
    max-width: 480px;
    padding: 42px;
    border-radius: 12px;
    background-color: #fff;
    border-bottom: 6px solid var(--btn-primary-hover);
    box-shadow: 0 4px 20px -4px #00000080;
}

.custom-popup.success {
    border-top: 5px solid #2ecc71;
}

.custom-popup.error {
    border-top: 5px solid #e74c3c;
}

.custom-popup svg {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.custom-popup button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.custom-popup img {
    max-width: 120px;
}

/* END - alert message */

/* START - footer */
.footer {
    background-color: var(--text-light);
    color: #fff;
    padding: 50px 20px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.footer-col h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--highlight);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--highlight);
}

.footer-about p,
.footer-contact p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-logo {
    color: #fff;
    margin-bottom: 12px;
}

.footer-social {
    margin-top: 12px;
}

.footer-social a {
    display: inline-block;
    margin-right: 10px;
}

.footer-social img {
    width: 22px;
    height: 22px;
    transition: transform 0.3s;
}

.footer-social img:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 32px;
    padding-top: 16px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #fff;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* END  - footer */
/* Responsive */
@media screen and (max-width: 1024px) {
    .trip-detail .trip-detail ul li {
        grid-template-columns: 1fr 1fr;
    }
}

.vehicle-card img {
    max-height: 160px;
}

@media screen and (max-width: 768px) {


    .col-md-3 {
        grid-template-columns: 1fr 1fr;
    }

    .col-md-2 {
        grid-template-columns: 1fr;
    }

    #backBtn {
        left: 12px;
    }

    .trip-detail img.selected-vehicle-image {
        max-height: 120px;
    }

    .how-it-works.section .step-card {
        padding: 12px 24px;
    }

    .location-card {
        flex: 1 1 calc(50% - 16px);
    }

    header .contact-btn a {
        display: none;
    }

    header .menu ul li .submenu .contact-btn {
        display: block;
    }

    .tab-content {
        padding: 0;
        background-color: #fff;
    }

    .trip-detail .trip-detail {
        padding: 24px;
    }

    .tab-content .vehicle-list {
        gap: 12px;
    }

    .vehicle-card h3 {
        font-size: 16px;
        padding: 6px;
    }
}

/* Responsive: 1 card per row on mobile */
@media screen and (max-width: 480px) {
    header {
        padding: 0;
    }

    header .col-md-3 {
        grid-template-columns: 2fr 1fr;
    }

    .col-md-3 {
        grid-template-columns: 1fr;
    }

    .logo h1 {
        font-size: 24px;
    }

    .main-banner .banner-content {
        flex-direction: column;
        text-align: center;
    }

    #backBtn {
        padding: 6px;
        font-size: 11px;
        border: unset;
        left: 0;
    }

    .location-list .location-list {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .custom-popup .custom-popup-block {
        padding: 12px;
    }
}