@font-face {
  font-family: "Geomanist";
  src: url("/fonts/Urbanist.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Geomanist", sans-serif;
}

body {
  padding-top: 60px;
  background: #f5f5f5;
}

.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav-class {
  margin: auto;
  display: flex;
  align-items: center !important;
  justify-content: space-between;
}

.logo img {
  height: 85px;
  transition: all 0.4s ease;
}

.header.scrolled .logo img {
  height: 65px;
}

.navbar ul {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.navbar ul li a {
  text-decoration: none;
  color: #0d2c3f;
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
  font-family: "Open Sans", "Google Sans", sans-serif;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #ed202b;
}

.contact-btn {
  background: #ed202b;
  color: #fff;
  text-decoration: none;
  padding: 5px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #0d2c3f;
}

.phone img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 5px 0;
  transition: all 0.4s ease;
  box-shadow: none;
}

.header.scrolled {
  padding: 2px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
}

.header.scrolled {
  animation: headerReveal 0.45s ease;
}

@keyframes headerReveal {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.dropdown-parent {
  position: relative;
}

.modern-dropdown {
  position: absolute;

  top: 130%;
  left: 160%;

  transform: translateX(-50%) translateY(20px);

  width: 900px;

  background: #fff;

  border-radius: 28px;

  padding: 0;

  display: flex;

  overflow: hidden;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.1);

  opacity: 0;
  visibility: hidden;

  transition: 0.35s ease;

  z-index: 9999;
}

/* SHOW */

.dropdown-parent:hover .modern-dropdown {
  opacity: 1;
  visibility: visible;

  transform: translateX(-50%) translateY(0);
}

/* LEFT */

.dropdown-left {
  width: 38%;

  padding: 40px;

  background: linear-gradient(135deg, #17327a, #2563eb);

  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mini-title {
  font-size: 13px;

  letter-spacing: 1px;

  text-transform: uppercase;

  opacity: 0.7;

  margin-bottom: 18px;
}

.dropdown-left h3 {
  font-size: 32px;

  line-height: 1.3;

  margin-bottom: 18px;

  font-weight: 700;
}

.dropdown-left p {
  font-size: 15px;

  line-height: 1.8;

  opacity: 0.9;

  margin-bottom: 30px;
}

/* BUTTON */

.dropdown-btn {
  display: inline-flex;

  width: fit-content;

  padding: 13px 24px;

  border-radius: 50px;

  background: #49d16d;

  color: #fff;

  text-decoration: none;

  font-size: 14px;

  font-weight: 600;

  transition: 0.3s ease;
}

.dropdown-btn:hover {
  background: #fff;
  color: #17327a;
}

/* RIGHT */

.dropdown-right {
  width: 62%;

  padding: 30px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* DIVISION ITEM */

.division-item {
  display: flex;
  align-items: center;

  gap: 18px;

  padding: 18px;

  border-radius: 18px;

  text-decoration: none;

  transition: 0.3s ease;

  border: 1px solid #edf2ff;
}

.division-item:hover {
  background: #f7faff;

  transform: translateX(6px);

  border-color: #dce7ff;
}

/* ICON */

.division-icon {
  width: 56px;
  height: 56px;

  border-radius: 16px;

  /* background: linear-gradient(135deg, #2563eb, #49d16d); */

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;

  font-size: 24px;

  flex-shrink: 0;
}

/* TEXT */

.division-item h4 {
  font-size: 18px;

  color: #17327a;

  margin-bottom: 5px;

  font-weight: 700;
}

.division-item span {
  color: #6b7280;

  font-size: 14px;
}

/* MOBILE */

@media (max-width: 992px) {
  .modern-dropdown {
    width: 100%;

    left: 0;

    transform: translateY(20px);

    flex-direction: column;
  }

  .dropdown-parent:hover .modern-dropdown {
    transform: translateY(0);
  }

  .dropdown-left,
  .dropdown-right {
    width: 100%;
  }
}

.division-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #49d16d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.division-icon i {
  color: #fff;
  font-size: 24px;
}


/* ===== MOBILE HEADER — hidden on desktop by default ===== */
.mobile-header {
    display: none;
}

@media (max-width: 992px) {
    /* Hide the desktop header on small screens */
    .header {
        display: none;
    }

    /* Show mobile header */
    .mobile-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(8px);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
    }

    .mobile-header.scrolled {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .mobile-nav-class {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
    }

    .mobile-logo img {
        height: 55px;
        transition: height 0.3s ease;
    }

    .mobile-header.scrolled .mobile-logo img {
        height: 45px;
    }

    /* Hamburger icon */
    .mobile-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        cursor: pointer;
        z-index: 10001;
    }

    .mobile-hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background: #0d2c3f;
        border-radius: 2px;
        transition: 0.3s ease;
    }

    .mobile-hamburger.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .mobile-hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-hamburger.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    /* Off-canvas menu */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 78%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        box-shadow: -4px 0 25px rgba(0, 0, 0, 0.12);
        z-index: 10000;
        padding: 90px 0 30px;
        overflow-y: auto;
        transition: right 0.35s ease;
    }

    .mobile-menu.open {
        right: 0;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0 24px;
    }

    .mobile-menu ul li a {
        display: block;
        padding: 15px 0;
        text-decoration: none;
        color: #0d2c3f;
        font-size: 16px;
        font-weight: 600;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-menu ul li a.active {
        color: #ed202b;
    }

    /* Divisions accordion */
    .mobile-dropdown-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-dropdown-toggle i {
        font-size: 13px;
        transition: transform 0.3s ease;
    }

    .mobile-dropdown-parent.open .mobile-dropdown-toggle i {
        transform: rotate(180deg);
    }

    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 14px;
        transition: max-height 0.35s ease;
    }

    .mobile-dropdown-parent.open .mobile-submenu {
        max-height: 400px;
    }

    .mobile-submenu li a {
        font-size: 14px;
        font-weight: 500;
        color: #445;
        border-bottom: none;
        padding: 10px 0;
    }

    .mobile-phone {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 20px 0 0;
        font-weight: 600;
        color: #0d2c3f;
    }

    .mobile-phone img {
        width: 18px;
        height: 18px;
    }

    /* Overlay */
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.mobile-menu-locked {
        overflow: hidden;
    }
}

