@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Spartan", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Global Styles */

h1 {
  font-size: 50px;
  line-height: 64px;
  color: #222;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  color: #222;
}

h4 {
  font-size: 20px;
  color: #222;
}

h6 {
  font-weight: 700;
  font-size: 12px;
}

p {
  font-size: 16px;
  color: #465b52;
  margin: 15px 0 20px 0;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

button.normal{
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.2s;
}

button.white {
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  color: #fff;
  background-color: transparent;
  cursor: pointer;
  border: 1px solid #fff;
  outline: none;
  transition: 0.2s;
}

body {
  width: 100%;
}

#header{
  display: flex; /*arrange icons in one row*/
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background-color: #E3E6F3;
  box-shadow: 0 5px 15px rgba(0, 0 , 0, 0.06);
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
}

#navbar{
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar li{
  list-style: none;
  padding: 0 20px;
  position: relative;
}

#navbar li a{
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  color: #1A1A1a;
  transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active { /*Added color when hover*/
  color:#088178
}

/* Logout link looks distinct from regular nav items */
#navbar li a.nav-logout {
  color: #c62828;
  border: 1.5px solid rgba(198,40,40,.35);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 16px;
  transition: background .2s, color .2s;
}
#navbar li a.nav-logout:hover {
  background: #c62828;
  color: #fff;
}
#navbar li a.nav-logout::after { display: none !important; }

#navbar li a.active::after, /* added underline when hover to button*/
#navbar li a:hover::after{
  content: "";
  width: 30%;
  height: 2px;
  background: #088178;
  position: absolute;
  bottom: -4px;
  left: 20px;
}

#mobile{
  display: none;
  align-items: center;

}      

#close{
  display: none;
}

#hero {
  background-color: #E3E6F3;
  background-image: url("img/wall3.png");
  height: 90vh;
  width: 100%;
  background-size: cover;
  background-position: top 25% right 0;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#hero h4{
  padding-bottom: 15px;
}

#hero h1{
  color: #088178;
}

#hero button{
  background-image: url("img/button3.png");
  background-color: transparent;
  background-position-x: 20px;
  color:#088178;
  border:0;
  padding: 14px 80px 14px 65px;
  background-repeat: no-repeat;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

#feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#feature .fe-box{
  width: 180px;
  text-align: center;
  padding: 25px 15px;
  box-shadow: 20px 20px 34px rgba(0, 0 , 0, 0.03);
  border: 1px solid #cce7d0;
  border-radius: 4px;
  margin: 15px 0;
}

#feature .fe-box:hover{
  box-shadow: 10px 10px 54px rgba(70, 62 , 221, 0.1)
}
#feature .fe-box img{
  width: 100%;
  margin-bottom: 10px;
}

#feature .fe-box h6{
  display: inline-block; /*reduces the space that is not needed*/
  padding: 9px 8px 6px 8px;
  line-height: 1;
  border-radius:4px;
  color: #088178;
  background-color: #fddde4;
}

#feature .fe-box:nth-child(2) h6{
  background-color: #cdebbc;
}

#feature .fe-box:nth-child(3) h6{
  background-color: #d1e8f2;
}

#feature .fe-box:nth-child(4) h6{
  background-color: #cdd4f8;
}

#feature .fe-box:nth-child(5) h6{
  background-color: #f6dbf6;
}

#feature .fe-box:nth-child(6) h6{
  background-color: #fff2e5;
}

#product1{
  text-align: center;
}

#product1 .pro-container{
  display: flex;
  justify-content: center;
  padding-top: 20px;
  flex-wrap: wrap;
}

#product1 .pro{
  width: 23%;
  min-width: 250px;
  padding: 10px 12px;
  border: 1px solid#cce7d0;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 20px 20px 30px rgba(0, 0 , 0, 0.02);
  margin: 15px 10px;
  transition: 0.2s ease;
  position: relative; /*Used in oder to use positon absolute in child classes*/
}

#product1 .pro:hover{
  box-shadow: 20px 20px 30px rgba(0, 0 , 0, 0.06);
  
}

#product1 .pro img{
  border-radius: 20px;
}

#product1 .pro .des{
  text-align: start;
  padding: 10px 12px;
}

#product1 .pro .des span{
  color: #606063;
  font-size: 12px;
}

#product1 .pro .des h5{
  padding-top: 7px;
  color: #1a1a1a;
  font-size: 14px;
}

