@font-face {
  font-family: "Avenir-Font";
  src:
    url("./fonts/my-font-regular.woff2") format("woff2"),
    url("./fonts/my-font-regular.woff") format("woff"),
    url("./fonts/my-font-regular.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font: "Avenir-Font", "Segoe UI", Arial, sans-serif;

  --container-max: 1440px;
  --section-gap: clamp(2rem, 6vw, 8rem);

  --navy: #003768;
  --sky: #00a4e4;
  --gold: #f5b400;
  --cream: #fff8e7;
  --teal-tint: #e6f6fa;
}

html {
  font-size: clamp(14px, 1vw + 10px, 16px);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style-type: none;
}

button,
input {
  font-family: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
li:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Layout Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

/* ==========================================================================
    Navbar
   ========================================================================== */

.background {
  background-image: url("images/main-frame.png");
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-bottom: clamp(2rem, 6vw, 4rem);
}

.header {
  width: 100%;
  display: flex;
}

.logo img {
  width: clamp(120px, 12vw, 160px);
}

.navbar {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  margin: 1.5rem 0;
  position: relative;
}

.navpart1 ul {
  display: flex;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  color: #5f604c;
  cursor: pointer;
}

.navpart1 ul li {
  white-space: nowrap;
}

.nav-btn button {
  color: var(--navy);
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 100%;
  letter-spacing: 0;
  background-color: #ffffff;
  padding: 1rem 1.5rem;
  cursor: pointer;
  border: 1px solid #0073ae;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid #0073ae;
  color: var(--navy);
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.nav-btn--mobile {
  display: none;
}

/* ==========================================================================
   main Container
   ========================================================================== */

main {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  display: flex;
}

.left-side img {
  width: clamp(28px, 3vw, 40px);
}

.left-side h1 {
  color: var(--sky);
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: 0;
  margin-top: 1.2rem;
  max-width: 22ch;
}

.left-side h1 span {
  color: var(--navy);
  position: relative;
  display: inline-block;
}

.left-side h1 span::after {
  content: "";
  position: absolute;
  left: 1%;
  bottom: -2px;
  width: 98%;
  height: 5px;
  background: var(--gold);
  border-radius: 50% 30% 60% 40%;
  transform: rotate(-1deg);
}

.left-side p {
  font-family: var(--font);
  font-weight: 350;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 1.5;
  letter-spacing: 0;
  color: #565748;
  max-width: 60ch;
  margin-top: 1.2rem;
}

.left-side button {
  background-color: #0073ae;
  color: #ffffff;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 100%;
  letter-spacing: 0;
  padding: 1rem 1.5rem;
  margin-top: 2rem;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ==========================================================================
   second Section
   ========================================================================== */

.sec-section {
  background-color: var(--navy);
  width: 100%;
}

.second {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.left,
.right-sec {
  width: 50%;
  margin-top: var(--section-gap);
}

.sec-section .left h2 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: 0;
  color: #ffffff;
  max-width: 16ch;
}

.sec-section .left h2 span {
  position: relative;
  display: inline-block;
}

.sec-section .left h2 span::after {
  content: "";
  position: absolute;
  left: 1%;
  bottom: -2px;
  width: 98%;
  height: 5px;
  background: var(--gold);
  border-radius: 50% 30% 60% 40%;
  transform: rotate(-1deg);
}

.right-sec p {
  font-family: var(--font);
  font-weight: 350;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 1.6;
  letter-spacing: 0;
  color: #ffffff;
  margin-bottom: 1rem;
}

.clickable a {
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 100%;
  letter-spacing: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--section-gap);
  color: #ffffff;
  border-top: 1px solid #0c4477;
}

.card1,
.card2,
.card3 {
  padding: 1rem;
}

.card1 img,
.card2 img,
.card3 img {
  margin: 2rem 0.5rem 2rem 0;
  width: clamp(40px, 4vw, 56px);
}

.card1 h4,
.card2 h4,
.card3 h4 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.023rem + 1.136vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: 0;
}

.card1 p,
.card2 p,
.card3 p {
  font-family: var(--font);
  font-weight: 350;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 1.4;
  letter-spacing: 0;
  margin: 2rem 0;
}

.card1 p {
  border-right: 1px solid #0c4477;
  padding-right: 1rem;
}

.card2 p {
  border-right: 1px solid #0c4477;
  padding-right: 1rem;
}

/* ==========================================================================
   Third Section
   ========================================================================== */

.section3 {
  background-color: #ffffff;
  width: 100%;
  margin-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.heading img {
  width: clamp(24px, 3vw, 36px);
}

.heading h3 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: 0;
  max-width: 18ch;
  color: var(--navy);
}

.heading h3 span {
  position: relative;
  display: inline-block;
}

.heading h3 span::after {
  content: "";
  position: absolute;
  left: 1%;
  bottom: -2px;
  width: 98%;
  height: 5px;
  background: var(--gold);
  border-radius: 50% 30% 60% 40%;
  transform: rotate(-1deg);
}

.sec-3-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* MAIN HOVER AREA */
.hover-area {
  position: relative;
  flex: 1 1 240px;
  min-width: 240px;
}

/* MAIN BOX */
.main-box {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 220px;
  padding: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.box1,
.box3 {
  background-color: var(--cream);
}

.box2 {
  background-color: var(--teal-tint);
}

.main-box img,
.hidden-box img {
  width: clamp(36px, 4vw, 48px);
  height: auto;
  padding: 1.2rem 0;
}

.main-box h4 {
  color: var(--navy);
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  letter-spacing: 0;
  padding: 0.5rem 0;
}

.main-box p {
  color: #5f604c;
  font-family: var(--font);
  font-weight: 350;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0;
  padding: 0.5rem 0;
}

/* HIDDEN BOX (reveal-on-hover panel, desktop only) */
.hidden-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  max-width: 90vw;
  min-height: 220px;
  padding: 1rem;
  background-color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.hidden-box p {
  color: #5f604c;
  font-family: var(--font);
  font-weight: 350;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.5rem 0;
}

@media (hover: hover) and (min-width: 769px) {
  .hover-area:hover .hidden-box,
  .hover-area:focus-within .hidden-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
  }
}

/* On touch / narrow screens, show the detail inline instead of on hover */
@media (hover: none), (max-width: 768px) {
  .hidden-box {
    position: static;
    width: 100%;
    max-width: none;
    min-height: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 1px solid #eee;
    margin-top: 0.5rem;
  }

  .hidden-box img {
    display: none;
  }
}

/* ==========================================================================
   Fourth Section
   ========================================================================== */

.section4 {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #f1f1f1;
  padding: clamp(1rem, 3vw, 2rem) 0;
  gap: 1.5rem;
}

.right4 {
  flex: 1 1 320px;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.left4 {
  flex: 1 1 320px;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

@media (min-width: 769px) {
  .right4 {
    border-right: 1px solid #f1f1f1;
  }
}

.right4 h3 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: 0;
  max-width: 25ch;
  color: var(--navy);
  margin: 1rem 0;
}

.right4 h3 span {
  position: relative;
  display: inline-block;
}

.right4 h3 span::after {
  content: "";
  position: absolute;
  left: 1%;
  bottom: -2px;
  width: 98%;
  height: 5px;
  background: var(--gold);
  border-radius: 50% 30% 60% 40%;
  transform: rotate(-1deg);
}

.right4 p {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  letter-spacing: 0;
  color: var(--navy);
  margin: 1rem 0;
}

.hover-overlay-card {
  width: 100%;
  max-width: 470px;
  height: 210px;
  padding: 0 25px 0 0;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #00a6df transparent;
}

.hover-overlay-card::-webkit-scrollbar {
  width: 4px;
}

.hover-overlay-card::-webkit-scrollbar-track {
  background: transparent;
}

.hover-overlay-card::-webkit-scrollbar-thumb {
  background: #00a6df;
  border-radius: 10px;
}

.hover-overlay-card::-webkit-scrollbar-thumb:hover {
  background: #0073ae;
}

.impact-row {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
}

.line-1 {
  background-color: var(--teal-tint);
}

.line-2 {
  background-color: var(--cream);
}

.impact-row img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  margin-left: 8px;
  margin-right: 14px;
}

.impact-row p {
  margin: 0;
  flex: 1;
  color: #004b71;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sec-4th {
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 10px;
  margin-right: 5px;
  color: #0073ae;
  font-size: 0.9rem;
}

.line-1:hover {
  background-color: #d9f1f7;
}

.line-2:hover {
  background-color: #fff0cf;
}

.left4 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* ==========================================================================
   Fifth Section
   ========================================================================== */

.section5 {
  width: 100%;
  background-color: var(--teal-tint);
  margin-bottom: 2rem;
}

.sec-5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.left5,
.right5 {
  flex: 1 1 320px;
}

.left5 h3 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--navy);
  max-width: 25ch;
  margin: 2rem 0 1rem;
}

