/* Base Styles */
:root {
  --primary-color: #ffcc00;
  --secondary-color: #ffffff;
  --text-color: #000000;
  --light-color: #ffffff;
  --gray-color: #f8f9fa;
  --dark-gray: #666666;
  --border-color: #e5e7eb;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  color: var(--text-color);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-size: 14px;
}

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

/* Header Styles */
header {
  background-color: var(--light-color);
  color: var(--text-color);
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;

  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  position: relative;
  padding-bottom: 5px;
  transition: var(--transition);
  color: var(--text-color);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-color: var(--light-color);
  color: var(--text-color);
  padding: 150px 0 80px;
  position: relative;
}

.hero .container {
  display: flex;
  justify-content: space-between;
  
  align-items: center;
  flex-wrap: wrap;
}

.brand-back-btn {
  background-color: #ffd600;      /* Bright yellow */
  color: #111;                   /* Almost black */
  border: none;
  border-radius: 6px;
  padding: 7px 18px;
  margin-top: 8px;
  margin-left: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  outline: none;
}
.brand-back-btn:hover {
  background-color: #ffc400;
  color: #000;
  box-shadow: 0 2px 12px rgba(255,214,0,0.15);
}

.search-box {
  background-color: var(--gray-color);
  color: var(--text-color);
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.search-box h2 {
  margin-bottom: 20px;
  color: var(--text-color);
  font-size: 1.5rem;
}

.search-form {
  display: grid;
  gap: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  background-color: var(--light-color);
  color: var(--text-color);
}

.search-btn {
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
  width: 100%;
}

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

.hero-content {
  max-width: 600px;
  margin-left: auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--dark-gray);
}


