    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: 'Noto Sans Georgian';
      color: rgba(255,255,255,1);
      line-height: 1.5;
      font-size: 14px;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    .container {
      max-width: 1480px;
      margin: 0 auto;
      padding: 0 20px;
    }
    h1 {
      font-size: 48px;
    }
    h2 {
      font-size: 42px;
    }
    h3 {
      font-size: 36px;
    }
    h4 {
      font-size: 30px;
    }
    h5 {
      font-size: 24px;
    }
    h6 {
      font-size: 18px;
      color: rgba(0, 0, 0, 1);
    }
    .blue {
      color: rgba(13, 52, 253, 1);
    }
    .green {
      font-weight: bold;
      color: rgba(9, 186, 12, 1);
    }
     .red {
      color: rgba(255, 68, 68, 1);
    }
     .orange {
      color: rgba(255, 152, 0, 1);
    }

    .old-price {
    color: rgba(255, 68, 68, 1);
    text-decoration: line-through;
}

    /* general */
        .linetext {
      color: rgba(13, 52, 253, 1);
      font-weight: bold;
      font-size: 12px;
    }
    .linetext::after {
      content: "";
      display: inline-block;
      width: 140px;
      height: 1px;
      background: rgba(13, 52, 253, 1); /* line color */
      margin-left: 10px; /* space between text and line */
      position: relative;
      top: -3px;
    }

    /* Header */
    header {
      position: relative;
      width: 100%;
      height: 70vh;
      color: rgba(255, 255, 255, 1);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      text-align: center;
    }
      header::before {
      content: '';
      position: relative;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #000;
      z-index: 0;
  }

    .video-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      overflow: hidden;
    }

    .video-background::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom right, rgba(18, 25, 60, 0.2) 0, rgba(33, 45, 103, 0.7) 100%);
        z-index: 1;
        pointer-events: none; /* ensures clicks pass through */
      }
    .video-background iframe {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 240vh;
      height: 120vh;
      transform: translate(-50%, -50%);
      border: none;
    }

    .header2 {
      position: relative;
      width: 100%;
      height: 640px;
      background: url('../assets/images/hero-image.jpg') no-repeat center/cover;
      color: rgba(255, 255, 255, 1);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      text-align: center;
    }

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px; 
      width: 100%;
      margin: 0 auto;
      max-width: 1480px;
      z-index: 5;

    }
    .navbar .logo {
      font-weight: bold;
      font-size: 24px;
    }
    .navbar .logo img {
      width: 178px;
      height: 44px;
    }
    .navbar nav ul {
      display: flex;
      gap: 40px;
      font-weight: bold;
      list-style: none;
    }
    .navbar nav ul li {
      border-bottom: none;
      display: flex;
      align-items: center;
      transition: all 0.3s ease;
    }
    .navbar nav ul li:hover {
      box-shadow: inset 0 -2px 0 0 white;
    }
    nav ul.menu li {
      height: 40px;
      position: relative;
    }
    nav ul.menu li ul.dropdown-menu {
      display: flex; /* keep flex for layout */
      position: absolute;
      top: 100%;
      left: 0;
      padding: 20px;
      width: 350px;
      background: white;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      border-radius: 12px;
      overflow: hidden;
      z-index: 10;
      flex-direction: column;
      align-items: left;
      justify-content: flex-start;
      gap: 15px;
      /* Animation setup */
      opacity: 0;
      transform: translateY(10px);
      pointer-events: none; /* prevent hover on invisible dropdown */
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    nav ul.menu li.dropdown:hover ul.dropdown-menu {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
    nav ul.menu li ul.dropdown-menu li {
      text-align: left;
      height: 25px;
      justify-content: flex-start;
    }

    nav ul.menu li ul.dropdown-menu li a {
      color: black;
      text-align: left;
      width: 100%;
    }

    nav ul.menu li ul.dropdown-menu li a:hover {
      color: rgba(13, 52, 253, 1);
    }

    /* Show dropdown on hover */
    nav ul.menu li.dropdown:hover ul.dropdown-menu {
      display: flex;
    }
    .navbar .mright {
      display: flex;
      gap: 20px;
    }

    .btn {
      background: #0D34FD;
      color: rgba(255, 255, 255, 1);
      padding: 10px 20px;
      border-radius: 6px;
      transition: background 0.3s;
      display: flex;
      justify-content: center;  /* horizontal center */
      align-items: center;      
    }
    .btn svg {
      margin-right: 12px;
      width: 18px;
      height: 18px;
    }
    .btn:hover {
      background: #0621a6;
    }

    .navbar .lng {
      border: 1px solid rgba(255, 255, 255, 1.0);
      color: rgba(255, 255, 255, 1);
      padding: 10px;
      border-radius: 6px;
      transition: background 0.3s;
      display: flex;
      justify-content: center;  /* horizontal center */
      align-items: center;
      font-weight: bold;      
    }
    .navbar .lng svg {
      margin-left: 12px;
      width: 18px;
      height: 18px;
      color: rgba(255, 255, 255, 1.0);
    } 
    .navbar .lng:hover {
      background: rgba(255, 255, 255, 1.0);
      color: rgba(13, 52, 253, 1);
    }

    .navbar .lng:hover svg {
      color: rgba(13, 52, 253, 1);
    }
    .navbar .mright .mmenu {
      display: none;
    }

    .hero {
      text-align: center;
      margin: auto;
      width: 100%;
      max-width: 1480px;
      z-index: 6;
    }
    .hero-title {
      display: flex;
      width: 100%;
      max-width: 800px;
      text-align: left;
      text-align: left;
      justify-content: left;
    }
    .header-boxes {
      display: flex;
      gap: 0;
      width: 100%;
      max-width: 1480px;
      margin: 0 auto;
      z-index: 6;
    }
    .header-box1 {
      display: block;
      flex-direction: column;
      width: 50%;
      background: rgba(13, 52, 253, 1);
      padding: 60px;
      color: rgba(255,255,255,1);
      text-align: left;
      gap: 30px;
    }
    .header-box2 {
      display: none;
      flex-direction: column;
      flex: 1;
      width: 50%;
      background: rgba(255,255,255,1);
      padding: 60px;
      color: rgba(0, 0, 0, 1);
      text-align: left;
      gap: 30px;
    }

  .general_btn {
    display: block;
    justify-content: center;
    align-items: center;   
    text-align: center;
    padding: 18px 24px;
    margin: 20px auto;
    font-size: 14px;
    width: 100%;
    border: none;
    background: rgba(13, 52, 253, 1);
    color: rgba(255,255,255,1);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
    font-weight: bold;
  }

  .general_btn:hover {
    box-shadow: 0 11px 21px 0 rgba(13, 52, 253, 0.26);
    transition: 0.5s;
  }

  /* cars for sale */
  .car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
  }

  .car-grid .item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid #D6D6D6;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    box-sizing: border-box;
    overflow: hidden; /* keeps pseudo-border inside rounded corners */
    max-width: 300px;
  }

   .car-grid .item a {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    width: 100%;
   }

  .car-grid .item::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: 12px;
    transition: border-color 0.2s ease;
    pointer-events: none; /* don’t block clicks */
  }

  .car-grid .item:hover::after {
    border-color: rgba(13, 52, 253, 1);; /* blue border on hover */
  }



  .car-grid .item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
  }

  .car-grid .car-title {
    font-size: 16px;
    color: rgba(13, 52, 253, 1); /* blue */
    font-weight: 500;
  }

  .car-grid  .car-price {
    font-size: 14px;
    color: #000;
  }

  .car-grid  .item hr {
    width: 100%;
    border: none;
    border-top: 1px solid #D6D6D6;
    margin: 0;
  }

  .car-grid  .car-status {
    font-size: 14px;
    font-weight: 500;
  }

  .badge {
  position: relative;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
}
.badge-sold {
  background-color: #ff4444;
  color: white;
}
.badge-reserved {
  background-color: #ff9800;
  color: white;
}
.badge-damage {
  background-color: #2196F3;
  color: white;
}
.badge-stack {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 10;
}
.item {
  position: relative;
}
.views {
  position: absolute;
  top: 5px;
  left: 5px;
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  background-color: rgba(13, 52, 253, 1);
  border-radius: 20px;
  padding: 5px 10px;
  color: white;
}

 /* car details page */

  .cardets-header {
    margin: 120px auto;
    width: 100%;
    max-width: 1480px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 30px;
    border: 1px solid #D6D6D6;
    border-radius: 20px;
    color: rgba(0, 0, 0, 1);;
  }
  .cardets-header .backcontainer {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .cardets-header .back {
    display: flex;
    gap: 12px;
    align-items: center;
    color: rgba(13, 52, 253, 1); /* blue */;
    font-weight: bold;
  }
  .cardets-header hr {
    width: 100%;
    border: none;
    border-top: 1px solid #D6D6D6;
    margin: 0;
  }
  .cardets-header .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
  }

  .cardets-header .grid .item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cardetsinfo {
    display: flex;
    margin: 120px auto;
    width: 100%;
    max-width: 1480px;
    color: rgba(0,0,0,1);
    gap: 80px;
    margin-top: -80px;
  }
  .cardetsinfo .column1 {
    width: 60%;
  }
  .cardetsinfo .column2 {
    width: 40%;
  }
  .cardetsinfo .details {
    display: flex;
    gap: 12px;
    flex-direction: column;
  }

  .car-carousel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  /* Large main image */
  .car-carousel .main-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
  }

  /* Scrollable thumbnails container */
  .car-carousel .thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px; /* optional, adds space below scrollbar */
  }

  /* Thumbnails styling */
  .car-carousel .thumbnails img {
    height: 80px; /* or desired height */
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    flex-shrink: 0; /* prevents shrinking */
    transition: transform 0.2s ease, border 0.2s ease;
    border: 2px solid transparent;
  }

  .car-carousel .thumbnails img:hover {
    transform: scale(1.05);
  }

  /* Optional: highlight selected thumbnail */
  .car-carousel .thumbnails img.active {
    border: 2px solid #007BFF;
  }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;

  /* centering tweaks */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.carousel-arrow:hover {
  background: rgba(0,0,0,0.6);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

/* Ensure main-image is positioned for absolute arrows */
.car-carousel .main-image {
  position: relative;
}




  /* login */

  .login-container {
      max-width: 1480px;
      max-height: calc(100% - 60px);
      margin: 30px auto;
      display: flex;
      height: calc(100% - 60px);
      min-height: 600px;
    }

    .login-left {
      flex: 1;
      background: url('../assets/images/login-bg.jpg') no-repeat center center;
      background-size: cover;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      color: rgba(255,255,255,1);
      padding: 40px;
      border-radius: 20px;
    }

    .login-left .top-text {
      width: 100%;
    }

    .login-left p {
      font-size: 14px;
      line-height: 1.5;
      max-width: 500px;
    }
    .login-left h4 {
      margin-bottom: 30px;
      line-height: 1.5;
    }

    .login-left .bottom-text {
      font-size: 14px;
      opacity: 0.9;
    }

    .login-right {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 40px;
      color: rgba(0, 0, 0, 1.0);
    }

    .login-right svg {
      margin-right: 10px;
    }

    .back-to-web {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding: 0 0 20px;
      font-weight: bold;
    }

    .login-box {
      width: 100%;
      max-width: 500px;
    }

    .login-box img.logo {
      width: 260px;
      margin-bottom: 20px;
    }

    .login-box h4 {
      margin-bottom: 10px;
    }

    .login-box p.subtext {
      font-size: 14px;
      margin-bottom: 20px;
    }

    .login-box a {
      color: rgba(13, 52, 253, 1);
      text-decoration: none;
    }

     .login-box a:hover {
      text-decoration: underline;
    }
    .login-box .links {
      margin-top: 15px;
      font-size: 14px;
      display: flex;
      justify-content: space-between; /* pushes links to opposite sides */
    }

    .alert {
        padding: 12px 20px;
        border-radius: 5px;
        margin-bottom: 20px;
    }

    .alert h6 {
      margin-bottom: 10px;
    }

    .alert ul {
        list-style-type: disc;       /* or circle/square */
        list-style-position: inside; /* bullets inside */
        padding-left: 0;             /* optional: remove default indent */
      }


.alert-success {
    background: rgba(198, 246, 213, 1);  
    color: rgba(34, 84, 61, 1);          
    border: 1px solid rgba(154, 230, 180, 1); 
}

.alert-error {
    background: rgba(254, 215, 215, 1);  
    color: rgba(116, 42, 42, 1);        
    border: 1px solid rgba(252, 129, 129, 1); /* #fc8181 */
}

.alert-info {
    background: rgba(190, 227, 248, 1); 
    color: rgba(44, 82, 130, 1);      
    border: 1px solid rgba(144, 205, 244, 1); 
}

.alert-warning {
    background: rgba(255, 246, 178, 1);  
    color: rgba(102, 60, 0, 1);          
    border: 1px solid rgba(255, 224, 102, 1); 
}


    /* Banner */
    .banner {
      margin: 120px auto;
      width: 100%;
      max-width: 1480px;
      background: rgba(13, 52, 253, 1);
      color: rgba(255,255,255,1);
      border-radius: 20px;
      text-align: left;
      padding: 60px;
      display: flex;
      justify-content: space-between;
      flex-direction: row;
      gap: 20px;
    }
    .banner .inner {
      display: flex;
      flex-direction: column;
      gap: 30px;
      width: 100%;
      max-width: 600px;
    }

    .phonebox svg {
      color: rgba(255,255,255,1);
      width: 56px;
      height: 56px;
    }
    .banner a {
      text-decoration: none;
    }

    .banner .phonebox 
    {
      display: flex;
      flex-direction: row;
      padding: 30px 50px 30px 50px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,1);
      font-weight: bold;
      width: fit-content;
      gap: 20px;
      cursor: pointer;
    }
    .phonebox h5 {
      color: rgba(255,255,255,1);
      font-weight: bold;
      margin: 5px 0 -10px 0;
    }
    .phonebox:hover {
      background-color: rgba(255,255,255,1);
      color: rgba(13, 52, 253, 1);
      transition: 0.5s;
    }

    .phonebox:hover h5{
      color: rgba(13, 52, 253, 1);
      transition: 0.5s;
    }

    .phonebox:hover svg {
      color: rgba(13, 52, 253, 1);
      transition: 0.5s;
      width: 56px;
      height: 56px;
    }


    /* whatsappbox */

    .whatsappbox svg {
      color: rgba(0,0,0,1);
      width: 56px;
      height: 56px;
    }
    .whatsappbox a {
      text-decoration: none;
    }

    .whatsappbox 
    {
      display: flex;
      flex-direction: row;
      padding: 30px 50px 30px 50px;
      border-radius: 12px;
      border: 1px solid rgba(0,0,0,0.3);
      font-weight: bold;
      width: 100%;
      gap: 20px;
      cursor: pointer;
    }
    .whatsappbox h5 {
      color: rgba(0,0,0,1);
      font-weight: bold;
      margin: 5px 0 -10px 0;
    }
    .whatsappbox:hover {
      background-color: rgba(13, 52, 253, 1);
      border-color: 1px solid rgba(13, 52, 253, 1);
      color: rgba(255,255,255,1);
      transition: 0.5s;
    }

    .whatsappbox:hover h5{
      color: rgba(255,255,255,1);
      transition: 0.5s;
    }

    .whatsappbox:hover svg {
      color: rgba(255,255,255,1);
      transition: 0.5s;
      width: 56px;
      height: 56px;
    }



    /* carfax */
    .carfax {
      margin: 120px auto;
      width: 100%;
      max-width: 1480px;
      color: rgba(0,0,0,1);
      border-radius: 20px;
      text-align: left;
      padding: 60px;
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      gap: 20px;
      border: 1px solid rgba(214, 214, 214, 1);
    }
    .carfax .innerer {
      display: flex;
      flex-direction: column;
      gap: 30px;
      width: 100%;
    }

      .carfax .innerer .boxescontainer {
        display: flex;
        flex-wrap: wrap;
        gap: 80px;
        width: 100%;   
      }
      .carfax .innerer .boxescontainer .box {
        flex: 1;             /* each takes equal width */
      }

    
     ul.custom-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* spacing between items */
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  ul.custom-list li {
    position: relative;
    padding-left: 28px; /* space for icon */
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
  }

  ul.custom-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;

    /* Example: checkmark icon as SVG */
    background: url("images/check.svg");
    background-size: contain;
  }

