/* ========================================================= ENVIROTERM CORPORATION GLOBAL STYLES ========================================================= */ /* ========================================================= GOOGLE FONT ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); /* ========================================================= GLOBAL RESET ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} /* ========================================================= HTML ========================================================= */
html {
  scroll-behavior: smooth;
} /* ========================================================= BODY ========================================================= */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #102f4a;
  background: #f7f7f7;
  line-height: 1.6;
  overflow-x: hidden;
} /* ========================================================= MAIN CONTENT ========================================================= */ /* IMPORTANT: Keep <main> full width. Individual sections are responsible for their own padding, spacing, backgrounds, and containers. */
main {
  width: 100%;
  margin: 0;
  padding: 0;
} /* ========================================================= GLOBAL LINKS ========================================================= */
a {
  color: inherit;
} /* ========================================================= GLOBAL BUTTONS ========================================================= */
button,
input,
select,
textarea {
  font-family: inherit;
}

/* ========================================================= NAVBAR ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 82px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 47, 74, 0.07);
  box-shadow: 0 4px 20px rgba(16, 47, 74, 0.045);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
} /* ========================================================= NAVBAR CONTAINER ========================================================= */
.navcontainer {
  width: min(1400px, 92%);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
} /* ========================================================= BRAND ========================================================= */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #102f4a;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.logo:hover {
  transform: translateY(-1px);
} /* LOGO MARK */
.logo-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #102f4a, #267bb4);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(38, 123, 180, 0.18);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}
.logo:hover .logo-mark {
  transform: rotate(-4deg) scale(1.04);
  box-shadow: 0 9px 22px rgba(38, 123, 180, 0.25);
} /* LOGO TEXT */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text strong {
  color: #102f4a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.logo-text small {
  margin-top: 5px;
  color: #7c96a7;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2.5px;
} /* ========================================================= NAVIGATION ========================================================= */
#navMenu {
  display: flex;
  align-items: center;
  gap: 8px;
} /* NAV LINK */
#navMenu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: #637687;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
} /* ========================================================= MODERN LIGHT LINE ========================================================= */
#navMenu a:not(.nav-contact)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    #a9dcf8,
    #267bb4,
    #a9dcf8,
    transparent
  );
  border-radius: 100px;
  box-shadow: 0 0 8px rgba(38, 123, 180, 0.25);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
} /* HOVER */
#navMenu a:not(.nav-contact):hover {
  color: #102f4a;
  transform: translateY(-1px);
}
#navMenu a:not(.nav-contact):hover::after {
  width: 70%;
} /* ACTIVE PAGE */
#navMenu a:not(.nav-contact)[aria-current='page'] {
  color: #102f4a;
  font-weight: 600;
}
#navMenu a:not(.nav-contact)[aria-current='page']::after {
  width: 70%;
} /* ========================================================= CONTACT BUTTON ========================================================= */
#navMenu .nav-contact {
  margin-left: 10px;
  padding: 10px 17px;
  gap: 7px;
  border: 1px solid #d5e3eb;
  border-radius: 9px;
  color: #1f6f9f;
  background: #ffffff;
  transition: color 0.3s ease, background-color 0.3s ease,
    border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
#navMenu .nav-contact:hover {
  color: #ffffff;
  background: #267bb4;
  border-color: #267bb4;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(38, 123, 180, 0.18);
} /* CONTACT ARROW */
.nav-contact-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}
.nav-contact:hover .nav-contact-arrow {
  transform: translate(2px, -2px);
} /* ========================================================= MOBILE MENU BUTTON ========================================================= */
#menuBtn {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid #d5e3eb;
  border-radius: 9px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
}
#menuBtn:hover {
  background: #f4f9ff;
  border-color: #a9dcf8;
  box-shadow: 0 6px 16px rgba(16, 47, 74, 0.08);
} /* HAMBURGER LINES */
#menuBtn span {
  width: 18px;
  height: 2px;
  border-radius: 10px;
  background: #102f4a;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease,
    width 0.3s ease;
} /* ========================================================= MOBILE MENU ACTIVE STATE ========================================================= */
#menuBtn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#menuBtn.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}
#menuBtn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
} /* ========================================================= MOBILE NAVIGATION ========================================================= */
@media (max-width: 768px) {
  #menuBtn {
    display: flex;
  }
  #navMenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 4%;
    width: 92%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e1ebf1;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(16, 47, 74, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
    pointer-events: none;
    transition: max-height 0.4s ease, opacity 0.3s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  } /* OPEN */
  #navMenu.active {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  } /* MOBILE LINKS */
  #navMenu a {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 9px;
    font-size: 14px;
  }
  #navMenu a:not(.nav-contact)::after {
    display: none;
  }
  #navMenu a:not(.nav-contact):hover {
    background: #f4f9ff;
    transform: translateX(4px);
  }
  #navMenu a:not(.nav-contact)[aria-current='page'] {
    background: #eef7ff;
    color: #1f6f9f;
  } /* MOBILE CONTACT */
  #navMenu .nav-contact {
    margin: 5px 0 0;
    justify-content: center;
    border-color: #267bb4;
    background: #267bb4;
    color: #ffffff;
  }
  #navMenu .nav-contact:hover {
    background: #1f6f9f;
    border-color: #1f6f9f;
    transform: none;
  }
} /* ========================================================= SMALL SCREENS ========================================================= */
@media (max-width: 480px) {
  .navbar {
    height: 74px;
  }
  .navcontainer {
    width: 90%;
  }
  .logo-mark {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  .logo-text strong {
    font-size: 13px;
  }
  .logo-text small {
    font-size: 7px;
    letter-spacing: 2px;
  }
  #navMenu {
    top: calc(100% + 8px);
  }
}

/* ========================================================= GLOBAL HEADING RESET ========================================================= */ /* Individual page sections can override these values. */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
} /* ========================================================= IMAGES ========================================================= */
img {
  max-width: 100%;
  height: auto;
  display: block;
} /* ========================================================= ACCESSIBILITY ========================================================= */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #267bb4;
  outline-offset: 3px;
} /* ========================================================= REDUCED MOTION ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
