/*
 * =========================================================================
 * Global CSS Variables
 * =========================================================================
 */
:root {
    /* Colors */
    --primary-color: #e90883;
    /* Black */
    --secondary-color: #fff;
    /* White */
    --accent-color: #007bff;
    /* Blue for focus/links */
    --background-light: #f5f5f5;
    /* Light grey background */
    --background-dark: #f8f9fa;
    /* Another light grey background */
    --text-primary: #333;
    /* Dark text */
    --text-secondary: #666;
    /* Muted text */
    --text-label: #777;
    /* Form label text */
    --border-color: #ccc;
    /* Light border color */
    --error-color: #dc3545;
    /* Red for errors */

    /* Typography */
    --font-family-poppins: "Poppins", serif;

    /* Spacing & Sizing */
    --header-height: 58px;
    --section-padding: 60px 20px;
    --gap-sm: 10px;
    --gap-md: 20px;
    --gap-lg: 30px;

    /* Border Radius */
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 15px;
    --border-radius-xl: 28px;
    --border-radius-full: 50%;

    /* Box Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 6px 15px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 10px 20px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-duration: 0.3s;
}

/*
 * =========================================================================
 * Base Styles & Utilities
 * =========================================================================
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-poppins);
    box-sizing: border-box;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: var(--shadow-md);
}

body {
    padding-top: var(--header-height);
    background: var(--background-light);
}

.navbar,
footer {
    background-color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-size: 16px;
    padding: 10px 15px;
    color: var(--secondary-color);
    text-decoration: none;
}


.footer-app {
    width: 150px;
    transition: transform var(--transition-duration) ease, opacity var(--transition-duration) ease;
}

.footer-app:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 18px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    line-height: 45px;
    border-radius: var(--border-radius-full);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-duration), visibility var(--transition-duration), transform var(--transition-duration);
    text-decoration: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.scroll-top.scrolled {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: var(--text-primary);
}

/* logn and register css==============
===================================== */
.heading-box {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

.log-in-form {
    justify-content: center;
    align-items: center;
    padding: 70px 0px;
    display: flex;
}

.login-signup {
    padding: var(--gap-md);
    background: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-md);
    text-align: center;
}

.heading-box {
    color: var(--primary-color);
    font-size: 35px;
}

.form-group.box-content {
    margin-bottom: 15px;
    text-align: left;
}

.form-group.box-content label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.sub-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: background var(--transition-duration) ease;
}

.sub-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

p.account {
    font-size: var(--gap-md);
    margin-top: 5px;
}

p.account a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.heading-register {
    position: relative;
    text-align: start;
    font-size: 33px;
    font-weight: 400;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.form-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--text-label);
    transition: all var(--transition-duration) ease;
    pointer-events: none;
    background: var(--secondary-color);
    padding: 0 5px;
}

.form-control:focus+.form-label,
.form-control:not(:placeholder-shown)+.form-label {
    top: 0;
    font-size: 12px;
    color: var(--accent-color);
    padding: 0 5px;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.required {
    color: var(--error-color);
    font-weight: bold;
}

.form-group.error-state .form-control {
    border-color: var(--error-color);
    background-color: #fff5f5;
}

.form-group.error-state .form-label {
    color: var(--error-color);
}

.form-group.error-state {
    display: block;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    outline: none;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background: transparent;
}

.form-label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--text-label);
    transition: all var(--transition-duration) ease;
    pointer-events: none;
    background: var(--secondary-color);
    padding: 0 5px;
}

.form-control:focus+.form-label,
.form-control:not(:placeholder-shown)+.form-label,
select:focus+.form-label {
    top: 5px;
    font-size: 12px;
    color: var(--text-primary);
}

.terms {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    font-size: 14px;
}

.terms input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.terms label {
    cursor: pointer;
}

.terms a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.terms a:hover {
    text-decoration: underline;
}

.register-btn {
    position: relative;
    display: flex;
    width: auto;
}

.register-steps {
    list-style-type: disc;
    padding: 0;
    text-align: justify;
    padding-left: 1rem;
}

.register-steps li {
    font-size: 16px;
    color: var(--text-primary);
    padding: 5px 0;
}

.recaptcha-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--gap-sm);
    background: var(--background-dark);
    padding: var(--gap-sm);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    width: fit-content;
    margin-bottom: 22px;
}

.recaptcha-container input {
    width: auto;
    margin-right: var(--gap-sm);
}

.recaptcha-logo {
    width: 50px;
    height: auto;
    margin-left: var(--gap-sm);
}

