/* Navigation Menu Styles */
.main-nav {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 8px 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  padding: 8px 0;
  transition: color 0.2s;
}

.nav-item:hover {
  color: #ff5c1a;
}

.dropdown-arrow {
  font-size: 0.7rem;
  color: #666;
  transition: transform 0.2s;
}

.nav-item:hover .dropdown-arrow {
  color: #ff5c1a;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-btn span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
  display: block;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 1024px) {
  .hamburger-btn {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f8f9fa;
    flex-direction: column;
    padding: 20px 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    align-items: flex-start;
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-item {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-menu li {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    list-style: none;
    width: 100%;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
  }

  .nav-menu li:hover {
    color: #ff5c1a;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .main-nav {
    position: relative;
  }
}

body {
  background: #f5f5f5;
}

/* City Dealer Page Styles */
.dealer-finder-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.dealer-finder-container h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0 0 40px 0;
  line-height: 1.5;
}

.simple-search {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: center;
  background: #fff;
}

.vehicle-dropdown {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  background: #fff;
  color: #666;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  min-width: 200px;
}

.location-input-wrapper {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.location-input {
  width: 100%;
  padding: 12px 16px;
  padding-right: 48px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #666;
  background: #fff;
}

.location-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-search-btn:hover {
  color: #ff5c1a;
}

.dealers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 3px;
  background: #fff;
  padding: 32px;
  border: 1px solid #eee;
  border-radius: 8px;
  min-height: 200px;
}

.dealer-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.dealer-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.dealer-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.dealer-address {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.dealer-address span {
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
}

.dealer-pincode,
.dealer-phone,
.dealer-rating,
.dealer-timing {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.dealer-address svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #999;
}

.contact-dealer-btn {
  background: #ff5c1a;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  width: auto;
  transition: background 0.2s;
}

.contact-dealer-btn:hover {
  background: #e04e0e;
}

.brands-section {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 32px;
  margin-top: 3px;
  background: #fff;
}

.brands-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-scroll-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #666;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  flex-shrink: 0;
}

.brand-scroll-btn:hover {
  background: #f8f9fa;
  color: #ff5c1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-logos {
  overflow-x: auto;
  scroll-behavior: smooth;
}

.brand-logos::-webkit-scrollbar {
  display: none;
}

.brand-logo {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f8f9fa;
  border: 1px solid #eee;
  transition: transform 0.2s;
}

.brand-logo img {
  max-width: 100px;
  max-height: 50px;
  object-fit: contain;
}

.brand-item:hover .brand-logo {
  transform: translateY(-2px);
}

.user-reviews-section {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 32px;
  margin-top: 3px;
  background: #fff;
}

/* Why TyreDekho Section */
.why-tyredekho-section {
  background: #fff;
  padding: 32px;
  margin-top: 3px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.why-tyredekho-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.why-tyredekho-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 24px 0;
  color: #333;
}

.why-content {
  margin-bottom: 20px;
}

.why-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 16px;
  text-align: justify;
}

.aggregator-features {
  margin-top: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.feature-icon {
  background: #4caf50;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
}

.feature-text strong {
  color: #333;
  font-weight: 600;
}

.read-more-link {
  color: #ff5c1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more-link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq-section {
  background: #fff;
  padding: 32px;
  margin-top: 3px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.dealer-finder-section {
  background: #fff;
  padding-top: 32px;
  padding-left: 32px;
  padding-right: 32px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.localities-section {
  background: #fff;
  padding: 32px;
  margin-top: 3px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.localities-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 24px 0;
  color: #333;
}

.localities-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 32px 0 16px 0;
  color: #333;
}

.localities-links {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 16px;
  text-align: justify;
}

/* Footer Styles */
.main-footer {
  background: #1e88e5;
  color: white;
  margin-top: 3px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 20px;
}

.footer-content {
  display: flex;
  gap: 60px;
  margin-bottom: 30px;
}

.footer-left {
  flex: 1;
  max-width: 300px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline-block;
  font-size: 1.2rem;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.social-links a:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex: 2;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.footer-column a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 8px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-column p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  display: inline;
  margin-bottom: 0;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0;
  margin-bottom: 20px;
}

.footer-disclaimer p {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-bottom-links a:hover {
  opacity: 1;
}

.footer-bottom-links span {
  opacity: 0.6;
}

.footer-rating {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 32px; */
}

.faq-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 32px 0;
  color: #333;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 0;
  overflow: hidden;
}

.faq-item:first-child {
  border-radius: 8px 8px 0 0;
}

.faq-item:last-child {
  border-radius: 0 0 8px 8px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #eee;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question h3 {
  margin: 0;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  flex: 1;
}

.faq-toggle {
  font-size: 1.5rem;
  color: #666;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #fff;
}

.faq-item.active .faq-answer {
  padding: 20px 24px;
  max-height: 200px;
}

.faq-answer p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: flex-end;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  font-size: 1rem;
}

.radio-group {
  display: flex;
  gap: 24px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 400;
  color: #666;
}

.radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #ff5c1a;
}

.radio-label span {
  font-size: 0.95rem;
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  background: #fff;
  color: #333;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.form-select:focus {
  outline: none;
  border-color: #ff5c1a;
  box-shadow: 0 0 0 3px rgba(255, 92, 26, 0.1);
}

.location-group {
  flex: 2;
}

.location-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.location-input {
  width: 100%;
  padding: 12px 16px;
  padding-right: 48px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
}

.location-input:focus {
  outline: none;
  border-color: #ff5c1a;
  box-shadow: 0 0 0 3px rgba(255, 92, 26, 0.1);
}

.location-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-btn:hover {
  color: #ff5c1a;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .dealers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dealer-finder-main {
    padding: 24px 16px;
  }

  .dealer-finder-container h1 {
    font-size: 1.5rem;
  }

  .dealer-finder-form {
    padding: 24px;
  }

  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .radio-group {
    gap: 16px;
  }

  .user-reviews-section {
    padding: 16px 0;
  }

  .reviews-wrapper {
    padding: 0 16px;
  }

  .scroll-btn {
    position: absolute;
    z-index: 10;
  }

  .scroll-left {
    left: 0;
  }

  .scroll-right {
    right: 0;
  }

  .reviews-grid {
    padding: 8px 50px 30px 50px;
  }

  .review-card {
    min-width: 150px;
    max-width: 170px;
  }

  .brands-wrapper {
    position: relative;
  }

  .brand-scroll-btn {
    position: absolute;
    z-index: 10;
  }

  .brand-scroll-left {
    left: 0;
  }

  .brand-scroll-right {
    right: 0;
  }

  .brand-logos {
    padding: 20px 50px;
  }
}
