/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}



/* NAVBAR STYLES */



.navbar {
    position: fixed;
    top: -80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    transition: top 0.3s ease;
    z-index: 1000;
}

.navbar.visible {
    top: 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #3c1e7e;
    text-decoration: none;
}

.logo span {
    color: #ffc107;
}

.nav-container {
    display: flex;
    align-items: center;
}

.menu-icon {
    cursor: pointer;
    font-size: 24px;
    margin-left: 30px;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    list-style: none;
    z-index: 999;
}

.nav-links.active {
    right: 0;
}

.nav-links li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 10px 0;
}

.nav-links a:hover {
    color: #ff6b00;
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    min-height: 500px;
    margin: 5% auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: linear-gradient(135deg, #FFCC00, #9B177E);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
    position: sticky;
  top: 0;
  z-index: 10;
}

.modal-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.modal-header p {
    opacity: 0.9;
    font-weight: 300;
}

.modal-body {
  max-height: 70vh; /* Adjust based on your needs */
  overflow-y: auto; /* Enables vertical scrolling */
  padding: 20px;
}

/* For smaller screens */
@media (max-width: 768px) {
  .modal-body {
    max-height: 84vh;
  }
  
  .modal-container {
    margin: 2% auto;
    width: 95%;
  }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-btn:hover {
    transform: rotate(90deg);
}

/* ROLE SELECTION STYLES */
.role-selection {
    padding: 25px;
    text-align: center;
}

.role-selection h3 {
    color: #555;
    margin-bottom: 20px;
    font-size: 18px;
}

.role-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.role-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255,107,0,0.1);
    border-color: #9B177E;
}

.role-icon {
    width: 60px;
    height: 60px;
    background: #ffcc0065;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #B13BFF;
}

.role-card h4 {
    color: #333;
    margin-bottom: 5px;
}

.role-card p {
    color: #777;
    font-size: 14px;
}

/* FORM STYLES */

/* Hide form container initially */
.formContainer {
    display: none;
}

/* Show form container when active */
.formContainer.active {
    display: block;
}


.form-container {
  max-height: 100%;
  overflow-y: auto;
  padding: 15px;
}

.form-box {
  max-height: 100%;
  overflow: visible; /* Let content determine height */
}

.form-box.active {
    display: block;
}

.form-box i{
  color: #FFCC00;
}



.form-header {
  text-align: center;
  margin-bottom: 25px;
}

.form-icon {
  font-size: 2.5rem;
  color: #4a6bff;
  margin-bottom: 10px;
}

.form-header h3 {
  color: #333;
  margin: 0;
  font-size: 1.5rem;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group i {
  position: absolute;
  left: 15px;
  top: 15px;
  color: #777;
}

.input-group input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-group select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: transparent;
}

.input-group input:focus {
  border-color: #4a6bff;
  box-shadow: 0 0 0 2px rgba(74, 107, 255, 0.2);
  outline: none;
}

.file-input-container {
    margin: 20px 0;
    padding: 15px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    transition: all 0.3s;
    max-width: 100%;
  overflow: hidden;
}

.file-input-container:hover {
    border-color: #9B177E;
    background: rgba(255,107,0,0.05);
}

.file-input-group {
  margin-bottom: 15px;
}

.file-input-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #555;
  font-size: 0.95rem;
}

.file-input-group i {
  margin-right: 10px;
  color: #4a6bff;
}
.file-input-group input[type="file"] {
  margin-left: 10px;
  font-size: 0.9rem;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.file-input-label i {
    color: #9B177E;
    font-size: 20px;
}

.file-input-label span {
    font-size: 14px;
    color: #666;
}

.file-input {
    display: none;
}

.back-btn {
  background: none;
  border: none;
  color: #ff6b00;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 15px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-btn i {
  margin-right: 5px;
}

.back-btn:hover {
  background: rgba(255, 107, 0, 0.1);
}

.back-btn i {
  transition: transform 0.3s;
}

.back-btn:hover i {
  transform: translateX(-3px);
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #9B177E;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #E8988A;
}

.submit-btn i {
  margin-right: 8px;
}

.form-section {
  margin: 25px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.form-section h4 {
  color: #444;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    .form-box {
        padding: 20px 15px;
    }
    
    .input-group input,
    .input-group select {
        padding: 12px 12px 12px 40px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 15px;
    }
}

@media (min-width: 992px) {
    .modal-container {
        max-width: 900px;
        min-height: auto;
    }
    
    .form-box {
        padding: 30px;
    }
    
    .input-group input,
    .input-group select {
        padding: 18px 18px 18px 50px;
        font-size: 17px;
    }
    
    .submit-btn {
        padding: 18px;
        font-size: 17px;
        color: #fffb29;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        width: 300px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0 0 0 30px;
        width: auto;
    }
}

@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    list-style: none;
    z-index: 999;
    display: none; /* Start hidden on mobile */
  }

  .nav-links.active {
    right: 0;
    display: flex; /* Show when active */
  }

  .menu-icon {
    display: flex; /* Ensure it's visible on mobile */
  }
}

