/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --pale-purple-pantone: hsl(262, 63%, 92%);
  --medium-sea-green: hsl(152, 63%, 43%);
  --lavender-blush: hsl(336, 35%, 92%);
  --carolina-blue: hsl(204, 91%, 53%);
  --columbia-blue: hsl(204, 92%, 90%);
  --alice-blue-1: hsl(216, 38%, 95%);
  --alice-blue-2: hsl(216, 75%, 97%);
  --alice-blue-3: hsl(216, 38%, 95%);
  --alice-blue-4: hsl(217, 33%, 92%);
  --independence: hsl(219, 21%, 39%);
  --deep-cerise: hsl(329, 63%, 52%);
  --eerie-black: hsl(210, 11%, 15%);
  --space-cadet: hsl(240, 22%, 25%);
  --blue-jeans: hsl(204, 80%, 63%);
  --slate-blue: hsl(262, 60%, 57%);
  --beau-blue: hsl(208, 86%, 92%);
  --honey-dew: hsl(152, 48%, 89%);
  --mimi-pink: hsl(329, 63%, 90%);
  --red-salsa: hsl(0, 79%, 63%);
  --sapphire: hsl(211, 100%, 35%);
  --manatee: hsl(219, 14%, 60%);
  --white: hsl(0, 0%, 100%);

  --gradient: linear-gradient(to top, var(--alice-blue-2), var(--alice-blue-3));

  /**
   * typography
   */

  --ff-nunito: 'Nunito', sans-serif;
  --ff-open-sans: 'Open Sans', sans-serif;

  --fs-1: 2.125rem;
  --fs-2: 1.875rem;
  --fs-3: 1.5rem;
  --fs-4: 1.375rem;
  --fs-5: 1.125rem;
  --fs-6: 0.875rem;
  --fs-7: 0.625rem;

  --fw-400: 400;
  --fw-600: 600;

  /**
   * transition
   */

  --transition: 0.5s ease;

  /**
   * spacing
   */

  --section-padding: 50px;

  /**
   * radius
   */

  --radius-10: 10px;
  --radius-14: 14px;
  --radius-18: 18px;

  /**
   * shadow
   */

  --shadow-1: 3px 3px 9px hsla(240, 14%, 69%, 0.2);
  --shadow-2: 3px 3px 9px hsla(204, 92%, 59%, 0.3);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a { text-decoration: none; }

a,
img,
span,
label,
input,
button,
ion-icon { display: block; }

button,
input {
  background: none;
  border: none;
  font: inherit;
}

button { cursor: pointer; }

input { width: 100%; }

ion-icon { pointer-events: none; }

html {
  font-family: var(--ff-open-sans);
  color: var(--eerie-black);
  font-size: 1rem;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  background: var(--alice-blue-1);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 15px;
  height: 10px;
}

::-webkit-scrollbar-track { background: var(--white); }

::-webkit-scrollbar-thumb {
  background: hsla(219, 14%, 60%, 0.3);
  border: 2px solid var(--white);
}

::-webkit-scrollbar-thumb:hover { background: hsla(219, 14%, 60%, 0.5); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

button, a { transition: var(--transition); }

.btn {
  position: relative;
  background: var(--background, var(--carolina-blue));
  color: var(--color, var(--white));
  min-width: var(--width, 40px);
  min-height: var(--height, 40px);
  padding: 5px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-14);
  font-family: var(--ff-nunito);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  overflow: hidden;
}

.btn ion-icon {
  font-size: 22px;
  --ionicon-stroke-width: 40px;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(0, 0%, 100%, 0.4), transparent);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.btn:is(:hover, :focus) { box-shadow: var(--shadow-2); }

.btn:is(:hover, :focus)::before { opacity: 1; }

.section { padding-block: var(--section-padding); }

.h1,
.h2,
.h3 {
  color: var(--space-cadet);
  font-family: var(--ff-nunito);
  line-height: 1.4;
}

.h1 {
  font-size: var(--fs-1);
  text-transform: uppercase;
}

.h2,
.h3 { font-weight: var(--fw-400); }

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-4); }

.w-100 { width: 100%; }





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header-contact { display: none; }

