 /* ================= HEADER ================= */



.main-header {
  width: 100%;
  background: var(--color-primary);
  position: fixed;      /* 🔥 Sticky */
  top: 0;
  left: 0;
  z-index: 9999;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 7px 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================= LOGO ================= */

.logo img {
  height: 95px;
}

/* ================= NAVIGATION ================= */

.nav-menu ul {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}

/*.nav-menu li {
  position: relative;
}
*/
.nav-menu a {
  color: var(--color-text-white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.7;
  color:var(--color-thirdary);
}


.call-buttons {
  font-family: 'Montserrat', sans-serif;
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  background-color: var(--color-thirdary);
  color: #000;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
  isolation: isolate;   /* prevents extra layer issue */
}

/* hover layer */
.call-buttons::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-secondary);
  border-radius: inherit;

  transform: translate(100%,100%);
  transition: transform .45s ease;
  z-index:-1;
}

/* hover animation */
.call-buttons:hover::before{
  transform: translate(0,0);
}

.call-buttons:hover{
  color:#000;
}

/* Hide below 1024px */
@media (max-width:1024px){
  .call-buttons{
    display:none !important;
  }
}





/* ================= DROPDOWN ARROW ================= */

.dropdown-arrow {
  display: inline-block;
  margin-left: 6px;
  border: solid var(--color-text-white);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.has-mega:hover .dropdown-arrow {
  transform: rotate(-135deg);
  color:var(--color-thirdary);
}

/* ================= MEGA MENU ================= */

.has-mega {
  position: static; /* VERY IMPORTANT */
}

/* Full width dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;

  background: transparent;

  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 999;
}

/* Show on hover */
.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

/* White centered container */
.mega-container {
  max-width: 1000px;
  margin: 0px auto 0;
  padding: 30px 40px;

  background: var(--color-text-white);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* LEFT */
.mega-left {
flex: 0 0 60%;
border-right: 1px solid gray;
padding-right: 20px;
}

.mega-left h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.mega-left p {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 30px;
  max-width: 450px;
}

/* CARDS */
.mega-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mega-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  background: var(--color-primary);
  border-radius: 14px;
  text-decoration: none;
  transition: 0.3s ease;
}

.mega-card:hover {
  /* background: var(); */
  transform: translateY(-4px);
}






.mega-card span {
  font-weight: 600;
  color: var(--color-text-white);
}

.mega-icon {
  width: 45px;
  height: 45px;
  background: var(--color-thirdary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-icon img {
  width: 22px;
  height: auto;
}

/* RIGHT IMAGE */
.mega-right {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
}

.mega-right img {
  width: 100%;
  max-width: 280px;
  border-radius: 20px;
  object-fit: cover;
}

/* ================= HAMBURGER ================= */

.hamburger {
  display: none;              /* hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--color-text-white);
  border-radius: 2px;
}

/* ================= MOBILE HEADER ================= */

@media (max-width: 992px) {

  .nav-menu {
    display: none;
  }

  .cta-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

}


/* Hide CTA button from mobile up to tablet (max 1024px) */
@media (max-width: 1024px) {
  .cta-btn {
    display: none !important; /* ensures it won’t appear */
  }

  /* Show hamburger menu at the same breakpoint */
  .hamburger {
    display: flex !important;
  }
}

/* Show CTA button above 1024px (desktop) */
@media (min-width: 1025px) {
  .cta-btn {
    display: inline-flex !important;
  }

  .hamburger {
    display: none !important;
  }
}


/* ================= MOBILE DRAWER ================= */

/* Drawer from LEFT */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background: var(--color-primary);
  z-index: 10000;
  transition: left 0.35s ease;
  padding: 30px;
  box-shadow: 10px 0 40px rgba(0,0,0,0.15);
}

.mobile-drawer.active {
  left: 0;
}

/* Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9998;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Drawer Header */
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.drawer-logo {
  width: 90px;
}

.drawer-close {
  background: none;
  border: 1px solid #ffffff;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--color-text-white);
}

/* ================= DRAWER MENU ================= */

.drawer-menu,
.drawer-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* MAIN MENU ITEM */
.drawer-menu > li {
  margin-bottom: 22px;
  position: relative;
  font-family: 'Montserrat', sans-serif;
}

/* Main link style */
.drawer-menu > li > a,
.drawer-toggle {
  position: relative;
  padding-left: 22px;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
}

/* LEFT yellow slim arrow */
.drawer-menu > li > a::before,
.drawer-toggle::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-thirdary);
  font-size: 16px;
  font-weight: 600;
}

/* RIGHT yellow dropdown arrow (Services only) */
.drawer-arrow {
  font-size: 14px;
  color: var(--color-thirdary);
  transition: transform 0.3s ease;
}

/* Rotate arrow when open */
.drawer-dropdown.active .drawer-arrow {
  transform: rotate(180deg);
}

/* ================= SUBMENU ================= */

.drawer-submenu {
  display: none;
  margin-top: 10px;
  padding-left: 18px;
}

.drawer-submenu li {
  margin-bottom: 14px;
}

/* Submenu link */
.drawer-submenu li a {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  color: var(--color-text-white);
  text-decoration: none;
}

/* Yellow arrow before submenu */
.drawer-submenu li a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--color-thirdary);
  font-size: 14px;
}

/* Show submenu */
.drawer-dropdown.active .drawer-submenu {
  display: block;
}


/* ================= HEADER RESPONSIVE ================= */
@media (max-width: 1024px) {

  .nav-menu,
  .cta-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

}
