/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}
a {
  text-decoration: none;
  color: white;
}

/* Navbar */
#navbar {
  position: fixed;
  width: 100%;
  background-color: #0a3d62;
  color: white;
  padding: 1rem 2rem;
  z-index: 1000;
  transition: background-color 0.3s ease;
}
#navbar.scroll {
  background-color: #111;
}
#navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#navbar ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}
#navbar a:hover,
#navbar a.active {
  border-bottom: 2px solid yellow;
}


/* new  */

 .dropdown {
      position: relative;
    }
    .dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: #0a3d62;
      padding: 0.5rem;
      min-width: 150px;
    }
    .dropdown-menu a {
      display: block;
      padding: 0.5rem 1rem;
    }
    .dropdown.open .dropdown-menu {
      display: block;
    }

    /* Sidebar style for mobile */
    #nav-menu {
      transition: transform 0.3s ease;
    }
    @media (max-width: 768px) {
      .hamburger {
        display: block;
        font-size: 2rem;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
      }
      #nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 250px;
        background-color: #111;
        padding-top: 60px;
        transform: translateX(-100%);
        z-index: 999;
      }
      #nav-menu.open {
        transform: translateX(0);
      }
      .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding-left: 1.5rem;
      }
      .dropdown-menu {
        position: static;
        background-color: #111;
        padding-left: 1rem;
      }
      .dropdown-menu a {
        color: white;
      }
      .close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
      }
    }


 .navbar-custom {
      background-color: #0a3d62;
      transition: background-color 0.3s ease;
    }
    .navbar-custom.scrolled {
      background-color: #111 !important;
    }

/* Hamburger */
.hamburger {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  display: none;
}

/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active {
  border-bottom: 2px solid yellow;
}

/* Responsive Menu */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 1rem;
  }
  #menu-toggle:checked + .hamburger + nav .nav-links {
    display: flex;
  }
}






/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10rem 2rem 2rem;
  background: linear-gradient(to right, #003973, #e5e5be);
  color: white;
}
.hero-content {
  max-width: 50%;
}
.hero h1 {
  font-size: 4rem;
  font-weight: bold;
}
.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.tags {
  margin: 1rem 0;
}
.tag {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
}
.tag.yellow {
  background: yellow;
  color: black;
  font-weight: bold;
}
.tag.and {
  color: white;
}
.subtitle {
  font-style: italic;
  font-size: 1.2rem;
}
.hero-image img {
  width: 650px;
  max-width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }
  .hero-content {
    max-width: 90%;
  }
  .hero-content h1{
    font-size: 40px;
  }

  .hero-content h2{
    font-size: 26px;
  }

  #navbar .container {
    flex-direction: column;
  }
}


.about {
  background-color: white;
  padding: 4rem 2rem;
}
.about-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.about-image img {
  width: 100%;
  max-width: 400px;
}
.about-text {
  flex: 1;
  background-color: #fff700;
  padding: 2rem;
}
.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.about-text h3 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}
.about-text p {
  font-size: 1rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    padding: 1.5rem;
  }
}



/* service  */

.bg-primari{

    background-color: #003973;

}

.bt-primari{
            
color: white;
background-color: #003973;
padding: 7px;
border-radius: 5px;

}

.bt-primari:hover{

   background-color: #0568cb;
   transition: 400ms;
}


/* popular  */

.popular-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    .popular-img {
      max-width: 100%;
      height: auto;
    }
  }



  /* Tag buttons */
.tag-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  background: yellow;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
  white-space: nowrap;
}

/* Responsive behavior */
@media (max-width: 768px) {

  .tag-group {
    flex-direction: row;
    justify-content: center;
  }
}