:root {
    --main-blue: #0a578c;
    --accent-yellow: #ffc107;
    --white: #ffffff;
    --gray: #f8f8f8;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--white);
    color: #1a1a1a;
    line-height: 1.5;
  }

  header {
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    
  }

  


  .logo{
    width: 200px;
  }
  
  .search-section {
    background: url('/img/default.jpg') center/cover no-repeat;
    padding: 2rem 1rem;
    text-align: center;
    color: white;
  }

  .search-section h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 0.5rem;
  }

  .benefits {
    font-size: 20px;
    margin-bottom: 1rem;
    color: #f0f0f0;
  }

  #kayak {
    margin: 0 auto;
    width: 700px;
    background-color: rgba(255, 255, 255, 0.53);
    padding: 20px;
    border-radius: 10px;
  }

  .logos, .partners {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem;
  }
  .logos{
    font-size: 16px;
   
    
    background-color: #0c548c;
    color: white;
    padding: 15px 20vw;
    @media screen and (max-width: 1091px){
      padding: 15px 15vw;
    }
    @media screen and (max-width: 940px){
      padding: 15px 10vw;
    }
  }
  .card-container {
  max-width: 1200px;
  margin: 0 auto;
}

.card-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-category {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.card-model {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.card-image {
  width: 100%;
  height: 120px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.card-specs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.card-spec-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #2196F3;
  font-size: 0.9rem;
  font-weight: 500;
}

.card-spec-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.card-transmission {
  color: #2196F3;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-price-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-rental-company {
  height: 40px;
  display: flex;
  align-items: flex-end;
}
.card-rental-company img {
  height: 100%;
}
.card-company-logo {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  color: white;
}

.avis { background-color: #e31e24; }
.budget { background-color: #ff6600; }
.thrifty { background-color: #2196F3; }
.dollar { background-color: #00a651; }

.card-price {
  text-align: right;
  height: 40px;
}

.card-price-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

.card-price-period {
  color: #666;
  font-size: 0.9rem;
}

.card-view-button {
  width: 100%;
  background: linear-gradient(135deg,#ff690f 0%,#e8381b 100%);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.card-view-button:hover {
  background: rgb(206, 134, 0);
}

@media (max-width: 768px) {
  .card-title {
    font-size: 2rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
}
  
  .section-title {
    text-align: center;
    
    font-weight: 700;
    font-size: 1.5rem;
    margin: 2rem 0 3rem 0;
    color: var(--main-blue);
  }

  /* Car Categories Section */
  .car-section {
    margin-bottom: 3rem;
  }

  .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
  }

  .card {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    width: 250px;
    background-color: var(--white);
    text-align: center;
    position: relative;
  }

  .card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }

  .card-subtitle {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
  }

  .car-image {
    width: 100%;
    height: 80px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 4px;
  }

  .car-image::before,
  .car-image::after {
    content: '';
    position: absolute;
    background: #ccc;
  }

  .car-image::before {
    width: 60%;
    height: 2px;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
  }

  .car-image::after {
    width: 2px;
    height: 60%;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
  }

  .rating {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .star {
    width: 12px;
    height: 12px;
    background: #ddd;
    margin: 0 1px;
    border-radius: 1px;
  }

  .star.filled {
    background: var(--accent-yellow);
  }

  .price {
    color: var(--main-blue);
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0;
  }

  .view-button {
    background-color: var(--main-blue);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
  }

  .view-button:hover {
    background-color: #084a73;
  }

  /* Partners Section */
  .partners-section {
    margin-bottom: 3rem;
  }

  .partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem;
    max-width: 1000px;
    margin: 0 auto;
  }

  .partner-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    background-image: url("/img/london.webp");
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover
  }

  

  .partner-name {
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
  }

  
  .section-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 2rem 0 3rem 0;
    color: var(--main-blue);
}

.destinations-section {
  padding-left: 1rem;       
  padding-right: 1rem;     
}

.destinations-category {
  margin-bottom: 2.5rem;
}

.destinations-category-title {
  color: var(--main-blue);
  font-size: 20px;
  font-weight: bold;
  margin-left: 0;           
  margin-bottom: 1.5rem;
  padding-left: 0;          
}

.destinations {
  display: flex;
  justify-content: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 0;           
  max-width: 1000px;

}

.destination-list {
  flex: 1;
  min-width: 200px;
  padding-left: 0;       
}

.destination-list p {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.destination-list a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.destination-list a:hover {
  color: orange;
  text-decoration: underline;
}


.destinations-desktop {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.destinations-mobile {
  display: none;
}

@media (max-width: 767px) {
  .destinations-desktop {
      display: none;
  }

  .destinations-mobile {
      display: block;
  }

  .destinations-category {
      margin-bottom: 2rem;
  }

  .destinations-mobile .destinations {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem 2rem;
      padding: 1rem 0;
      justify-content: start;
  }

  .destinations-mobile .destination-list {
      min-width: auto;
      padding-left: 1rem; 
  }

  .destinations-mobile .destinations-category-title {
      padding-left: 1rem; 
  }
}

.destinations-category{
  max-width: 990px;
  display: flex;
  justify-content: center;
  flex-direction: column;

}

  
  .travel-smarter-section {
    padding: 2rem 1rem;
    

  }
  
  .travel-smarter-container {
    max-width: 1200px;
    background: url('/img/background.jpeg') center/cover no-repeat;
    margin: 0 auto;
    border: 2px solid #ffffff;
    border-radius: 8px;
    padding: 2rem;
    color: rgb(0, 0, 0);
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    text-shadow: rgba(0, 0, 0, 0.8) 1px 1px 0px;
  }
  
  .travel-smarter-container::before,
  .travel-smarter-container::after {
    content: '';
    position: absolute;
    background: #ffffff;
  }
  
  .travel-smarter-container::before {
    width: 100px;
    height: 2px;
    top: 30px;
    left: 30px;
  }
  
  .travel-smarter-container::after {
    width: 100px;
    height: 2px;
    top: 30px;
    right: 30px;
  }
  
  .travel-smarter-title {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
  }
  
  .travel-smarter-text {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 2rem;
    max-width: 600px;
  }
  
  .compare-button {
    background: linear-gradient(135deg, #ff690f 0%, #e8381b 100%);;
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }
  
  .compare-button:hover {
    background-color: #555;
  }


  .faq {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 1rem;
}



.faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    cursor: pointer;
}


.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 4px;
}

.faq-text {
    font-size: 1rem;
    color: #333;
    flex: 1;
    font-weight: bold;
    line-height: 1.4;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNNiA4TDEwIDEyTDE0IDgiIHN0cm9rZT0iI2ZmNjkwZiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiLz4KPC9zdmc+');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1rem;
}

.faq-answer.active {
    max-height: 200px;
    padding: 1rem;
}

.faq-answer p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

 

    .faq-answer p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 0.5rem;
    }

    .section-title {
        margin: 1.5rem 0 2rem 0;
    }

    .faq-question {
        padding: 0.8rem 0;
    }

  
}

  .subscribe {
    background-color: var(--main-blue);
    color: var(--white);
    text-align: center;
    padding: 3rem 1rem;
  }

  .subscribe h2 {
    font-size: 24px;
    margin-bottom: 1rem;
  }

  .subscribe p {
    font-size: 16px;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .subscribe-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    
  }

  .subscribe input[type="email"] {
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    width: 300px;
    font-size: 16px;
  }

  .subscribe button {
    background: linear-gradient(135deg, #ff690f 0%, #e8381b 100%);
    color: rgb(255, 255, 255);
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    font-size: 16px;
  }

  .benefits-mobile{
    display: none;
  }

  @media screen and (max-width:767px){
    .benefits-mobile{
      display: block;
      text-align: center;
      margin-top: 10px;
      font-size: 13px;
    }
    .benefits{
      text-align: center !important;
    }
    .benefits-desktop{
      display: none;
    }
  }
  #navbar {
    position: sticky; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  .subscribe button:hover {
    background-color: #e6ac00;
  }

  footer {
    background-color: #002244;
    color: var(--white);
    padding: 2rem 1rem;
    text-align: center;
  }

  .footer-links {
    margin-bottom: 2rem;
    
  }
  @media screen and (max-width: 440px){
    .footer-links a{
      font-size: 13px !important;
      
    }
  }
  .footer-links a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    font-size: 16px;
  }

  .footer-links a:hover {
    text-decoration: underline;
  }

  .footer-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .footer-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #666;
    border-radius: 4px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .footer-icon::before,
  .footer-icon::after {
    content: '';
    position: absolute;
    background: #666;
  }

  .footer-icon::before {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .footer-icon::after {
    width: 2px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  @media (max-width: 768px) {
    .cards {
      flex-direction: column;
      align-items: center;
    }

    .card {
      width: 90%;
      max-width: 300px;
    }

    .partners {
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .destinations {
      flex-direction: column;
      gap: 2rem;
    }

    .logos {
      padding: 15px 20px;
      
     
    }

   

    header {
      flex-direction: column;
      align-items: flex-start;
    }

    #kayak {
      width: auto;
      padding: 20px 0;
    }

    .search-section h2 {
      font-size: 24px;
    }

    .benefits {
      font-size: 13px;
    }

    .travel-smarter-container {
      padding: 1.5rem;
    }

    .travel-smarter-title {
      font-size: 24px;
    }

    .travel-smarter-text {
      font-size: 14px;
    }

    .faq-container {
      grid-template-columns: 1fr;
    }

  

    .subscribe input[type="email"] {
      width: 100%;
      max-width: 300px;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 1rem;

     
    }

    .footer-links a {
      margin: 0;
    }
  }

  @media (max-width: 480px) {
    .travel-smarter-container::before,
    .travel-smarter-container::after {
      display: none;
    }

    .card {
      width: 95%;
    }

    .subscribe {
      padding: 2rem 1rem;
    }
  }

  .trustpilot-bar {
        background: transparent;
        color: white;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        font-size: 14px;
        font-weight: 500;
        max-width: 500px;
        width: 100%;
        text-align: center;
        margin: 25px auto 0 auto;
    }

    .rating-text {
        font-weight: 600;
        font-size: 16px;
    }

    .stars-container {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .star {
        width: 18px;
        height: 18px;
        position: relative;
    }

    .star svg {
        width: 100%;
        height: 100%;
        fill: white;
    }

    .star {
        background: #00B67A;
        border-radius: 2px;
        padding: 2px;
    }

    .star.partial {
        position: relative;
        overflow: hidden;
        background: linear-gradient(to right, #00B67A 50%, #e0e0e0 50%);
    }

    .star.partial::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        background: transparent;
    }

    .reviews-info {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }

    .reviews-count {
        font-weight: 600;
    }

    .reviews-text {
        opacity: 0.9;
    }

    .trustpilot-logo {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .trustpilot-icon {
        width: 20px;
        height: 20px;
        background: #00B67A;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 12px;
    }

    .trustpilot-text {
        font-weight: 600;
        opacity: 0.9;
    }

    @media (max-width: 480px) {
        .trustpilot-bar {
            flex-direction: column;
            gap: 10px;
            text-align: center;
        }

        .reviews-info {
            margin-left: 0;
        }
    }

    .supplier-logo{
      width: 50px;
    }
    #logo-mobile{
      display: none;
    }
    #logo-desktop{
      display: block;
    }
    @media screen and (max-width:767px){
      #logo-mobile{
      display: block;
      margin-left: -17px;
      }
      #logo-desktop{
      display: none;
    }
    header{
      background: linear-gradient(135deg,#ff690f 0%,#e8381b 100%);
    }
    .search-section h2, .benefits{
      text-align: left;
      color: black;
    }
    }



    .carousel-container {
      overflow: hidden;
      position: relative;
      max-width: 1200px;
      margin: 40px auto;
      padding: 0 20px;
    }
    
    .carousel-grid {
      display: inline-flex;      
      gap: 20px;
      transition: transform 0.5s ease;
      will-change: transform;
      width: max-content;        
    }
    
 
    .travel-card {
      position: relative;
      flex: 0 0 auto;
      width: 180px;
      height: 260px;
      border-radius: 16px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      text-align: center;
      background: #000;
    }
    
    .travel-card:hover {
      transform: translateY(-6px) scale(1.04);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    }
    
    .travel-card img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
      transition: transform 0.4s ease;
    }
    
    .travel-card:hover img {
      transform: scale(1.05);
    }
    
    .travel-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.1) 100%);
      z-index: 2;
    }
    
    .travel-card-content {
      position: relative;
      z-index: 3;
      padding: 20px 10px;
      color: white;
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.4;
      text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    }
  
    .travel-card h3 {
      position: relative;      
      z-index: 3;               
      margin: 0;
      padding: 0 10px;
      color: white;
      font-weight: 600;
      text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
      max-width: 160px;
      word-wrap: break-word;
      font-size: 13px;
      bottom: 40%;
    }
    @media screen and (max-width:767px){
      .carousel-container, .card-container{
        display: none;
      }
      .search-section{
        background: white;
      }
      .trustpilot-bar{
          display: none;
      }
    }