:root {
    --primary-color: #9EB71D;
    --secondary-color: #060402;
    --white-color: #ffffff;
    --button-background-color: #9EB71D;
}

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "PT Serif", serif;
    font-weight: 800;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

a {
    text-decoration: none;
}

/* --- FLOATING BUTTON STYLES --- */
.float-btn {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 28px;
    color: #ffffff;
    z-index: 9999;
    /* Always on top */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;

    /* Vibrate Animation */
    animation: pulse-vibrate 2s infinite;
}

/* Hover Effect: Stops animation & Scales up */
.float-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
    animation: none;
    /* Stops vibration on hover */
}

/* --- 1. CALL BUTTON (Left Side) --- */
.call-float {
    left: 20px;
    background-color: var(--secondary-color);
    /* Our Brand Black */
    border: 2px solid var(--primary-color);
    /* Green Border */
}

/* Call Button Pulse Color (Green Shadow) */
.call-float {
    animation-name: pulse-green-shadow;
}

/* --- 2. WHATSAPP BUTTON (Right Side) --- */
.whatsapp-float {
    right: 20px;
    background-color: #25D366;
    /* Official WhatsApp Green */
    border: 2px solid #ffffff;
}

/* WhatsApp Button Pulse Color (Green Shadow) */
.whatsapp-float {
    animation-name: pulse-whatsapp-shadow;
}