.sub-heading p {
    display: flex;
}

p.leading-mobile {
    display: flex;
    font-size: 12px;
}

.login-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
}

.sub-head-cont {
    text-align: justify;
}

.image-login img {
    width: -webkit-fill-available;
}

/* first section to landing page ==============
============================================*/

.car-book {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
    overflow: hidden;
}

.landing-page-img {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.landing-page-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.landing-page-content {
    color: var(--secondary-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.landing-page-content h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: var(--gap-md);
    line-height: 1.3;
}

.booking-now {
    background-color: var(--secondary-color);
    text-decoration: none;
    color: var(--primary-color);
}

/* trip safety section css===============
======================================== */
.trip-section {
    background: var(--background-dark);
    padding: var(--section-padding);
    text-align: center;
}

.icon-image img {
    height: 50px;
}

.trip-header h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.trip-features {
    display: flex;
    justify-content: center;
    gap: var(--gap-lg);
    flex-wrap: wrap;
}

.feature-box {
    background: var(--secondary-color);
    padding: var(--gap-lg);
    width: 300px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-duration) ease-in-out;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-box .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: var(--gap-sm);
    color: var(--text-primary);
}

.feature-box p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* rides experience section css===============
======================================== */
.ride-section {
    width: 100%;
    padding: 80px 0px;
    background: var(--primary-color);
    color: var(--secondary-color);
}

.ride-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ride-content {
    max-width: 50%;
}

.ride-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.ride-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: var(--gap-md);
}

.ride-features {
    list-style: none;
    padding: 0;
}

.ride-features li {
    font-size: 16px;
    margin-bottom: var(--gap-sm);
    display: flex;
    align-items: center;
}

.ride-features i {
    margin-right: var(--gap-sm);
    font-size: var(--gap-md);
}

.ride-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    margin-top: var(--gap-md);
    transition: var(--transition-duration);
}

.ride-btn:hover {
    background: none;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    transform: translateY(-2px);
}

.ride-image img {
    width: 550px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-xl);
}


/* download app section css===============
======================================== */
.download-app-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.download-img {
    max-height: 500px;
    border-radius: 10px;
    left: auto;
    position: relative;
    right: auto;
}

.get-app {
    width: fit-content;
}

/* our achievment section css =================
============================================ */
.achievement-section {
    background: var(--primary-color);
    margin: 60px 0 80px;
    color: var(--secondary-color);
}

.achievement-image {
    margin: -40px 0px -40px 0px;
}

.achievement-content {
    display: flex;
    align-items: center;
}

.achievement-image img {
    width: 100%;
    height: 100%;
}

.section-title-achievment {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: var(--gap-md);
    animation: fadeInUp 1s ease-in-out;
}

.section-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: var(--gap-lg);
    animation: fadeInUp 1.2s ease-in-out;
}

.achievement-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: var(--gap-md);
    animation: fadeInUp 1.5s ease-in-out;
}

.achievement-feature .icon {
    font-size: 24px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.feature-text h3 {
    font-size: var(--gap-md);
    margin: 0;
}

.feature-text p {
    font-size: 14px;
    margin: 5px 0 0;
}



/* how it work section css 	==================
==========================================*/
section.div-padding.how-work-area {
    margin-bottom: 60px;
}

.content-wrapper .left-content {
    align-items: center;
}

.content-wrapper .left-content .how-it-works-title {
    position: relative;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--gap-lg);
}

.icons-div-v-2 {
    display: block;
}

.icons-div-v-2 .icon-item-wrap:not(:last-child) {
    margin-bottom: var(--gap-md);
}

.icons-div-v-2 .icon-item-wrap {
    display: flex;
    position: relative;
    align-items: center;
    gap: var(--gap-md);
}

.icons-div-v-2 .single-icon,
.icons-div-v-2 .single-icons {
    flex: 0 0 auto;
    height: 95px;
    width: 95px;
    text-align: center;
    line-height: 86px;
    position: relative;
    border-radius: var(--border-radius-full);
    background-color: var(--primary-color);
    border: 1px solid rgba(59, 59, 59, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icons-div-v-2 .single-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -81px;
    height: 80px;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.how-it-works-text-wrapper h3 {
    font-size: var(--gap-md);
}

.single-icon img,
.single-icons img {
    filter: brightness(100);
}

/* about cabby section css =======
=============================== */
.who-we-are {
    padding: 0px 0 80px;
}

.who-we-are-left {
    max-width: 500px;
}



.who-we-are-left p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #444;
}

.who-we-are-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--gap-md);
}

