:root {
  --mahindra-red: #d40000;
  --mahindra-red-dark: #a30000;
  --mahindra-red-light: #ff2a2a;
  --mahindra-black: #0a0a0a;
  --mahindra-gray: #333333;
  --mahindra-silver: #e8e8e8;
  --mahindra-gold: #ffd700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--mahindra-gray);
  overflow-x: hidden;
  background-color: #f8f9fa;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  position: relative;
  margin-bottom: 60px;
  text-align: center;
}

.section-title h2 {
  color: var(--mahindra-red);
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--mahindra-red),
    var(--mahindra-black)
  );
  border-radius: 2px;
}

.section-title p {
  color: var(--mahindra-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Hero Section with Mahindra Tractor */
.hero-section {
  height: 100vh;
  min-height: 700px;
  background: linear-gradient(rgb(10 10 10 / 52%), rgb(10 10 10 / 53%)),
    url(/assets/image/mt-rag-rag-laal-web.jpg.webp) no-repeat center center /
      cover;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
  color: var(--mahindra-red);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.btn-mahindra {
  background-color: var(--mahindra-red);
  border-color: var(--mahindra-red);
  color: white;
  padding: 12px 35px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-mahindra:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--mahindra-black);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-mahindra:hover {
  color: white;
  border-color: var(--mahindra-black);
}

.btn-mahindra:hover:before {
  left: 0;
}

.btn-outline-mahindra {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  padding: 12px 35px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-mahindra:hover {
  background-color: white;
  color: var(--mahindra-black);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Mahindra Brand Banner */
.mahindra-banner {
  background-color: var(--mahindra-black);
  color: white;
  padding: 15px 0;
  text-align: center;
  position: relative;
}

.mahindra-banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--mahindra-red);
}

.mahindra-logo {
  height: 40px;
  margin-right: 15px;
}

/* About Section with Mahindra Tractor */
.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--mahindra-red);
}

.about-img img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.counter-item {
  text-align: center;
  padding: 25px 20px;
  border-radius: 10px;
  background-color: white;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid #eaeaea;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.counter-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--mahindra-red);
}

.counter-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--mahindra-red);
}

.counter {
  font-size: 3rem;
  font-weight: 700;
  color: var(--mahindra-red);
  line-height: 1;
  margin-bottom: 10px;
}

.counter-text {
  font-size: 1.1rem;
  color: var(--mahindra-gray);
  font-weight: 500;
}

/* Products Section - Mahindra Tractors */
.products-section {
  background-color: var(--mahindra-silver);
}

.product-card {
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  border-top: 5px solid var(--mahindra-red);
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.mahindra-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--mahindra-red);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  color: var(--mahindra-black);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.product-model {
  color: var(--mahindra-red);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.product-price {
  color: var(--mahindra-red);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.product-features li {
  padding: 5px 0;
  color: var(--mahindra-gray);
}

.product-features li i {
  color: var(--mahindra-red);
  margin-right: 8px;
}

/* Gallery Section - Mahindra Tractors */
.gallery-section {
  background-color: white;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  /* height: 280px; */
  cursor: pointer;
  border: 3px solid transparent;
}

.gallery-item:hover {
  border-color: var(--mahindra-red);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(212, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 2.5rem;
}

/* Why Mahindra Section */
.values-section {
  /* background: linear-gradient(135deg, var(--mahindra-silver) 0%, white 100%); */
}

.value-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.value-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--mahindra-red);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(212, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  background-color: var(--mahindra-red);
  transform: scale(1.1);
}

.value-icon i {
  font-size: 2.5rem;
  color: var(--mahindra-red);
  transition: all 0.3s ease;
}

.value-card:hover .value-icon i {
  color: white;
}

.value-card h3 {
  color: var(--mahindra-black);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Contact Section */
.contact-section {
  /* background-color: var(--mahindra-silver); */
}

.contact-info {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(212, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.5rem;
  color: var(--mahindra-red);
}

.contact-details h4 {
  color: var(--mahindra-black);
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  width: 50px;
  height: 50px;
  background-color: rgba(212, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mahindra-red);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--mahindra-red);
  color: white;
  transform: translateY(-5px);
}

/* Footer */
.footer {
  background-color: var(--mahindra-black);
  color: white;
  padding: 70px 0 30px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--mahindra-red);
}

.footer-links h5 {
  color: var(--mahindra-red);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--mahindra-red);
}

.copyright {
  border-top: 1px solid #444;
  padding-top: 30px;
  margin-top: 50px;
  text-align: center;
  color: #bbb;
}

/* Swiper Customization */
.swiper {
  padding: 30px 10px 60px;
}

.swiper-pagination-bullet {
  background-color: var(--mahindra-red);
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--mahindra-red);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--mahindra-red);
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.5rem;
}

