:root{
    --primary-color: #3d52ad;
    /* --primary-color: #8860d0; */
    /* --primary-color: #4a2574; */
    --secondary-color: #e7e0e0;
}

*{
    padding: 0;
    box-sizing: border-box;
    margin: 0;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #464848;

}

html{
    scroll-behavior: smooth;
}

.topbar-container, .topbar-phonecontainer, .topbar-emailcontainer{
    display: flex;
    padding: 10px;
    gap: 10px;
    font-size: min(1rem, 1.5vw);
}

.topbar-container{
 padding-left: 6.5rem;   
}

.nav-container{
    display: flex;
    justify-content: space-between;
    /* gap: clamp(1rem, 28vw, 900px); */
    padding: 10px 6.8rem;
    /* border: 1px solid black; */
}
.nav-links{
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 50vw;
}

.nav-links li{
    padding: 0 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    width: max-content;
}
.nav-links li a{
    text-decoration: none;
    /* color: var(--primary-color); */
}

.active{
    color: var(--primary-color);
}
.banner{
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    height: max(22rem, 50vw);

}
.banner img{
    width: 100%;
    height: auto;
}

.phone-ref-container{
    height: 3rem;
    border-radius: 50%;
    width: 3rem;
    z-index: 15;
    display: flex;
    background-color: white;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 5.5rem;
    cursor: pointer;
    right: 1.5rem;
    /* border: 1px var(--primary-color) solid; */
}
.whatsapp-ref-container{
    height: 3rem;
    border-radius: 50%;
    width: 3rem;
    display: flex;
    background-color: white;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 1.5rem;
    z-index: 15;
    cursor: pointer;
    right: 1.5rem;
    /* border: 1px var(--primary-color) solid; */
}
.whatsapp-ref-container i{
    color: green;
    font-size: 3rem;
}

.phone-ref-container i{
    color: var(--primary-color);
    font-size: 1.8rem;
}
main{
    padding:  2rem;
}

.logo{
    width: 400px;
    display: flex;
    /* height: 50px; */
}
.logo img{
    width: 70px;
    height: auto;
}
.logo div{
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-dropdown{
    width: 100%;
    text-align: end;
    background-color: white;
    z-index: 20;
    position: fixed;
    right: 0;
    padding:   1rem;
    display: none;

}

.banner img{
    width: 100%;
    height: auto;
}
.menu-btn-container{
    display: none;
    align-items: center;
    cursor: pointer;
}
.menu-btn-container button{
    border: none;
    background-color: transparent;
    
}
.menu-btn-container button i{
    font-size: 1.5rem;
    color: var(--primary-color);
}
b{
    color: var(--primary-color);
}

.rental-section{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: max(2rem, 15vh);
    flex-direction: column;

}
h2{
    font-size: min(5rem, 3.5vw);
    font-weight: 700;
}
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background: white;
    padding: 1.7rem 2rem ;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
  }