#product1 .pro .des i{
  font-size: 12px;
  color: rgb(243,181,25);
}

#product1 .pro .des h4{
  padding-top: 7px;
  font-size: 15px;
  font-weight: 700;
  color: #088178;
}

#product1 .pro .cart{
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50px;
  background-color: #e8f6ea;
  font-weight: 500;
  color: #088178;
  border: 1px solid #cce7d0;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

#banner{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url("img/banner/b2.jpg");
  width: 100%;
  height: 40vh;
  background-size: cover;
  background-position: center;
}

#banner h4{
  color: #fff;
  font-size: 16px;
}

#banner h2{
  color: #fff;
  font-size: 30px;
  padding: 10px 0;
}

#banner h2 span{
  color: #ef3636;
}

#banner button:hover{
  background: #088178;
  color: #fff;
}

#sm-banner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#sm-banner .banner-box{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-image: url("img/banner/b17.webp");
  min-width: 580px;
  height: 50vh;
  background-size: cover;
  background-position: center;
  padding: 30px;  
}

#sm-banner .banner-box2{
  background-image: url("img/banner/b10.webp")
}

#sm-banner h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
}

#sm-banner h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

#sm-banner span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 15px;
}

#sm-banner .banner-box:hover button{
  background: #088178;
  border: 1px;
}

#banner3{
  display: flex;   /*arranges elements in one row*/
  justify-content: space-between; /*Adds space between elements*/
  flex-wrap: wrap;
  padding: 0 80px;
}

#banner3 .banner-box{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-image: url("img/banner/b7.webp");
  min-width: 30%;
  height: 30vh;
  background-size: cover;
  background-position: center;
  padding: 20px;  
  margin-bottom: 20px;
}

#banner3 .banner-box2{
  background-image: url("img/banner/b4.webp");
}

#banner3 .banner-box3{
  background-image: url("img/banner/b18.webp");
}

#banner3 h2{
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}

#banner3 h3{
  color: #ec544e;
  font-weight: 800;
  font-size: 15px;
}

#newsletter {
  display: flex;
  justify-content: space-between;
  flex-wrap: center;
  align-items: center;
  background-image: url("img/banner/b14.png");
  background-repeat: no-repeat;
  background-position: 20% 30%; /*from top is 20% from left is 30 %*/
  background-color: #041e42;
}

#newsletter h4{
  font-size: 22px;
  font-weight: 700;
  color:#fff;
}

#newsletter p{
  font-size: 14px;
  font-weight: 600;
  color:#818ea0;
}

#newsletter p span{
  color:#ffbd27;
}

#newsletter .form{
  display: flex;
  width: 40%;
}

#newsletter input{
  height: 3.125rem;
  padding: 0 1.25em;
  font-size: 14px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#newsletter button{
  background-color: #088178;
  color: #fff;
  white-space: nowrap;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

footer{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .col{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

footer .logo {
  margin-bottom: 30px;
}

footer h4{
  font-size: 14px;
  padding-bottom: 20px;
}

footer p{
  font-size: 13px;
  margin: 0 0 8px 0;
}

footer a{
  font-size: 13px;
  text-decoration: none;
  color: #222;
  margin-bottom: 10px;
}

footer .follow{
  margin-top: 20px;
}

footer .follow i {
  color: #465b52;
  padding-right: 4px;
  cursor: pointer;
}

footer .install .row img{
  border: 1px solid #088178;
  border-radius: 6px;
}
footer .install img{
  margin: 10px 0 15px 0;
}

.footer-logo-text {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #088178;
  text-decoration: none;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}

footer .follow i:hover,
footer a:hover{
  color: #088178
}

footer .copyright{
  width: 100%;
  text-align: center;
}
#page-header{
  background-image: url("img/banner/b1.webp");
  width: 100%;
  height: 40vh;
  background-size: cover;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 14px;
}

#page-header h2,
#page-header p {
  color: #fff;
}

#pagination{
  text-align: center;
}

#pagination a{
  text-decoration: none; /*remove underline*/
  background-color: #088178;
  padding: 15px 20px;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
}

#pagination a i {
  font-size: 16px;
  font-weight: 600;
}

/*Single product*/

#prodetails {
  display: flex;
  margin-top: 20px;
}

#prodetails .single-pro-image{
  width: 40%;
  margin-right: 50px;
}

.small-img-group {
  display: flex;
  justify-content: space-between;
}

