* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}

/* ================= TOP BAR ================= */
.top-bar {
  background: #3689dc;
  height: 35px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 30px;
}

.top-bar a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.top-bar a:hover {
  color: #ddd;
}

.top-bar i {
  margin-right: 5px;
}

/* ================= HEADER ================= */
.header {
  height: 70px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}


.logo {
  position: absolute;
  top: 2px;
  left: 30px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 65px;      /* Desktop size */
  width: auto;
  transition: 0.3s ease;
}


.nav-menu {
  display: flex;
  gap: 42px;
  list-style: none;
}

.nav-menu a {
  color: #000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-menu a:hover {
  color: #3689dc;
}

/* ================= DROPDOWN ================= */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 140%;
  left: 0;
  width: 210px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.dropdown.active {
  max-height: 500px;
}

.dropdown {
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}

.dropdown.active {
  opacity: 1;
}

.dropdown li a {
  display: block;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
}

/* ================= SUB HEADER ================= */
.sub-header {
  background: #3689dc;
  padding: 6px 30px;
  
}

.sub-header p {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  height: 120vh;
  background: #3689dc;
  padding: 80px 25px;
  transition: right 0.4s ease;
  border-radius: 8px;
  z-index: 2000;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 20px;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

.mobile-submenu {
  display: none;
  margin-top: 10px;
  margin-left: 15px;
}

.mobile-submenu.active {
  display: block;
}

.menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .top-bar,
  .navbar {
    display: none;
  }

    .logo {
  display: flex;
  position: absolute;
  top: 10px;
  left: 30px;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

  .hamburger {
    display: flex;
  }
}

@media (min-width: 769px) {
  .mobile-menu,
  .hamburger {
    display: none;
  }
}


.hero1 {
     background-image: linear-gradient(rgba(0, 0, 0, 0.443), rgba(0, 0, 0, 0.406)), url("images/herico-contact-backgro-page1.png");
    background-size: cover;       /* Fill the entire area */
    background-position: center;  /* Center the image */
    background-repeat: no-repeat; /* No repeating */  
    color: #ffffff;
    height: 200px;
    padding-top: 20px;
}



.hero1 h2 {
    text-align: center;
     font-size: 75px;
    font-weight: 100px;
    margin-top: 30px;
    text-decoration: underline;
  text-underline-offset: 25px; /* space */
  text-decoration-thickness: 3px;
    
}


.hero2 {
  background-color: #ffffff;
  color: #000000;
  height: 300px;
}

.hero2 p {
   text-align: center;
   font-size: 18px;
   margin-top: 20px;
}

.hero2 a   {
  text-align: center;
  color: #000000;
  text-decoration: none;  
}

.hero2 a h2 {
  font-size: 55px;
  font-weight: 300;
  margin-top: 100px;
  margin-left: 300px;
  margin-right: 300px;
  transition: 0.4s;
}


.hero2 a h2:hover {
  color: #6b6b6b;
}



.hero3 {
  background-color: #ffffff;
  color: #000000;
  height: 300px;
}

.hero3 p {
   text-align: center;
   font-size: 18px;
   margin-top: 20px;
}

.hero3 a   {
  text-align: center;
  color: #000000;
  text-decoration: none;  
}

.hero3 a h2 {
  font-size: 55px;
  font-weight: 300;
  margin-top: 100px;
  margin-left: 300px;
  margin-right: 300px;
  transition: 0.4s;
}


.hero3 a h2:hover {
  color: #6b6b6b;
}



.hero4 {
  background-color: #ffffff;
  color: #000000;
  height: 300px;
}

.hero4 p {
   text-align: center;
   font-size: 18px;
   margin-top: 20px;
}

.hero4 a   {
  text-align: center;
  color: #000000;
  text-decoration: none;  
}

.hero4 a h2 {
  font-size: 55px;
  font-weight: 300;
  margin-top: 100px;
  margin-left: 300px;
  margin-right: 300px;
  transition: 0.4s ease;
}


.hero4 a h2:hover {
  color: #6b6b6b;
}



@media (max-width: 1024px) {

  /* ===== HERO 1 ===== */
  .hero1 {
    height: 180px;
  }

  .hero1 h2 {
    font-size: 55px;
    text-underline-offset: 18px;
  }

  /* ===== BLOG SECTIONS ===== */
  .hero2,
  .hero3,
  .hero4 {
    height: auto;
    padding: 80px 40px 40px;
  }

  .hero2 a h2,
  .hero3 a h2,
  .hero4 a h2 {
    font-size: 40px;
    margin: 0 80px;
    line-height: 1.3;
  }

  .hero2 p,
  .hero3 p,
  .hero4 p {
    font-size: 16px;
    margin-top: 16px;
  }
}

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* ===== HERO 1 ===== */
  .hero1 {
    height: 150px;
    padding-top: 10px;
  }

  .hero1 h2 {
    font-size: 36px;
    text-underline-offset: 12px;
    text-decoration-thickness: 2px;
  }

  /* ===== BLOG SECTIONS ===== */
  .hero2,
  .hero3,
  .hero4 {
    height: auto;
    padding: 60px 20px 30px;
  }

  .hero2 a h2,
  .hero3 a h2,
  .hero4 a h2 {
    font-size: 26px;
    margin: 0;
    line-height: 1.4;
    text-align: center;
  }

  .hero2 p,
  .hero3 p,
  .hero4 p {
    font-size: 14px;
    margin-top: 12px;
  }
}