.nav.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }

  .nav.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }


  .carousel-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
  }

  .rental-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
  }

  .rental-container::-webkit-scrollbar {
    display: none;
  }

  .rental-card {
    min-width: 250px;
    flex: 0 0 auto;
    width: 27vw;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 20px;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  .rental-card-contents{
    width: 26vw;
    min-width: 236px;
    border-radius: 10px;
    
  }
  .rental-card-contents:hover{
    box-shadow: 0 0 20px 5px var(--primary-color);
    
  }
  /* .rental-card:hover {
    transform: scale(1.05);
    
  } */
   .rental-card-img{
    width: 100%;
    height: 10rem;
    object-position: center;
    object-fit: cover;
    overflow: hidden;

   }

  .rental-card-img img {
    width: 100%;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
  }

  .rental-card-content {
    padding: 16px;
    background-color: #ddd;
    display: flex;
    border-radius: 0 0 10px 10px;
    gap: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .rental-card-content h3{
    font-size: 1.4rem;
    font-weight: 600;
  }
  .rental-card-content .price{
    background-color: white; 
    padding: 0.5rem; 
    border-radius: 20px; 
    text-align: center;
    /* font-size: 1.5rem;  */
    color: var(--primary-color); 
    font-weight: 700;
  }
  .rental-card-content .details{
    display: flex;
    width: 100%;
    justify-content: space-around;
  }
  .rental-card-content a{
    background-color: var(--primary-color);
    width: 100%;
    color: white;
    text-align: center;
    padding: 0.7rem;
    border-radius: 1.5rem;
  }

  .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* background-color: rgba(0, 0, 0, 0.5); */
    background-color: var(--primary-color);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
    height: 2.5rem;
    width: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
  }

  .carousel-button.prev {
    left: 10px;
  }

  .carousel-button.next {
    right: 10px;
  }

  .reviews-section {
    padding: 40px 20px;
    text-align: center;
  }

  

  

  .reviews-section p {
    max-width: 700px;
    margin: 10px auto 40px;
    color: #666;
    font-size: 16px;
  }

  .review-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

 .review-cards .card {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 400px;
    padding: 20px;
    text-align: left;
    position: relative;
  }

 .review-cards .card img.stars-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
  }

 .review-cards .profile {
    display: flex;
    align-items: center;
    gap: 15px;
  }

 .review-cards .profile .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #0af, #66f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
  }

 .review-cards .profile .profile-details h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
  }

 .review-cards .profile .profile-details p {
    margin: 2px 0;
    font-size: 14px;
    color: #777;
  }

 .review-cards .profile .profile-details .stars {
    color: gold;
    margin: 10px 0;
  }

  .review-text {
    font-size: 15px;
    color: #444;
    margin-top: 10px;
  }
  .services-section {
    padding: 40px 20px;
    text-align: center;
  }

  

  .intro {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    background: #f0f0f0;
    padding: 1rem;
  }

  .service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    /* transition: top 0.5s ease; */
    transition: all 0.3s ease;
    text-align: center;
  }
  .service-card:hover{
    transform: translateY(-1rem);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
  }

  .service-card img {
    width: 100%;
    /* height: 150px; */
    object-fit: cover;
    border-radius: 8px;
  }

  .service-card h3 {
    margin: 15px 0 10px;
    font-size: 1.5rem;
    color: #333;
  }

  .service-card p {
    font-size: 14px;
    color: #555;
  }

  .service-card.service-list ul {
    list-style: none;
    padding: 0;
    text-align: left;
  }

  .service-card.service-list ul li {
    margin: 8px 0;
    font-size: 14px;
    color: #333;
  }

  .footer {
    background-color: #f3f3f3;
    padding: 40px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-family: Arial, sans-serif;
    color: #333;
  }

  .footer-section {
    flex: 1 1 300px;
    margin: 10px;
  }

  .footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #000;
  }

  .footer-section ul {
    list-style: none;
    padding: 0;
  }

  .footer-section ul li {
    margin: 8px 0;
    color: #555;
  }

  .footer-section ul li a {
    text-decoration: none;
    color: #0077cc;
  }

  .footer-section .icon {
    margin-right: 8px;
  }

  .footer-bottom {
    width: 100%;
    text-align: center;
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 10px;
    font-size: 14px;
  }

  .footer-bottom a {
    color: #0077cc;
    text-decoration: none;
  }

  @media (max-width: 600px) {
    .rental-card {
      min-width: 264px;
    }
    .rental-card-content .price{
        font-size: 1rem;
    }
    .details div{
        font-size: 0.8rem;
    }
  }
  

@media  screen and (max-width: 769px) {

    .nav-container{
        padding: 1rem;
    }
    .topbar-container,.nav-links{
        display: none;
    }
    .menu-btn-container{
        display: flex;
    }
    .nav{
        padding: 1.2rem 0.5rem;
    }
    main{
        padding:  1rem;
    }
    h2{
        font-size: min(5rem, 5vw);
    }
    
}

@media  screen and (max-width: 500px) {
   
    .rental-section{
        margin-top: 2rem;
    }
    .banner{
        height: 12rem;
    }
    
    h2{
        font-size: min(5rem, 7vw);
    }
    .services-grid{
        grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    }
    
}