.small-img-col{
  flex-basis: 24%;
  cursor: pointer;
}

#prodetails .single-pro-details{
  width: 50%;
  padding-top: 30px;
}

#prodetails .single-pro-details h4{
  padding: 40px 0 20px 0;
}

#prodetails .single-pro-details h2{
  font-size: 26px;
}

#prodetails .single-pro-details select{
  display: block;
  padding: 5px 10px;
  margin-bottom: 10px;
}

#prodetails .single-pro-details input{
  width: 50px;
  height: 47px;
  padding-left: 10px;
  font-size: 16px;
  margin-right: 10px;
}

#prodetails .single-pro-details button:focus{
  outline: none;
}

#prodetails .single-pro-details button{
  background: #088178;
  color: #fff;
}

#prodetails .single-pro-details span{
  line-height: 25px;
}

/*Blog Page*/
#page-header.blog-header{
  background-image: url("img/banner/b19.jpg");
}

#blog{
  padding: 150px 150px 0 150px;
}

#blog .blog-box{
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  padding-bottom: 90px;
}

#blog .blog-img{
  width: 50%;
  margin-right: 40px;
}

#blog img{
  width: 100%;
  height: 300px;
  object-fit: cover;
}

#blog .blog-details{
  width: 50%;
}

#blog .blog-details a{
  text-decoration: none;
  font-size: 11px;
  color: #000;
  font-weight: 700;
  position: relative;
  /*Attention transition element must be in parent*/
  transition: 0.3s; 
}
/*Adds the line behind continue reading*/
#blog .blog-details a::after{
  content: "";
  width: 50px;
  height: 1px;
  background-color: #000;
  /*Everytime we have to use position: relative in parent element*/
  position: absolute;
  top: 4px;
  right: -60px;
}

#blog .blog-details a:hover{
  color: #088178;
}

#blog .blog-details a:hover::after{
  background-color: #088178;
}

#blog .blog-box h1{
  position: absolute;
  top: -40px;
  left: 0;
  font-size: 70px;
  font-weight: 700;
  color: #c9cbce;
  z-index: -9; /*use any negative value just to put it behind image*/
}

/*About page*/
#page-header.about-header{
  background-image: url(../img/about/banner.png);
}

#about-head {
  display: flex;
  align-items: center;
}

#about-head img{
  width: 50%;
  height: auto;
}

#about-head div{
  padding-left: 40px;
}


/*Contact page*/
#contact-details{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#contact-details .details{
  width: 40%;
}
#contact-details .details span,
#form-details form span{
  font-size: 12px;
}
#contact-details .details h2,
#form-details form h2{
  font-size: 26px;
  line-height: 35px;
  padding: 20px 0;
}
#contact-details .details h3{
  font-size: 16px;
  padding-bottom: 15px;
}
#contact-details .details li{
  list-style: none; /*removes bullet points*/
  display: flex; /*aligns them in one row*/
  padding: 10px 0;
}
#contact-details .details li i{
  font-size: 14px;
  padding-right: 22px;
}
#contact-details .details li p{
  font-size: 14px;
  margin: 0;
}
#contact-details .map{
  width: 55%;
  height: 400px;
}
#contact-details .map iframe{
  width: 100%;
  height: 400px;
}

#form-details{
  display: flex;
  justify-content: space-between;
  margin: 30px;
  padding: 80px;
  border: 1px solid #e1e1e1; 
}

#form-details form{
  width: 65%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#form-details form input,
#form-details form textarea{
  width: 100%;
  padding: 12px 15px;
  outline: none;
  margin-bottom: 20px;
  border: 1px solid #e1e1e1;
}
#form-details form button{
  background-color: #088178;
  color: #fff;
}
#form-details .people div{
  padding-bottom: 25px;
  display: flex; /*Used to display 2 rows in one*/
  align-items: flex-start; /*And this*/
}
#form-details .people div img{
  width: 65px;
  height: 65px;
  object-fit: cover;
  margin-right: 15px;
}
#form-details .people div p{
  margin: 0;
  font-size: 13px;
  line-height: 25px;
}
#form-details .people div p span{
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

/*card page*/
#cart{
  overflow-x: auto;
}

#cart table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  white-space: nowrap;
}
#cart table img{
  width: 70px;
}
#cart table td:nth-child(1){
  width: 100px;
  text-align: center;
}
#cart table td:nth-child(2){
  width: 150px;
  text-align: center;
}
#cart table td:nth-child(3){
  width: 250px;
  text-align: center;
}
#cart table td:nth-child(4),
#cart table td:nth-child(5),
#cart table td:nth-child(6){
  width: 150px;
  text-align: center;
}