/* Stats Section */
.stats {
  background-color: var(--gray-color);
  padding: 80px 0;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.stat-box {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background-color: var(--light-color);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.stat-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-box h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 1.1rem;
  color: var(--text-color);
}

/* Vehicles Section */
.vehicles {
  padding: 80px 0;
  /* background-color: var(--light-color); */
  background-color: var(--gray-color);
}

.vehicle-list {
  display: flex;
  margin-top: 50px;
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.vehicle-sidebar {
  width: 30%;
  background-color: var(--gray-color);
  color: var(--text-color);
}

.vehicle-item {
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

.vehicle-item:hover,
.vehicle-item.active {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.vehicle-details .vehicle-image {
  flex: 1;
  max-width: 600px;
}

.vehicle-details .vehicle-image img {
  width: 100%;
  height: 350px; /* Fixed height */
  object-fit: cover; /* Maintains aspect ratio while filling the container */
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure vehicle details container maintains proper layout */
.vehicle-details {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.vehicle-info {
  flex: 1;
  max-width: 400px;
}

/* Special contact section styling */
.special-contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  border-radius: 12px;
  color: white;
  text-align: center;
}

.special-contact-content {
  padding: 2rem;
}

.special-headline {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.special-subheadline {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .vehicle-details {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .vehicle-details .vehicle-image img {
    height: 250px;
  }
  
  .special-headline {
    font-size: 1.5rem;
  }
}

.vehicle-details {
  width: 70%;
  display: flex;
  flex-wrap: wrap;
}

.vehicle-image {
  width: 50%;
  /* padding: 20px; */
}

.vehicle-info {
  width: 50%;
  /* padding: 20px; */
}

.price {
  margin-bottom: 20px;
}

.price h3 {
  font-size: 2rem;
  color: var(--primary-color);
}

.price span {
  font-size: 1rem;
  color: var(--dark-gray);
}

.specs {
  margin-bottom: 30px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.spec-label {
  font-weight: bold;
  color: var(--text-color);
}

.spec-value {
  color: var(--dark-gray);
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--gray-color);
}

.services .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.service-content {
  flex: 1;
  padding-right: 50px;
}

.service-content .section-title {
  text-align: left;
}

.service-content .section-title::after {
  left: 0;
  transform: none;
}

.service-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: var(--dark-gray);
}

.service-image {
  flex: 1;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--light-color);
}

.testimonial-slider {
  position: relative;
  max-width: 1000px;
  margin: 50px auto 0;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

 /* .testimonial-image {
    width: 80px;
    height: 80px;
  } */
  
  .testimonial-text i {
    font-size: 1.5rem;
  }
  
  .testimonial-text p {
    font-size: 1rem;
  }

.quote {
  background-color: var(--gray-color);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 1px solid var(--border-color);
}

.quote i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.quote p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--dark-gray);
}

.client h4 {
  color: var(--text-color);
  margin-bottom: 5px;
}

.client p {
  color: var(--dark-gray);
  margin-bottom: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.prev-btn,
.next-btn {
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 10px;
  cursor: pointer;
  transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--text-color);
  color: var(--primary-color);
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: var(--gray-color);
}

.faq-container {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background-color: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--gray-color);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  padding-right: 20px;
}

.faq-question i {
  color: var(--dark-gray);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--dark-gray);
  line-height: 1.6;
  margin: 0;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background-color: var(--light-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Brand Slider Section */
.brand-slider {
  padding: 80px 0;
  background-color: var(--light-color);
  overflow: hidden;
}

.brand-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.brand-tab {
  padding: 10px 20px;
  border: 2px solid var(--border-color);
  background-color: var(--light-color);
  color: var(--text-color);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.brand-tab.active,
.brand-tab:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-color);
}

.brand-slider-container {
  overflow: hidden;
  position: relative;
}

.brand-slider-track {
  display: flex;
  animation: brandSlide 10s linear infinite;
  gap: 40px;
}

.brand-item {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}

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

.brand-item img {
  max-width: 80px;
  max-height: 50px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  transition: var(--transition);
}

.brand-item:hover img {
  filter: grayscale(0%);
}

@keyframes brandSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Hero with Background */
.hero-with-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("./assets/hero-banner.jpg");
  background-size: cover;
  background-position: center;   
  background-attachment: fixed;
}

.hero-with-bg .hero-content {
  color: var(--light-color);
}

.hero-with-bg .hero-content h1 {
  color: var(--light-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-with-bg .hero-content p {
  color: rgba(255, 255, 255, 0.9);
}

/* Dark Vehicles Section */
.vehicles-dark {
  background-color: var(--text-color);
  color: var(--light-color);
}

.vehicles-dark .section-title {
  color: var(--light-color);
}

.vehicles-dark .section-title::after {
  background-color: var(--primary-color);
}

.vehicles-dark .section-subtitle {
  color: #cccccc;
}

.vehicles-dark .vehicle-list {
  background-color: var(--light-color);
}

.vehicles-dark .vehicle-sidebar {
  background-color: #333;
  color: var(--light-color);
}

.vehicles-dark .vehicle-item {
  color: var(--light-color);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.vehicles-dark .vehicle-item:hover,
.vehicles-dark .vehicle-item.active {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 50px;
  grid-auto-rows: minmax(200px, auto); /* Allow rows to grow as needed */
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px; /* Minimum height */
}

/* Size modifiers */
.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
  min-height: 200px; /* Ensure minimum display height */
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Alternative: If you want images to maintain their aspect ratio */
.gallery-item.auto-height {
  height: auto;
  grid-row: span 1;
}

.gallery-item.auto-height img {
  width: 100%;
  height: auto;
  object-fit: contain; /* or 'cover' depending on preference */
}

/* Footer */
footer {
  background-color: var(--text-color);
  color: var(--light-color);
  padding: 80px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-logo p {
  color: #cccccc;
}

.footer-links h3,
.footer-newsletter h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-newsletter h3::after,
.footer-social h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  transition: var(--transition);
  color: #cccccc;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-newsletter p {
  color: #cccccc;
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  background-color: #333;
  color: var(--light-color);
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 0 15px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--light-color);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #cccccc;
}


.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Updated Testimonials Styles */
.testimonial-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.testimonial-image {
  flex-shrink: 0;
  width: 500px;
  height: 400px;
  /* border-radius: 50%; */
  overflow: hidden;
  border: 4px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  flex: 1;
}

.testimonial-text i {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.testimonial-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--dark-gray);
  line-height: 1.6;
}

.client {
  margin-top: 20px;
}

.client h4 {
  color: var(--text-color);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.client p {
  color: var(--dark-gray);
  margin-bottom: 0;
  font-size: 1rem;
}


.special-contact-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
}

.special-contact-content {
  max-width: 500px;
}

.special-headline {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.3;
}

.special-subheadline {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.5;
}


/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .vehicle-details {
    flex-direction: column;
  }

  .vehicle-image,
  .vehicle-info {
    width: 100%;
  }

  .services .container {
    flex-direction: column-reverse;
  }

  .service-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

    .masonry-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .gallery-item.wide,
  .gallery-item.large {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--light-color);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

    .testimonial-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hero .container {
    flex-direction: column;
  }

  .search-box {
    margin-bottom: 50px;
    max-width: 100%;
  }

  .hero-content {
    text-align: center;
  }

  .vehicle-list {
    flex-direction: column-reverse;
  }

  .vehicle-sidebar {
    width: 100%;
  }

  .vehicle-details {
    width: 100%;
  }

  .brand-slider-track {
    gap: 20px;
  }

  .brand-item {
    width: 100px;
    height: 70px;
  }

  .brand-item img {
    max-width: 70px;
    max-height: 40px;
  }

  .masonry-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(150px, auto);
  }
  
  .gallery-item {
    min-height: 150px;
  }
  
  .gallery-item img {
    min-height: 150px;
  }

  .hero-with-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .stat-box {
    padding: 20px 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .brand-filter-tabs {
    gap: 5px;
  }

  .brand-tab {
    padding: 8px 15px;
    font-size: 14px;
  }

  .brand-slider-track {
    gap: 20px;
  }

  .brand-item {
    width: 100px;
    height: 70px;
  }

  .brand-item img {
    max-width: 70px;
    max-height: 40px;
  }
.masonry-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, auto);
  }
  
  .gallery-item.wide,
  .gallery-item.large {
    grid-column: span 1;
  }
  
  .gallery-item.tall,
  .gallery-item.large {
    grid-row: span 1;
  }

  .hero-with-bg {
    background-attachment: scroll;
  }

    .brand-filter-tabs {
    gap: 5px;
  }

  .brand-tab {
    padding: 8px 15px;
    font-size: 14px;
  }

  .testimonial-image {
    width: 300px;
    height: 200px;
  }
}




/* Thank You Page Styles */
.thank-you-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.thank-you-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    margin-bottom: 1.5rem;
}

.success-icon i {
    font-size: 4rem;
    color: #28a745;
    animation: scaleIn 0.6s ease-out 0.2s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.thank-you-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.follow-up-message {
    font-size: 1rem;
    color: #888;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* Responsive Design */
@media (max-width: 768px) {
    .thank-you-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .thank-you-content h1 {
        font-size: 2rem;
    }
    
    .success-icon i {
        font-size: 3rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Animation for page transitions */
.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}