@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");


html {
  scroll-behavior: smooth;
}


:root {
  --primary-color: #da042a;
  --primary-color-dark: #c00427;
  --secondary-color: #15151f;
  --secondary-color-dark: #0a0b0f;
  --text-light: #6b7280;
  --extra-light: #f8f7fd;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__subheader {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
}

.section__header {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 3.5rem;
  color: var(--secondary-color-dark);
}

.section__description {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  outline: none;
  border: none;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

img {
  width: 100%;
  display: flex;
}

.logo img {
  max-width: 150px;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.header {
  position: relative;   /* add kia */
  padding-top: 5rem;    /* sirf upar padding rakhi */
  padding-bottom: 0;    /* neeche padding hata di */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("assets/header.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.blog-post-page .header {
  background-image: none;
}

nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  z-index: 9;
}

.nav__bar {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: var(--secondary-color-dark);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background-color: var(--secondary-color);
  transform: translateY(-100%);
  transition: 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  color: var(--white);
  transition: 0.3s;
}

.nav__links a:hover {
  color: var(--primary-color);
}

.header__content {
  max-width: 600px;
}

.header__content h1 {
  margin-bottom: 2rem;
  font-size: 3rem;
  font-weight: 600;
  line-height: 4rem;
  color: var(--white);
}

.header__content p{
  color: var(--white);
  font-size: 1.5rem;

}

.banner__container {
  display: grid;
  grid-auto-rows: minmax(0, 350px);
}

.banner__card {
  padding: 5rem 2rem;
  display: grid;
  place-content: center;
}

.banner__card:nth-child(1) {
  background-color: var(--secondary-color);
}

.banner__card:nth-child(2) {
  background-color: var(--secondary-color-dark);
}

.banner__card h4 {
  max-width: 300px;
  margin: auto;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}


.banner__image img {
  height: 100%;
  object-fit: cover;
}


/* Make sure header can hold absolutely-positioned art */
.header {
  position: relative;
  overflow: hidden; /* car header se bahar na nikle */
}

/* Car container positioned on the right */
.header__car-wrap {
  position: absolute;
  right: -100px;   /* car right side pe rahegi */
  bottom: -55px;   /* car ka tyre background ke end ko touch karega */
  width: min(85vw, 850px);
  max-width: 100%;
  z-index: 0; /* text upar rahe */
  pointer-events: none;
}

/* Floating car image + soft shadow */
.header__car {
  width: 100%;
  height: auto;
  display: block;
  animation: floatY 3.8s ease-in-out infinite;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}

/* “Road lines” under tyres */
.header__car-wrap::after {
  content: "";
  position: absolute;
  left: 6%;
  right: -8%;
  bottom: -6px;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9) 0 90px,
    rgba(255, 255, 255, 0) 90px 150px
  );
  opacity: 0.9;
  filter: blur(6px);
}

/* Float animation */
@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ====== Responsive tweaks ====== */

/* Tablet (max 768px): car chhoti ho jaye */
@media (max-width: 768px) {
  .header__car-wrap {
    width: 70vw;       /* car chhoti ho gayi */
    right: -40px;      /* thoda adjust right */
    bottom: -1;         /* ground pe hi rahe */
    
  }
}

/* Mobile (max 480px): car hide ho jaye */
@media (max-width: 480px) {
  .header__car-wrap {
    display: none;
  }
}





/* Product section */


.product__grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.product__card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  width: 300px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
}

.product__image {
  max-width: 50%;
  height: auto;
  border-bottom: 1px solid #ddd;
  margin-bottom: 2rem;
}

.product__card h4 {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: var(--secondary-color-dark);
  position: absolute;
  left: 150px;
  bottom: 170px;
}

.product__card h3 {
  font-size: 2rem;
  color: var(--secondary-color-dark);
  position: absolute;
  left: 170px;
  bottom: 120px;
}

.btn1 {
  padding: 0.63rem 1.5rem;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  outline: none;
  border: none;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
  margin-top: 1rem;
}

.btn1:hover {
  background-color: var(--secondary-color-dark);
}

.btn.view-more {
  display: block;
  margin: 20px auto; /* yeh center karega */
  background-color: #da042a;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn.view-more:hover {
  background-color: #0a0b0f;
}







/* Another Section */


.experience__container {
  display: grid;
  gap: 2rem;
}

