* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f3f4f6;
  color: #333;
}

/* For WebKit (Chrome, Safari) - Hide scrollbars for body only */
body::-webkit-scrollbar {
  display: none;
}

/* For Firefox - Hide scrollbars for body only */
body {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

/* Show scrollbars for dropdowns */
.dropdown-menu::-webkit-scrollbar {
  display: block;
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Header Section */

/* Navigation */

.header {
  background: #e6e2e2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  margin-left: 2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-right: 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.nav-links a:hover {
  color: #022f56;
}


.hero-section {
  /* background-image: url("/assets/Service-background.png"); */
  background-image: url("/assets/Exide-background.png");
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 2rem;
  width: 100%;
}
/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1e3a8a;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: block;
  text-align: center;
}

.mobile-nav-links {
  list-style: none;
  padding: 1rem;
}

.mobile-nav-links li {
  margin-bottom: 8px;
}

.mobile-nav-links a {
  display: block;
  padding: 12px;
  text-decoration: none;
  color: #1e3a8a;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.mobile-nav-links a:hover {
  background-color: #f1f5f9;
}

.mobile-login {
  margin-top: 1rem;
}

.mobile-login .login-btn {
  width: 100%;
}

/* Reset default styles */
.nav-links,
.dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  max-height: 230px; /* adjust height as needed */
  overflow-y: auto;
  display: none; /* Hidden by default */
  position: absolute;
  background: white;
  z-index: 1000;
  padding: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  /* Firefox scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #f0f0f0;
}

/* Show menu when .open class is added */
.dropdown.open .dropdown-menu {
  display: block;
}


/* *** */

@media (max-width: 1300px) {
  .hero-section {
    height: 350px;
  }
}

@media (max-width: 1024px) {
  .nav-links,
  .login-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .login-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-section {
    height: 250px;
  }
}


@media (max-width: 540px) {
  .hero-section {
    height: 200px;
  }
}


@media (max-width: 450px) {
  .hero-section {
    height: 150px;
    padding: 2rem;
  }
}

/* *** */

/* Footer Section */

/* Footer */
.footer {
  background: #021d3b;
  color: white;
  padding: 3rem 0 1rem;
}

#foot {
  padding-left: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgb(215, 145, 91);
}

.footer-section p,
.footer-section li {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  #foot {
    margin-right: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-bottom {
    font-size: 10px;
  }
}

/* *** */

/* .container {
  min-height: 100vh;
} */

/* Hero Section */
.hero-section {
  background-color: #e5e5e5;
  padding: 2rem 1rem;
}

.hero-content {
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  color: #dc2626;
  font-weight: bold;
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  color: #374151;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Navigation Tabs */
.nav-container {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

.nav-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-tab:hover {
  background-color: #f9fafb;
}

.nav-tab.active {
  background-color: #f3f4f6;
}

.nav-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.nav-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

/* Content Section */
.content-section {
  padding: 2rem 1rem;
}

.content-container {
  max-width: 1024px;
  margin: 0 auto;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.brand-text {
  color: #dc2626;
}

/* Product Showcase - Two Wheeler Style Layout */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.product-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.product-image {
  margin-bottom: 1rem;
}

.product-image img {
  max-width: 230px;
  height: auto;
}

.product-info {
  /* background-color: white;
            border-radius: 0.5rem; */
  padding: 1.5rem;
}

.info-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.info-text {
  color: #374151;
  line-height: 1.7;
}

/* Features Section */
.features-section {
  background-color: #4b5563;
  border-radius: 0.5rem;
  padding: 1.5rem;
  color: white;
}

.features-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.features-list {
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.features-list li::before {
  content: "•";
  color: white;
  font-size: 1.5rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
  line-height: 1;
}

/* Responsive Design */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 7rem;
  }

  .product-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .product-card {
    max-width: 300px;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 6rem;
  }

  .hero-subtitle {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 5rem;
  }

  .hero-subtitle {
    font-size: 1.75rem;
  }

  .nav-text {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* Small screen adjustments */
@media (max-width: 480px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .product-card {
    max-width: 280px;
    padding: 1rem;
  }

  .product-info {
    padding: 1rem;
  }

  .features-section {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  .product-image img {
    width: 180px;
  }
}

/* Ultra small screen support (300px and up) */
@media (max-width: 320px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .nav-text {
    font-size: 0.75rem;
  }

  .nav-tab {
    padding: 0.75rem 0.25rem;
  }

  .nav-icon {
    font-size: 1.5rem;
  }

  .content-section {
    padding: 1rem 0.5rem;
  }

  .hero-section {
    padding: 1rem 0.5rem;
  }

  .nav-container {
    padding: 0.5rem;
  }

  .product-card {
    max-width: 250px;
    padding: 1rem;
  }

  .product-info {
    padding: 1rem;
  }

  .features-section {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.125rem;
  }

  .info-title {
    font-size: 1.125rem;
  }

  .product-image img {
    max-width: 150px;
  }
}