/* terms of use and others */

  .tos {
    display: flex;
    margin: 120px auto;
    width: 100%;
    max-width: 1480px;
    color: rgba(0,0,0,1);
    gap: 80px;

  }
  .tos h3 {
    margin-top: 30px;
   
  }
  .tos .col {
    flex: 1;
    color: rgba(0,0,0,1);
    border-radius: 20px;

  }


/* aboutus */
  .about {
    display: flex;
    margin: 120px auto;
    width: 100%;
    max-width: 1480px;
    color: rgba(0,0,0,1);
    gap: 80px;

  }
  .about h3 {
    margin-bottom: 25px;
  }
  .about .col {
    flex: 1;
    color: rgba(0,0,0,1);
    border-radius: 20px;
    display: flex;
    gap: 70px;
    flex-direction: column;
  }
  .about .col div {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .about .col img {
    width: 100%;
    border-radius: 20px;
  }
    .about ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* 3 columns */
    gap: 20px; /* spacing between items */
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    margin-top: 25px;
  }

    .about ul li {
    position: relative;
    padding-left: 28px; /* space for icon */
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
  }

  .about ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;

    /* Example: checkmark icon as SVG */
    background: url("images/check.svg");
    background-size: contain;
  }

/* auctions */
 .auctions {
    margin: 120px auto;
    color: rgba(0,0,0,1);
    background-color: rgba(245, 245, 245, 1);
    padding: 120px 0;

  }
  .auctions .inner {
    display: flex;
    margin: auto;
    color: rgba(0,0,0,1);
    background-color: rgba(245, 245, 245, 1);
    width: 100%;
    max-width: 1480px;
    gap: 80px;

  }
  .auctions h5 {
    margin-bottom: 25px;
    color: rgba(13, 52, 253, 1);
  }
  .auctions .inner .col {
    flex: 1;
    color: rgba(0,0,0,1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
  }

  .image-grid {
    display: flex;
    flex-wrap: wrap;   /* allow wrapping */
    gap: 20px;     
  }
   .image-grid img {
               /* let it fill its wrapper */
    display: block;
  }
    .image-grid .item {
    flex: 0 0 calc(33.333% - 20px); /* 3 per row */
    max-width: calc(33.333% - 20px);
    display: flex;
    padding: 10px 0;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    overflow: hidden;        /* in case image is too big */
     /* optional: give rows some height */
  }
/* footer */
/* Footer container */
.footer {
  width: 100%;
  border-top: 1px solid rgba(214, 214, 214, 1);
  padding: 40px 0;
  color: rgba(0, 0, 0, 1.0);
  box-sizing: border-box;
}

/* Inner wrapper with max width */
.footer-inner {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* First line - top section */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 20px;
}

/* Logo */
.footer-logo img {
  height: 50px;
}

/* Navigation */
.footer-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav ul li a {
  text-decoration: none;
  font-weight: bold;
}

.footer-nav ul li a:hover {
  color: rgba(13, 52, 253, 1);
}


/* Login button */
.footer-login a {
  padding: 10px 20px;
  background: #0D34FD;
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
}

/* Second line - bottom section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 15px;
}

.footer-right a {
  text-decoration: none;
  margin-left: 15px;
}

.footer-right a:first-child {
  margin-left: 0;
}


/* services */
  .services {

    margin: 120px auto;
    width: 100%;
    max-width: 1480px;
    color: rgba(0,0,0,1);
    gap: 80px;

  }
  .services h3 {
    margin-bottom: 25px;
  }
  .services .inner
  {

    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 20px;
    width: 100%;
  }
  .services .inner .box {
    border-radius: 20px;
    border: 1px solid rgba(214, 214, 214, 1);
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
   .services .inner .box img {
    max-width: 100px;  /* control image size */
    height: auto;
    margin-bottom: 10px;
  }

  .services .inner .box p {
    margin: 0;
    font-weight: bold;
  }

/* calculator */
  .calculator {
    margin: 120px auto;
    width: 100%;
    max-width: 1480px;
    color: rgba(0,0,0,1);
    border-radius: 20px;
    justify-content: space-between;
    flex-direction: column;

  }
  .calculator h5 {
    color: rgba(13, 52, 253, 1);
    margin-bottom: 30px;
  }
  .calculator .inner {
    border-radius: 20px;
    text-align: left;
    padding: 40px;
    gap: 10px;
    border: 1px solid rgba(214, 214, 214, 1);  
    display: flex;
    justify-content: space-between;
    gap: 20px; /* spacing between columns */
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
  }
  .calculator h6 {
        margin-bottom: 20px;
      font-weight: 600;
      font-size: 14px;
  }
  .total {
      margin-top: 20px;
      padding: 15px;
      border-radius: 12px;
      border: 1px solid #DCDCDC;
      font-size: 12px;
      text-align: center;
    }
    .total span {
      font-size: 24px;
      font-weight: bold;
    }
  .tabs {
    display: flex;
    margin-bottom: 20px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
  }

  .tab {
    flex: 1; 
    padding: 12px 30px;
    color: rgba(0,0,0,0.5);
    border-radius: 12px;
    cursor: pointer;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;   /* vertical align */
    justify-content: center; /* horizontal align */
    gap: 8px; /* space between image & text */
    transition: 0.5s;


  }
  .tab:hover {
    color: rgba(13, 52, 253, 1);
    transition: 0.5s;
  }

  .tab svg {
    color: rgba(0,0,0,0.5);
    transition: 0.5s;
    width: 48px;
    width: 48px;
  }

  .tab:hover svg {
    color: rgba(13, 52, 253, 1);
    transition: 0.5s;
  }

  .tab.active svg {
    color: rgba(13, 52, 253, 1);
  }

  .tab.active {

    background: rgba(13, 52, 253, 0.1);
    color: rgba(13, 52, 253, 1);
    border: 1px solid rgba(13, 52, 253, 1);
    box-shadow: 0 2px 11px 0 rgba(13, 52, 253, 0.25);
  }



  .content {
    display: none;
    background: white;
    border-radius: 10px;
    gap: 120px;
    width: 100%;
  }

  .content.active {
    display: flex;
  }

  .left, .right {
    flex: 1;
  }
  .input-group-wrapper {
      display: flex;
      gap: 50px;
      justify-content: space-between;
    }
  .input-group h6 {
    margin-bottom: 15px;
  }
  .input-group {
      margin-bottom: 20px;
      width: 100%;
    }
    .input-group select {
      width: 100%;
     
    }
     .content-customs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }
    @media (max-width: 1024px) {
      .content-customs {
        grid-template-columns: 1fr;
        gap: 20px;
      }
    }


  label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
  }

  select {
    width: 100%;
    padding: 22px; /* space for icon & button */
    font-size: 16px;
    border: 1px solid rgba(214, 214, 214, 1);
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 14px;
      appearance: none; /* removes native dropdown arrow */
    -webkit-appearance: none; /* for Safari/Chrome on iOS */
    -moz-appearance: none; /* for Firefox */
    background: url('images/chevron-down.svg') no-repeat right center;
    background-size: 24px;
     background-position: right 20px center;
  }

  /* Toggle switch */
  .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
  }
  .switch input {display: none;}
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: .3s;
  }
  .slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .3s;
  }
  input:checked + .slider {
    background-color: #007BFF;
  }
  input:checked + .slider:before {
    transform: translateX(26px);
  }

  .toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }

  .summary {
    margin-top: 30px;
    border-radius: 10px;
  }

  .summary div {
    margin: 8px 0;
  }

  .total {

    font-size: 12px;
    margin-top: 15px;
    color: rgba(0, 0, 0, 1);
  }
  .line-text {
  display: flex;
  align-items: center;
  width: 100%;         /* full width */
}

