* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  /* color: rgb(152, 9, 9); */
  /* color: #f0a500; */
    overflow-x: hidden;
  width: 100%;
}
/* Make sure images / media are not overflowing */
img, video, iframe {
  max-width: 100%;
  height: auto;
}


/*=== topbar ===*/
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;  
  width: 100%;
}


/*... header ...*/
/*=== topbar header's logo ===*/
.header {
  display: flex;
  justify-content:space-between;
  align-items: center;
  padding: 12px 200px 15px 70px;
  background-color: #f0a500;
}
.header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header .logo img {
  height: 40px;
  width: auto;
}
.header .logo button{
  border: none;
}
.header .logo h2 {
  margin: 0;
  font-size: 1.8rem;
  color:rgb(152, 9, 9);
  background:#f0a500 ;
}
/*== topbar contact's contact ==*/
.header .contact {
  display: flex;
  align-items: center;
  gap:25px; /* space between items */
  list-style: none; /* if you are using li directly, remove bullets */
  margin: 0;
  padding: 0;
}
.header .contact li a {
  text-decoration: none;
  padding: 6px 12px;
}
.header .contact .signin{
    display: flex;
    flex-direction: row;
    gap:5px;
    width: 150px;
}
.header .contact .signin img{
    margin-top: 15px;
    width: 30px;
    height: 30px;
}
.header .contact .signin a{
    color: rgb(152, 9, 9);
    font-weight: bold;
}
.header .contact li a:hover {
    color: black;
}
/* "Contact Us" button */
.header .contact li.sign button {
  background:rgb(152, 9, 9);
  color:#f0a500;
  border: none;
  padding: 8px 16px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.header .contact li.sign button:hover {
  transform: scale(1.2);
}


/* Hamburger button styling */
.hamburger {
  display: none;
  font-size:2.5rem;
  color:rgb(152, 9, 9);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}

/* ... header's media query ... */
@media (max-width:768px) {
    html, body {
        overflow-x: hidden;
    }
    .header .logo{
        display: flex;
        flex-direction: column;
        margin-left:-10px;
    }
    .header .logo h2{
        font-size: 1.5rem;
    }
    .header .contact {
        flex-direction: column;
        gap: 20px;
        margin-left: 40px;
    }
    .header .contact .signin img{
        margin-top: 10px;
    }
    .header .contact li a,
    .header .contact li.sign button {
        font-size: 0.8rem;
    }
    .header .contact li.sign button {
        padding: 6px 12px;
        margin-left: -42px;
    }
    /* Optional: adjust any padding / margin that might push things out */
    .header {
        padding-left: 20px;
        padding-right: 20px;
    }
    .navBar .navLinks {
        padding-left: 0;  /* instead of 220px */
    }
    .hamburger{
        display: block;
        margin-left:-12px;
    }
}



/*=== navbar ===*/
.navBar {
  display: block;
  background-color:rgb(152, 9, 9) ;
  /* background-color: orangered; */
  height: 80px;
  border-top: 1px solid white;
  padding: 10px;
}
.navBar .navLinks {
  margin: 0 auto;
  padding-left: 220px;
}
.navBar .linkRight {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem;
  gap: 1.5rem;
}

/*=== topbar navbar's Dropdown menu ===*/
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  min-width: 180px;
  padding: 0.5rem 0;
  list-style: none;
}
.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(-5);
}
.dropdown-menu li a {
  display: block;
  color:black;
  margin-top:-22px;
  font-size:1rem;
}

