@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary-color: #42200b;
  --secondary-color: #ffc135;
  --tertiary-color: #df1c1c;
  --text-dark: #212529;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font-1: 'Alfa Slab One', serif;
  --header-font-2: 'Bebas Neue', sans-serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  font-size: 3rem;
  font-weight: 500;
  font-family: var(--header-font-1);
  color: var(--primary-color);
  text-align: center;
  line-height: 3.75rem;
  text-shadow: 2px 2px var(--secondary-color);
}

.section__description {
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.75rem;
}

.btn {
  padding: 1rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--tertiary-color);
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color);
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
}

#darkModeToggle {
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 1000;
  padding: 5px 10px;
  font-size: 12px;
  background: #444;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  width: 50px;
  text-align: center;
}

.top-bar {
  background-color: #333;
  color: white;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.top-bar__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allow items to wrap on small screens */
}

.top-bar__info a {
  color: white;
  text-decoration: none;
  margin-right: 1.5rem;
  transition: color 0.3s ease;
}

.top-bar__info a:hover {
  color: var(--secondary-color);
}

.top-bar__info i {
  margin-right: 0.5rem;
}

.top-bar__socials a {
  color: white;
  margin-left: 1rem;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.top-bar__socials a:hover {
  color: var(--secondary-color);
}

.header {
  background-image: url('fix_back.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100vw;
}

nav {
  position: fixed;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  z-index: 9;
}

.nav__header {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
  height: 9vh;
  width: 100vw;
}

.nav__logo .logo-link {
  text-decoration: none;
  color: inherit;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
}

.nav__logo .logo-span {
  font-size: 1rem;
  display: block;
  font-weight: 500;
  letter-spacing: 1px;
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  color: white;
}

.nav__links {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  padding: 2rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--primary-color);
  transition: 0.5s;
  z-index: -1;
  transform: translateY(-100%);
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  font-weight: 700;
  white-space: nowrap;
  color: var(--white);
  transition: 0.3s;
}

.section__description {
  font-weight: 600;
}

#special .special-h3,
.order__container h3,
.event__details h3,
.reservation__container h3,
.testimonial__card h4 {
  font-weight: 700;
}

.nav__links a:hover {
  color: var(--secondary-color);
}

.header__container {
  padding-top: 3rem;
  padding-bottom: 3rem;
  display: grid;
  gap: 2rem;
  overflow: hidden;
}

.header__image img {
  max-width: 600px;
  margin-inline: auto;
}

.header__content h2 {
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  font-size: 1.75rem;
  font-weight: 400;
  font-family: var(--header-font-2);
  color: var(--primary-color);
  border: 2px dashed var(--primary-color);
  text-align: center;
}

.header__content h1 {
  font-size: 4.5rem;
  font-weight: 500;
  font-family: var(--header-font-1);
  color: var(--primary-color);
  line-height: 3.5rem;
  text-align: center;
  text-shadow: 2px 2px var(--white);
}

.header__content h1 span {
  font-size: 3rem;
}

.header__content .book-now-link {
  font-size: 2.5rem;
  text-decoration: none;
  color: inherit;
}

#special {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

#special .special-h3 {
  text-align: center;
  font-weight: 500;
}

#special .special-h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-us__card {
  background: #fff;
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: transform 0.3s ease;
}

.why-us__card:hover {
  transform: translateY(-5px);
}

.why-us__card i {
  font-size: 2.5rem;
  color: yellowgreen;
}

.why-us__card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  color: #333;
}

.why-us__card p {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

.order__container h3 {
  max-width: fit-content;
  margin-inline: auto;
  margin-bottom: 1rem;
  padding: 0.5rem 2rem;
  font-size: 1.5rem;
  font-weight: 400;
  font-family: var(--header-font-2);
  color: var(--primary-color);
  background-color: var(--secondary-color);
}

.order__container .section__header {
  margin-bottom: 1rem;
}

.order__container .section__description {
  margin-bottom: 2rem;
  text-align: center;
}

#toggleServicesBtn {
  margin-left: 10px;
  padding: 8px 16px;
  background-color: yellowgreen;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

#servicesDropdown {
  display: none;
  margin-top: 10px;
  padding-left: 0;
  text-align: center;
}