.experience__image img {
  max-width: 500px;
  margin: auto;
}




.service {
  background-color: var(--extra-light);
}

.service__container {
  text-align: center;
}

.service__grid {
  margin-top: 4rem;
  display: grid;
  gap: 4rem 2rem;
}

.service__card img {
  max-width: 150px;
  margin-inline: auto;
  margin-bottom: 1rem;
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.service__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color-dark);
}

.service__card p {
  color: var(--text-light);
}


.service__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}




/* Grid layout for services */
.service__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* compact width */
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Individual service cards */
.service__card {
  background: #fff;
  padding: 0.8rem;               /* compact padding */
  border-radius: 16px;           /* rounded edges */
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-align: center;
  font-size: 0.95rem;
  opacity: 0;                     /* start hidden for animation */
  transform: translateY(15px);    /* start slightly down */
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.3s;
}

/* Show class for fade-in + slide-up */
.service__card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effect */
.service__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Subtle floating animation */
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.service__card.float {
  animation: floatUpDown 3s ease-in-out infinite;
}

/* Images inside cards */
.service__card img {
  max-width: 60px;
  height: auto;
  margin-bottom: 0.8rem;
}

/* Extra services container for toggle */
.extra-services {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.extra-services.show {
  max-height: 2000px; /* enough to show all cards */
}

/* View More button */
.view-more-container {
  text-align: center;
  margin-top: 1.5rem;
}

#viewMoreBtn {
  background: #da042a;
  color: #fff;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

#viewMoreBtn:hover {
  background: #c00427;
  transform: translateY(-2px);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .service__grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
  }
  .service__card {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  .service__card img {
    max-width: 50px;
  }
}















.customisation {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("assets/customisation.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.customisation__container {
  text-align: center;
}

.customisation__container :is(.section__header, .section__description) {
  max-width: 750px;
  margin: auto;
  color: var(--white);
}

.customisation__grid {
  margin-top: 4rem;
  display: grid;
  gap: 4rem 2rem;
}

.customisation__card h4 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
}

.customisation__card p {
  color: var(--white);
}

.price__container {
  text-align: center;
}

.price__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem 1rem;
}


/* FAQ Section */
.faq {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f9fafc, #e9eef6);
  border-radius: 16px;
}
.faq__title {
  font-size: 2.2rem;
  text-align: center;
  font-weight: 700;
  background: linear-gradient(90deg, #da042a, #aa1b08);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2.5rem;
  position: relative;
  display: block;   /* full block banaya */
  animation: fadeInDown 1s ease;
}

/* underline effect */
.faq__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 70%;
  height: 4px;
  background: linear-gradient(90deg, #aa1b08, #da042a);
  border-radius: 10px;
  animation: slideIn 1.2s ease;
}


/* Animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 70%;
  }
}


/* FAQ Item */
.faq__item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #fff;
  transition: all 0.3s ease;
}

.faq__item:hover {
  border-color: #da042a;
  box-shadow: 0 8px 22px rgba(0, 123, 255, 0.15);
}

/* Question button */
.faq__question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq__question:hover {
  color: #000000;
}

