* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f3f4f6;
  color: #333;
}

/* For WebKit (Chrome, Safari) */
body::-webkit-scrollbar {
  display: none;
}

/* 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;
}

/* For Firefox */
body {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

/* 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;
}

/* 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: 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;
  }
}

/* *** */

/* 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;
  }
}

/* *** */

@media (max-width: 900px) {
  .hero-content img {
    width: 350px;
    height: auto;
    object-fit: contain;
    position: absolute;
    left: 30px;
  }
}

@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: 300px;
  }

  .hero-content img {
    width: 250px;
    height: auto;
    object-fit: contain;
    position: absolute;
    left: 30px;
    bottom: 10px;
  }
}



/* **** */
.hero-section {
  background-image: url("/assets/Contact-Background.png"); /* Your background image */
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 2rem;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-radius: 12px;
}

.left-battery {
  width: 400px;
  height: auto;
  object-fit: contain;
  position: absolute;
  left: 30px;
  bottom: 10px;
}

.subtext {
  text-align: center;
  color: #666;
  margin-bottom: 4rem;
  font-size: 20px;
}

.contactForm {
  margin-bottom: 100px;
}

h2 {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 1.75rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.contact-form {
  flex: 1 1 300px;
  max-width: 500px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}

.contact-info {
  flex: 1 1 350px;
  max-width: 600px;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 20px;
  color: white;
  z-index: 1;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 10px;
}

.contact-form h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.contact-form input,
.contact-form textarea {
  width: 98%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.875rem;
}

.contact-form button {
  background-color: #283593;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  border-radius: 4px;
  cursor: pointer;
}

.contact-info {
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.info-box-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.info-box {
  background: rgba(255, 255, 255, 0);
  padding: 1rem;
  border-radius: 5px;
  width: 200px;
  height: 150px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.info-box:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.info-box h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: black;
  text-align: left;
}

.info-box p,
.email-link,
.phone-link,
.whatsapp-link {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #666;
  text-decoration: none;
}

#info-box-last {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
}

#info-box-last h4 {
  text-align: left;
  align-self: flex-start;
}

#sub-info-box p:hover {
  cursor: pointer;
  text-decoration: underline;
}

#name,
#email {
  width: 95%;
}

#address,
#mobile {
  width: 95%;
}

.icon-container {
  text-align: center;
}

.icon-container i {
  font-size: 24px;
}

h4 i {
  margin-left: 8px;
}

.para2 {
  margin-bottom: 35px;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  justify-content: space-around;
}

.form-group {
  flex: 1 1 45%;
  min-width: 200px;
}

@media (max-width: 1180px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-form,
  .contact-info {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-form,
  .contact-info {
    max-width: 100%;
  }
}

@media (max-width: 550px) {
  .info-box-head {
    flex-direction: column;
    align-items: center;
  }

  .info-box {
    width: 90%;
    width: 200px;
    height: auto;
  }

  #info-box-last {
    align-self: center;
    width: 90%;
    width: 200px;
    height: auto;
  }

  .contact-form,
  .contact-info {
    max-width: 100%;
    width: 350px;
  }
}

@media (max-width: 400px) {
  .info-box-head {
    flex-direction: column;
    align-items: center;
  }

  .info-box {
    width: 90%;
    width: 200px;
    height: auto;
  }

  #info-box-last {
    width: 90%;
    width: 200px;
    height: auto;
  }

  .contact-form,
  .contact-info {
    padding: 1rem;
    max-width: 90%;
  }

  h2 {
    font-size: 1.5rem;
  }

  .contact-form h3 {
    font-size: 1rem;
  }
}