.header {
  background: var(--alice-blue-1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: var(--transition);
  z-index: 4;
}

.header.active { box-shadow: var(--shadow-1); }

.header .container {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions .btn span { display: none; }

.user-btn {
  --color: var(--independence);
  --background: var(--white);
  --shadow-2: var(--shadow-1);
  box-shadow: var(--shadow-1);
}

.nav-toggle-btn span {
  background: var(--independence);
  width: 22px;
  height: 2px;
  border-radius: 2px;
  margin-block: 8px;
  transform-origin: right;
  transition: var(--transition);
}

.nav-toggle-btn span.two { transform: scaleX(0.7); }

.nav-toggle-btn span.three { transform: scaleX(0.4); }

.nav-toggle-btn:is(:hover, :focus) span { background: var(--carolina-blue); }

.nav-toggle-btn.active span {
  transform: scaleX(1);
  background: var(--carolina-blue);
}

.navbar {
  background: var(--alice-blue-1);
  position: fixed;
  top: 70px;
  bottom: 0;
  right: -260px;
  max-width: 260px;
  width: 100%;
  padding: 20px 25px;
  border: 1px solid var(--white);
  box-shadow: var(--shadow-1);
  visibility: hidden;
  transition: 0.25s cubic-bezier(0.51, 0.03, 0.64, 0.28);
}

.navbar.active {
  visibility: visible;
  transform: translateX(-100%);
  transition: 0.5s cubic-bezier(0.33, 0.85, 0.56, 1.02);
}

.navbar-link {
  color: var(--independence);
  font-family: var(--ff-nunito);
  font-size: var(--fs-6);
  padding-block: 5px;
  margin-bottom: 15px;
}

.navbar-link:is(:hover, :focus) { color: var(--carolina-blue); }

.overlay {
  position: fixed;
  top: 70px;
  background: hsl(216, 38%, 95%);
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.overlay.active {
  opacity: 0.7;
  pointer-events: all;
}




/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero { padding-top: 120px; }

.hero-title {
  max-width: 20ch;
  margin-bottom: 15px;
}

.hero-text {
  color: var(--independence);
  line-height: 1.8;
  margin-bottom: 30px;
}

.hero-banner { display: none; }

.hero-form {
  background: var(--gradient);
  border: 1px solid var(--white);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-18);
  font-family: var(--ff-nunito);
}

.input-wrapper { padding: 15px 20px; }

.input-wrapper:not(:last-of-type) { border-bottom: 1px solid hsla(0, 0%, 0%, 0.08); }

.input-label {
  color: var(--manatee);
  font-size: var(--fs-6);
  margin-bottom: 10px;
}
.input-field {
  color: var(--space-cadet); /* Input text color */
  background: rgba(255, 255, 255, 0.95); /* Slightly more opaque background for better contrast */
  border: 2px solid var(--white); /* Default border color */
  border-radius: 8px; /* More rounded corners for a softer look */
  padding: 12px 15px; /* Increased padding for better touch targets */
  width: 100%; /* Full width */
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for focus effect */
  outline: none; /* Remove default outline */
}

/* Focus State */
.input-field:focus {
  border-color: var(--carolina-blue); /* Change border color on focus */
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.5); /* Add a more pronounced shadow for focus effect */
}

/* Placeholder Styling */
.input-field::placeholder {
  color: var(--independence); /* Placeholder text color */
  opacity: 0.8; /* Slightly transparent placeholder for better visibility */
  font-style: italic; /* Italicize placeholder text for differentiation */
}

/* Hover State */
.input-field:hover {
  border-color: var(--carolina-blue); /* Change border color on hover */
}

/* Disabled State */
.input-field:disabled {
  background: rgba(240, 240, 240, 1); /* Lighter background for disabled state */
  color: var(--manatee); /* Change text color for disabled state */
  cursor: not-allowed; /* Change cursor to indicate disabled state */
}

.input-field:focus { outline-color: var(--carolina-blue); }

.input-field::placeholder { color: var(--independence); }

.hero-form .btn {
  --width: calc(100% - 40px);
  --height: 50px;
  margin: 20px;
  text-transform: uppercase;
}

/* Sold Cars Section Styles */
.sold-cars-section {
    padding: 40px 0;
    background: #f8f9fa;
    margin-top: 40px;
}

.sold-cars-section .section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.sold-cars-section .section-title h2 {
    display: inline-block;
    background: #f8f9fa;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    color: #dc3545;
}

.sold-cars-section .section-title:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
    z-index: 0;
}