@media (min-width: 992px) {
  .nav-links {
    position: static;
    width: 65%;
    height: auto;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    display: flex !important; /* Force show on desktop */
  }

  .menu-icon {
    display: none; /* Hide hamburger on desktop */
  }
}

/* registration ends */


/* login starts here */

/* Forgot password link */
.forgot-password {
    text-align: right;
    margin: -10px 0 15px;
}

.forgot-password a {
    color: #3C1E7F;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password a:hover {
    color: #ff6b00;
    text-decoration: underline;
}

/* Switch form link */
.switch-form {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
    color: #555;
}

.switch-form a {
    color: #3C1E7F;
    font-weight: 500;
    text-decoration: none;
}

.switch-form a:hover {
    text-decoration: underline;
}

/* Adjust form spacing */
.form-box {
    padding: 20px;
}

/* login ends here */

/* navigation bar ends here */








/* hero */

.hero-shapes {
  position: absolute;
  top: 10rem;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  margin-top: 15rem;
  pointer-events: none; /* prevents accidental click blocking */
}

/* 🔳 Gray/White Card (background, more tilted) */
.white-bg-shape {
  position: absolute;
  top: -22rem;
  left: 1rem;
  width: 45rem;
  height: 45rem;
  background: #eaeaea;           /* Light gray background */
  transform: rotate(30deg);      /* ✅ More right tilt */
  border-radius: 60px;           /* Rounded corners */
  z-index: 0;                    /* Behind yellow */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); /* Soft shadow */
}

/* 🟨 Yellow Card (foreground, less tilted) */
.yellow-bg-shape {
  position: absolute;
  top: -20rem;
  left: -6rem;
  width: 42rem;
  height: 42rem;
  background: #FFC107;           /* Yellow */
  transform: rotate(15deg);      /* ✅ Slight right tilt */
  border-radius: 60px;
  z-index: 1;                    /* Above gray */
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);  /* Stronger shadow */
}

