:root {
  --bg: #e7eaec;
  --accent: #8fc24b;
  --muted: #c9d6d7;
  --white: #ffffff;
  --container: 1150px;
}

/* Remove click / focus outline everywhere */
a,
button,
input,
select,
textarea {
  outline: none;
}

/* Remove focus border */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* Chrome specific fix (this is the main one) */
a:focus-visible,
button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Images inside links */
a img {
  outline: none !important;
  box-shadow: none !important;
}


.page-wrap {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- GLOBAL RESET & TYPOGRAPHY ---------- */
* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  padding-top: 80px;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f3f6f7;
  color: var(--white);
}

a {
  color: inherit
}

/* accessibility focus */
a:focus,
button:focus {
  outline: 3px solid rgba(255, 255, 255, 0.12);
  outline-offset: 3px
}

/* ---------- SITE HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: var(--bg);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--white)
}

/* nav */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  color: #133f43;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 14px;
  transition: all .2s ease;
}

.nav-list a:hover {
  color: #133f43;
}

.nav-list a.active {
  color: #0c535c;
  font-weight: bold;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  background: transparent;
  border-radius: 0;
  color: #000;
  font-weight: 400;
}

.contact-btn .icon {
  display: inline-block;
  width: 16px;
  height: 16px;
}

.contact-btn:hover {
  background: transparent;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  align-items: center;
  justify-content: center;
  border-radius: 6px
}

.menu-icon {
  width: 22px;
  height: 22px;
filter: brightness(0)
}

/* ---------- DROPDOWN MENU ---------- */
.nav-item.dropdown {
  position: relative;
  padding-bottom: 2px;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.dropdown-arrow {
  font-size: 12px;
}

.nav-item,
.menu-item,
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;

  display: none;
  z-index: 999;
}

.dropdown-menu,
.dropdown-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #1E4856;
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 0%;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
  background: #1E4856;
  color: #ffffff;
  text-decoration: none;
}

/* DESKTOP ONLY: hover dropdown */
@media (min-width: 1025px) {

  .nav-item.dropdown:hover .dropdown-menu,
  .nav-item.dropdown .dropdown-menu:hover {
    display: block;
  }
}


@media (max-width: 768px) {
  .nav-item.dropdown {
    padding-bottom: 0;
  }

  .nav-item.dropdown .dropdown-menu {
    position: static;
    background: transparent;
    padding: 0;
  }

  .nav-item.dropdown.open .dropdown-menu {
    display: block;
    background: #fff;
  }
}

.nav-item.dropdown.ACTIVE>.dropdown-toggle {
  color: #1E4856;
  font-weight: 600;
}

.dropdown-menu a.ACTIVE {
  background: #1E4856;
  color: #ffffff;
}

/* ---------- MOBILE + TABLET (≤1024px) ---------- */
@media (max-width: 1024px) {

  /* NAV */
  .nav-list {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background: #e7eaec;
    flex-direction: column;
    padding: 12px 0;
    border-radius: 0 0 12px 12px;
    display: none;
    z-index: 9998;
    gap: 0;
    align-items: flex-start;
  }

  .nav-list.show {
    display: flex;
  }

  .menu-toggle {
    display: flex !important;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 9999;
  }

  .nav-list li {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .nav-list a,
  .dropdown-toggle {
    display: flex;
    text-align: left;
    justify-content: flex-start;
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    line-height: 1.4;
    border: none;
  }

  .nav-item.dropdown {
    margin: 0;
    padding: 0;
  }

  .nav-item.dropdown .dropdown-menu {
    position: static;
    display: none;
    background: transparent;
    width: 100%;
    padding: 0;
  }

  .nav-item.dropdown.open .dropdown-menu {
    display: block;
    background-color: #fff;
  }

  .dropdown-menu li {
    width: 100%;
    margin: 0;
  }

  .dropdown-menu li a {
    width: 100%;
    padding: 12px 36px;
    text-align: left;
    font-size: 15px;
  }

  .dropdown-arrow {
    margin-left: 6px;
  }

  .contact-btn {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 14px 20px;
    margin: 0;
  }

  .contact-btn .icon {
    margin-right: 8px;
    margin-left: 0;
  }
}




/* Remove border radius from dropdown container */
.dropdown-menu {
  border-radius: 0 !important;
}

/* Remove border radius from dropdown items */
.dropdown-menu li a {
  border-radius: 0 !important;
}

/* Mobile dropdown fix */
@media (max-width: 1024px) {
  .nav-item.dropdown.open .dropdown-menu {
    border-radius: 0 !important;
  }
}


/* ---------- NEWSLETTER SECTION ---------- */
.newsletter-section {
  background: #cbe7eb;
  padding: 40px 100px;
  border-radius: 20px 20px 0 0;
  transition: all 0.3s ease;
}

.newsletter-content {
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  animation: slideInUp 0.6s ease-out;
}

.newsletter-form input {
  width: 250px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #fff;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-form input:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-form input:focus {
  box-shadow: 0 4px 16px rgba(79, 137, 156, 0.3);
  transform: translateY(-2px);
}

.newsletter-form button {
  background: #4F899C;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(79, 137, 156, 0.3);
}

.newsletter-form button:hover {
  background: #3d6b7a;
  box-shadow: 0 6px 16px rgba(79, 137, 156, 0.4);
  transform: translateY(-2px);
}

.newsletter-form button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(79, 137, 156, 0.2);
}
.footer-links a::after {
  content: none !important;
}