.sold-car-card {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.sold-car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.sold-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    z-index: 2;
}



/*-----------------------------------*\
  #FEATURED CAR
\*-----------------------------------*/
/*-----------------------------------*\
  #FEATURED CARS SECTION
\*-----------------------------------*/

.section.featured-car {
  padding: 60px 0; /* Space above and below the section */
  background-color: rgba(240, 240, 240, 0.9); /* Light background with transparency */
}

.title-wrapper {
  display: flex; /* Flexbox for title and link alignment */
  justify-content: space-between; /* Space between title and link */
  align-items: center; /* Center items vertically */
  margin-bottom: 30px; /* Space below the title wrapper */
}

.section-title {
  font-size: var(--fs-2); /* Font size for the section title */
  color: var(--space-cadet); /* Title color */
  font-weight: var(--fw-600); /* Bold title */
}

.featured-car-link {
  display: flex; /* Flexbox for link alignment */
  align-items: center; /* Center items vertically */
  color: var(--carolina-blue); /* Link color */
  font-size: var(--fs-6); /* Font size for the link */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.featured-car-link:hover {
  color: var(--deep-cerise); /* Change color on hover */
}

.featured-car-list {
  display: grid; /* Grid layout for car cards */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive columns */
  gap: 20px; /* Space between cards */
}

.featured-car-card {
  background: var(--gradient); /* Background gradient for cards */
  border: 1px solid var(--white); /* Border color */
  border-radius: var(--radius-18); /* Rounded corners */
  box-shadow: var(--shadow-1); /* Shadow for depth */
  overflow: hidden; /* Prevent overflow */
  display: flex; /* Flexbox for card layout */
  flex-direction: column; /* Stack children vertically */
  height: 100%; /* Ensure all cards have the same height */
  transition: transform 0.3s ease; /* Smooth transition for hover effect */
}

.featured-car-card:hover {
  transform: translateY(-5px); /* Lift effect on hover */
}

.card-banner {
  overflow: hidden; /* Prevent overflow */
}

.card-banner img {
  width: 100%; /* Make image responsive */
  height: 100%; /* Fixed height for images */
  object-fit: cover; /* Cover the area without distortion */
}

.card-content {
  padding: 15px; /* Padding inside card content */
  flex-grow: 1; /* Allow content to take remaining space */
}

.card-title-wrapper {
  display: flex; /* Flexbox for title and year alignment */
  justify-content: space-between; /* Space between title and year */
  align-items: center; /* Center items vertically */
  margin-bottom: 10px; /* Space below title wrapper */
}

.card-title {
  font-size: var(--fs-5); /* Font size for the car title */
  color: var(--space-cadet); /* Title color */
}

.card-title > a {
  color: inherit; /* Inherit color from parent */
  text-decoration: none; /* Remove underline */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.card-title > a:hover {
  color: var(--carolina-blue); /* Change color on hover */
}

.card-list {
  list-style: none; /* Remove default list style */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margin */
}

.card-list-item {
  display: flex; /* Flexbox for icon and text alignment */
  align-items: center; /* Center items vertically */
  gap: 8px; /* Space between icon and text */
  color: var(--independence); /* Text color */
}

.card-price-wrapper {
  display: flex; /* Flexbox for price and buttons alignment */
  justify-content: space-between; /* Space between price and buttons */
  align-items: center; /* Center items vertically */
  margin-top: 15px; /* Space above price wrapper */
}

.card-price {
  font-size: var(--fs-5); /* Font size for the price */
  color: var(--space-cadet); /* Price color */
}

.card-price strong {
  font-size: var(--fs-3); /* Strong price font size */
  font-weight: var(--fw-400); /* Price font weight */
}

.btn {
  background: var(--carolina-blue); /* Button background color */
  color: var(--white); /* Button text color */
  border: none; /* No border */
  border-radius: var(--radius-14); /* Rounded corners */
  padding: 10px 15px; /* Padding inside button */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background 0.3s ease; /* Smooth transition for background color */
}

.btn:hover {
  background: var(--deep-cerise); /* Change background on hover */
}

.fav-btn {
  background: transparent; /* Transparent background for favorite button */
  color: var(--carolina-blue); /* Icon color */
  border: none; /* No border */
  cursor: pointer; /* Pointer cursor on hover */
  transition: color 0.3s ease; /* Smooth transition for color */
}

.fav-btn:hover {
  color: var(--deep-cerise); /* Change color on hover */
}

/*-----------------------------------*\
  #GET START
\*-----------------------------------*/

.get-start .section-title { margin-bottom: 25px; }

.get-start-list {
  display: grid;
  gap: 20px;
}

.get-start-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-18);
  border: 1px solid var(--white);
  transition: var(--transition);
}