#cart table td:nth-child(5) input{
  width: 70px;
  padding: 10px 5px 10px 15px;
}
#cart table thead{
  border: 1px solid #e2e9e1;
  border-left: none;
  border-right: none;
}
#cart table thead td{
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  padding: 18px 0
}
#cart table tbody tr td{
  padding-top: 15px;
}
#cart table tbody td{
  font-size: 13px;
}
#cart-add {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#coupon{
  width: 50%;
  margin-bottom: 30px;
}
#coupon h3,
#subtotal h3{
  padding-bottom: 15px;
}
#coupon input{
  padding: 10px 20px;
  outline: none;
  width: 60%;
  margin-right: 10px;
  border: 1px solid #e2e9e1;
}
#coupon button,
#subtotal button{
  background-color: #088178;
  color: #fff;
  padding: 12px 20px;
}
#subtotal{
  width: 50%;
  margin-bottom: 30px;
  border: 1px solid #e2e9e1;
  padding: 30px;
}
#subtotal table{
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

#subtotal table td{
  width: 50%;
  border: 1px solid #e2e9e1;
  padding: 10px;
  font-size: 13px;
}
/* ── Hero Search ─────────────────────────────────────────── */
#hero-search {
  margin: 24px auto 0;
  max-width: 920px;
  width: 100%;
}

/* Tabs row */
.hero-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: -1px;
  padding: 0 4px;
  flex-wrap: wrap;
}

.hero-tab {
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.hero-tab:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero-tab.active {
  background: rgba(255, 255, 255, 0.95);
  color: #088178;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

/* Glass card */
.hero-search-card {
  background: rgba(10, 22, 45, 0.62);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px 20px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.hero-search-row-location {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
  margin-bottom: 2px;
}

.hero-field {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 160px;
}

.hero-field-full {
  flex: 1 1 100%;
}

.hero-field label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 5px;
}

.hero-field input,
.hero-field select {
  padding: 9px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #1a1a1a;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

.hero-field input::placeholder {
  color: #888;
}

.hero-field input:focus,
.hero-field select:focus {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(8, 129, 120, 0.6);
  box-shadow:
    inset 0 1px 3px rgba(0,0,0,0.06),
    0 0 0 3px rgba(8, 129, 120, 0.18);
}

.hero-search-button {
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a9e94 0%, #088178 100%);
  color: #fff;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 130px;
  box-shadow: 0 4px 14px rgba(8, 129, 120, 0.45);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.hero-search-button:hover {
  background: linear-gradient(135deg, #0bb3a8 0%, #0a9e94 100%);
  box-shadow: 0 6px 18px rgba(8, 129, 120, 0.55);
  transform: translateY(-1px);
}

.hero-search-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(8, 129, 120, 0.4);
}

#search-strip {
  padding: 10px 40px;
  background-color: #e3e6f3;
  border-bottom: 1px solid #d1d5db;
}

#search-strip.section-p1 {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Inner scroll container */
.filter-scroll {
  display: flex;
  align-items: center;
  gap: 12px;

  /* keep stripe height fixed */
  min-height: 70px;
  max-height: 70px;

  /* horizontal scrolling only when needed */
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.filter-item {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 130px;
  white-space: normal;
}

.filter-wide {
  min-width: 220px;
}

.filter-item label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 4px;
}

.filter-item input,
.filter-item select {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  outline: none;
  background-color: #fff;
  color: #222;
}

.filter-item input:focus,
.filter-item select:focus {
  border-color: #088178;
  box-shadow: 0 0 0 1px rgba(8, 129, 120, 0.25);
}

.filter-submit {
  min-width: 120px;
}

#filter-submit-btn {
  border-radius: 999px;
  padding-inline: 18px;
}

.rating-badge {
    font-size: 0.8rem;
    margin-left: 0.4rem;
    opacity: 0.8;
}

.trip-count {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    color: #555;
}

/* For host cards layout */
.host-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 !important;
    overflow: hidden;
}

.host-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0;
}

.host-thumb img {
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: top center;
}

.host-des {
    flex: 1;
    padding: 10px 12px;
    text-align: start;
}