#servicesDropdown li {
  display: list-item;
  list-style-position: outside;
  margin: 5px auto;
  width: max-content;
}

.order__grid {
  display: grid;
  gap: 2rem 1rem;
}

.order__card {
  padding: 2rem 1rem;
  border-radius: 1rem;
  text-align: center;
  transition: 0.3s;
}

.order__card:hover {
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
}

.order__card img {
  max-width: 250px;
  margin-inline: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(10px 10px 30px rgba(0, 0, 0, 0.3));
}

.order__card h4 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.order__card .offer-span {
  background-color: orange;
  color: white;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 12px;
  margin-left: 5px;
}

.order__card p {
  margin-bottom: 2rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.75rem;
}

.event__content {
  display: grid;
  gap: 2rem;
  padding: 1rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.event__details {
  text-align: center;
}

.event__details h3 {
  font-size: 2rem;
  font-weight: 500;
  font-family: var(--header-font-2);
  color: var(--text-dark);
}

.event__details .section__header {
  margin-bottom: 1rem;
}

#bookingToggle {
  margin-top: 1.5rem;
}

#bookingSteps {
  display: none;
  margin-top: 1rem;
}

#bookingSteps ol {
  margin-left: 1rem;
}

#bookingSteps li {
  margin-bottom: 1rem;
}

.reservation {
  position: relative;
  isolation: isolate;
}

.reservation__container h3 {
  font-size: 2rem;
  font-weight: 500;
  font-family: var(--header-font-2);
  color: var(--text-dark);
  text-align: center;
  margin: Center;
}

.reservation__container form {
  max-width: 400px;
  margin-inline: auto;
  margin-top: 4rem;
  display: grid;
  gap: 1rem;
}

.reservation__container input,
.reservation__container textarea,
.reservation__container select {
  padding: 0.75rem 1rem;
  outline: none;
  border: 1px solid var(--text-dark);
  font-size: 1rem;
  color: var(--text-dark);
  width: 100%;
  gap: 0.5rem;
  margin: center;
}

.reservation__container input::placeholder {
  color: var(--text-dark);
}

.reservation img {
  display: none;
}

.submit-btn {
  background-color: #2ecc71;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #27ae60;
}

.footer {
  background-image: url('bg.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.footer__logo .logo-link {
  text-decoration: none;
  color: inherit;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.footer__logo .logo-span {
  font-size: 1.2rem;
  display: block;
  font-weight: 500;
  letter-spacing: 1px;
}

.footer__content {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}

.footer__content p {
  font-weight: 5500;
  color: var(--white);
  line-height: 1.75rem;
}

.footer__links {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.footer__links li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  color: var(--white);
}

.footer__links li span {
  font-size: 1.25rem;
}

.footer__socials {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  font-size: 1.5rem;
  color: var(--white);
}

.footer__socials a:hover {
  color: var(--secondary-color);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--white);
  text-align: center;
  background-color: black;
}

.testimonials__container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial__card {
  background: #fff;
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: transform 0.3s ease;
}

.testimonial__card:hover {
  transform: translateY(-5px);
}

.testimonial__card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: #555;
}

.testimonial__card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

@media (max-width: 768px) {
  .nav__links a {
    font-size: 1.2rem;
  }
  .order__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .header__content h1 {
    font-size: 3.5rem;
  }
  .header__content h2 {
    font-size: 1.5rem;
  }
  .why-us__grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .order__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header__content h1 {
    font-size: 2.8rem;
    line-height: 3rem;
  }
  .header__content h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 400px) {
  .header__content h1 {
    font-size: 3rem;
  }
  .header__content h2 {
    font-size: 1.2rem;
  }
  .why-us__grid {
    grid-template-columns: 1fr;
  }
}