.site-footer {
  background-color: #ffffff;
  color: #000000;
  height: 400px;
}

.footer-section {
  display: flex;
  margin: 60px;
  gap: 50px;

}

.column-a {
  width: 700px;
  height: 300px;
  border: 2px solid#ffffff;
} 


.column-a h3 {
    font-size: 40px;
    font-weight: 500;
    margin-left: 10px;
}

.column-a p {
  font-size: 17px;
  font-weight: 500;
  margin-left: 10px;
  margin-top: 60px;
  line-height: 1.5;
}

.column-a a {
  color: #000000;
  text-decoration: none;
}
.column-b {
  width: 400px;
  height: 300px;
  border: 2px solid#ffffff;
}

.column-b h4 {
   font-size: 28px;
    font-weight: 600;
    margin-left: 10px;
}

.column-b p {
   font-size: 17px;
  font-weight: 500;
  margin-left: 10px;
  margin-top: 30px;
  line-height: 1.5;
}

.column-b a {
  display: block;
  color: #000000;
  text-decoration: none;
  margin-bottom: 5px;
  margin-left: 10px;

}


/* ---------- Mobile Responsive Footer ---------- */
@media (max-width: 768px) {

  .site-footer {
    height: auto; /* allow footer to expand */
    padding-bottom: 30px;
  }

  .footer-section {
    flex-direction: column; /* stack columns */
    margin: 20px;
    gap: 30px;
  }

  .column-a,
  .column-b {
    width: 100%;
    height: auto;
  }

  .column-a h3 {
    font-size: 28px;
    margin-left: 0;
    text-align: left;
  }

  .column-a p {
    font-size: 15px;
    margin-left: 0;
    margin-top: 20px;
  }

  .column-b h4 {
    font-size: 22px;
    margin-left: 0;
  }

  .column-b p {
    font-size: 15px;
    margin-left: 0;
    margin-top: 15px;
  }

  .column-b a {
    margin-left: 0;
    font-size: 15px;
  }
}

/* ---------- Extra Small Devices (phones < 480px) ---------- */
@media (max-width: 480px) {

  .footer-section {
    margin: 15px;
  }

  .column-a h3 {
    font-size: 24px;
  }

  .column-b h4 {
    font-size: 20px;
  }

  .column-a p,
  .column-b p,
  .column-b a {
    font-size: 14px;
  }
}