.pro-container .pro img.car-photo { /*used to keep photos same size*/
            width: 100%;
            height: 200px;      /* set the height you like */
            object-fit: cover;  /* keep landscape look, crop overflow */
            display: block;
        }

.rating-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

.rating-row img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.rating-badge {
    font-size: 14px;
    font-weight: 500;
}

/* =========================
   Pickup / Drop-off Section
   ========================= */

.pickup {
  padding: 16px 0;
}

.auto__container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.phone-row{
    display:flex;
    gap:10px;
    width:100%;
    margin:10px 0;
}

/* Use a single consistent height that matches your other form fields */
.phone-row .phone-prefix,
.phone-row .phone-local{
    height:46px;           /* adjust if your form inputs are different */
    padding:0 15px;
    font-size:14px;        /* match your input font-size */
    line-height:47px;      /* helps select text vertical alignment */
    box-sizing:border-box;
}

/* widths like before */
.phone-row .phone-prefix{ width:35%; }
.phone-row .phone-local{  width:65%; line-height:normal; } /* input doesn't need 47px line-height */

.dashboard-grid{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  padding: 10px 0 0;
}

/* Make the whole card clickable */
.dashboard-card{
  text-decoration: none;
  display: block;
}

/* Button/card look */
.dashboard-card .buttontype{
  margin: 0;
  padding: 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Hover */
.dashboard-card:hover .buttontype{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.09);
}

/* Small arrow indicator */
.dashboard-card .buttontype::after{
  content: "→";
  opacity: 0.85;
  font-weight: 800;
}

/* Special states */
.dashboard-card.required .buttontype{
  border-color: rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.12);
}

.dashboard-card.logout .buttontype{
  border-color: rgba(220, 53, 69, 0.35);
  background: rgba(220, 53, 69, 0.12);
}

/* ================================================
   PROFILE PAGE  (light-background theme)
   ================================================ */

.profile-page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 60px;
}