/* ---------------------------------------------------- */
/* --- NEW: Selected State Button inside Navbar --- */
/* ---------------------------------------------------- */
.selected-state-btn {
    background-color: rgba(158, 183, 29, 0.1);
    /* Light green bg */
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.selected-state-btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* --- Popup Overlay Design --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    /* Changed to high z-index to sit above fixed navbar */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* --- Modal Box Design --- */
.popup-box {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay.show .popup-box {
    transform: translateY(0) scale(1);
}

.popup-box h2 {
    color: var(--secondary-color);
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.popup-box p {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.state-options {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.state-btn {
    flex: 1;
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.state-btn img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.state-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.state-btn:hover {
    border-color: var(--primary-color);
    background-color: rgba(158, 183, 29, 0.05);
    box-shadow: 0 10px 20px rgba(158, 183, 29, 0.15);
    transform: translateY(-5px);
}

.state-btn:hover .state-name {
    color: var(--primary-color);
}

.state-btn:hover img {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .state-options {
        flex-direction: column;
    }

    .popup-box {
        padding: 30px 20px;
    }

    .top-header {
        display: none;
    }
}


/* --- ANIMATION KEYFRAMES --- */

/* Vibration + Green Shadow (For Call) */
@keyframes pulse-green-shadow {
    0% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(158, 183, 29, 0.7);
    }

    10% {
        transform: scale(1.1) rotate(-3deg);
    }

    20% {
        transform: scale(1.1) rotate(3deg);
    }

    30% {
        transform: scale(1.1) rotate(-3deg);
    }

    40% {
        transform: scale(1.1) rotate(3deg);
    }

    50% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 15px rgba(158, 183, 29, 0);
    }

    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(158, 183, 29, 0);
    }
}

/* Vibration + WhatsApp Shadow */
@keyframes pulse-whatsapp-shadow {
    0% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    10% {
        transform: scale(1.1) rotate(-3deg);
    }

    20% {
        transform: scale(1.1) rotate(3deg);
    }

    30% {
        transform: scale(1.1) rotate(-3deg);
    }

    40% {
        transform: scale(1.1) rotate(3deg);
    }

    50% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
    }
}

/* --- 1. TOP HEADER SECTION (Desktop Only) --- */
.top-header {
    background: linear-gradient(115deg, var(--primary-color) 35%, var(--secondary-color) 35.1%);
    padding: 10px 0;
    color: var(--white-color);
    font-size: 0.9rem;
    font-weight: 600;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1040;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-left {
    color: var(--secondary-color);
    padding-left: 10px;
}

.info-center,
.info-right {
    color: var(--white-color);
}

.top-icon {
    margin-right: 8px;
}

.info-link {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.info-link:hover {
    opacity: 0.8;
}


/* --- 2. MAIN NAVBAR STYLES --- */
.navbar {
    background-color: var(--white-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.4s ease;
    /* Smooth transition */
    width: 100%;
    z-index: 1030;
    top: 45px !important;
}

/* --- DESKTOP SPECIFIC STYLES (Min-width 992px) --- */
@media (min-width: 992px) {
    .navbar {
        /* CHANGE: Starts absolute so it sits below header */
        position: absolute;
        top: 45px;
        left: 0;
        width: 100%;
        border-radius: 0;
    }

    /* THIS CLASS IS ADDED BY JS WHEN SCROLLING */
    .navbar.sticky-on-scroll {
        position: fixed;
        top: 0px !important;
        left: 0;
        width: 100%;
        animation: slideDown 0.5s ease;
        /* Smooth animation */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

/* Animation for Sticky Navbar */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}


/* --- 3. MOBILE SPECIFIC STYLES (Max-width 991px) --- */
@media (max-width: 991px) {

    /* Hide top header on mobile */
    .top-header {
        display: none;
    }

    /* Navbar fixed at the very top (Your custom mobile style) */
    .navbar {
        position: fixed;
        top: 10px !important;
        left: 15px !important;
        right: 15px !important;
        width: auto !important;
        border-radius: 10px !important;
        padding: 10px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    /* Body padding adjustment for mobile */
    body {
        padding-top: 70px;
    }

    /* Login & Book Button Stacking */
    .login-wrapper {
        margin-top: 30px;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .login-btn {
        color: var(--secondary-color);
        margin: 0;
        font-size: 1.1rem;
    }

    .book-btn {
        width: 100%;
        text-align: center;
        background-color: var(--primary-color);
        color: var(--secondary-color);
        border: none;
    }
}


/* --- GENERAL NAVBAR ITEMS STYLING --- */
.navbar-brand img {
    max-height: 60px;
}

/* Menu Links */
.navbar-nav .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 700 !important;
    margin: 0 15px;
    text-transform: uppercase;
    font-size: 16px !important;
    position: relative;
    padding-bottom: 5px;
    font-family: "PT Serif", serif;
}

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

/* Underline Animation */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.login-btn {
    text-decoration: none;
    background-color: var(--primary-color);
    color: var(--secondary-color) !important;
    font-weight: 700;
    margin-right: 20px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    transition: 0.3s;
    padding: 7px 30px;
    border-radius: 7px;
}

.login-btn:hover {
    color: var(--white-color) !important;
}

.login-btn i {
    margin-right: 8px;
    color: var(--secondary-color) !important;
    font-size: 1.2rem;
}

.book-btn {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
    border: 2px solid var(--secondary-color);
}

.book-btn:hover {
    background-color: var(--white-color);
    color: var(--secondary-color);
}

/* --- HAMBURGER TOGGLER --- */
.navbar-toggler {
    border: none !important;
    background: transparent !important;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler .icon-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler .top-bar {
    top: 0;
}

.navbar-toggler .middle-bar {
    top: 10px;
}

.navbar-toggler .bottom-bar {
    top: 20px;
}

/* Animation to X */
.navbar-toggler:not(.collapsed) .top-bar {
    top: 10px;
    transform: rotate(45deg);
    background-color: var(--primary-color);
}

.navbar-toggler:not(.collapsed) .middle-bar {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .bottom-bar {
    top: 10px;
    transform: rotate(-45deg);
    background-color: var(--primary-color);
}

/* --- OFFCANVAS --- */
.offcanvas {
    background-color: var(--white-color) !important;
    width: 300px !important;
    border-left: 5px solid var(--primary-color) !important;
}

@media(max-width:425px) {
    .offcanvas {
        width: 250px !important;
    }
}

.offcanvas-header .btn-close {
    background-color: var(--primary-color);
    opacity: 1;
    border-radius: 50%;
    padding: 10px;
}

.offcanvas-header img {
    width: 130px;
}

.offcanvas-body .nav-link {
    font-size: 1.1rem;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link.active {
    color: var(--primary-color) !important;
    background: transparent !important;
}

/* =========================================
   HERO SECTION STYLES
   ========================================= */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

/* CAROUSEL BACKGROUND */
#heroCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* DARK OVERLAY */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(6, 4, 2, 0.8), rgba(6, 4, 2, 0.6));
    z-index: 1;
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white-color);
    width: 100%;
    padding-bottom: 50px;
}

.hero-content-heading {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.hero-content h5 {
    letter-spacing: 3px;
    background-color: var(--primary-color);
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 4px;
    color: var(--secondary-color);
    font-weight: 700;
}

.hero-title {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
    line-height: 1.2;
    color: var(--white-color);
    font-size: 50px;
}

/* BIKE DIVIDER */
.bike-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    max-width: 600px;
    width: 90%;
    animation: zoomIn 1.2s ease-out;
}

.divider-line {
    height: 2px;
    background-color: var(--white-color);
    flex-grow: 1;
    opacity: 0.6;
    border-radius: 2px;
}

.bike-icon-box {
    margin: 0 15px;
    color: var(--primary-color);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
}

/* INFO CARDS DESIGN (Instead of Form) */
.hero-cards-container {
    animation: slideUp 1s ease-out 0.5s both;
    margin-top: 40px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 25px;
    border-radius: 20px;
    transition: all 0.4s ease;
    text-align: center;
    height: 100%;
}

.info-card:hover {
    background: var(--white-color);
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.info-card:hover h4,
.info-card:hover p {
    color: var(--secondary-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.info-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ANIMATIONS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .hero-title {
        font-size: 40px !important;
    }

    .hero-section {
        min-height: auto;
        padding: 120px 0 60px 0;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 30px !important;
    }

    .hero-cards-container {
        margin-top: 20px;
    }

    .info-card {
        padding: 25px 15px;
        margin-bottom: 10px;
    }
}