@import url("https://fonts.googleapis.com/css?family=Raleway:900&display=swap");
@import url("https: //fonts.googleapis.com/css2?family=Readex+Pro:wght@100..700&display=swap");

   body {
        /* font-family: 'Readex Pro', Tahoma, Geneva, sans-serif; */
        font-family: system-ui;
       margin: 0;
       padding: 0;
       overflow-x: hidden;
       background-color: #f4f4f4;
    /* background-image: linear-gradient( white, #6e7e86); */
   }

   .container {
       padding: 20px;
   }


   .header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
       /* background-color: #6e7e86; */
       background-color: #565c5e;
        backdrop-filter: blur(100px);
       color: white;
       padding: 20px;
       font-size: 24px;
        height: auto;
        min-height: 10rem;
        transition: .5s;
        border-radius: 0 0 85% 85% / 30%;
        /* box-shadow: 0px 0px 5px 1px black; */
   }

.logoAndTextContainer {
    /* margin-left: 1rem; */
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: baseline;
    height: 60px;
}

.logoimg {
    transition: 0.5s;
}
.underheadercontainer{
    display: flex;
    justify-content: space-between;
}
#container {
    position: relative;
    margin-left: 5px;
    /* margin: auto; */
    width: 11rem;
    height: 30pt;
    top: 0;
    left: 1rem;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: url(#threshold) blur(0.6px);
}

#text1,
#text2 {
    position: absolute;
    width: 100%;
    display: inline-block;
    color: #565c5e;
    font-family: "Raleway", sans-serif;
    font-size: 20pt;

    text-align: left;

    user-select: none;
}
   .header .home-h1-container{
    margin-bottom: 20px;
   }
   .header .home-h1-container .home-h1{
    letter-spacing: 10px;
    color: #fff;
    width: 100%;
    white-space: nowrap;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.5s ease;
   }
   .header .home-h1-container .home-h1 .typewrite{
    text-decoration: none;
    color: #fff;
    cursor: default;
    font-weight: 600;
    text-shadow: 1px 4px 2px #202020; 
   }
   .search-box {
       align-items: center;
       justify-self: center;
       height: 50px;
       display: flex;
       cursor: pointer;
       padding: 10px 10px 10px 6px;
       background: #ffffff ;
       border-radius: 8px;
    transition: 0.8s;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.05);
   }

   /* .search-box:hover input {
    width: 400px;
    padding: auto;
   } */

   .search-box input {
       outline: none;
        width: 400px;
       /* flex: 1;
       width: 0; */
       border: none;
       font-weight: 500;
       transition: 0.8s;
       background: transparent;
       padding: 0;
   }

   .search-box i {
        background-color: #565c5e;
        color: #fff;
        /* background: transparent; */
        border: none;
        border-radius: 8px;
        padding: 11px 11px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        /* color: #565c5e; */
        transition: 0.8s;
        font-size: 18px;
        margin: 0;
   }
   .destination-marker {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    }

   /* .search-box i:hover {
        background-color: #565c5e;
        color: #fff;
   } */

        /* Responsive Design */
    @media (max-width: 1200px) {
        .header .home-h1-container .home-h1 {
                font-size: 2.5rem;
                letter-spacing: 7px;
            }
    }
    @media (max-width: 970px) {
    .header .home-h1-container .home-h1 {
            font-size: 2rem;
            letter-spacing: 6px;
        }
    }
    @media (max-width: 790px) {
        .header .home-h1-container .home-h1 {
            font-size: 1.5rem;
            letter-spacing: 4px;
        }

        .search-box {
            height: 40px;
            width: 350px;
            padding: 10px 10px 10px 5px;
        }
        
        .search-box input {
            width: 300px;
            padding: 0px 0px 0px 9px;
        }
        /* .search-box:hover {
            width: 350px;
        } */
        /* .search-box:hover input {
            width: 300px;
            padding: 0px 0px 0px 9px;
        } */
        .search-box i {
            padding: 9px 9px;
        }

    }

    @media (max-width: 565px) {

        #text1,
        #text2 {
            font-size: 15pt;
        }
        .logoimg {
            /* width: 35px; */
            height: 35px;
        }
        .header .home-h1-container .home-h1 {
                /* font-size: 1.2rem; */
                font-size: 1.5rem;
                letter-spacing: 2px;
                text-align: center;
                white-space: normal;
        }

        .search-box {
            width: 280px;
            transition: .8s;
            padding: 8px 10px;
        }

        .search-box i {
            padding: 7px 7px;
        }
        /* .search-box:hover {
            width: 280px;
        } */
        .search-box input {
            width: 230px;
        }
        
    }
    @media (max-width: 480px) {
        .header {
            padding: 10px;
            /* justify-content: end; */
        }

        .header .home-h1-container .home-h1 {
            font-size: 1.4rem;
            letter-spacing: 1px;
            white-space: normal;
        }

        .search-box {
            width: 240px;
            transition: .8s;
            padding: 6px 4px;
            /* padding-left: 15px; */
        }

        .search-box i {
            font-size: 15px;
            /* padding: 5px 5px; */
        }
        /* .search-box:hover {
            width: 240px;
        } */
        .search-box input {
            width: 200px;
        }
    }