.who-we-are-list li {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: var(--gap-sm);
    color: var(--text-primary);
}

.who-we-are-list img {
    width: 24px;
    margin-right: var(--gap-sm);
}

.who-we-are-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 20px;
    font-size: 16px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: bold;
}

.who-we-are-btn:hover {
    background: var(--secondary-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.who-we-are-right {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.main-image {
    width: 100%;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
}

.overlay-image {
    width: 60%;
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-in-out;
}

/* booking section page css =============
======================================= */
#map {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-md);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.book-section {
    background: var(--secondary-color);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 30px auto;
}

section#book-section h2 {
    text-align: center;
    padding: 15px 0px;
}

input,
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.book-now {
    width: fit-content;
    margin: 10px auto;
    font-size: 15px;
    letter-spacing: 2px;
}

.ui.input {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    padding: 0px 8px;
}

.ui.input i.calendar.icon {
    color: var(--text-secondary);
    margin-right: var(--gap-sm);
}

.ui.input input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    padding: 0px;
}

.flatpickr-calendar.open:hover {
    opacity: 1;
}

.flatpickr-day.selected,
.flatpickr-day.today,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--primary-color);
    -webkit-box-shadow: none;
    box-shadow: none;
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--secondary-color);
}

.flatpickr-day.today {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--secondary-color);
}

div#customCalendar {
    margin: 8px 0px;
}

div#customPickupCalendar,
div#customDropoffCalendar {
    margin: 10px 0px;
}

.booking-container {
    background: var(--secondary-color);
    padding: var(--gap-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.booking-title {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin-bottom: var(--gap-md);
}

.car-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--gap-md);
}

.car-card {
    background: linear-gradient(to top, #f9f9f9, #ddd);
    padding: var(--gap-md);
    border-radius: 12px;
    text-align: center;
    transition: 0.3sease;
    position: relative;
    cursor: pointer;
    border: 3px solid #f9f9f9;
}

.car-card:hover,
.car-card input:checked+.car-card {
    border-color: var(--primary-color);
    background: var(--secondary-color);
    transform: scale(1.05);
}

.car-card input {
    display: none;
}

.car-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: var(--gap-sm);
}

.car-info h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

.car-info p {
    font-size: 16px;
    color: #444;
    margin: 5px 0;
}

.car-options input[type="radio"] {
    transform: scale(1.7);
    margin-right: var(--gap-sm);
    accent-color: var(--primary-color);
}

/* faq page css =======================
========================================*/
.faq-section h1 {
    color: var(--primary-color);
    margin-bottom: var(--gap-md);
}

.topic {
    margin-bottom: 15px;
    padding: var(--gap-sm);
    border-radius: var(--border-radius-sm);
    background: var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.open {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.question {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0px;
}

.answer {
    display: none;
    padding: var(--gap-sm);
    color: var(--text-secondary);
}

.answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-t {
    width: var(--gap-md);
    height: var(--gap-md);
    background: url('https://cdn-icons-png.flaticon.com/512/271/271228.png') no-repeat center;
    background-size: cover;
    transition: transform var(--transition-duration);
}

.faq-o {
    transform: rotate(90deg);
}

.tab-buttons {
    text-align: center;
    margin-bottom: var(--gap-md);
}

.tablink {
    background: var(--background-dark);
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition-duration) ease-in-out;
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
}

.tablink.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.tabcontent {
    display: none;
    padding: 15px;
    border-radius: var(--border-radius-sm);
}

.tabcontent.active {
    display: block;
}

/* contact page css ========== */

.address-contact {
    display: flex;
    align-items: anchor-center;
    gap: var(--gap-sm);
}

.address-contact i {
    font-size: var(--gap-md);
}

/* Smartphone style  */
/* The device with borders */
.smartphone {
    position: relative;
    width: 320px;
    height: 640px;
    margin: auto;
    border: 16px black solid;
    border-top-width: 60px;
    border-bottom-width: 60px;
    border-radius: 36px;
}

/* The horizontal line on the top of the device */
.smartphone:before {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    border-radius: 10px;
}

/* The circle on the bottom of the device */
.smartphone:after {
    content: '';
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    left: 50%;
    bottom: -65px;
    transform: translate(-50%, -50%);
    background: #333;
    border-radius: 50%;
}

/* The screen (or content) of the device */
.smartphone .content {
    width: 100%;
    height: 100%;
    background: white;
}