/*=========================
    Announcement Bar
==========================*/

.announcement-bar {
  background: #0b2c52;
  color: #fff;
  font-size: 0.9rem;
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 0;
  gap: 20px;
}

.announcement-text {
  letter-spacing: 0.5px;
}

.announcement-contact {
  display: flex;
  align-items: center;
  gap: 25px;
}

.announcement-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.announcement-contact a:hover {
  color: #d4af37;
}

/*=========================
        HEADER
==========================*/

.header-nav {
  position: relative;
  width: 100%;
  z-index: 999;
  background: #fff;
  transition: 0.35s;
  margin-bottom: 20px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06);
}

.header-nav.scrolled {
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 75px;
  width: auto;
  display: block;
}

.mobile-header {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  margin-bottom: 35px;
}

.mobile-header img {
  width: 140px;

  margin-bottom: 15px;
}

.mobile-header h3 {
  color: #0b2c52;

  font-size: 1.3rem;
}

.nav-menu {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #060f27;
  font-weight: 500;
  font-size: 1.1rem;
  transition: 0.3s;
  position: relative;
}

.nav-menu a:hover {
  color: #0b2c52;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.quote-btn {
  background: #0b2c52;
  color: #fff;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.quote-btn:hover {
  background: #d4af37;
  color: #fff;
}



.header-nav.sticky {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  background: #fff;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  animation: slideDown 0.35s ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  color: var(--primary-color);

  font-size: 1.5rem;
  font-weight: 700;
}

.logo img {
  height: 150px;
  width: auto;
  margin-top: 22px;
}

.logo span {
  line-height: 1;
}

.mobile-header,
.mobile-btn,
.mobile-contact,
.logo-writeup {
  display: none;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}


.hamburger-lines{
    display:flex;
    flex-direction:column;
    gap:4px;
}
.hamburger span {
  width: 20px;
  height: 2px;
  margin: 0;
  background: var(--primary);
}

.hamburger.active {
  border: 2px solid #0459bb;

  background: #ffffff;

  box-shadow: 0 8px 20px rgba(7, 27, 49, 0.15);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hamburger span {
  transition: all 0.3s ease;
  color:#002a61;
}
/*=========================
      TABLET
==========================*/

@media (max-width: 992px) {
  .announcement-bar {
    display: none;
  }
  .mobile-logo {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
  }

  .nav-menu a:not(.mobiled-btn):hover {
    background: #f5f5f5;
    color: #163f72;
  }

  /* Quote Button */
  .mobiled-btn {
    margin-top: 15px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px 25px;
    transition: 0.4s;
    gap: 25px;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.12);
    z-index: 9999;
  }
  .mobile-contact {
    display: flex;
    align-items: flex-start;
    flex-direction: column;

    gap: 18px;

    margin-top: 0;

    padding-top: 10px;

    border-top: 1px solid #e5e5e5;
  }
  .mobile-contact a {
    position: relative;
    text-decoration: none;
  }

  .mobile-contact a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0;
    height: 2px;

    background: #d4af37;
    transition: 0.35s ease;
  }

  .mobile-contact a:hover::after {
    width: 100%;
  }

  .mobile-contact a {
    display: flex;

    align-items: center;

    gap: 12px;

    color: #666;

    text-decoration: none;
  }

  .mobile-contact span {
    flex: 1;
    overflow-wrap: anywhere;
  }

  .mobile-contact i {
    color: #d4af37;
    flex-shrink: 0;
    width: 15px;
    font: 90px;
  }

  .nav-menu.active {
    right: 0;
  }
  .nav-menu .mobiled-btn {
    display: block;
    width: 100%;

    background: #163f72;
    color: #fff;

    text-align: center;
    text-decoration: none;

    padding: 14px 20px;

    border-radius: 10px;

    font-size: 1rem;
    font-weight: 600;

    margin: 2px 0;

    transition: all 0.3s ease;
  }
  .nav-menu .logo-writeup {
    display: block;
    color: #002a61;
    font-size: 1.2rem;
    font-weight: 600;
  }
  .logo-writeup i {
    color: #d4af37;
    flex-shrink: 0;
    width: 40px;
    font-size: 40px;
  }
  .mobiled-btn:hover {
    background: #d4af37;
    color: #fff;
    transform: translateY(-2px);
  }
  .quote-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .announcement-content {
    justify-content: center;
    text-align: center;
  }
}

/*=========================
        MOBILE
==========================*/

@media (max-width: 768px) {
  .announcement-contact {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .email-link {
    display: none;
  }

  .logo img {
    height: 120px;
  }
}

@media (min-width: 993px) {
  .mobile-header,
  .mobiled-btn,
  .mobile-contact {
    display: none;
  }
}

@media (max-width: 992px) {
 

  .hamburger {
    display:flex;
    cursor:pointer;
    width:35px;
    height:35px;
    border-radius:10px;
    display:flex;
    justify-content: center;
    align-items: center;
  }
}