@media (max-width: 960px) {
  .profile-page-wrap { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 480px) {
  .profile-page-wrap { padding-left: 14px; padding-right: 14px; }
}

/* Flash messages */
.profile-flash {
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: .93rem;
}
.profile-flash--ok  { background: #e8f5e9; border: 1px solid #81c784; color: #2e7d32; }
.profile-flash--err { background: #fdecea; border: 1px solid #ef9a9a; color: #c62828; }

/* ---- Header card ---- */
.profile-header-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.profile-avatar-wrap { flex-shrink: 0; }

.profile-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #088178;
  display: block;
}

.profile-avatar--initials {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #088178;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}

.profile-header-info { flex: 1; min-width: 0; }
.profile-header-info h3 { margin: 0 0 3px; font-size: 1.15rem; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-header-info p  { margin: 0 0 8px; color: #666; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.profile-role-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.profile-role-badge--owner    { background: #e0f2f1; color: #00695c; border: 1px solid #80cbc4; }
.profile-role-badge--customer { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }

.profile-back-btn {
  margin-left: auto;
  flex-shrink: 0;
  padding: 9px 18px;
  border: 1.5px solid #c8c8c8;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  color: #333;
  background: #f5f5f5;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.profile-back-btn:hover { background: #eaeaea; border-color: #aaa; }

/* ---- Tabs ---- */
.profile-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0;
  scrollbar-width: none;
}
.profile-tabs::-webkit-scrollbar { display: none; }

.profile-tab {
  padding: 10px 20px;
  border-radius: 8px 8px 0 0;
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  color: #666;
  border: 1.5px solid transparent;
  border-bottom: none;
  margin-bottom: -2px;
  white-space: nowrap;
  background: transparent;
  transition: background .15s, color .15s;
}

.profile-tab.active {
  background: #fff;
  border-color: #e0e0e0;
  border-bottom-color: #fff;
  color: #088178;
}

.profile-tab:hover:not(.active) {
  background: #f5f5f5;
  color: #333;
}

/* ---- Content card ---- */
.profile-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0 12px 12px 12px;
  padding: 28px 28px 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.profile-section-title {
  margin: 0 0 22px;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 12px;
}

/* ---- Field grid ---- */
.profile-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.pf-group { display: flex; flex-direction: column; gap: 6px; }
.pf-group--full { grid-column: 1 / -1; }

.pf-group label {
  font-size: .78rem;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.pf-group input,
.pf-group select,
.pf-group textarea {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #d0d0d0;
  background: #fafafa;
  color: #1a1a1a;
  font-size: .93rem;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}

.pf-group input:focus,
.pf-group select:focus,
.pf-group textarea:focus {
  outline: none;
  border-color: #088178;
  box-shadow: 0 0 0 3px rgba(8,129,120,0.12);
  background: #fff;
}

.pf-group input::placeholder { color: #aaa; }
.pf-group textarea { resize: vertical; min-height: 100px; }

/* Phone row inside pf-group */
.pf-group .phone-row {
  display: flex;
  gap: 8px;
}
.pf-group .phone-prefix {
  width: 100px;
  flex-shrink: 0;
}
.pf-group .phone-local { flex: 1; }

/* Narrow form (password + photo tabs) */
.profile-form-narrow {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Hint text inside labels */
.pf-hint {
  font-weight: 400;
  font-size: .82em;
  opacity: .6;
  text-transform: none;
  letter-spacing: 0;
}

/* Photo preview row */
.profile-photo-preview {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.profile-avatar--lg {
  width: 100px !important;
  height: 100px !important;
  font-size: 2.4rem !important;
}

.profile-photo-label {
  margin: 0 0 4px;
  font-weight: 600;
  color: #1a1a1a;
}

.profile-photo-hint {
  margin: 0;
  color: #888;
  font-size: .88em;
}

/* Save button */
.profile-save-btn {
  padding: 11px 34px;
  font-size: .93rem;
  font-weight: 700;
  background: #088178;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.profile-save-btn:hover  { background: #066e65; transform: translateY(-1px); }
.profile-save-btn:active { transform: translateY(0); }

/* Photo upload input */
.profile-photo-input {
  padding: 9px 12px;
  border: 1.5px solid #d0d0d0;
  border-radius: 8px;
  background: #fafafa;
  width: 100%;
  font-size: .9rem;
  font-family: inherit;
  cursor: pointer;
}

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .profile-field-grid {
    grid-template-columns: 1fr;
  }
  .profile-card {
    padding: 20px 16px 24px;
    border-radius: 0 0 12px 12px;
  }
  .profile-header-card {
    flex-wrap: wrap;
    padding: 18px 16px;
    gap: 14px;
  }
  .profile-back-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
    order: 3;
  }
  .profile-header-info h3 { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  /* Page header shorter on phone */
  #page-header { height: 24vh; }

  /* Tabs: wrap to 2×2 grid so all are visible without scrolling */
  .profile-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    border-bottom: none;
    gap: 6px;
  }
  .profile-tab {
    flex: 1 1 calc(50% - 6px);
    min-width: calc(50% - 6px);
    text-align: center;
    border-radius: 8px;
    border: 1.5px solid #d8d8d8;
    margin-bottom: 0;
    padding: 9px 8px;
    font-size: .82rem;
  }
  .profile-tab.active {
    background: #e0f2f1;
    border-color: #80cbc4;
  }
  /* Profile card top corners not squared off since no bottom border on tabs */
  .profile-card { border-radius: 12px; }

  .profile-section-title { font-size: .95rem; }

  /* Prefix wide enough to show e.g. "+355" */
  .pf-group .phone-prefix { width: 100px; }

  /* Profile header card: smaller avatar, text gets full width */
  .profile-header-card {
    gap: 10px;
    padding: 14px 12px;
    align-items: flex-start;
  }
  .profile-avatar,
  .profile-avatar--initials {
    width: 54px !important;
    height: 54px !important;
    font-size: 1.2rem !important;
  }
  .profile-header-info h3 {
    font-size: .97rem;
    white-space: normal;
  }
  .profile-header-info p {
    font-size: .8rem;
    white-space: normal;
  }
  .profile-card {
    padding: 16px 12px 20px;
  }
  /* Reduce gap between sections */
  .profile-page-wrap > * + * {
    margin-top: 10px;
  }
}

/* <= 1180px */
@media (max-width: 1180px) {
  .auto__container {
    padding: 0 30px;
  }
}

.pickup__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;

  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  position: relative;
}

/* <= 1180px */
@media (max-width: 1180px) {
  .pickup__inner {
    padding: 24px;
    gap: 24px;
  }
}

.pickupItem {
  width: calc(50% - 20px);
  max-width: 535px;
}

.pickupItem__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;

  margin-bottom: 32px;
}

/* <= 1180px */
@media (max-width: 1180px) {
  .pickupItem__top {
    margin-bottom: 24px;
  }
}

.pickupItem__date {
  width: calc(50% - 5px);
  align-self: flex-start;
}

.pickupItem__location {
  width: calc(50% - 5px);
}

.sm {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.65);
}

.pickupItem__date h2 {
  font-size: 20px;
  line-height: 1.2;
  margin-top: 6px;
}

.pickupItem__location h5 {
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.car-info-card{
  margin-top: 1.2rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 1rem 3.25rem;
  background: #fff;
}

.car-info-card h3{
  margin: 0 0 0.75rem 0;
}

.car-features-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-bottom: 0.75rem;
}

.car-feature-item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #333;
}

.car-feature-item i{
  color: #1aa64b; /* green tick */
  font-size: 1rem;
}

.car-description{
  color: #444;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.car-muted{
  color: #777;
  font-size: 0.9rem;
  margin: 0;
}

/* =========================
   Extras + Price Summary
   ========================= */
.addons-section { margin-top: 1.2rem; }

.addons-wrap{
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 20px;
}

.addons-card{
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.addons-card h3{ margin: 0 0 12px 0; }

.addon-item{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
}
.addon-item:last-child{ border-bottom: none; }

.addon-item input{ margin-top: 3px; }

.addon-title{ font-weight: 600; }
.addon-sub{ font-size: 0.85rem; color: #666; margin-top: 2px; }

.insurance-details{
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #f7f7f7;
  border: 1px solid rgba(0,0,0,0.06);
  display: none;
}
.insurance-details.active{ display: block; }

.insurance-details .line{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 6px;
  font-size: 0.92rem;
}
.insurance-details .line:first-child{ margin-top: 0; }

.insurance-details i{
  margin-top: 2px;
  color: #1aa64b;
}

.price-breakdown .row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
}
.price-breakdown .row small{ color: #666; font-weight: 400; }

.price-breakdown hr{
  border-top: 1px solid rgba(0,0,0,0.08);
  margin: 10px 0;
}

.price-breakdown .total{
  font-weight: 700;
  font-size: 1.05rem;
}


/* ---- Tablet header: hamburger nav (800–1024px) ---- */
@media (min-width: 800px) and (max-width: 1024px) {
  #header { padding: 20px 40px; }

  #navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 300px;
    background-color: #e3e6f3;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
    padding: 80px 0 0 10px;
    transition: 0.3s;
    z-index: 1000;
  }
  #navbar.active { right: 0; }
  #navbar li { margin-bottom: 25px; }

  #mobile {
    display: flex;
    align-items: center;
  }
  #mobile i {
    color: #1a1a1a;
    font-size: 24px;
    padding-left: 20px;
  }

  #close {
    display: initial;
    position: absolute;
    top: 30px;
    left: 30px;
    color: #222;
    font-size: 24px;
  }
}

/* Hide scrollbar visually on desktop (optional) */
@media (min-width: 800px) {
  .filter-scroll {
    scrollbar-width: none;          /* Firefox */
  }
  .filter-scroll::-webkit-scrollbar {
    display: none;                  /* Chrome / Safari */
  }
  .addons-wrap{ grid-template-columns: 1fr; }
}

@media (max-width:799px){

  .section-p1 {
    padding: 40px 40px;
  }

  #navbar{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 300px;
    background-color: #e3e6f3;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
    padding: 80px 0 0 10px;
    transition: 0.3s; 
  }
  #navbar.active{
    right: 0px;
  }
  #navbar li{
   margin-bottom: 25px;
  }

  #mobile{
    display: flex;
    align-items: center;
  
  }  

  #mobile i{
    color: 1a1a1a;
    font-size: 24px;
    padding-left: 20px;
  }
  
  #close{
  display: initial;
  position: absolute;
  top: 30px;
  left: 30px;
  color: #222;
  font-size: 24px;
  }

  #lg-bag{
    display: none;
  }
  #hero {
    background-color: #E3E6F3;
    height: 100vh;
    padding: 0 80px;
    background-position: top 30% right 30%;
}