/* ---------- FOOTER ---------- */
.main-footer {
  background: #e7eaec;
  margin-top: -30px;
  padding: 70px 100px 20px;
  width: 100%;
  position: relative;
  border-radius: 40px 40px 0 0;
  color: white;
  overflow: hidden;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-logo {
  width: 120px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  animation: fadeInDown 0.6s ease-out;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-left p {
  font-size: 15;
  line-height: 22px;
  max-width: 350px;
  color: #3e4649;

  animation: fadeInLeft 0.6s ease-out 0.1s both;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(79, 137, 156, 0.1);
  transition: all 0.3s ease;
  outline: none;
}

.social-icons a:hover {
  background: rgba(79, 137, 156, 0.2);
  transform: translateY(-4px) scale(1.1);
}

.social-icons img {
  width: 22px;
  cursor: pointer;
  filter: brightness(0);
  transition: all 0.3s ease;
}

.footer-links {
  display: flex;
  gap: 70px;
  color: #2B2B2B;
  animation: fadeInRight 0.6s ease-out 0.2s both;
  flex-wrap: wrap;
}

.footer-links ul li {
  list-style: none;
  margin-bottom: 12px;
  font-size: 15px;
  color: #3e4649;;
  transition: all 0.2s ease;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  position: relative;
  display: inline-block;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4F899C;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links ul li:hover {
  transform: translateX(5px);
}

.footer-divider {
  margin: 35px 0;
  border: none;
  border-top: 1px solid #acacac;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #2B2B2B;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.contact-email,
.contact-phone,
.location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #3e4649;
  margin: 0;

  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-email:hover,
.contact-phone:hover, 
.location:hover {
  color: #4F899C;
  transform: translateY(-2px);
}

.email-icon,
.phone-icon ,
.location-icon {
  width: 20px;
  height: auto;
  object-fit: contain;
  filter: brightness(0);
  transition: filter 0.3s ease;
}

.contact-email:hover .email-icon,
.contact-phone:hover .phone-icon,
.location:hover .location-icon {
  filter: brightness(0.4) sepia(1) hue-rotate(190deg) saturate(2);
}

.footer-bottom a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.footer-bottom a:hover {
  text-decoration: none;
}


.copyright-box {
  max-width: 100%;

  padding: 12px ;
  border-radius: 6px;
  text-align: center;
  background:#e7eaec;
  margin: 0 !important;
  animation: fadeIn 0.6s ease-out 0.4s both;
}

.copyright-box p {
  font-size: 14px;
  font-weight: 200;
  margin: 0;
  color: #3e4649;;
}
.footer-bottom {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: nowrap;
}
.contact-phone,
.contact-email {
  white-space: nowrap;
  flex-shrink: 0;   /* ❗ never shrink */
}
.footer-bottom a.location {
  white-space: normal;   /* ✅ allow wrap */
  max-width: 100%;
  flex: 1;               /* take remaining space */
}

/* ---------- FIX LOCATION ICON JUMP ---------- */

/* Keep footer items in one row */
.footer-bottom {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Location behaves like phone/email */
.footer-bottom .location a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

/* Lock icon position */
.location-icon {
  flex-shrink: 0;      /* 🔒 icon NEVER moves */
  margin-top: 2px;    /* visual alignment */
}

/* Only text wraps */
.location-text {
  display: block;
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
}

/* ---------- ANIMATIONS ---------- */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1024px) {
  .newsletter-section {
    padding: 30px 50px;
  }
   .newsletter-content h3 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 0%;
 
 }
   .newsletter-content {
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    
  }

  .main-footer {
    padding: 50px 50px 20px;
  }

  .footer-container {
    gap: 50px;
  }

  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .newsletter-section {
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
  }
 .newsletter-content h3 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 5px;
 }

  .newsletter-content {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 20px;
    
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }

  .main-footer {
    padding: 40px 30px 20px;
    border-radius: 30px 30px 0 0;
    margin-top: -15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links ul {
    padding: 0;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .newsletter-section {
    padding: 20px 15px;
  }

  .newsletter-form input {
    font-size: 16px;
  }

  .newsletter-form button {
    padding: 10px 16px;
    font-size: 14px;
  }

  .main-footer {
    padding: 30px 15px 15px;
  }

  .footer-container {
    gap: 25px;
  }

  .footer-logo {
    width: 120px;
  }

  .footer-left p {
    max-width: 100%;
    font-size: 13px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-links ul li {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .footer-bottom {
    font-size: 13px;
  }

  .copyright-box p {
    font-size: 12px;
  }

  .contact-email,
  .contact-phone {
    font-size: 13px;
  }

  .email-icon,
  .phone-icon,
  .location-icon {
    width: 16px;
  }
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: nowrap;   /* ✅ DO NOT ALLOW DOWNWARD MOVE */
  align-items: flex-start;
}


.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: nowrap;   /* ✅ KEEP IN ONE ROW */
}

@media (max-width: 768px) {

  /* Reduce vertical gap between footer sections */
  .footer-links {
    gap: 20px !important;  /* 🔥 change from 30px */
  }

  /* Also ensure no extra margins */
  .footer-links > div {
    margin: 0 !important;
  }

  .footer-links ul {
    margin: 0 !important;
    padding: 0 !important;
  }
}


@media (max-width: 768px) {

  /* Set base font size for footer */
  .main-footer,
  .main-footer * {
    font-size: 18px;
  }
  .footer-left p {
     font-size: 18px; 
  }
  .copyright-box p {
     font-size: 18px; 
  }

}
/* Add arrow before footer links */
.footer-links ul li a {
  position: relative;
  padding-left: 16px;        /* space for arrow */
  display: inline-block;
}

/* Arrow icon */
.footer-links ul li a::before {
  content: "›"    ;          /* arrow symbol */
  position: absolute;
  left: 0;
  top: 0;
  color: #417586;            /* arrow color */
  font-weight: bold;
  transition: transform 0.3s ease;
}

/* Hover animation */
.footer-links ul li a:hover::before {
  transform: translateX(4px); /* arrow slides right */
}

.filter-btn,
.filter-btn:focus,
.filter-btn:active {
  color: #000;                 /* same as desktop */
  outline: none;
  box-shadow: none;
}

.filter-btn.active {
  background: #0f3c3c;
  color: #fff;
}

.hp-blog-pagination button,
.hp-blog-pagination button:focus,
.hp-blog-pagination button:active {
  color: #000;                 /* desktop color */
  outline: none;
  box-shadow: none;
}

.hp-blog-pagination button.active {
  background: #0f3c3c;
  color: #fff;
}
/* =================================================
   TRIGGER FOOTER ANIMATIONS AFTER FETCH LOAD
   ================================================= */

#footer-include * {
  animation-play-state: paused !important;
  opacity: 0;
}

#footer-include.footer-animate * {
  animation-play-state: running !important;
  opacity: 1;
}