/* Navigation */
.navbar-custom {
  background-color: rgba(10, 10, 10, 0.95);
  padding: 15px 0;
  transition: all 0.3s ease;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--mahindra-red);
}

.navbar-custom.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  color: white;
  font-weight: 700;
  font-size: 1.8rem;
}

.navbar-brand span {
  color: var(--mahindra-red);
}

.nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--mahindra-red);
  transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.nav-link:hover {
  color: var(--mahindra-red) !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .counter {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .btn-mahindra,
  .btn-outline-mahindra {
    padding: 10px 25px;
  }
}
/* Magnific Popup Custom Styles */
.mfp-bg {
  background: rgba(0, 0, 0, 0.9);
}

.mfp-container {
  padding: 20px;
}

.mfp-image-holder .mfp-content {
  max-width: 1200px;
}

.mfp-figure:after {
  box-shadow: none;
  background: transparent;
}

.mfp-figure .mfp-bottom-bar {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 5px;
}

.mfp-title {
  color: white;
  font-size: 16px;
  line-height: 1.4;
  padding-right: 0;
}

.mfp-counter {
  color: #ccc;
}

.mfp-arrow {
  background: rgba(212, 0, 0, 0.8);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.mfp-arrow:hover {
  background: var(--mahindra-red);
  opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
  border-top-width: 4px;
  border-bottom-width: 4px;
  margin-top: -15px;
}

.mfp-arrow-left:before {
  border-right-width: 4px;
  margin-left: 20px;
}

.mfp-arrow-right:before {
  border-left-width: 4px;
  margin-left: 30px;
}

.mfp-close {
  width: 40px;
  height: 40px;
  background: var(--mahindra-red);
  border-radius: 50%;
  top: 20px;
  right: 20px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.mfp-close:hover {
  background: var(--mahindra-red-dark);
  opacity: 1;
}

.mfp-close:before,
.mfp-close:after {
  background: white;
  height: 3px;
  width: 24px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.mfp-close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Gallery Link Styles */
.gallery-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

/* Make gallery items clickable */
.gallery-item {
  cursor: pointer;
}

/* Add animation for zoom effect */
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
  opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
  opacity: 1;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}

/* Image zoom animation */
.mfp-zoom-in {
  animation: mfpZoomIn 0.3s ease;
}

@keyframes mfpZoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Loading spinner */
.mfp-preloader {
  color: var(--mahindra-red);
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -20px 0 0 -20px;
  border: 4px solid rgba(212, 0, 0, 0.2);
  border-top-color: var(--mahindra-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Add caption styling inside lightbox */
.image-caption {
  text-align: center;
  padding: 10px 0;
  color: white;
}

.image-caption h4 {
  color: white;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.image-caption p {
  color: #ccc;
  font-size: 0.9rem;
}
.product-card {
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  border-top: 5px solid var(--mahindra-red);
  position: relative;
}

.product-img {
  height: 350px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.mahindra-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--mahindra-red);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

/* Tractor Name Overlay (Bottom & Center) */
.tractor-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 2;
}

.product-img:hover .tractor-name-overlay {
  opacity: 1;
  transform: translateY(0);
}

.tractor-name-overlay h4 {
  color: white;
  font-size: 1.4rem;
  margin: 0;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Plus Sign Overlay (Center of Image) */
.plus-sign-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px;
  height: 60px;
  background-color: var(--mahindra-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 3;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product-img:hover .plus-sign-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.plus-sign-overlay:hover {
  background-color: var(--mahindra-red-dark);
  transform: translate(-50%, -50%) scale(1.1);
}

.plus-sign-overlay i {
  color: white;
  font-size: 1.5rem;
}

/* Product Popup Link */
.product-popup-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

/* Click anywhere on image to open popup */
.product-img {
  cursor: pointer;
}

/* Swiper Customization for this section */
.products-section .swiper {
  padding: 30px 10px 80px;
}

.products-section .swiper-pagination {
  bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .product-img {
    height: 300px;
  }

  .tractor-name-overlay h4 {
    font-size: 1.2rem;
  }

  .plus-sign-overlay {
    width: 50px;
    height: 50px;
  }

  .plus-sign-overlay i {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .product-img {
    height: 250px;
  }

  .tractor-name-overlay {
    padding: 10px;
  }

  .tractor-name-overlay h4 {
    font-size: 1.1rem;
  }

  .plus-sign-overlay {
    width: 45px;
    height: 45px;
  }

  .plus-sign-overlay i {
    font-size: 1.2rem;
  }
}

/* Touch device support */
@media (hover: none) and (pointer: coarse) {
  .tractor-name-overlay {
    opacity: 1;
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.7);
  }

  .plus-sign-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.product-img {
  background: #000000ad;
}
.products-section,
.values-section {
  background-color: #100d0d !important;
}
/* *{
    border: solid 1px red !important;
} */
   /* FAQ Section Styling */
    .faq-section {
        background-color: #f8f9fa;
    }
    
    /* Accordion Styling */
    .accordion-item {
        border: 1px solid #dee2e6;
        border-radius: 8px;
        margin-bottom: 10px;
        overflow: hidden;
    }
    
    .accordion-button {
        background-color: white;
        color: #333;
        font-weight: 600;
        padding: 18px 20px;
        border: none;
        border-radius: 0;
        transition: all 0.3s ease;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: #D40000;
        color: white;
        box-shadow: none;
    }
    
    .accordion-button:focus {
        box-shadow: none;
        border-color: #D40000;
    }
    
    .accordion-button:after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        transition: transform 0.3s ease;
    }
    
    .accordion-button:not(.collapsed):after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }
    
    .accordion-body {
        padding: 20px;
        background-color: white;
        line-height: 1.6;
    }
    
    /* Button Styling */
    .btn-mahindra {
        background-color: #D40000;
        border-color: #D40000;
        color: white;
        padding: 10px 25px;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    
    .btn-mahindra:hover {
        background-color: #A30000;
        border-color: #A30000;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .btn-outline-mahindra {
        background-color: transparent;
        border: 2px solid #D40000;
        color: #D40000;
        padding: 10px 25px;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    
    .btn-outline-mahindra:hover {
        background-color: #D40000;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    /* Responsive Styles */
    @media (max-width: 768px) {
        .accordion-button {
            padding: 15px;
            font-size: 0.95rem;
        }
        
        .accordion-body {
            padding: 15px;
            font-size: 0.9rem;
        }
        
        .card-body {
            padding: 20px !important;
        }
        
        .btn-mahindra, .btn-outline-mahindra {
            padding: 8px 20px;
            font-size: 0.9rem;
        }
    }
    
    @media (max-width: 576px) {
        .accordion-button {
            padding: 12px;
            font-size: 0.9rem;
        }
        
        .accordion-body {
            padding: 12px;
            font-size: 0.85rem;
        }
        
        .card-body {
            padding: 15px !important;
        }
        
        .row.g-3 > .col-md-6 {
            margin-bottom: 10px;
        }
    }
      /* FAQ Section Styling */
    .faq-section {
        background-color: #f8f9fa;
    }
    
    /* Accordion Styling */
    .accordion-item {
        border: 1px solid #dee2e6;
        border-radius: 8px;
        margin-bottom: 10px;
        overflow: hidden;
    }
    
    .accordion-button {
        background-color: white;
        color: #333;
        font-weight: 600;
        padding: 18px 20px;
        border: none;
        border-radius: 0;
        transition: all 0.3s ease;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: #D40000;
        color: white;
        box-shadow: none;
    }
    
    .accordion-button:focus {
        box-shadow: none;
        border-color: #D40000;
    }
    
    .accordion-button:after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        transition: transform 0.3s ease;
    }
    
    .accordion-button:not(.collapsed):after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }
    
    .accordion-body {
        padding: 20px;
        background-color: white;
        line-height: 1.6;
    }
    
    /* Button Styling */
    .btn-mahindra {
        background-color: #D40000;
        border-color: #D40000;
        color: white;
        padding: 10px 25px;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    
    .btn-mahindra:hover {
        background-color: #A30000;
        border-color: #A30000;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .btn-outline-mahindra {
        background-color: transparent;
        border: 2px solid #D40000;
        color: #D40000;
        padding: 10px 25px;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    
    .btn-outline-mahindra:hover {
        background-color: #D40000;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    /* Responsive Styles */
    @media (max-width: 768px) {
        .accordion-button {
            padding: 15px;
            font-size: 0.95rem;
        }
        
        .accordion-body {
            padding: 15px;
            font-size: 0.9rem;
        }
        
        .card-body {
            padding: 20px !important;
        }
        
        .btn-mahindra, .btn-outline-mahindra {
            padding: 8px 20px;
            font-size: 0.9rem;
        }
    }
    
    @media (max-width: 576px) {
        .accordion-button {
            padding: 12px;
            font-size: 0.9rem;
        }
        
        .accordion-body {
            padding: 12px;
            font-size: 0.85rem;
        }
        
        .card-body {
            padding: 15px !important;
        }
        
        .row.g-3 > .col-md-6 {
            margin-bottom: 10px;
        }
    }
    .gallery-img {
        height:400px !important;
    }
    .navbar-brand:focus, .navbar-brand:hover {
    color: white !important;
}
.mfp-close:hover {
    background: var(--mahindra-red-dark);
    opacity: 1;
    width: 40px !important;
    align-items: center;
    justify-content: center;
    display: flex;
}
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
    color: #FFF;
    right: 0px !important;
    text-align: right;
    padding-right: 0px !important;
    width: 100%;
}