#feature {
  justify-content: center;
}

#feature .fe-box {
  margin: 15px 15px;
}

#product1 .pro-container {
  justify-content: center;
}

#product1 .pro {
  margin: 15px; /* 15px margin from every side*/
}

#banner {
  height: 20vh;
}
#sm-banner .banner-box {
  min-width: 100%;
  height: 30vh;
}
#banner3 {
  padding: 0 40px;
}
#banner3 .banner-box {
  width: 28%;
}
#newsletter .form {
  width: 70%;
}
/*content page*/
#form-details {
  padding: 40px;
}
#form-details form {
  width: 50%;
}
#hero-search {
    margin: 20px auto 0;
  }

  .hero-search-card {
    border-radius: 12px;
    padding: 14px;
  }

  .hero-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-field,
  .hero-field-full {
    min-width: 100%;
  }

  .hero-search-button {
    width: 100%;
  }

   #search-strip {
    padding: 8px 15px;
  }

  .filter-scroll {
    -webkit-overflow-scrolling: touch;
  }

  .filter-item {
    min-width: 160px;
  }

  .auto__container {
    padding: 0 16px;
  }

  .pickup__inner {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }

  .pickupItem {
    width: 100%;
    max-width: none;
  }

  .pickupItem__top {
    margin-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .pickupItem__date,
  .pickupItem__location {
    width: 100%;
  }

  .pickupItem__date h2 {
    font-size: 18px;
  }

  .pickupItem__location h5 {
    font-size: 15px;
  }
  .car-features-list{
    grid-template-columns: 1fr;
  }

}