/* ---------------------------------------------for all sections--------------------------------------------------------------- */

   .section {
       margin: 20px 0;
   }

/* --------------------------------------------------first section--------------------------------------------------- */
   .map-cont {
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
   }
   .map-cont .map-img {
       max-width: 100%;
       height: 20rem;
       display: flex;
       border-radius: 4rem;
       image-rendering: -webkit-optimize-contrast;
       align-self: center;
   }
@media (max-width: 790px) {
    .map-cont .map-img {
        height: unset;
    }
}

   .map-cont .map-img:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
   }
/* ---------------------------------------------second section----------------------------------------------------------- */
/* favorate destinations part */
.wrapper {
    height: 10rem;
    width: 100%;
    background: #555;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 1rem;
}

.box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    height: 100%;
    width: 25%;
    margin: 0;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}
/* .companies-logos{
    background-color: #f4f4f4 !important;
} */
.box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 970px) {
    .wrapper {
        height: 8rem;
    }
}
@media (max-width: 790px) {
    .wrapper {
        height: 7rem;
    }
}
@media (max-width: 565px) {
    .wrapper {
        height: 6rem;
    }
}
@media (max-width: 480px) {
    .wrapper {
        height: 5rem;
    }
}
/* -------------------------------------------third section------------------------------------------------------------- */
/* Recently Used Trip Container */
.recent-trip {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: box-shadow 0.2s ease;
}

/* Add a subtle hover effect for a pleasant, interactive feel */
.recent-trip:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

/* Trip Details */
.trip-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

/* Label & Location Lines */
.trip-line {
    display: flex;
    align-items: baseline;
    font-size: 0.95rem;
}

.trip-label {
    font-weight: 600;
    margin-right: 5px;
    color: #444;
}

.trip-location {
    color: #666;
}

/* Navigate Button */
.navigate-btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background-color: #ff7f50;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
    font-weight: 500;
}

.navigate-btn:hover {
    background-color: #ff9268;
}

/* --------------------------------------destinations page-------------------------------------- */

/* Container */
.page-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.page-title {
    font-size: 1.5rem;
    font-weight: bold;
}

/* All Destinations */
.all-destinations {
    margin-top: 1rem;
}

/* .search-box {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
} */