/* Icon */
.faq__icon {
  font-size: 1.6rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

/* Answer panel */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  background: #f9f9f9;
  padding: 0 1.5rem;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__answer p {
  padding: 1rem 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Active state */
.faq_item.active .faq_answer {
  max-height: 300px; /* enough space */
  padding: 0 1.5rem 1rem;
}

.faq_item.active .faq_icon {
  transform: rotate(45deg); /* plus turns into x */
  color:#c00427;
}

/* ================= Responsive ================= */

/* Tablet */
@media (max-width: 992px) {
  .faq__title {
    font-size: 2rem;
  }
  .faq__question {
    font-size: 1rem;
    padding: 0.9rem 1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .faq__title {
    font-size: 1.8rem;
  }
  .faq__question {
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
  }
  .faq__icon {
    font-size: 1.2rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .faq__title {
    font-size: 1.6rem;
  }
  .faq__question {
    font-size: 0.9rem;
    padding: 0.7rem 0.9rem;
  }
  .faq__answer {
    font-size: 0.85rem;
  }
}






/* Blog Section */
.blog__container {
  padding: 4rem 1rem;
  background-color: #f5f5f5;
  text-align: center;
}

.blog__header {
  margin-bottom: 2rem;
}

.blog__header h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.blog__header p {
  font-size: 1.2rem;
  color: #777;
  max-width: 600px;
  margin: 0 auto;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog__card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog__image {
  height: px;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.blog__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.blog__card h4 {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1.5rem;
}

.blog__card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.blog__card .btn {
  padding: 0.75rem 1.5rem;
  background-color: #da042a;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 5px;
  font-size: 1rem;
  text-transform: uppercase;
}

.blog__card .btn:hover {
  background-color: #c00427;
}
/* Media Queries */
@media (max-width: 768px) {
  .blog__container {
      padding: 2rem 1rem;
  }
  .blog__header h2 {
      font-size: 2rem;
  }
  .blog__header p {
      font-size: 1rem;
  }
  .blog__card {
      padding: 1rem;
  }
}



.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.text-center {
  text-align: center;
}

.section__subheader {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
}

.section__header {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 3.5rem;
  color: var(--secondary-color-dark);
}

.section__description {
  margin-bottom: 2rem;
  color: var(--text-light);
}








.contact {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("assets/contact.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.contact__container :is(.section__header, .section__description) {
  color: var(--white);
}

.contact__btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact__btns .btn:nth-child(1) {
  background-color: transparent;
  border: 2px solid var(--white);
}

.contact__btns .btn:nth-child(2) {
  color: var(--primary-color);
  background-color: var(--white);
  border: 2px solid var(--white);
}

.testimonial__container {
  text-align: center;
}

.swiper {
  width: 100%;
  margin-top: 4rem;
  padding-bottom: 4rem;
}

.testimonial__card {
  max-width: 600px;
  margin: auto;
}

.testimonial__card img {
  max-width: 100px;
  margin: auto;
  margin-bottom: 1rem;
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.testimonial__card p {
  margin-bottom: 1rem;
  color: var(--secondary-color-dark);
}

.testimonial__card h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
}

.footer {
  background-color: var(--secondary-color-dark);
}

.subscribe__container {
  padding-bottom: 0;
  display: grid;
  gap: 2rem;
}

.subscribe__content .section__header {
  color: var(--white);
}

.subscribe__form form {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}


.subscribe__form input {
  width: 100%;
  padding: 0.75rem 2rem;
  outline: none;
  border: none;
  border-radius: 5px;
}
.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__logo {
  margin-bottom: 2rem;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.25rem;
  color: var(--text-light);
  background-color: var(--secondary-color);
  border-radius: 100%;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--primary-color);
  background-color: var(--white);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.footer__links li {
  margin-bottom: 1rem;
}

.footer__links a {
  color: var(--text-light);
  transition: 0.3s;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__links p {
  color: var(--text-light);
}

.footer__links p span {
  font-weight: 500;
  color: var(--white);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--white);
  background-color: var(--secondary-color);
  text-align: center;
}






/* WhatsApp Button Styles */
.whatsapp-button {
  display: inline-block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.3s;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 60%;
  height: 60%;
}


@media (width > 480px) {
  .header__content h1 {
    font-size: 4rem;
    line-height: 5rem;
  }

  .banner__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner__image {
    grid-column: 1/3;
  }

  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .customisation__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:first-child {
    grid-column: 1/3;
  }
}

@media (width > 768px) {
  nav {
    padding: 2rem 1rem;
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav__bar {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    padding: 0;
    width: unset;
    position: static;
    transform: none;
    flex-direction: row;
    background-color: transparent;
  }

  .header {
    padding-top: 0;
  }

  .header__content h1 {
    font-size: 5rem;
    line-height: 6rem;
  }

  .banner__container {
    grid-template-columns: repeat(4, 1fr);
  }

  .banner__image {
    grid-column: 3/5;
  }

  .experience__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .service__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .customisation__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .price__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__content {
    grid-column: 2/3;
  }

  .subscribe__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__col:first-child {
    max-width: 400px;
  }
}

@media (width > 1024px) {
  .price__grid {
    gap: 2rem;
  }
}



/* Media Queries */
@media (max-width: 768px) {
  .blog__container {
      padding: 2rem 1rem;
  }
  .blog__header h2 {
      font-size: 2rem;
  }
  .blog__header p {
      font-size: 1rem;
  }
  .blog__card {
      padding: 1rem;
  }
}

