body {
      font-family: sans-serif;
      background-color: #f4f4f4 !important;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* Optional spacing between logo and text */
  font-weight: bold;
  font-size: 1.5rem;
  flex: 0 0 auto;
}


p{
  font-size: medium;
      text-align: justify;
}
h2{
  font-size:xx-large !important;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: #333;
      font-weight: 900;
  position: relative;
}
h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #140826;
  margin: 10px auto 0;
  border-radius: 2px;
}
/* .logo p{
  font-size: medium;
} */
.logo img {
  width: 60px; /* Adjust as needed */
  height: auto;
}

.header-home {
      width: 100%;
      background-color: #140826;
      color: white;
      padding: 1rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
       position: fixed;
      z-index: 10;
}

    .logo {
      font-weight: bold;
      font-size: 1.5rem;
      flex: 0 0 auto;
    }
    
.logo img {
  transition: 1s ease;
} 

.logo img:hover {
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
  transition: 1s ease;
}
  
    nav {
      flex: 1;
      display: grid;
      place-items: center;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      text-decoration: none;
      color: white;
      font-weight: 500;
      font-size: medium;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: white;
    }
    a:focus {
      color: white;
    }
 .hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
      .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: #140826;
        width: 200px;
        display: none; /* Hidden by default */
        padding: 10px;
      }
      .dropdown.show-dropdown {
        display: flex;
      }

      .submenu-toggle::after {
        content: " ▼";
        font-size: 0.8em;
      }

      .dropdown {
        display: none;
        flex-direction: column;
        background-color: #140826;
      }

      .dropdown.show-dropdown {
        display: flex;
      }

      .nav-links li {
        flex-direction: column;
      }
      .nav-links.show {
        display: flex; /* Only shown when toggled */
      }
      .text-left, .text-right {
        top: 19% !important;
        letter-spacing: 3px !important;
      }
      nav.open {
        max-height: 500px;
      }
      .hamburger {
        display: flex;
      }

      .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
      }

      .hamburger.active div:nth-child(2) {
        opacity: 0;
      }

      .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
      }
}


    /* Dropdown parent */
.nav-links li {
  position: relative; /* required for absolute dropdown positioning */
}

/* Dropdown menu */
.nav-links .dropdown {
  display: none; /* hidden by default */
  position: absolute;
  top: 100%; /* place below the parent menu item */
  left: 0;
  background-color: #140826;
  min-width: 180px;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  z-index: 1000;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Dropdown links style */
.nav-links .dropdown li a {
  display: block;
  padding: 10px 15px;
  color: white;
  font-weight: 400;
  font-size:medium;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.nav-links .dropdown li a:hover,
.nav-links .dropdown li a:focus {
  background-color: #140826;
}

/* Show dropdown on hover for desktop */
.nav-links li:hover > .dropdown {
  display: block;
}
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: #140826;
       width: 100%;
        display: none;
        padding: 10px;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
         display: block;
        position: absolute;
        right: 30px;
    }
     /* Dropdown inside mobile menu */
  .nav-links .dropdown {
    position: relative;
    box-shadow: none;
    background-color: #140826;
    padding-left: 1rem;
  }
 
  .nav-links .dropdown li a {
    padding: 12px 20px;
  }
}