@media (width > 768px) {
  nav {
    position: static;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .nav__header {
    padding: 0;
    background-color: transparent;
  }

  .nav__logo img {
    max-width: 250px;
  }

  .nav__logo-dark {
    display: flex;
  }

  .nav__logo-white {
    display: none;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    padding: 0;
    flex-direction: row;
    justify-content: flex-end;
    background-color: transparent;
    transform: none;
    z-index: 1;
  }

  .nav__links a {
    color: var(--primary-color);
  }

  .nav__links a:hover {
    color: var(--tertiary-color);
  }

  .header__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .header__image {
    grid-area: 1/2/2/3;
  }

  .header__content h2 {
    margin-inline-start: unset;
  }

  .header__content h1 {
    text-align: left;
  }

  .banner__card {
    padding: 1.5rem;
  }

  .banner__card:nth-child(1) {
    grid-area: 1/1/3/2;
  }

  .order__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .event__content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .event__image {
    grid-area: 1/2/2/3;
  }

  .event__details,
  .event__details .section__header {
    text-align: left;
  }

  .reservation__container form {
    max-width: 600px;
    grid-template-columns: repeat(2, 1fr);
  }

  .reservation img {
    display: flex;
    position: absolute;
    z-index: -1;
  }

  .reservation__bg-1 {
    left: 0;
    top: 0;
    width: clamp(100px, 25vw, 350px);
  }

  .reservation__bg-2 {
    right: 0;
    bottom: 0;
    width: clamp(100px, 20vw, 250px);
  }

  .footer__content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__links li {
    justify-content: flex-end;
  }

  .footer__socials {
    justify-content: flex-end;
  }
}

@media (width > 1024px) {
  .order__grid {
    gap: 2rem;
  }
}

/* Dropdown container */
.dropdown {
  max-width: 600px;
  margin: 2rem auto;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

/* Dropdown button */
.dropdown button {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--header-font-2);
  cursor: pointer;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.dropdown button:hover {
  background-color: var(--tertiary-color);
}

/* Dropdown arrow */
.dropdown button .arrow {
  transition: transform 0.3s ease;
}

/* Rotate arrow when active */
.dropdown button.active .arrow {
  transform: rotate(180deg);
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  color: var(--text-dark);
  padding: 0 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

/* Show dropdown content when active */
.dropdown-content.show {
  max-height: 1000px; /* large enough for content */
  padding: 1rem 1.5rem 1.5rem;
}

/* Steps styling */
.dropdown-content ol {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

.dropdown-content ol li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

body.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}

.dark-mode .section__header,
.dark-mode .section__description,
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode p {
  color: #f0f0f0;
}

.dark-mode .btn {
  background-color: #bb86fc;
  color: #000;
}

.dark-mode .order__card {
  background-color: #1e1e1e00;
}

.dark-mode nav {
  background-color: rgba(30, 30, 30, 0.271);
  backdrop-filter: blur(5px);
}

.dark-mode .footer,
.dark-mode .footer__bar {
  background-color: #212121bb;
}

.dark-mode input,
.dark-mode textarea,
.dark-mode select {
  background-color: #2c2c2c;
  color: white;
  border: 1px solid #555;
}

/* Faint navigation bar in dark mode */
.dark-mode .header {
  background-color: rgba(30, 30, 30, 0.7); /* Dark grey with 70% opacity */
  backdrop-filter: blur(5px); /* Optional: adds a blur effect behind */
}

/* Optional: Make nav links lighter in dark mode */
.dark-mode .nav__links li a {
  color: #f0f0f0;
}

.dark-mode .nav__links li a {
  color: #f0f0f0c5;
}

/* Change header text color in dark mode */
.dark-mode .header__content h2 {
  color: rgba(165, 42, 42, 0.781); /* yellowish for example */
}

.dark-mode .header__content h1 {
  color: rgba(165, 42, 42, 0.738); /* white main title */
}

.dark-mode .header__content h1 span {
  color: rgba(165, 42, 42, 0.738); /* bright teal for 'Repair' */
}

.dark-mode .reservation__container .section__header {
  color: #f39d122d; /* change this to any color you like */
}

.dark-mode .reservation__container h3 {
  color: #f39d12aa; /* or any color you like */
}

/* Dark mode color for 'Welcome! We’re Ready to Repair' */
.dark-mode .order__container h3 {
  color: white; /* yellow, or pick your own */
}

/* Dark mode color for 'Hello, Let's Fix It' */
.dark-mode .order__container .section__header {
  color: #ffcc00b7; /* orange, or any color you like */
  text-shadow: none; /* optional: remove the shadow if it's too bright */
}

.btn:hover {
  transform: scale(1.05);
  background-color: #e84118;
}

body.dark-mode .btn:hover {
  background-color: #ffae35cc;
}

.form-wrapper {
  max-width: 700px; /* 🔄 Increased from 600px to 800px */
  width: 95%; /* ✅ Makes it responsive on small screens */
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #ffffffc7;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease;
  backdrop-filter: blur(5px);
}

/* For dark mode */
body.dark-mode .form-wrapper {
  background-color: #1e1e1eec;
  border-color: #f39c12;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 8px rgba(255, 193, 53, 0.6);
  transform: scale(1.02);
}

/* Submit button style refinement */
input[type='submit'] {
  background-color: #e84118;
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

input[type='submit']:hover {
  background-color: #c23616;
  transform: scale(1.05);
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ✅ Label styling */
label {
  font-weight: 600;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

body.dark-mode label {
  color: #ffcc70;
}

/* --- NEW FEATURES CSS --- */

/* 1. PINCODE CHECKER */
.pincode__container {
  text-align: center;
  background-color: #f9f9f9;
}
.pincode__checker .section__header {
  margin-bottom: 1rem;
}
.pincode__input_wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
#pincodeInput {
  flex-grow: 1;
  text-align: center;
}
#pincodeResult {
  margin-top: 1rem;
  font-weight: bold;
  min-height: 24px;
}
#pincodeResult.success {
  color: #27ae60;
}
#pincodeResult.error {
  color: #c0392b;
}

/* 2. PRICE CALCULATOR */
.price-calculator__container {
    text-align: center;
}
.calculator__wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    background: var(--white);
}
.calculator__dropdowns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
#calculatePriceBtn {
    margin-top: 1rem;
}
#priceResult {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* 3. TRUST SEALS */
.trust-seals__container {
    background-color: #f9f9f9;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.trust-seals__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: auto;
}
.trust-seal__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.trust-seal__card i {
    font-size: 2.5rem;
    color: var(--tertiary-color);
}
.trust-seal__card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* 4. BOOKING SLOTS */
.slot-container {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.slot-btn {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f0f0f0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}
.slot-btn:hover {
  background-color: #ddd;
  border-color: #aaa;
}
.slot-btn.selected {
  background-color: var(--tertiary-color);
  color: var(--white);
  border-color: var(--tertiary-color);
  transform: scale(1.05);
}

/* 5. WHATSAPP FLOAT BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 100;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* --- DARK MODE STYLES FOR NEW FEATURES --- */
body.dark-mode .pincode__container,
body.dark-mode .trust-seals__container {
    background-color: #1a1a1a;
}
body.dark-mode .calculator__wrapper,
body.dark-mode .trust-seal__card {
    background-color: #2c2c2c;
}
body.dark-mode .trust-seal__card h4 {
    color: #f0f0f0;
}
body.dark-mode #priceResult {
    color: var(--secondary-color);
}
body.dark-mode .slot-btn {
  background-color: #333;
  border-color: #555;
  color: #f0f0f0;
}
body.dark-mode .slot-btn:hover {
  background-color: #444;
  border-color: #777;
}
body.dark-mode .slot-btn.selected {
  background-color: var(--secondary-color);
  color: #121212;
  border-color: var(--secondary-color);
}