.left5 h3 span {
  position: relative;
  display: inline-block;
}

.left5 h3 span::after {
  content: "";
  position: absolute;
  left: 1%;
  bottom: -2px;
  width: 98%;
  height: 5px;
  background: var(--gold);
  border-radius: 50% 30% 60% 40%;
  transform: rotate(-1deg);
}

.left5 a {
  display: inline-block;
  color: #0073ae;
  margin: 1rem 0 2rem;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1rem, 1vw, 1.125rem);
  letter-spacing: 0;
}

.right5 img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  width: 100%;
}

.img-container {
  position: relative;
  display: block;
}

.bg-img {
  position: relative;
}

.bg-img > img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.front-img {
  position: relative;
  min-height: 100%;
  background: linear-gradient(270deg, rgba(0, 55, 106, 0.8) 0%, #003768 86.87%);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  z-index: 10;
}

.foot-left {
  margin: clamp(1.5rem, 4vw, var(--section-gap)) 0;
}

.foot-left img {
  width: clamp(120px, 14vw, 180px);
}

.foot-right {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: clamp(1.5rem, 4vw, var(--section-gap)) 0;
}

.phones {
  display: flex;
  flex-direction: column;
}

.phones a {
  font-family: var(--font);
  font-weight: 800;
  color: #ffffff;
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  line-height: 1.5;
  letter-spacing: 0;
  text-decoration: underline;
}

.phone-1 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-1 i {
  color: #fdb913;
  font-size: 1.5rem;
}

.po-box {
  display: flex;
  flex-direction: column;
}

.po-box i {
  color: #fdb913;
  font-size: 1.5rem;
}

.po-box p {
  font-family: var(--font);
  font-weight: 800;
  color: #ffffff;
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: 0;
}

.po-box .box-1 {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.second-line {
  margin-left: 2rem;
}

.second-line1 {
  margin-left: 2.5rem;
}

.footer-content2 {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  /* margin: clamp(1.5rem, 4vw, var(--section-gap)) 0; */
}

.foot-left2 {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  flex: 2 1 480px;
}

.foot-left2 .column h3 {
  color: #ffffff;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  line-height: 2;
  letter-spacing: 0;
}

.column ul li a {
  color: #9f9f9f;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1rem, 1vw, 1.125rem);
  line-height: 2;
  letter-spacing: 0;
}

.column ul li a:hover {
  color: #ffffff;
}

.foot-right2 {
  flex: 1 1 280px;
}

.foot-right2 h3 {
  color: #ffffff;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: 0;
  padding-bottom: 1.5rem;
  max-width: 30ch;
}

.foot-right2 input {
  height: 40px;
  width: 100%;
  max-width: 260px;
  padding-left: 1rem;
  font-family: var(--font);
  font-weight: 350;
  font-size: 1rem;
  color: #373a36;
  border: none;
}

.enter {
  width: 50px;
  height: 40px;
  background-color: #fdb913;
  flex-shrink: 0;
}

.enter i {
  font-size: 1.5rem;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foot-btn {
  display: flex;
  gap: 1rem;
}

.footer3 {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, var(--section-gap));
  /* justify-content: space-between; */
}

.footer3 h3 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  line-height: 2;
  letter-spacing: 0;
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons i {
  color: #fdb913;
  display: flex;
}

.foot3-email a {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  line-height: 1;
  letter-spacing: 0;
  color: #ffffff;
  text-decoration: none;
}

.footer-foot {
  display: flex;
  padding: clamp(1.5rem, 4vw, var(--section-gap));
  color: #ffffff;
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.footer-foot span {
  color: #8dc63f;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet */
@media (max-width: 992px) {
  .second {
    justify-content: center;
    text-align: center;
  }

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

  .navpart1 {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 30;
  }

  .sec-section .left h2 {
    max-width: none;
    margin: 0 auto;
  }

  .clickable {
    display: flex;
    justify-content: center;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .card1 p {
    border-right: none;
  }
}

/* Mobile nav + stacked layouts */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  /* .navpart1 {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 30;
  } */

  .navpart1.is-open {
    display: flex;
  }

  .navpart1 ul {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-btn--desktop {
    display: none;
  }

  .nav-btn--mobile {
    display: block;
  }

  .nav-btn--mobile button {
    width: 100%;
    justify-content: center;
  }

  main {
    text-align: center;
  }

  .main-sec {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .left-side {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .left-side h1 span::after,
  .heading h3 span::after,
  .sec-section .left h2 span::after,
  .right4 h3 span::after,
  .left5 h3 span::after {
    left: 0;
  }

  .cards {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .card2 p {
    border-right: none;
  }

  .heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-content,
  .footer-content2,
  .foot-left2,
  .footer3 {
    flex-direction: column;
    gap: 2rem;
  }

  .foot-right {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-foot {
    text-align: center;
    justify-content: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .left-side h1 {
    font-size: 2rem;
  }

  .hover-overlay-card {
    max-width: 100%;
  }

  .impact-row p {
    font-size: 0.75rem;
  }

  .foot-right2 input {
    max-width: none;
  }
}