.line-text .line {
  flex: 1;             /* fill space between texts */
  height: 1px;         /* line thickness */
  background: rgba(0,0,0,0.3);   /* line color */
  margin: 0 10px;       /* 5px gap from texts */
}
.line-text .right-text {
  font-weight: bold;
  margin-bottom: 0;
  color: rgba(0,0,0,1);
}
.line-text .left-tex {
  font-size: 14px;
}

/* contact */
    .contact {
      margin: 120px auto;
      width: 100%;
      max-width: 1480px;
      color: rgba(0,0,0,1);
      border-radius: 20px;
      justify-content: space-between;
      flex-direction: column;

    }
    .contact h5 {
      color: rgba(13, 52, 253, 1);
      margin-bottom: 30px;
    }
    .contact .inner {
      border-radius: 20px;
      text-align: left;
      padding: 40px;
      gap: 20px;
      border: 1px solid rgba(214, 214, 214, 1);  
      display: flex;
      justify-content: space-between;
      gap: 20px; /* spacing between columns */
      width: 100%;
      box-sizing: border-box;
    }

    .contact .inner .column {
      flex: 1; /* each takes equal space */
      padding: 20px;
    }

 /* customized container search input */

  .input-wrapper2 {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .input-wrapper2 .input-icon {
    position: absolute;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    pointer-events: none; /* clicks pass through */
  }

  .input-wrapper2 input {
    width: 100%;
    padding: 22px 40px 22px 40px; /* space for icon & button */
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(13, 52, 253, 1);;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 14px;
    color: rgba(255,255,255,1);
  }

  .input-wrapper2 input::placeholder {
    color: rgba(255,255,255,0.5);
  }

  .input-wrapper2 input:focus {
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
  }

  .input-wrapper2 button {
    position: absolute;
    right: 5px;
    top: 38%;
    transform: translateY(-50%);
    padding: 18px 24px;
    font-size: 14px;
    border: none;
    background: rgba(13, 52, 253, 1);
    width: 100px;
    color: rgba(255,255,255,1);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
  }

  .input-wrapper2 button:hover {
    color: rgba(13, 52, 253, 1);
    background: rgba(255,255,255,1);
    transition: 0.5s;
  }

  /* customized VIN search input */
.space-between {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
  .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.toggle-password:hover {
    opacity: 1;
}

  .input-wrapper .input-icon {
    position: absolute;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    pointer-events: none; /* clicks pass through */
  }

  .input-wrapper input {
    width: 100%;
    padding: 22px 40px 22px 40px; /* space for icon & button */
    font-size: 16px;
    border: 1px solid rgba(214, 214, 214, 1);
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 14px;
  }

  .input-wrapper button {
    position: absolute;
    right: 5px;
    top: 38%;
    transform: translateY(-50%);
    padding: 18px 24px;
    font-size: 14px;
    border: none;
    background: rgba(13, 52, 253, 1);
    width: 100px;
    color: rgba(255,255,255,1);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
  }

  .input-wrapper button:hover {
    box-shadow: 0 11px 21px 0 rgba(13, 52, 253, 0.26);
    transition: 0.5s;
  }

    /* Inputs */
    input, textarea, button {
      width: 100%;
      padding: 22px;
      margin: 10px 0;
      border: 1px solid rgba(214, 214, 214, 1);
      border-radius: 12px;
      font-size: 14px;
      outline: none;
      transition: border-color 0.3s, box-shadow 0.3s;
    }
    input:focus, textarea:focus {
      border-color: #0D34FD;
      box-shadow: 0 0 0 3px rgba(13, 52, 253, 0.2);
    }
    button {
      background: #0D34FD;
      color: rgba(255, 255, 255, 1);
      cursor: pointer;
      border: none;
    }
    button:hover {
      background: #0621a6;
    }

    /* mobile menu */


  .open-menu {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
  }

/* Overlay container */
  .menu-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* hidden by default */
    width: 100%;
    height: 100%;
    background: rgba(13, 52, 253, 0.5);
    color: rgba(255, 255, 255, 1);
    transition: right 0.4s ease;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
  }

  /* Content box */
  .menu-content {
    width: calc(100% - 40px);
    background: rgba(13, 52, 253, 1);;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
  }

  .lang-switcher {
  position: relative;
  display: inline-block;
  font-family: Arial, sans-serif;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 140px;
  z-index: 100;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}

.lang-menu a:hover {
  background: #f2f2f2;
}

.flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border: 1px solid #ddd;
}


  /* Top row: logo + close */
  .menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .menu-top .logo {
    font-size: 20px;
    font-weight: bold;
  }
  .menu-top .close-menu {
      border: 1px solid rgba(255, 255, 255, 1.0);
      padding: 15px 15px;
      height: 48px;
      border-radius: 6px;
      transition: background 0.3s;
      display: flex;
      justify-content: center;  /* horizontal center */
      align-items: center;
      font-weight: bold;
      transition: box-shadow 0.5s ease;
      cursor: pointer;   
      transition: 0.3s;
  }

    .menu-top .close-menu:hover {
      background: rgba(255, 255, 255, 1.0);
    }

    .menu-top .close-menu:hover svg {
      color: rgba(13, 52, 253, 1);
    }

  /* Menu items */
  .menu-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .menu-items a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    font-size: 22px;
    margin: 10px 0;
    transition: color 0.2s;
  }
  .menu-items a:hover {
    color: #f9c74f;
  }

  /* Bottom */
  .menu-bottom {
    text-align: center;
  }
  .menu-bottom a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    font-size: 16px;
  }
  .menu-bottom a:hover {
    text-decoration: underline;
  }

  /* Show menu */
  .menu-overlay.active {
    right: 0;
  }

    @media (max-width: 1480px) {
    .navbar nav ul {
      gap: 20px;
    }
    .btn svg {
      margin-right: 0;
     }
    .btn span {
      display: none;
    }
    .tos {
      width: calc(100% - 40px);
    }
    .cardets-header {
      width: calc(100% - 40px);
    }
    .cardetsinfo {
      width: calc(100% - 40px);
    }
    .login-container {
      width: calc(100% - 40px);
    }
    .hero-title  {
      width: calc(100% - 40px);
      margin: 20px auto;
    }
    .banner {
      width: calc(100% - 40px);
      margin: 60px auto;
    }
    .calculator {
      width: calc(100% - 40px);
      margin: 60px auto;
    }
    .carfax {
      width: calc(100% - 40px);
      margin: 60px auto;
    }
    .contact {
      width: calc(100% - 40px);
      margin: 60px auto;
    }
    .services {
      width: calc(100% - 40px);
      margin: 60px auto;
    }
    .about {
      width: calc(100% - 40px);
      margin: 60px auto;
    }
    .auctions {
      padding: 60px 0;
      margin: 60px auto;
    }
    .auctions .inner {
      width: calc(100% - 40px);

    }

    }

    

    @media (max-width: 1024px) {
    /* menu */
    /* Overlay container */

    .navbar nav ul {
        display: none;
      }
    ul.custom-list {
      grid-template-columns: repeat(2, 1fr);
    }
    .banner .phonebox {
      padding: 20px;
    }
    .btn {
      padding: 15px 15px;
      height: 48px;
    }
    .btn svg {
      margin-right: 0;
     }
    .btn span {
      display: none;
     }
     .navbar .lng {
      display: none;
     }
    .navbar .mright .mmenu {
      border: 1px solid rgba(255, 255, 255, 1.0);
      padding: 15px 15px;
      height: 48px;
      border-radius: 6px;
      transition: background 0.3s;
      display: flex;
      justify-content: center;  /* horizontal center */
      align-items: center;
      font-weight: bold;      
    }
    .navbar .mright .mmenu svg {
      width: 18px;
      height: 18px;
      color: rgba(255, 255, 255, 1.0);
    } 
    .navbar .mright .mmenu:hover {
      background: rgba(255, 255, 255, 1.0);
      color: rgba(13, 52, 253, 1);
    }

    .navbar .mright .mmenu:hover svg {
      color: rgba(13, 52, 253, 1);
    }
    .contact {
        flex-direction: column;
    }
    .header-boxes {
      flex-direction: column;
    }
    .header-box1 {
      width: 100%;
      padding: 30px 20px;
    }
     .header-box2 {
      width: 100%;
      padding: 30px 20px;
    }
     .tab span {
      display: none;
    }
    .content.active {
      gap: 20px;
    }
    .carfax .innerer .boxescontainer {
      flex-direction: column;
      gap: 30px;
    }
    /* services */

    .services .inner
    {
      grid-template-columns: repeat(3, 1fr); 
    }
    .auctions .inner {
      flex-direction: column;
    }
    .login-left {
      display: none;
    }
    .about {
      flex-direction: column;  
    }
   .cardetsinfo {
    flex-direction: column;
    }
    .cardetsinfo .column1  {
      width: 100%;
    }
    .cardetsinfo .column2  {
      width: 100%;
    }
  }

    /* Responsive */
    @media (max-width: 768px) {
    .car-grid .item {
      width: 100%;
      max-width: 100%;
    }
    h1 {
    font-size: 30px;
    }
    h2 {
      font-size: 28px;
    }
    h3 {
      font-size: 26px;
    }
    h4 {
      font-size: 24px;
    }
    h5 {
      font-size: 22px;
    }
    h6 {
      font-size: 20px;
      color: rgba(0, 0, 0, 1);
    }
    ul.custom-list {
      grid-template-columns: 1fr;
    }
    .btn svg {
      margin-right: 0;
     }
    .btn span {
      display: none;
     }
    .tab {
      padding: 6px 12px;
    }
      .tab svg {
    width: 32px;
    width: 32px;
    }
    .login-right {
    padding: 20px 0;
    }

    .navbar .logo img {
      width: 200px;
      height: 50px;
    }
    .footer-top {
      justify-content: center;
      text-align: center;
      flex-direction: column;
    }
    .input-group-wrapper {
      display: flex;
      gap: 0;
      flex-direction: column;
    }
    .footer-nav ul {
      justify-content: center;
      text-align: center;
      flex-direction: column;     
    }
    .footer-left {
      width: 100%;
      text-align: center;
    }
    .footer-right {
      display: flex;
      width: 100%;
      text-align: center;
      flex-direction: column;
      gap: 20px;
    }
    .contact .inner {
      padding: 20px;
      flex-direction: column;
    }
    .navbar nav ul {
      display: none;
    }
    .header-boxes {
      flex-direction: column;
    }
      .banner  {
      flex-direction: column;
      padding: 30px;
    }
    .banner .phonebox {
      width: 100%;
    }
    .carfax {
      margin: 60px auto;
      padding: 30px;
    }
      .calculator .inner {
      padding: 20px;
    }
    .content.active {
      flex-direction: column;
      gap: 20px;
  }
  /* services */
      .services .inner
    {
      grid-template-columns: 1fr; 
    }

    }