.get-start-card:hover {
  background: var(--alice-blue-2);
  box-shadow: var(--shadow-1);
}

.get-start-card .card-icon {
  background: var(--icon-card-bg, var(--columnia-blue));
  color: var(--icon-card-color, var(--carolina-blue));
  height: 50px;
  width: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-14);
  margin-bottom: 20px;
}

.get-start-card .card-icon ion-icon {
  font-size: 26px;
  --ionicon-stroke-width: 45px;
}

.get-start-card .icon-1 {
  --icon-card-bg: var(--mimi-pink);
  --icon-card-color: var(--deep-cerise);
}

.get-start-card .icon-2 {
  --icon-card-bg: var(--columbia-blue);
  --icon-card-color: var(--carolina-blue);
}

.get-start-card .icon-3 {
  --icon-card-bg: var(--honey-dew);
  --icon-card-color: var(--medium-sea-green);
}

.get-start-card .icon-4 {
  --icon-card-bg: var(--pale-purple-pantone);
  --icon-card-color: var(--slate-blue);
}

.get-start-card .card-title {
  color: var(--space-cadet);
  font-family: var(--ff-nunito);
  font-weight: var(--fw-400);
  margin-bottom: 15px;
}

.get-start-card .card-text { color: var(--independence); }

.get-start-card .card-link {
  position: relative;
  color: var(--carolina-blue);
  width: max-content;
}

.get-start-card .card-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--carolina-blue);
  transition: var(--transition);
}

.get-start-card .card-link:is(:hover, :focus)::before { width: 100%; }





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog .section-title { margin-bottom: 30px; }

.blog-card {
  background: var(--alice-blue-2);
  border-radius: var(--radius-18);
  border: 1px solid var(--white);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.blog-card .card-banner {
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
}

.blog-card .card-banner a:first-child { height: 100%; }

.blog-card .card-banner img {
  height: 100%;
  object-fit: cover;
}

.blog-card .card-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  --height: 30px;
  --width: 92px;
}

.blog-card .card-content { padding: 20px; }

.blog-card .card-title { margin-bottom: 20px; }

.blog-card .card-title > a { color: inherit; }

.blog-card .card-title > a:is(:hover, :focus) { color: var(--carolina-blue); }

.blog-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-card :is(.publish-date, .comments) {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-6);
  color: var(--independence);
}

.blog-card :is(.publish-date, .comments) ion-icon {
  font-size: 15px;
  --ionicon-stroke-width: 50px;
}

.blog .has-scrollbar {
  display: flex;
  gap: 20px;
  scroll-snap-type: inline mandatory;
  overflow-x: auto;
  padding-bottom: 20px;
}

.blog .has-scrollbar > li {
  flex-shrink: 0;
  max-width: 330px;
  width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar-track {
  background: var(--alice-blue-1);
  outline: 2px solid var(--carolina-blue);
  border-radius: 10px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  border-color: var(--alice-blue-1);
  background: var(--carolina-blue);
  border-radius: 10px;
}

.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 40px); }





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background: var(--alice-blue-4);
  color: var(--independence);
}

.footer a { color: inherit; }

.footer-top {
  padding-block: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  row-gap: 50px;
}

.footer-top .logo { margin-bottom: 20px; }

.footer-text {
  font-size: var(--fs-6);
  line-height: 1.8;
}

.footer-list { font-family: var(--ff-nunito); }

.footer-list:not(:last-of-type) { width: 50%; }

.footer-list:last-of-type {
  width: 100%;
  column-count: 2;
}

.footer-list-title {
  color: var(--space-cadet);
  font-weight: var(--fw-600);
  margin-bottom: 8px;
}

.footer-link {
  font-size: var(--fs-6);
  padding-block: 6px;
}

.footer-link:is(:hover, :focus) { color: var(--carolina-blue); }