/* Gray background shape */
.white-bg-shape {
  animation: rotateInWhite 1s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

/* Yellow foreground shape */
.yellow-bg-shape {
  animation: rotateInYellow 1s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

/* Content box */
.hero-content {
  animation: fadeInContent 1s ease-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.hero-content {
  position: absolute;
  top: 22rem;
  left: 6rem;
  z-index: 2;
  max-width: 500px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-content h1 span {
  color: #fff;
  background-color: #3C1E7F;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #f9f9f9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.cta {
  padding: 12px 24px;
  font-size: 1rem;
  background-color: #3C1E7F;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background-color: #333;
}

.cta.secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.cta.secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* animation hero */

/* Animation keyframes */
@keyframes rotateInYellow {
  0% {
    transform: rotate(-45deg) translateX(-200px);
    opacity: 0;
  }
  100% {
    transform: rotate(15deg);
    opacity: 1;
  }
}

@keyframes rotateInWhite {
  0% {
    transform: rotate(-60deg) translateX(-250px);
    opacity: 0;
  }
  100% {
    transform: rotate(30deg);
    opacity: 1;
  }
}

@keyframes fadeInContent {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
/* animation hero ends */

/* mobile response */

@media (max-width: 480px) {
  .hero-content {
    padding-top: 120px !important; /* Pushes content lower */
    text-align: center;
  }
}
@media (max-width: 767px) {
    .hero-content {
        position: static;
        margin: 2rem 1.25rem 0;
        text-align: center;
        color: black;
    }

    .hero-content p{
        color: black;
    }

    @media (max-width: 991px) {
    .hero-content h1 {
        margin: -3rem 0 2rem 0;
        font-size: 2.4rem;
        gap: 10rem;
        }

    .hero-content p{
        display: none;
    }
    }

    @media (max-width: 767px) {
    .hero-shapes {
       
        position:absolute;
        top: -2rem;
        left: 0;
        width: 100%;
        height: 100%;
        margin-top: 15rem;
        pointer-events: none;
        
            }
    }

    @media (max-width: 767px) {
    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 5rem;
    }
}

    @media (max-width: 991px) {
    .booking-section {
    position: relative;
    padding: 1rem 2rem;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 55rem;
    width: 34rem;
    top: 1rem;
}
}
    @media (max-width: 575px) {
    .store-buttons-wrapper, .nav-buttons-wrapper {
        gap: .65rem;
        
    }
}

}
/* mobile response */


/* Booking */

.booking-section {
  position: relative;
  padding: 1rem 2rem;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  right: -25rem;
  top: 1rem;
    margin: 5rem auto 0;
    width: min(92%, 500px);
  
}

.booking-content {
  max-width: 600px;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: left;
  margin: 0 auto;
}

.booking-content h2 {
  font-size: 2.2rem;
  color: #111;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.booking-content h2 span {
  color: #3C1E7F;
}

.booking-content p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Booking Form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-form input,
.booking-form select {
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  background-color: #fff;
  transition: border-color 0.3s;
}

.booking-form input:focus,
.booking-form select:focus {
  border-color: #3C1E7F;
}

.booking-form button {
  padding: 0.9rem;
  background-color: #3C1E7F;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.booking-form button:hover {
  background-color: #3C1E7F;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .booking-content {
    padding: 2rem;
  }

  .booking-content h2 {
    font-size: 1.8rem;
  }
}

/* booking popup */

/* ========== Popup Overlay ========== */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}

/* ========== Review Popup Card ========== */

/* === Overlay === */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}

/* === Review Popup === */
.popup-card.booking-review-form {
  position: relative;
  background: #fff;
  color: #111;
  border-radius: 18px;
  padding: 2rem;
  width: 100%;
  max-width: 290px;
  max-height: 95vh; /* 👈 Limits the height */
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
}

/* close button */

.close-icon {
  position: absolute;
  top: 0.2rem;
  right: 1rem;
  font-size: 1.7rem;
  font-weight: bold;
  color: #470ccf;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}

.close-icon:hover {
  color: #3C1E7F;
}

/* close ends */

/* === Title === */
.booking-summary-title {
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  color: #3C1E7F;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

/* === Info Display === */
.input-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 1rem;
}

/* === Input Fields === */
.popup-card input[type="text"],
.popup-card input[type="tel"],
.popup-card input[type="date"],
.popup-card input[type="time"] {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* === Fare Box === */
.fare-box {
  background: #f0f0ff;
  border: 1px solid #d6d6ff;
  border-radius: 10px;
  padding: 0.6rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  color: #3C1E7F;
}

/* === Confirm Button === */
.confirm-button {
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(to right, #3C1E7F, #6c47d9);
  color: #fff;
  border: none;
  border-radius: 15px;
  width: 15rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.confirm-button:hover {
  background: linear-gradient(to right, #2a1462, #5534b9);
  transform: translateY(-2px);
}

/* === Success (Congratulations) Popup === */
.popup-card.success {
  background: #fff;
  padding: 1rem;
  text-align: center;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  line-height: 1.5rem;
}

.popup-card.success p {
  
  margin-top: 1.5rem;
}

/* Close button in Success popup */
.popup-card.success .confirm-button {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  width: 50%;
  background: #3C1E7F;
}

.popup-card.success .confirm-button:hover {
  background: #2a1462;
}

/* === Responsive Tweaks === */
@media (max-width: 480px) {
  .popup-card.booking-review-form,
  .popup-card.success {
    padding: 1.5rem 1rem;
    max-width: 100%;
  }

  .booking-summary-title {
    font-size: 1.2rem;
  }

  .confirm-button {
    font-size: 0.95rem;
    padding: 0.8rem;
  }
}


/* booking popup ends */


/* Hero ends */


/* download buttons */

.store-buttons-wrapper {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding-right: 1rem; /* optional: spacing from right edge */
  flex-wrap: wrap;
  top: 1rem;
  margin: 2rem 7rem 0 0;
}

.store-btn {
  border-radius: 0.25rem;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
  padding-left: 25px;
  padding-right: 25px;
  color: #3C1E7F;
  height: 40px;
  font-size: 0.7rem;
  line-height: 14px;
  letter-spacing: 1.2px;
  transition: 0.2s 0.1s;
  background-image: linear-gradient(50deg, #FFC107, #d1c6ec);
  border: none;
  overflow: hidden;

  

  -webkit-clip-path: polygon(0 0, 0 0, 100% 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 100%);
  clip-path: polygon(0 0, 0 0, 100% 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 100%);
}

.store-btn:hover {
  cursor: pointer;
  transition: all 0.3s ease-in;
  padding-right: 30px;
  padding-left: 30px;
}



/* Button styles ends*/

/* Connect Driver */

/* Main Section */
.driver-glass-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 6rem 2rem;
  margin-top: 7rem;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

/* Left content */
.driver-content-box {
  flex: 1 1 500px;
  max-width: 600px;
}

.driver-content-box h2 {
  font-size: 2.8rem;
  color: #3C1E7F;
  margin-bottom: 1rem;
}

.driver-content-box p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Right image */
.driver-image-glass {
  position: relative;
  flex: 1 1 400px;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 575px) {
  .driver-image-glass {
    margin-top: 40px; /* 👈 Adjust value as needed */
  }
}

.driver-image-glass img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  z-index: 2;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.glass-card-bg {
  position: absolute;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 30px;
  transform: rotate(6deg);
  z-index: 1;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

/* Floating form style */
.driver-glass-form.elegant {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 500px;
}

.input-wrap {
  position: relative;
  width: 100%;
}

.driver-glass-form.elegant input,
.driver-glass-form.elegant select {
  width: 100%;
  padding: 1rem 0.5rem 0.3rem;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  font-size: 1rem;
  color: #111;
  transition: border-color 0.3s;
  outline: none;
}

.driver-glass-form.elegant input:focus,
.driver-glass-form.elegant select:focus {
  border-bottom-color: #3C1E7F;
}

.driver-glass-form.elegant label {
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  font-size: 1rem;
  color: #888;
  pointer-events: none;
  transition: 0.2s ease;
}

.driver-glass-form.elegant input:focus + label,
.driver-glass-form.elegant input:not(:placeholder-shown) + label,
.driver-glass-form.elegant select:focus + .select-label,
.driver-glass-form.elegant select:valid + .select-label {
  top: -0.6rem;
  left: 0.4rem;
  font-size: 0.8rem;
  color: #3C1E7F;
  background-color: #f0f2f8;
  padding: 0 0.3rem;
}

.select-label {
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  font-size: 1rem;
  color: #888;
  transition: 0.2s ease;
  pointer-events: none;
  background-color: #f0f2f8;
}

.driver-glass-form.elegant button {
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  background: linear-gradient(to right, #3C1E7F, #6B2AE8);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  width: fit-content;
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-card {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.4s ease-out;
}

.popup-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #3C1E7F;
}

.popup-card p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.popup-card button {
  padding: 0.7rem 1.5rem;
  background-color: #3C1E7F;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup-card button:hover {
  background-color: #2a1660;
}

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

.agent-visuals {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .agent-visuals {
    height: 340px;
  }

  .agent-visuals img {
    width: 240px;
    height: 310px;
  }
}

@media (max-width: 480px) {
  .agent-visuals {
    height: 300px;
  }

  .agent-visuals img {
    width: 200px;
    height: 270px;
  }

  .img-primary {
    top: 10px;
    left: 10px;
  }

  .img-secondary {
    bottom: 10px;
    right: 10px;
  }
}

.hero-section, .hero {

  position: relative;
}

/* for putting the bus image upside */
@media (max-width: 575px) {
  .driver-glass-section {
    flex-direction: column; /* 👈 Stack image above content */
    text-align: center; /* Optional: center align for mobile */
  }

  .driver-image-glass {
    order: 0;
    margin-bottom: 20px; /* Space between image and content */
  }

  .driver-content-box {
    order: 1;
  }
}


/* for putting the bus image upside ends*/


/* Connect Driver ends */

/* responsive cards, and hero section */

/* =========================================================
   📱 SECOND RESPONSIVE PATCH  –  keeps hero cards visible,
   moves booking form, and re‑orders driver section
   ========================================================= */

/* ---------- 1.  HERO CARDS: never hide, just shrink ---------- */
@media (max-width: 991px) {
  /* scale both cards proportionally */
  .white-bg-shape,
  .yellow-bg-shape {
    width: 70vw;               /* responsive width */
    height: 70vw;              /* keep square ratio */
    max-width: 550px;
    max-height: 550px;
  }
  .white-bg-shape { top: -260px; left: -50px; }
  .yellow-bg-shape{ top: -280px; left: -90px; }
}

@media (max-width: 767px) {
 .white-bg-shape,
  .yellow-bg-shape {
    width: 100vw;
    height: 100vw;
    max-width: 100%;
    max-height: 100vw;
    left: 0 !important;
    top: -180px !important;
    transform: rotate(20deg);
  }

  .yellow-bg-shape {
    top: -200px !important;
    z-index: 1;
  }

  .white-bg-shape {
    z-index: 0;
  }

  .hero-content {
    position: relative;
    margin-top: 2rem;
    padding: 1rem;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.hero-section {
  overflow-x: hidden;
}


/* ---------- 2.  BOOKING FORM goes underneath hero cards ---------- */
@media (max-width: 991px) {
  /* turn booking-section into normal block flow */
  .booking-section {
    position: static !important;
    margin: 3rem auto 0;
    width: min(92%, 500px);
  }
  /* center inside */
 
}


/* ---------- 3.  DRIVER SECTION – bus image above form on phones ---------- */
@media (max-width: 767px) {
  .driver-section {
    display: flex;
    flex-direction: column;      /* stack */
    align-items: center;
    gap: 2rem;
  }
  .driver-bus-img   { order: -1; }  /* 🚍 bus first */
  .driver-form-wrap { width: 100%; }
}

/* responsive navigation and hero section ends */




/* Agents */

.agent-modern {
  padding: 80px 20px;
  background: linear-gradient(to right, #f1f4ff, #ffffff);
}

.agent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 100%;
  margin: auto;
  align-items: center;
}

.agent-visuals {
  position: relative;
  width: 100%;
  height: 400px; /* Increased height */
}

.agent-visuals img {
  border-radius: 24px;
  object-fit: cover;
  width: 280px; /* Slightly larger */
  height: 360px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.agent-visuals img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}



.img-primary {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-3deg);
}

.img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  transform: rotate(4deg);
}

.agent-info-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 575px) {
  .agent-info-box {
    margin-top: 70px; /* 👈 Adjust value as needed */
  }
}

.invite-text {
  color: #007bff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.main-title {
  font-size: 2.8rem;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.3;
}

.description {
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.agent-form-modern {
  width: 100%;
}

.input-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.input-row input {
  flex: 1;
  padding: 12px 14px;
  font-size: 1rem;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  transition: all 0.3s ease;
  outline: none;
}

.input-row input:focus {
  border-color: #3C1E7F;
  background-color: rgba(255, 87, 34, 0.05);
}

.modern-btn {
  background: linear-gradient(135deg, #3C1E7F, #440cbdb7);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #8859ec;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-box {
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
  animation: popup-in 0.3s ease;
}

@keyframes popup-in {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-box h2 {
  color: #007bff;
  margin-bottom: 15px;
}

.popup-box p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.popup-box button {
  background: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .agent-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .agent-visuals {
    height: 300px;
    text-align: center;
  }

  .agent-info-box {
    padding: 30px 20px;
  }

  .main-title {
    font-size: 2.2rem;
  }

  .input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .input-row input,
  .input-row .modern-btn {
    width: 100%;
  }
}

/* Agent ends */

/* download begins */

.download-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #3704a549, #f3edff);
}

/* Container */
.download-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 40px;
}

/* Left Content */
.download-left {
  flex: 1 1 480px;
}
.download-left h1 {
  font-size: 2.8rem;
  color: #1a1a1a;
  margin-bottom: 15px;
}
.download-left h1 span {
  color: #3C1E7F;
}
.sub {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 25px;
}
.highlight-points {
  list-style: none;
  margin-bottom: 30px;
}
.highlight-points li {
  font-size: 1rem;
  margin: 12px 0;
}
.highlight-points li i {
  color: green;
  margin-right: 8px;
}

/* App Store Buttons */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-top: 20px;
}
.store-badge {
  height: 52px;
  max-width: 180px;
  transition: transform 0.3s ease;
}
.store-badge:hover {
  transform: scale(1.08);
}

/* Right Side Image */
.download-right {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-card {
  position: relative;
  width: 300px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}
.app-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}
.glow {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #3d1e7f85 0%, transparent 70%);
  z-index: -1;
  filter: blur(60px);
  transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 991px) {
  .download-container {
    flex-direction: column;
    text-align: center;
  }
  .store-buttons {
    justify-content: center;
  }
  .download-left, .download-right {
    flex: 1 1 100%;
  }
}
@media (max-width: 575px) {
  .download-left h1 {
    font-size: 2.1rem;
  }
  .sub {
    font-size: 1rem;
  }
  .store-badge {
    width: 140px;
    height: 45px;
  }
}

/* download ends */

/* blogs */
/* Section Styling */
.blog-section {
  background: linear-gradient(to right, #f0f8ff, #ffffff);
  padding: 3rem 2rem;
  overflow: hidden;
}

/* Header */
.blog-header {
  text-align: center;
  margin-bottom: 2rem;
}
.blog-header h2 {
  font-size: 2.4rem;
  font-weight: bold;
  color: #222;
}
.blog-header .highlight {
  color: #3C1E7F;
}
.blog-header p {
  font-size: 1.1rem;
  color: #555;
}

/* Slider wrapper */
.slider-wrapper {
  position: relative;
}

/* Slider container (flex row scrollable) */
.slider-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 1rem 0;
}
.slider-container::-webkit-scrollbar {
  display: none;
}

/* Blog card */
.blog-card {
  flex: 0 0 auto;
  width: 280px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
}
.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.blog-content {
  padding: 1rem;
}
.blog-content h3 {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0.5rem;
}
.blog-content p {
  font-size: 0.9rem;
  color: #555;
}
.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: #3C1E7F;
  text-decoration: none;
  font-weight: bold;
}
.read-more:hover {
  text-decoration: underline;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 50%;
  cursor: pointer;
  color: #333;
  z-index: 5;
}
.slider-btn:hover {
  background: #3C1E7F;
  color: white;
}
.slider-btn.prev {
  left: 10px;
}
.slider-btn.next {
  right: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .blog-card {
    width: 250px;
  }
}
@media (max-width: 768px) {
  .blog-card {
    width: 80%;
  }
}
@media (max-width: 480px) {
  .blog-card {
    width: 90%;
  }
  .slider-btn {
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
  }
}



/* blogs ends */

/* popular routes */

/* ROUTE BOX SECTION STYLING */
.route-box-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f9fafe, #ffffff);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.route-box-section .highlight {
  color: #007BFF;
  font-weight: 600;
}

.route-container {
  max-width: 1200px;
  margin: auto;
}

.route-box {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  max-height: 500px;
  transition: all 0.3s ease-in-out;
}

/* SCROLLBAR STYLING */
.route-box::-webkit-scrollbar {
  width: 8px;
}
.route-box::-webkit-scrollbar-track {
  background: transparent;
}
.route-box::-webkit-scrollbar-thumb {
  background-color: #007bff80;
  border-radius: 10px;
}

/* MULTI-COLUMN ROUTE LIST */
.route-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 40px;
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

@media (min-width: 768px) {
  .route-list {
    columns: 3;
  }
}

@media (min-width: 1024px) {
  .route-list {
    columns: 4;
  }
}

/* SEARCH BAR */
#routeSearch {
  padding: 12px 20px;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin: 20px auto;
  display: block;
  font-size: 16px;
}


/* popular routes end */

/* footer */
.footer-glass {
  background: #3C1E7F;
  backdrop-filter: blur(12px);
  padding: 4rem 2rem 2rem;
  border-radius: 60px 60px 0 0;
  box-shadow: 0 -12px 50px rgba(0, 0, 0, 0.15);
  font-family: 'Montserrat', sans-serif;
  color: #222;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-block h2 {
  font-size: 28px;
  color: #fffb29;
  margin-bottom: 1rem;
}

.footer-block span {
  color: #ffffff;
}

.footer-block h3 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-block p,
.footer-block li {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.6;
}

.footer-block ul {
  list-style: none;
  padding: 0;
}

.footer-block li a {
  color: #fffb29;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-block  a {
  color: #fffb29;
  text-decoration: none;
  transition: color 0.3s;
}


.footer-block li a:hover {
  color: #ffffff;
  
}

.footer-tagline {
  font-weight: bold;
  font-size: 16px;
  margin-top: 1rem;
  color: #6B2AE8;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 14px;
  color: #ffffff;
  border-top: 1px solid #eee;
  padding-top: 1.2rem;
}

@media (max-width: 575px) {
  .footer-glass {
    border-radius: 40px 40px 0 0;
    padding: 3rem 1rem 1.5rem;
  }

  .footer-block h2 {
    font-size: 24px;
  }

  .footer-block h3 {
    font-size: 14px;
    color: white;
  }
}


/* footer ends */

@media (max-width: 420px) {
  .container,
  .footer-glass,
  .hero-content,
  .section,
  .header-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box;
  }
}

/* Responsive adjustments for smaller screens */