.linkRight li {
  position: relative;
}
.linkRight li a {
  text-decoration: none;
  font-size: 1.03rem;
  color: white;
  font-weight: bold;
  padding: 0.5rem 0.75rem;
  transition: background 0.3s, color 0.3s;
}
.linkRight li a:hover {
  /* color:#555; */
  color: #f0a500;
}
.linkRight li.sign button {
  background: red;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-weight: bold;
  box-sizing: border-box;
    /* Pulse animation */
  animation: pulse-btn 2s ease-in-out infinite;
}
/* @keyframes for pulse */
@keyframes pulse-btn {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* Mobile / small-screen styles */
@media (max-width:768px) {
  .header{
    height: 150px;
  }
  .navBar {
    display: none;
    width: 100%;
  }
  .navBar.active {
    display: block;
    background:rgb(152, 9, 9);
    height: 60vh;
  }
  .navBar .navLinks {
    padding: 1rem;
  }
  .navBar .linkRight {
    flex-direction: column;
    gap: 0;
  }
  .linkRight li {
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
  }
  .linkRight li a {
    display: block;
    width: 100%;
    color: #f0a500;
    padding: 0.75rem 1rem;
    background: transparent;
  }
  
  /* Allow scrolling if list is long */
  .navBar.active .linkRight {
    overflow-y: auto;
    max-height: 80vh;
    padding-bottom: 100px; /* space for button visibility */
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
  }
  .dropdown-menu li a {
    color:white;
    padding-left: 2rem;
  }

}










/* ========== Hero Section CSS ========== */

/* Keyframes for initial jump animation */
@keyframes jump-once {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Hero container */
.hero-automobile {
  position: relative;
  height: 70vh;
  /* background: url('./hero\ bc\ img.webp') center / cover no-repeat  fixed; */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Overlay to darken background for better contrast */
.hero-automobile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
    /* background-color: rgba(73, 65, 65, 0.5); */
  z-index: 1000;
  pointer-events: none; 
}

/* Inner container to hold content and image */
.hero-automobile .hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 1200px;
  width: 100%;
  padding: 0 2rem;
}

/* Left side (text) */
.hero-automobile .hero-left {
  flex: 1;
  margin-left: 100px;
  padding-right: 2rem;
  animation: jump-once 1s ease-in-out 1 forwards;
}

.hero-automobile .hero-left h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color:orangered;
}

.hero-automobile .hero-left p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color:#555;
  /* font-weight: bold; */
}

.hero-automobile .hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.hero-automobile .hero-features li {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  /* font-weight: bold; */
  color:black;
}

.hero-automobile .hero-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ffcc00;
}

.hero-automobile .hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-automobile .btn-primary,
.hero-automobile .btn-secondary {
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-automobile .btn-primary {
  background-color: #ff5722;
  color:white;
  font-weight: bold;
}

.hero-automobile .btn-primary:hover {
  background-color: black;
  color: orangered;
}

.hero-automobile .btn-secondary {
  background-color: transparent;
  /* color: white; */
  /* color:orangered; */
  /* border: 2px solid black; */
  background-color: black;
  color: white;
  font-weight: bold;
}

.hero-automobile .btn-secondary:hover {
  background-color: orangered;
  color:black;
}

/* Right side (image) */
.hero-automobile .hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-automobile .hero-right img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  animation-name: jump-once;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

/* Media query for small screens <= 450px */
@media screen and (max-width: 768px) {
  .hero-automobile {
    /* maybe reduce height on small screens */
    height: auto;  
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    background-attachment: scroll; /* fixed backgrounds often behave badly on mobile */
  }

  .hero-automobile .hero-container {
    flex-direction: column;
    padding: 0 1rem;
  }

  .hero-automobile .hero-left {
    margin-left: 0;
    padding-right: 0;
    text-align: center;
  }

  .hero-automobile .hero-left h1 {
    font-size: 2rem;
  }

  .hero-automobile .hero-left p {
    font-size: 1rem;
  }

  .hero-automobile .hero-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-automobile .btn-primary,
  .hero-automobile .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-automobile .hero-right img {
    max-width: 80%;
    margin: 1rem 0;
  }
  .hero-automobile .hero-features li::before {
  content: "✔";
  position: absolute;
  left: 65px;
  color: #ffcc00;
  }
}











/* ========== About Us Section Styles ========== */

.about-us {
  padding: 4rem 2rem;
  /* background-color:rgb(172, 166, 166); */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color:orangered;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-box {
  background: orangered;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-us .about-container .about-values 
.value-box:nth-child(3){
  /* background-color: orange; */
  margin-left: 170px;
  width: 200px;
}
.value-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.value-box h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  color: white;
}

.value-box p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: white;
}



/* Responsive for smaller screens */
@media screen and (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    margin-bottom: 2rem;
  }

  .about-values {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 450px) {
  .about-us {
    padding: 3rem 1rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .value-box {
    padding-top: 30px;
    padding: 1rem;
    width: 200px;
    margin-left: 30px;
  }

  .value-box h3 {
    font-size: 1.1rem;
  }

  .value-box p {
    font-size: 0.9rem;
  }
  .about-us .about-container .about-values 
  .value-box:nth-child(3){
    /* background-color: orange; */
    margin-left: 30px;
    width: 200px;
  }
}









/* ===== Base + Animation ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.why-services-alt {
  /* padding: 4rem 2rem; */
  background: #ffffff;
}

.ws-wrapper {
  background-color: orangered;
  /* margin: 0 auto; */
  padding: 50px;
  width: 100vw;
}

.ws-header {
  text-align: center;
  margin-bottom: 2rem;
}

.ws-header h2 {
  font-size: 2.5rem;
  color:#555; /* a warm orangered tone */
  margin-bottom: 0.5rem;
}

.ws-subtitle {
  font-size: 1.1rem;
  color: #555;
}

/* Card Grids */
.ws-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.why-cards {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.service-cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}



.ws-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  margin-left: 50px;

  /* Pulse animation */
  animation: pulse-icon 2s infinite ease-in-out;
  /* For better performance */
  will-change: transform;
}
/* Define the keyframes for the pulse effect */
@keyframes pulse-icon {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.ws-card h3 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 0.6rem;
}

