* {
  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;
  }
}

/* *** */

/* Branch Section */

.branch-section .image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.branch-section{
  width: 100%;
  /* height: auto; */
  display: block;
}

.branch-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background: #00244633;
  /* dark blue with 20% opacity */
  pointer-events: none;
}

.branch-image {
  width: 100%;
  height: 600px;
  display: block;
  margin-bottom: 2rem;
}

.branch-section {
  text-align: center;
}

.branch-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  box-shadow: 8px 8px 8px 8px rgba(0, 0, 0, 0.08);
}

.branch-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.branch-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: justify;
}

.branch-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.contact-block {
  flex: 1 1 220px;
  max-width: 300px;
  text-align: center;
  background-color: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-block i {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  display: inline-block;
  background-color: #e5e7eb;
  color: black;
  padding: 20px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-block p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

.phone-link {
  color: #444;
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

.email-link {
  color: #444;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

@media (max-width: 956px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .contact-block {
    width: 300px;
  }

  #one {
    height: 200px;
  }
}

/* Responsive Styling */
@media (max-width: 768px) {
  .branch-section .overlay {
    height: 80%;
  }

  .branch-image {
    width: 100%;
    height: 350px;
    display: block;
    margin-bottom: 2rem;
  }

  .branch-content h2 {
    font-size: 1.6rem;
  }

  .branch-content h3 {
    font-size: 1.3rem;
  }

  h2 + p {
    padding: 1rem;
  }

  .contact-block i {
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
  }

  .contact-block p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .branch-image {
    width: 100%;
    height: 250px;
    display: block;
    margin-bottom: 2rem;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .loc {
    font-size: 12px;
  }

  .contact-block {
    width: 250px;
  }

  .branch-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 300px) {
  .branch-content h2 {
    font-size: 1.3rem;
  }

  .branch-content h3 {
    font-size: 1.1rem;
  }

  .branch-content p {
    font-size: 0.85rem;
  }

  .contact-block i {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
  }

  .contact-block p {
    font-size: 0.85rem;
  }
}
