.content {
  font-family: "Poppins", sans-serif;
  line-height: 2;
  max-width: 600px;
  margin-inline: auto;
  margin-top: 300px;
}

.content h2 {
  font-size: 80px;
  margin: 0;
}

.mega-menu-container {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #ffffff;
  position: absolute;
  z-index: 9999;      /* high enough to stay above everything else */
  margin: -70px;
    max-width: 90%;
  margin: 0 auto;
  background: #90191c;
}

.mega-menu-container,
.mega-menu-container * {
  box-sizing: border-box;
}

.mega-menu-container a {
  text-decoration: none;
  color: #ffffff;
  display: inline-block;


}

.mega-menu-container ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mega-menu-container h4 {
  margin: 8px 0;
}

.mega-menu {

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 100%;
  margin: 0 auto;
  background: #90191c;
  box-shadow: 0 4px 30px -7px rgba(0, 0, 0, 0.1);
}

.mega-menu > ul {
  display: flex;
  max-width: 768px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.mega-menu-container .menu-title {

  padding: 10px 16px;
  font-weight: bold;
}

.mega-menu .menu-title {
  position: relative;

}

.mega-menu .menu-title::after {
  content: "";
  height: 0;
  width: 0;
  background: #90ee90;
  position: absolute;
  left: 0;
  bottom: 0;
  transition: all 200ms ease;

}

.mega-menu ul li:hover > .menu-title::after {
  height: 4px;
  width: 100%;
}

.has-submenu::after {
  content: "+";
  margin-left: -8px;
}

.mega-menu .submenu-container {
  opacity: 0;
  position: absolute;
  pointer-events: none;
  left: 0;
  right:0;
  top: 40px;
  width: 80%;
  transform: translateY(20px);
  transition: all 200ms ease;
  margin: auto;
}

.mega-menu .has-submenu:hover .submenu-container {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


.custom-banner {
  background: url('images/web-banner.jpg') center center/cover no-repeat;
  height: 500px;
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

}

.banner-content {
  background-color: rgba(139, 0, 0, 0.6); /* deep red with ~80% opacity */
  width: 40%;
  padding: 2rem;
  color: white;
  border-radius: 4px;
  text-align: left;
}

.banner-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.banner-content p {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .banner-content {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .custom-banner {
    height: auto;
    padding: 2rem 1rem;
  }

  .banner-content {
    width: 100%;
  }

  .banner-content h1 {
    font-size: 1.5rem;
  }

  .banner-content p {
    font-size: 0.95rem;
  }
}



    nav {
      background-color: #90191c;
      display: flex;
      justify-content: center;
      padding: 10px 0;
    }

    nav a {
      color: white;
      text-decoration: none;
      padding: 10px 20px;
      transition: background 0.3s;
    }

    nav a:hover,
    nav .active {
      background-color: #5c0d10;
    }


.submenu .col-3 img {
  width: 100%;
}

.submenu .col-3 {
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(2, 48, 71, 0.2);
}

.submenu {
  background: #647581;
  padding: 16px 24px;
  margin-top: 10px;
  box-shadow: 0 4px 50px -7px rgba(0, 0, 0, 0.2);
}

.submenu .col-3 ul li {
  padding: 0;
  padding-left: 12px;
  margin: 12px 0;
  position: relative;
}

.submenu .col-3 ul li::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 4px;
  left: 0;
  background: #ffffff;
  transition: all 400ms ease;
}

.submenu .col-3 ul li:hover::before {
  width: 8px;
  background: #384248;
}

.submenu h3 {
  margin: 10px 0;
}

.submenu.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  text-align: center;
}

.submenu.grid svg {
  height: 42px;
}

.submenu.grid .submenu-column {
  padding: 16px;
}

.submenu.grid .submenu-column:hover {
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
}

.submenu.grid .submenu-column:hover svg {
  color: #e94343;
}

.submenu .col-2 {
  display: flex;
}

.submenu .col-2 .left {
  flex: 1;
}

.submenu .col-2 .right {
  flex: 2;
  text-align: right;
}

.submenu .col-2 .right img,
.submenu .col-2 .left img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}


.mega-menu-container a.btn {
  background: #023047;
  border: none;
  color: #fff;
  padding: 8px 32px;
  margin: 8px 0;
  cursor: pointer;
  font-weight: bold;
}

.mega-menu-mobile {
  display: none;
}

    header {
      background-color: #90191c;
      color: white;
      text-align: center;
      padding: 5px;
      font-size: 14px;
    }
    .top-bar {
      background-color: #90191c;
      color: white;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      padding: 5px;
      min-height: 40px;
    }
    .middle-bar {
      background: white;
      color: black;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      padding: 10px 5%;
    }

       .info {
      display: flex;
      gap: 30px;
      align-items: center;
      flex-wrap: wrap;
    }
    .info-item {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .info-item i {
      color: #90191c;
    }
    .phone {
      color: #0084a3;
      font-weight: bold;
      text-decoration: none;
    }
@media (max-width: 768px) {
      .middle-bar {
        flex-direction: column;
        align-items: flex-start;
      }
      .info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }

.logo {
  display: flex;
  align-items: center;
  width: 170px;
}

.logo img {
  max-width: 80%;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .mega-menu {
    display: none;
  }

  .mega-menu-mobile {
    display: block;
  }

  .menu-header .icons .menu-icon,
  .menu-header .icons .close-icon {
    width: 28px;
    position: absolute;
    top: 0;
    right: 0;
    padding: 2px;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
    transition: all 200ms ease;
  }

  .menu-header .icons .menu-icon.active,
  .menu-header .icons .close-icon.active {
    opacity: 1;
    pointer-events: auto;
  }

  .menu-header .icons {
    position: relative;
  }

  .menu-header {
    display: flex;
    justify-content: space-between;
    box-shadow: 0 4px 40px -7px rgba(0, 0, 0, 0.3);
    position: fixed;
    left: 0;
    right: 0;
    background: #fff;
    top: 0;
    font-size: 20px;
    font-weight: bold;
    padding: 8px 16px;
  }

  .mega-menu-mobile .submenu-container {
    height: 0;
    overflow: hidden;
    transition: all 500ms ease;
  }

  .has-submenu {
    position: relative;
  }

  .has-submenu::after {
    content: "+";
    position: absolute;
    top: 12px;
    right: 8px;
    font-weight: bold;
  }

  .mega-menu-mobile > ul > li {
    border-bottom: 1px solid #eee;
  }

  .mega-menu-mobile > ul {
    position: fixed;
    top: 46px;
    left: 0;
    background: #fff;
    transform: translateX(-130%);
    max-height: calc(100vh - 46px);
    overflow-y: auto;
    transition: all 300ms ease;
  }

  .mega-menu-mobile > ul.active {
    transform: translateX(0);
  }

  .submenu {
    box-shadow: unset;
    padding: 0;
    margin-top: 0;
  }

  .submenu .col-3 {
    flex-direction: column;
  }

  .submenu .col-3 img {
    height: 160px;
    object-fit: cover;
  }

  .mega-menu-mobile h4 {
    margin: 8px 24px;
    font-size: 14px;
  }

  .submenu h3 {
    font-size: 15px;
    font-weight: normal;
    margin: 0;
    margin-bottom: 16px;
    padding: 0 16px;
  }

  .submenu .col-2 {
    padding: 0 16px;
  }
}