.ws-card p {
  color: white;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== Responsive for <= 768px ===== */
@media screen and (max-width: 768px) {
  .why-services-alt {
    padding: 3rem 1rem;
  }

  .ws-header h2 {
    font-size: 2rem;
  }

  .ws-subtitle {
    font-size: 1rem;
  }

  .ws-cards {
    gap: 1rem;
  }

  .ws-card {
    padding: 1.4rem 1rem;
  }

  .ws-icon {
    font-size: 1.8rem;
  }

  .ws-card h3 {
    font-size: 1.1rem;
  }

  .ws-card p {
    font-size: 0.9rem;
  }
}










/* ===== In The News Section ===== */
.in-the-news {
  padding: 4rem 2rem;
  background-color: #fafafa;
  font-family: Arial, sans-serif;
}

.in-the-news .container {
  /* max-width: 1000px; */
  margin: 0 auto;
}

.in-the-news h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: orangered;
}

/* News Items List */
.news-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.news-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px orangered;
  transition: transform 0.3s, box-shadow 0.3s;
}
.in-the-news .container .news-item:nth-child(1),
.in-the-news .container .news-item:nth-child(3),
.in-the-news .container .news-item:nth-child(5){
  background-color: orangered;
}
.in-the-news .container .news-item:nth-child(1) .news-title,
.in-the-news .container .news-item:nth-child(1) .news-date,
.in-the-news .container .news-item:nth-child(1) .news-summary,
.in-the-news .container .news-item:nth-child(3) .news-title,
.in-the-news .container .news-item:nth-child(3) .news-date,
.in-the-news .container .news-item:nth-child(3) .news-summary,
.in-the-news .container .news-item:nth-child(5) .news-title,
.in-the-news .container .news-item:nth-child(5) .news-date,
.in-the-news .container .news-item:nth-child(5) .news-summary{
  color: white;
}
.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.news-item a {
  color: inherit;
  text-decoration: none;
}

.news-title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
  color: #222;
  /* color: orangered; */
}

.news-date {
  font-size: 0.9rem;
  color: orangered;
  margin-bottom: 1rem;
  font-weight: bold;
  padding-top: 10px;
}

.news-summary {
  font-size: 1rem;
  line-height: 1.4;
  color: #555;
}

/* View More Link */
.view-more {
  display: block;
  width: max-content;
  font-weight: bold;
  margin: 3rem auto 0;
  background-color: black;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.view-more:hover {
  background-color: orangered;
  color: white;
  /* border: 2px solid orangered; */
}

/* ===== Slide-in Animation ===== */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to each news item with stagger */
.news-item {
  opacity: 0;
  animation: slide-up 0.6s ease-out forwards;
}

.news-item:nth-child(1) { animation-delay: 0.2s; }
.news-item:nth-child(2) { animation-delay: 0.4s; }
.news-item:nth-child(3) { animation-delay: 0.6s; }
/* if more items, continue increasing delay */

/* Responsive */
@media (max-width: 768px) {
  .in-the-news h2 {
    font-size: 2rem;
  }

  .news-summary {
    font-size: 0.95rem;
  }
  .news-item{
    margin-right: 35px;
  }
  .view-more {
    padding: 0.6rem 1.2rem;
  }
}











/* ===== Shared Styles ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  font-family: Arial, sans-serif;
}

/* ===== Compare Cars / Model Comparisons ===== */
.compare-cars {
  padding: 4rem 0;
  background-color: #f7f7f7;
}

.compare-cars h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: slide-in 0.8s ease-out forwards;
  animation-delay: 0.2s;
  color: orangered;
}