/* --- RESPONSIVE STYLES FOR NEW FEATURES --- */
@media (min-width: 540px) {
    .calculator__dropdowns {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bg-light-gray {
  background-color: #f9f9f9;
}

/* Styles for page_m.html confirmation page */
.confirmation-page-styles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f4f4f4;
}

.confirmation-page-styles .confirmation-container {
  max-width: 500px;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.confirmation-page-styles h1 {
  color: var(--primary-color);
  font-family: var(--header-font-1);
}

.confirmation-page-styles p {
  color: var(--text-dark);
  line-height: 1.6;
}

.confirmation-page-styles .home-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--tertiary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.confirmation-page-styles .home-btn:hover {
  background-color: var(--primary-color);
}

/* Brands We Service Section */
.brands-we-service__container {
  text-align: center;
  background-color: #f9f9f9;
}

.brands-we-service__container .section__description {
  max-width: 600px;
  margin: 1rem auto 2rem;
}

.brands__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.brand__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.brand__card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.brand__card span {
  font-weight: 600;
  color: var(--text-dark);
}

body.dark-mode .brands-we-service__container {
  background-color: #1a1a1a;
}
body.dark-mode .brand__card {
  background-color: #2c2c2c;
}
body.dark-mode .brand__card i,
body.dark-mode .brand__card span {
  color: #f0f0f0;
}

/* --- New Footer Styles --- */
.footer {
  /* सुनिश्चित करें कि फूटर में डार्क बैकग्राउंड हो */
  background-image: url('bg.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__container .footer__col:first-child {
  align-self: start;
}

.footer__container .footer__col:nth-child(2) {
  align-self: center;
}

.footer__container .footer__col:last-child {
  align-self: end;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__col p {
  color: #eee;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer__col-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer__quick-links {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  padding-left: 0; /* डिफ़ॉल्ट पैडिंग हटाएँ */
}

.footer__quick-links li a {
  color: #eee;
  text-decoration: none;
  transition: 0.3s;
}

.footer__quick-links li a:hover {
  color: var(--secondary-color);
}

.footer__links {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding-left: 0; /* डिफ़ॉल्ट पैडिंग हटाएँ */
}

.footer__links li {
  display: flex;
  align-items: flex-start; /* आइकन को पहली लाइन से अलाइन करें */
  gap: 1rem;
  color: black;
  line-height: 1.6;
}

.footer__links li a {
  color: black;
  text-decoration: none;
  transition: 0.3s;
}

.footer__links li a:hover {
  color: var(--secondary-color);
}

.footer__links li span {
  font-size: 1.25rem;
  padding-top: 5px; /* आइकन को थोड़ा नीचे करें */
}

.footer__socials {
  margin-top: 1.5rem; /* क्विक लिंक्स के नीचे */
  display: flex;
  gap: 1rem;
}

.footer__socials a {
  font-size: 1.5rem;
  color: var(--white);
}

.footer__socials a:hover {
  color: var(--secondary-color);
}

.footer__map {
  margin-top: 1.5rem;
  width: 100%;
  height: 200px;
  background: #333;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #555;
}

.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* फूटर के लिए रेस्पॉन्सिव स्टाइल */
@media (max-width: 768px) {
  .footer__container {
    /* मोबाइल पर कॉलम को एक के नीचे एक दिखाएँ */
    grid-template-columns: 1fr;
  }
  
  .footer__col {
    margin-bottom: 1.5rem;
  }
  
  .footer__links li {
      justify-content: flex-start;
  }
  .footer__socials {
    justify-content: flex-start;
  }
}

/* Custom styles for footer text color */
.footer__container .footer__col:first-child p {
  color: black;
}

.footer__container .footer__col:last-child .footer__links li:first-child div {
  color: black;
}

/* Keep footer text readable in dark mode */
.dark-mode .footer__container .footer__col:first-child p,
.dark-mode .footer__container .footer__col:last-child .footer__links li:first-child div {
  color: #f0f0f0;
}