.footer-list:last-child > li:first-child { column-span: all; }

.footer-bottom {
  background: var(--gradient);
  border: 1px solid var(--white);
  border-radius: var(--radius-18) var(--radius-18) 0 0;
  padding: 20px;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-link { font-size: 20px; }

.social-link ion-icon { --ionicon-stroke-width: 40px; }

.social-link:is(:hover, :focus) { color: var(--carolina-blue); }

.copyright { font-size: var(--fs-6); }

.copyright > a { display: inline-block; }

.copyright > a:is(:hover, :focus) { color: var(--carolina-blue); }





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 350px screen
 */

@media (min-width: 350px) {

  /**
   * FEATURED CAR
   */

  .featured-car-card .card-list { grid-template-columns: 1fr 1fr; }

  .featured-car-card .card-price { margin-right: auto; }

  .featured-car-card .btn:last-child {
    min-width: max-content;
    padding-inline: 15px;
  }

}





/**
 * responsive for large than 580px screen
 */

@media (min-width: 580px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    margin-inline: auto;
  }



  /**
   * HEADER
   */

  .header-actions .btn span {
    display: block;
    font-weight: var(--fw-400);
    padding-inline: 15px;
  }

  .header-actions .btn:first-of-type ion-icon { display: none; }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 2.625rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }



  /**
   * HEADER
   */

  .header-actions { gap: 30px; }

  .header-contact {
    display: block;
    text-align: center;
  }

  .header-contact .contact-link {
    color: var(--space-cadet);
    font-family: var(--ff-nunito);
    font-size: var(--fs-5);
    line-height: 1.3;
  }

  .header-contact .contact-link:is(:hover, :focus) { color: var(--carolina-blue); }

  .header-contact .contact-time {
    color: var(--independence);
    font-size: var(--fs-7);
  }



  /**
   * HERO
   */

  .hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    z-index: 1;
  }

  .hero-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 0.8fr; /* Grid layout */
    background: rgba(241, 242, 242, 0.8); /* 50% transparency with #f1f2f2 */
    border: 1px solid #f1f2f2; /* Border color set to #f1f2f2 */
    box-shadow: var(--shadow-1);
    border-radius: var(--radius-18);
    font-family: var(--ff-nunito);
  }
  
  .input-wrapper {
    padding: 15px 20px;
  }
  
  .input-wrapper:not(:last-of-type) {
    border-bottom: none; /* Remove bottom border */
    border-right: 1px solid hsla(0, 0%, 0%, 0.08); /* Right border with subtle transparency */
  }
  
  .input-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  

  .hero-banner {
    display: block;
    background: url("../images/herro.jpg") no-repeat;
    background-size: cover;
    background-position: left;
    position: absolute;
    top: 100px;
    bottom: 50px;
    left: 65%;
    width: 500px;
    border-radius: 30px;
    z-index: -1;
  }



  /**
   * FEATURED CAR
   */

  .featured-car-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }



  /**
   * GET START
   */

  .get-start-list { grid-template-columns: 1fr 1fr; }



  /**
   * FOOTER
   */

  .footer-brand { width: 100%; }

  .footer-text { max-width: 400px; }

  .footer-bottom {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding-block: 30px;
    box-shadow: var(--shadow-1);
  }

  .social-list { margin-bottom: 0; }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }



  /**
   * HERO
   */

  .hero .container { width: 100%; }



  /**
   * BLOG
   */

  .blog .has-scrollbar { padding-bottom: 50px; }

  .blog .has-scrollbar > li { max-width: 450px; }



  /**
   * FOOTER
   */

  .footer-list:not(:last-of-type) { width: 25%; }

  .footer-list:last-of-type { width: 50%; }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 2.875rem;
    --fs-2: 2rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1170px; }




  /**
   * HEADER
   */

  .overlay,
  .nav-toggle-btn { display: none; }

  .navbar,
  .navbar.active { all: unset; }

  .navbar-link {
    margin-bottom: 0;
    font-weight: var(--fw-600);
  }

  .navbar-list {
    display: flex;
    gap: 50px;
  }



  /**
   * HERO
   */

  .hero { min-height: 100vh; }

  .hero-banner {
    left: auto;
    right: 50px;
    width: 630px;
  }

  .hero-form { max-width: 900px; }

  .hero-form .btn {
    --width: calc(100% - 40px);
    --height: 50px;
    margin: 20px;
    text-transform: uppercase;
  }



  /**
   * FEATURED CAR 
   */

  .featured-car-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }



  /**
   * GET START
   */

  .get-start-list { grid-template-columns: repeat(4, 1fr); }



  /**
   * BLOG
   */

  .blog .has-scrollbar > li {
    max-width: 340px;
    scroll-snap-align: center;
  }



  /**
   * FOOTER
   */

  .footer-brand { width: 33.33%; }

  .footer-text { max-width: 35ch; }

  .footer-list:not(:last-of-type) { width: 16.66%; }

  .footer-list:last-of-type { width: 33.33%; }

}
/*-----------------------------------*\
  #CAR RESERVATION SECTION
\*-----------------------------------*/