.table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border: 1px solid #ddd;
  text-align: center;
  color:white;
  background-color: orangered;
}

.comparison-table th {
  background-color:black;
  font-weight: bold;
}

.comparison-table tbody tr {
  opacity: 0;
  animation: slide-in 0.8s ease-out forwards;
  /* background-color: orangered; */
}

/* Stagger row animations */
.comparison-table tbody tr:nth-child(1) { animation-delay: 0.4s; }
.comparison-table tbody tr:nth-child(2) { animation-delay: 0.6s; }
.comparison-table tbody tr:nth-child(3) { animation-delay: 0.8s; }
.comparison-table tbody tr:nth-child(4) { animation-delay: 1s; }
.comparison-table tbody tr:nth-child(5) { animation-delay: 1.2s; }


/* ===== Buying Guides ===== */
.buying-guides {
  padding: 4rem 0;
  background-color:#f7f7f7;
}

.buying-guides h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: slide-in 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.guides-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.guides-list li {
  margin-bottom: 1rem;
  opacity: 0;
  animation: slide-in 0.8s ease-out forwards;
}

.guides-list li:nth-child(1) { animation-delay: 0.4s; }
.guides-list li:nth-child(2) { animation-delay: 0.6s; }
.guides-list li:nth-child(3) { animation-delay: 0.8s; }
.guides-list li:nth-child(4) { animation-delay: 1s; }
.guides-list li:nth-child(5) { animation-delay: 1.2s; }

.guides-list li a {
  color: #007bff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.guides-list li a:hover {
  color: #0056b3;
}

/* ===== Slide-In Keyframes ===== */
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .comparison-table th, .comparison-table td {
    padding: 0.75rem;
  }
  .compare-cars h2,
  .buying-guides h2 {
    font-size: 2rem;
  }
  .guides-list li a {
    font-size: 1rem;
  }
}











/* ===== Newsletter Signup Styles ===== */

.newsletter-signup {
  background-color: orangered;
  padding: 4rem 2rem;
  text-align: center;
  font-family: Arial, sans-serif;
}

.newsletter-signup .container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-signup h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
  opacity: 0;
  animation: slide-in 0.8s ease-out forwards;
}

.newsletter-signup p {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: slide-in 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  animation: slide-in 0.8s ease-out forwards;
  animation-delay: 0.4s;
}

.newsletter-form input[type="email"] {
  padding: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.newsletter-form button {
  padding: 1rem;
  background-color: black;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: white;
  color: black;
}

.newsletter-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #64748b;
  opacity: 0;
  animation: slide-in 0.8s ease-out forwards;
  animation-delay: 0.6s;
}

/* ===== Slide-In Animation Keyframes ===== */
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (min-width: 576px) {
  .newsletter-form {
    flex-direction: row;
  }

  .newsletter-form input[type="email"] {
    flex-grow: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: -1px; /* to connect with button */
  }

  .newsletter-form button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}











/* ===== Car Care Tips Section ===== */
.car-care-tips {
  background-color: #f8f9fa;
  padding: 4rem 2rem;
  font-family: Arial, sans-serif;
  color: #333;
}

.car-care-tips .container {
  max-width: 800px;
  margin: 0 auto;
}

.car-care-tips h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  opacity: 0;
  animation: slide-in 0.8s ease-out forwards;
  color: orangered;
}

.car-care-tips .intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
  opacity: 0;
  animation: slide-in 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.tips-list {
  list-style: inside disc;
  padding: 0;
  margin: 0;
}

.tips-list li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0;
  animation: slide-in 0.8s ease-out forwards;
}