.search-input {
    flex: 1;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-button {
    margin-left: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: none;
    background: #007BFF;
    color: #fff;
    border-radius: 4px;
}

/* Media Queries for responsiveness */
@media (max-width: 600px) {
    .page-container {
        width: 95%;
    }

    .search-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

}
/* ------------------------------------------------------------------- */

.page-container .card {
    transition: .5s;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.page-container .card:hover {
        box-shadow: 0px 3px 9px rgba(0, 0, 0, 0.05);
}
/* --------- */


    .card-d {
        border-radius: 1rem;
        overflow: hidden;
        width: 100px;
        height: 100px;
    }
    @media (max-width: 491px) {
        .card-d {
            width: 70px;
            height: 70px;
        }
    }
    .contentd {
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
        box-shadow: 0px 0px 10px 1px #000000ee;
        border-radius: 5px;
    }

    .front {
        background-color: #565c5e;
        width: 100%;
        height: 100%;
        border-radius: 5px;
        overflow: hidden;
    }


    .front {
        color: white;
    }

    .front .front-content {
        position: absolute;
        width: fit-content;
        height: fit-content;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .front-content .badge {
        background-color: #00000055;
        /* display: none; */
        padding: 2px 10px;
        border-radius: 10px;
        backdrop-filter: blur(2px);
        width: 100%;
    }

    .description {
        box-shadow: 0px 0px 10px 5px #7a7a7a88;
        width: 100%;
        padding: 10px;
        background-color: #565c5e;
        backdrop-filter: blur(5px);
        border-radius: 5px;
    }

    .title {
        font-size: 11px;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .title p {
        width: 50%;
    }

    .card-footer {
        color: #ffffff88;
        margin-top: 5px;
        font-size: 8px;
    }

    .front .img {
        display: flex;
        align-items: end;
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

/* ----------------------------------------MapPagesStyles---------------------------------------- */
    

/* Custom Popup Styles */
.custom-popup {
    text-align: center;
    font-family: 'Inter', sans-serif;
    padding: 10px;
    max-width: 200px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .popup-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
  }
  
  .popup-text {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
  }
  
  .confirm-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
  }
  
  .confirm-btn:hover {
    background-color: #388E3C;
    transform: scale(1.05);
  }
  
  .confirm-btn:active {
    transform: scale(0.98);
  }
  .floating-button-container {
    position: fixed; /* Keeps it floating while scrolling */
    bottom: 20px; /* Adjusts how far from the bottom */
    left: 50%;
    transform: translateX(-50%);
    width: 90%; /* Responsive width */
    max-width: 400px; /* Prevents it from stretching too much */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensures it stays above other elements */
  }
  
  #confirm-destination-btn {
    background-color: #4CAF50;
    color: white;
    padding: 14px 28px;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  #confirm-destination-btn:hover {
    background-color: #3d8b40;
    transform: scale(1.05);
  }
  
  #confirm-destination-btn:active {
    transform: scale(0.95);
  }
  /* Hide zoom + compass buttons for driver map only */
  [data-controller="drivers-map"] .mapboxgl-ctrl-top-right {
    display: none !important;
  }

 
  
  
/* ----------------------------------------Footer---------------------------------------- */
.containersf {
    width: 90%;
    margin: 0 auto;
}

.footer-top {
    padding: 50px 0;
    border-radius: 25% 25% 0 0 / 5%;
    /* background: #6e7e86; */
    background-color: #565c5e;
}

.footer-top-menu ul {
    padding: 0%;
    margin: 0%;
}

.footer-top-menu ul li {
    list-style-type: none;
    margin-top: 20px;
    color: white;
}

.footer-top-menu ul li i {
    margin-right: 10px;
    font-size: 17px;
}

.footer-top-menu ul li .heading {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}

.footer-top-menu ul li .address {
    color: #ccc;
    padding-left: 10px;
    font-size: 15px;
}

.footer-top-menu ul li .email a {
    padding-left: 10px;
    color: #ccc;
    text-decoration: underline;
    transition: .3s all ease;
    font-size: 15px;
}

.footer-top-menu ul li .email a:hover {
    color: #ff7f50;
}

.footer-top-menu ul li .number a {
    color: #ff7f50;
    font-size: 20px;
    font-weight: 700;
    padding-left: 10px;
    text-decoration: none;
}

.footer-all-menu h2 {
    color: #ff7f50;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    position: relative;
    margin: 0%;
}

.footer-all-menu h2::before {
    position: absolute;
    content: '';
    width: 50px;
    height: 2px;
    background: #dbdbdb;
    opacity: .1;
    bottom: -19px;
    left: 0;
}

.footer-all-menu ul {
    padding: 0%;
    margin: 30px 0 0 0;
}

.footer-all-menu ul li {
    list-style-type: none;
    margin-top: 8px;
    transition: all .3s ease;
}

.footer-all-menu ul li a {
    text-decoration: none;
    font-weight: 400;
    color: #fff;
    font-size: 15px;
    transition: all .3s ease;
}

.footer-all-menu ul li i {
    font-size: 7px;
    margin: -2px 10px 0 0;
    color: #565c5e;
}

.footer-all-menu ul li:hover {
    color: #ff7f50;
}

.footer-all-menu ul li a:hover {
    color: #ff7f50;
    margin-left: 10px;
}

footer {
    padding: 20px 0;
    /* background: #6e7e86; */
    /* background-color: rgb(18 18 18 / 70%); */
    background: #565c5e;

}

footer p {
    margin: 0;
    padding: 0;
    color: #fff;
}
.logoimgFooter{
    /* width: 150px;
    height: 150px;
    background-color: #fff; */
    border-radius: 0.5rem;
}

/* .....................progress indicator (wizard)........................................... */

/* Trip Progress */
.trip-progress {
    width: 100%;
    max-width: 500px;
    margin: 40px auto;
    position: relative;
  }
  
  .progress-line {
    display: flex;
    justify-self: center;
    width: 26.5rem;
    height: 4px;
    background: #e0e0e0;
    position: absolute;
    top: 15px;
    left: 15%;
    right: 15%;
  }
  .vanimg {
    width: 40px;
    height: 40px;
}
  .progress-line-active {
    position: absolute;
    /* top: 15px; */
    max-width: 26.5rem;
    left: 0;
    height: 3px;
    background-color: #4CAF50;
    z-index: 0;
    transition: width 0.3s ease;
  }
  .step-circle.completed {
      background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
  }
  .progress-bus {
    position: absolute;
    top: -32px;
    left: 0;
    font-size: 28px;
    transform: scaleX(-1);
    transform: translateX(-50%) rotateY(0deg);
    animation: moveBus 8s linear infinite;
  }
  
  .progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
  }
  
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  
  .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .step-circle.active {
    background: #4CAF50;
    color: white;
  }
  
  .step-label {
    margin-top: 8px;
    font-size: 14px;
    color: #565c5e;
  }
  
  /* Animations */
  @keyframes moveBus {
    0% { 
      left: 0%;
      transform: translateX(-50%) rotateY(0deg);
    }
    49% { 
      transform: translateX(-50%) rotateY(0deg);
    }
    50% { 
      left: 100%;
      transform: translateX(-50%) rotateY(180deg);
    }
    99% { 
      transform: translateX(-50%) rotateY(180deg);
    }
    100% { 
      left: 0%;
      transform: translateX(-50%) rotateY(0deg);
    }
  }

@media (max-width: 515px) {
    .progress-line {
        width: 23.5rem;
    }

}
@media (max-width: 475px) {
    .progress-line {
    width: 21.5rem;
    }
}
@media (max-width: 440px) {
    .progress-line{
        width: 19.5rem;
    }
}
@media (max-width: 406px) {
    .progress-line {
        width: 17rem;
    }
}
@media (max-width: 365px) {
    .progress-line {
        width: 15rem;
    }
}
@media (max-width: 330px) {
    .progress-line {
        width: 13rem;
    }
}

