/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  color: #333;
  margin: 0;
  overflow-x: hidden;
}
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #00bcd4;
    color: #fff;
    padding: 10px 20px;
}

.site-footer {
    text-align: center;
    padding: 20px 15px;
    background: rgba(0, 188, 212, 0.95); /* Semi-transparent background */
    color: #fff;
    width: 100%;
    margin-top: 50px; /* More space from content */
    position: relative;
    backdrop-filter: blur(5px); /* Blur effect for better readability */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
    border-top: 3px solid #00bcd4; /* Accent border */
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    font-weight: 500;
    letter-spacing: 0.5px;
}
/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  color: #fff;
  background: #00bcd4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  flex-wrap: wrap;
}
header img {
  height: 40px;
}
.header-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.header-buttons a {
  text-decoration: none;
  color: #00bcd4;
  font-weight: bold;
  white-space: nowrap;
}
.header-buttons button {
  background-color: #00bcd4;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  white-space: nowrap;
}

/* Banner (Screen 1 Desktop) */
#screen1 {
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 100px; /* space for fixed header */
}
#screen1 h1 {
  color: white;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.search-box {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  padding: 20px;
  width: 90%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.tabs button {
  padding: 10px 20px;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.tabs button.active {
  background-color: #00bcd4;
  color: white;
  border-color: #00bcd4;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
}
.form-row > div {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
}
.form-row label {
  margin-bottom: 5px;
  font-weight: bold;
}
.form-row input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}
.explore-btn {
  margin-top: 15px;
  background-color: #ff5722;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  align-self: center;
  font-weight: bold;
}

/* Banner (Screen 1 Mobile) */
#screen1mobile {
  display: none; /* Hide on desktop */
}
#screen1mobile.banner {
  
  padding: 120px 15px 20px; /* Fixed: more padding-top for header space */
  text-align: center;
}
#screen1mobile h1 {
  color: white;
  font-size: 26px;
  margin-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
#screen1mobile .box {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  padding: 15px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
#screen1mobile .tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
}
#screen1mobile .tabs button {
  flex: 1;
  padding: 8px 0;
  font-size: 14px;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}
#screen1mobile .tabs button.active {
  background-color: #00bcd4;
  color: white;
  border-color: #00bcd4;
}
#screen1mobile label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
#screen1mobile input {
  width: 100%;
  padding: 8px 10px;
  margin-top: 3px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}
#screen1mobile .explore-btn {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 25px;
}

/* Screen 2 */
.cars-container {
  max-width: 900px;
  margin: 120px auto 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  padding: 30px;
}
.cars-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #00BCD4;
}
.car-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}
.car-card img {
  width: 100px;
  margin-bottom: 10px;
}
.car-card button {
  background: #FF5722;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

/* Screen 3 */
.container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 120px auto;
  max-width: 1000px;
}
.box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  padding: 20px;
  flex: 1;
}
.box h2 {
  color: #0078d7;
  border-bottom: 2px solid #0078d7;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-size: 1.2rem;
}
.box label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}
.box input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.proceed-btn {
  background-color: #ff6600;
  color: #fff;
  text-align: center;
  padding: 12px;
  margin-top: 20px;
  border: none;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

/* Tabs in Screen 3 */
.tabs-section {
  margin-top: 20px;
}
.tab {
  display: inline-block;
  padding: 10px 15px;
  background: #f1f1f1;
  cursor: pointer;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin-right: 5px;
}
.tab.active {
  background: #0078d7;
  color: #fff;
  font-weight: bold;
}
.tab-content {
  display: none;
  border: 1px solid #ccc;
  border-top: none;
  padding: 15px;
  border-radius: 0 0 8px 8px;
  margin-top: -1px;
}
.tab-content.active {
  display: block;
}


/* Add this in existing CSS */
.extra-content {
  margin-top: 40px;
  background: #ffffffdd;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.extra-content h2 {
  color: #00bcd4;
  margin-bottom: 10px;
  font-size: 24px;
}
.extra-content p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.5;
}
.extra-content ul,
.extra-content ol {
  margin-left: 20px;
  margin-bottom: 15px;
}
.extra-content li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.4;
}
.autocomplete-dropdown {
    position: absolute;
    top: 100%; /* input ke just niche */
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 9999;
    width: 100%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Suggestion item */
.autocomplete-item {
    padding: 12px 15px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.autocomplete-item:hover {
    background-color: #f5f5f5;
}



/* Responsive Fixes */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }
  .header-buttons {
    width: 100%;
    justify-content: space-around;
    margin-top: 10px;
  }
  .form-row {
    flex-direction: column;
  }
  .container {
    flex-direction: column;
  }
  /* Show mobile version of screen1 */
  #screen1 {
    display: none;
  }
  #screen1mobile {
    display: block;
  }
}
@media (max-width: 768px) {
    .screen3-container {
        display: flex;
        flex-direction: column; /* Stack vertically on mobile */
    }

    .screen3-left,
    .screen3-right {
        width: 100%; /* Full width on mobile */
        margin-bottom: 20px; /* Space between stacked sections */
    }
}


/* loader section */


        #load-btn {
            padding: 12px 25px;
            font-size: 16px;
            background-color: #f15a24;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        #load-btn:hover {
            background-color: #d94b1a;
        }

        /* Modal overlay */
        #load-modal {
            display: none; /* Hidden by default */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .load-card {
            background: #fff;
            padding: 40px 30px;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            text-align: center;
            width: 70%;
            max-width: 500px;
            position: relative;
            animation: load-popIn 0.3s ease-out forwards;
        }

        .load-checkmark-container {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: #4CAF50;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 20px auto;
        }

        .load-checkmark {
            width: 60px;
            height: 60px;
            stroke: #fff;
            stroke-width: 6;
            stroke-linecap: round;
            stroke-linejoin: round;
            fill: none;
            stroke-dasharray: 48;
            stroke-dashoffset: 48;
            animation: load-draw 0.8s ease forwards, load-blink 1s 1s infinite alternate;
        }

        @keyframes load-draw {
            to {
                stroke-dashoffset: 0;
            }
        }

        @keyframes load-blink {
            from { opacity: 1; }
            to { opacity: 0.5; }
        }

        @keyframes load-popIn {
            from { transform: scale(0.8); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .load-heading {
            color: #4CAF50;
            font-size: 28px;
            margin: 15px 0;
        }

        .load-text {
            color: #555;
            font-size: 16px;
            margin: 10px 0 25px 0;
        }

        .load-btn-primary {
            background-color: #f15a24;
            color: #fff;
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            font-size: 16px;
            cursor: pointer;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }

        .load-btn-primary:hover {
            background-color: #d94b1a;
        }

        .load-footer {
            margin-top: 20px;
            color: #999;
            font-size: 14px;
        }

        .load-close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            color: #aaa;
            cursor: pointer;
        }

        .load-close:hover {
            color: #000;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .load-card {
                width: 90%;
            }
        }

        @media (max-width: 480px) {
            .load-card {
                width: 95%;
                border-radius: 10px;
            }
        }