.car_reservation_section {
  padding: 60px 0; /* Space above and below the section */
  background-color: rgba(240, 240, 240, 0.9); /* Light background with transparency */
}

.reserve-banner-section {
  text-align: center; /* Center the banner text */
  margin-bottom: 40px; /* Space below the banner */
}

.reserve-banner-section h2 {
  font-size: var(--fs-2); /* Font size for the banner title */
  color: var(--space-cadet); /* Title color */
  font-weight: var(--fw-600); /* Bold title */
}

.row {
  display: flex; /* Flexbox for layout */
  flex-wrap: wrap; /* Allow wrapping */
  gap: 20px; /* Space between columns */
}

.col-md-7, .col-md-5 {
  flex: 1; /* Allow columns to grow */
  min-width: 300px; /* Minimum width for responsiveness */
}

.car_details_section {
  background: var(--white); /* White background for car details */
  border-radius: var(--radius-18); /* Rounded corners */
  padding: 20px; /* Padding inside the section */
  box-shadow: var(--shadow-1); /* Shadow for depth */
}

.client_details {
  background: var(--white); /* White background for client details */
  border-radius: var(--radius-18); /* Rounded corners */
  padding: 20px; /* Padding inside the section */
  box-shadow: var(--shadow-1); /* Shadow for depth */
}

h3 {
  font-size: var(--fs-3); /* Font size for section headings */
  color: var(--space-cadet); /* Heading color */
  margin-bottom: 15px; /* Space below headings */
}

.form-group {
  margin-bottom: 20px; /* Space below form groups */
}

.form-control {
  width: 100%; /* Full width for inputs */
  padding: 12px; /* Padding inside inputs */
  border: 2px solid var(--white); /* Border color */
  border-radius: var(--radius-14); /* Rounded corners */
  transition: border-color 0.3s ease; /* Smooth transition for focus effect */
}

.form-control:focus {
  border-color: var(--carolina-blue); /* Change border color on focus */
  outline: none; /* Remove default outline */
}


.btn:hover {
  background: var(--deep-cerise); /* Change background on hover */
}

/* Carousel Styles */
.carousel {
  margin-bottom: 30px; /* Space below the carousel */
}

.carousel-item img {
  width: 100%; /* Full width for images */
  height: 100%; /* Fixed height for images */
  object-fit: cover; /* Cover the area without distortion */
}

/* Table Styles */
.table {
  width: 50%; /* Full width for the table */
  border-collapse: collapse; /* Collapse borders */
  margin-top: 20px; /* Space above the table */
}

.table th, .table td {
  padding: 12px; /* Padding inside table cells */
  border: 1px solid var(--eerie-black); /* Border color */
  text-align: left; /* Align text to the left */
}

.table th {
  background: var(--columbia-blue); /* Background color for headers */
  color: var(--eerie-black); /* Text color for headers */
}

.table td {
  background: var(--fw-600); /* Background color for table cells */
  color: var(--eerie-black); /* Text color for table cells */
}

/* Alert Styles */
.alert {
  padding: 15px; /* Padding inside alert */
  margin-bottom: 20px; /* Space below alert */
  border-radius: var(--radius-14); /* Rounded corners */
}

.alert-danger {
  background-color: rgba(255, 99, 71, 0.1); /* Light red background */
  color: #d9534f; /* Dark red text */
}

.alert-success {
  background-color: rgba(76, 175, 80, 0.1); /* Light green background */
  color: #5cb85c; /* Dark green text */
}