@media (max-width: 477px) {
  .section-p1 {
    padding: 20px;
  }
  #header {
    padding: 10px 30px;
  }
  h2 {
    font-size: 32px;
  }
  h1 {
    font-size: 17px;
    line-height: 23px;
  }
  #hero {
    padding: 0 20px;
    background-position: 55%;
  }
  #feature {
    justify-content: space-between;
   }
  #feature .fe-box {
    width: 155px;
    margin: 0 0 15px 0; /*top right bottom left*/
  }
  #product1 .pro {
    width: 100%;
  }
  #banner {
    height: 40vh;
  }
  #sm-banner .banner-box {
    height: 40vh;
  }
  #sm-banner .banner-box2 {
    margin-top: 20px;
  }
  #banner3 {
    padding: 0 20px;
  }
  #banner3 .banner-box {
    width: 100%;
  }
  #newsletter {
    padding: 24px 16px;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  #newsletter .newstext {
    text-align: center;
  }
  #newsletter .newstext h4 {
    font-size: 18px;
  }
  #newsletter .form {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  #newsletter input {
    width: 100%;
    border-radius: 8px;
    border-right: 1.5px solid #ccc;
  }
  #newsletter button {
    width: 100%;
    border-radius: 8px;
  }
  footer .copyright {
    text-align: center;
  }
  /* Host card mobile — keep vertical, just shrink photo height */
  .host-thumb {
    height: 160px;
  }
  .host-des {
    padding: 10px 12px;
  }
  .host-des h5 {
    font-size: .93rem;
    margin-bottom: 2px;
  }
  /* Section spacing */
  .section-p1 {
    padding: 24px 16px;
  }
  .section-m1 {
    margin-bottom: 16px;
  }
  /* Product cards */
  #product1 .pro {
    width: 100%;
    margin: 8px 0;
  }
  #product1 .pro-container {
    gap: 0;
  }

/*Single product*/
#prodetails {
  display: flex;
  flex-direction: column;
}
#prodetails .single-pro-image {
  width: 100%;
  margin-right: 0px;
}
#prodetails .single-pro-details {
  width: 100%;
}

/*Blog Page*/
#blog{
  padding: 100px 20px 0 20px;
}
#blog .blog-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#blog .blog-img {
  width: 100%;
  margin-right: 0px;
  margin-bottom: 30px;
}
#blog .blog-details {
  width: 100%;
}

/*About page*/
#about-head {
  flex-direction: column;
}
#about-head img {
  width: 100%;
  margin-bottom: 20px;
}
#about-head div {
  padding-left: 0px;
}
/*Content page*/
#contact-details {
  flex-direction: column;
}
#contact-details .details {
  width: 100%;
  margin-bottom: 30px;
}
#contact-details .map {
  width: 100%;
  height: 400px;
}
#form-details {
  margin: 10px;
  padding: 30px 10px;
  flex-wrap: wrap;
}
#form-details form{
  width: 100%;
  margin-bottom: 30px;
}
/*Cart page*/
#cart-add {
  flex-direction: column;
}
#coupon {
  width: 100%;
}
#subtotal {
  width: 100%;
  padding: 20px;
}
#hero-search {
    margin-top: 16px;
  }

  .hero-search-card {
    padding: 12px;
  }
  #search-strip {
    padding-inline: 10px;
  }
  #top-bar {
    display: none !important;
  }

}