/* Stagger animation for each tip */
.tips-list li:nth-child(1) { animation-delay: 0.4s; }
.tips-list li:nth-child(2) { animation-delay: 0.6s; }
.tips-list li:nth-child(3) { animation-delay: 0.8s; }
.tips-list li:nth-child(4) { animation-delay: 1s; }
.tips-list li:nth-child(5) { animation-delay: 1.2s; }
.tips-list li:nth-child(6) { animation-delay: 1.4s; }
.tips-list li:nth-child(7) { animation-delay: 1.6s; }
.tips-list li:nth-child(8) { animation-delay: 1.8s; }
.tips-list li:nth-child(9) { animation-delay: 2s; }
.tips-list li:nth-child(10) { animation-delay: 2.2s; }

/* ===== Slide-in Keyframes ===== */
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .car-care-tips h2 {
    font-size: 2rem;
  }

  .car-care-tips .intro {
    font-size: 1rem;
  }

  .tips-list li {
    font-size: 0.95rem;
  }
}








.buying-guides-faq {
  padding: 20px 20px;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
}

.buying-guides-faq .container {
  max-width: 800px;
  margin: 0 auto;
}

.buying-guides-faq h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  font-size: 2.5rem;
}

.faq-list .faq-item {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  background-color:orangered;
  color: #555;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  position: relative;
  transition: background-color 0.3s;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-question {
  background-color:black;
  color: white;
}

.faq-item.open .faq-question::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color:orangered;
  color: white;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  padding: 15px 20px;
  max-height: 200px; /* adjust depending on your content */
}









/* Base reset for footer */
.auto-footer {
  position: relative;
  background:rgb(152, 9, 9);
  /* background: orangered; */
  color: #eee;
  padding-top: 30px; 
  font-family: sans-serif;
  overflow: hidden;
}

.auto-footer .logo{
  display: flex;
  flex-direction: row;
  margin-left: 550px;
  margin-bottom: 30px;
}
.auto-footer .logo button{
  border: none;
  background-color: rgb(152, 9, 9);
}
.auto-footer .logo button h2{
  font-size: 2.5rem;
  color: white;
}

/* Footer content */
.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px;
  max-width: 1500px;
  margin: auto;
}


.footer-col {
  flex: 1 1 200px;
  margin: 10px;
}
.footer-col h4 {
  margin-bottom: 10px;
  color: #f0a500;
  /* color: #555; */
  text-shadow: 2px 2px 2px;
  font-size: 1.5rem;

  /* Pulse animation */
  animation: pulse 2s infinite ease-in-out;
  transform-origin: center center;
}
/* Define the pulse keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.footer-content .services{
    padding-left: 100px;
}


.footer-col p,
.footer-col ul {
  font-size: 14px;
  line-height: 1.6;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: #f0a500;
  text-decoration: underline;
}


.social-links {
    margin-top: 30px;
}
.social-links a {
  display: inline-block;
  transition: transform 0.3s, color 0.3s;
  margin: 0 10px;
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
/* Social-links hover animation */
.social-links a {
  display: inline-block;
  transition: transform 0.3s, color 0.3s;
  /* Animation */
  animation: pulse 2s infinite ease-in-out;
  display: inline-block; /* ensures transform works correctly */
  will-change: transform, opacity; /* helps performance */
}
/* Pulse keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes content-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Footer bottom */
.footer-bottom {
  padding: 15px 100px;
  margin-left: 550px;
  margin-bottom: 20px;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
}




/* Responsive for small screens (<= 450px) */
@media (max-width:768px) {
  .auto-footer .logo {
    /* For smaller screens, you probably don't want huge left margin */
    margin-left: 0;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px; /* adjust as needed */
  }

  .auto-footer .logo button {
    width: 100%; /* make button full width or adjust */
    padding: 10px; /* optional padding */
    /* you can change background, border or other styles if needed */
  }

  .auto-footer .logo button h2 {
    font-size: 1.8rem; /* smaller font for smaller screen */
    text-align: center;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }
  .footer-col {
    margin: 5px 0;
    text-align: center;
  }
  .footer-content .services{
    padding-left: 2px;
    /* margin-bottom: 30px; */
    /* padding-top: -40px; */
    padding-bottom: 40px;
  }
  .footer-col p, .footer-col ul li a {
    font-size: 12px;
  }
  .footer-bottom {
    margin-left: 2px;
  }
  .social-links{
    margin-left:-1px;
  }
  .social-links img{
    /* width: 25px; */
    margin-top: 25px;
    margin-bottom: 15px;
  }
}
