/* This can be for the homepage while others should have their own .css files.  */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sora:wght@100..800&display=swap");
/* Global Styles */

/* NOTE: Nexa-Trial fonts removed - they were DEMO versions showing "TRIAL FONT" placeholders */
/* To use Nexa: Purchase full license at https://www.fonts.com/font/typofonderie/nexa */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #fafafa;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a {
  text-decoration: none;
}
header {
  position:fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: #fafafa;
  width: 100%;
}
.nav-bar-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-inline: 2rem;
  padding-block: 0.5em;
  cursor: pointer;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


.nav-bar-image {
  width: 100%;
  max-width: 90px;
}
.nav-bar-image img {
  width: 100%;
}
.hamburger-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.hamburger-menu span {
  width: 25px;
  height: 3.5px;
  background-color: #035472;
  transition: 0.3s;
}
.nav-links {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  text-align: left;
  background-color: #fafafa;
  box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
  height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  display: none;
  font-weight: 500;
  z-index: 1000;
  overflow-y: auto;
  max-height: 100vh;
}
.nav-links.active {
  display: flex;
}
.nav-links ul {
  list-style-type: none;
  padding: 6.2em 1em 1em 2em;
}
.nav-links ul li a {
  padding-bottom: 1.5em;
  display: block;
  color: #737373;
  transition: 0.2s;
}
.nav-links ul li a:hover,
.nav-links ul li a.active {
  color: #fdb241;
}
.nav-button,
.second-nav-button,
.footer-fifth button {
  background-color: #035472;
  color: #ffffff;
  padding: 15px 25px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-bottom: 50px;
  transition: 0.3s ease;
  border: none;
}
.nav-button a,
.second-nav-button a {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.375;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.2px;
}
.nav-button:hover,
.second-nav-button:hover,
.footer-fifth button:hover {
  background-color: #04698d;
}
.nav-button a:hover .second-nav-button a:hover {
  transform: scale(1.03);
}
.nav-button i,
.second-nav-button i {
  font-size: 14px;
}
.second-nav-button {
  display: none;
}
.dropdown {
  position: relative;
  /* Ensure the absolute-positioned dropdown panel is anchored here */
}
/* ── MOBILE DROPDOWN (default, inside sidebar) ── */
.dropdown-menu {
  list-style: none;
  position: static;
  background-color: #f5f8fa;
  border-left: 3px solid #035472;
  border-radius: 0 0 8px 8px;
  padding: 0 0 0 0.5em !important;
  margin: 0 0 0.5em 0;
  max-height: 0;
  overflow: hidden;
  /* smooth accordion on mobile */
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}

/* Open state toggled by JS (.open class on .dropdown) */
.dropdown.open .dropdown-menu {
  max-height: 600px;
  opacity: 1;
}

/* Arrow rotation when open */
.dropdown.open > a .ri-arrow-down-s-line,
.dropdown.open > a i {
  transform: rotate(180deg);
}
.dropdown > a i {
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown-header {
  padding: 10px 16px 6px 16px;
  font-weight: 700;
  color: #737373;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #eee;
}

.dropdown-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 6px 12px;
}

.dropdown-menu li {
  margin: 0;
}
.dropdown-menu li a {
  display: block;
  padding: 8px 14px;
  color: #555;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: normal;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 5px;
}
.dropdown-menu li a:hover {
  color: #035472;
  background-color: rgba(3, 84, 114, 0.08);
}
.site-footer {
  background-color: #ffffff;
  font-family: "Poppins", sans-serif;
  padding-inline: 2.5em;
  padding-block: 1.5em 3em;
}
.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6em;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: 2rem;
}


.footer-logo {
  width: 6.25em;
  height: auto;
  margin-bottom: 0.4em;
}
.footer-logo img {
  width: 100%;
}
.address img {
  width: 1.5em;
  height: 1.875em;
}
.address address {
  color: #121212;
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 0.2em;
}
.socials p {
  color: #121212;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding-bottom: 0.5em;
}
.social-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1em;
}
.site-footer h5 {
  color: #035472;
  font-size: 1em;
  font-weight: 700;
  padding-top: 0.5em;
}
.site-footer a {
  color: #121212;
  font-weight: 500;
  font-size: 0.875em;
}
.site-footer li {
  list-style-type: none;
}
.footer-forth h5,
.footer-fifth h5 {
  font-family: "Montserrat", sans-serif;
}
.footer-fifth input {
  background-color: #f1f2f9;
  padding: 1.25em 1.6em;
  width: 70%;
  max-width: 31em;
  border-radius: 4px;
  border: 1px solid #c4c4c4;
  font-size: 0.875em;
  font-family: "Sora", sans-serif;
  font-weight: 400;
  color: #4d5756;
  margin-block: 1em;
  outline: none;
}
.footer-fifth input.focus {
  border: 1px solid #c4c4c4;
}
.footer-fifth button {
  cursor: pointer;
  background-color: #035472;
  display: block;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875em;
  color: #ffffff;
  font-weight: 700;
  border-radius: 5px;
  padding: 1.25em 1em;
  width: 50%;
  border: none;
  max-width: 300px;
}
.dropdown i {
  font-size: 1rem;
  margin: auto;
  color: #737373;
  padding-left: 0.5em;
}
@media screen and (min-width: 600px) {
  .nav-bar-container {
    padding-inline: 2.5em;
    padding-block: 1em;
  }
  .nav-bar-image {
    width: 100px;
    flex-shrink: 0;
  }
  .site-footer {
    padding-inline: 2.5em;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .address {
    display: flex;
    align-items: center;
    gap: 1em;
  }
}
@media screen and (min-width: 800px) {
  .nav-bar-image {
    width: 130px;
  }
}
@media screen and (min-width: 1024px) {
  .nav-bar-container {
    padding-inline: 4em;
    padding-block: 2em;
  }
  .hamburger-menu {
    display: none;
  }
  .nav-links {
    display: flex;
    position: static;
    height: auto;
    background: none;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    font-weight: 500;
    width: auto;
    overflow-y: visible;
  }
  .nav-links ul {
    display: flex;
    gap: 2em;
    align-items: center;
    list-style: none;
    padding: 0;
  }
  .nav-links ul li a {
    padding: 0;
    font-weight: 500;
    transition: 0.3s;
  }
  .nav-button {
    display: none;
  }
  .second-nav-button {
    display: block;
    margin: 0;
    border-radius: 5px;
  }
  .site-footer {
    padding-inline: 4em;
  }
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
  }
  /* ── DESKTOP DROPDOWN — mega menu, always viewport-centered ── */
  .nav-links .dropdown-menu {
    /* Reset mobile accordion styles */
    max-height: none !important;
    overflow: visible !important;
    border-left: none;
    background-color: #fff;
    margin: 0;

    /* Hidden by default, shown on hover */
    display: none !important;

    /* Fixed to viewport so it always centers on every screen size */
    position: fixed;
    top: var(--navbar-bottom, 80px);
    left: 50vw;
    transform: translateX(-50%);

    padding: 20px 28px !important;
    border-radius: 14px;
    z-index: 99999;
    width: 90vw;
    max-width: 860px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
    border: 1px solid rgba(0, 0, 0, 0.07);

    /* Multi-column grid */
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 20px;

    /* Fade-in animation */
    animation: dropdownFadeIn 0.18s ease;
  }

  @keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
  }

  /* Invisible bridge — stops hover gap from closing the menu */
  .nav-links .dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 14px;
    background: transparent;
  }

  /* Show ONLY via JS-managed .open class (CSS :hover can't reach fixed menu) */
  .nav-links .dropdown.open .dropdown-menu {
    display: grid !important;
  }

  .dropdown i {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  .nav-links .dropdown:hover > a i,
  .nav-links .dropdown.open > a i {
    transform: rotate(180deg);
  }

  /* Divider & header span full 3 columns */
  .dropdown-menu .dropdown-divider {
    grid-column: 1 / -1;
    height: 1px;
    background-color: #e5e7eb;
    margin: 8px 0;
  }
  .dropdown-menu .dropdown-header {
    grid-column: 1 / -1;
    padding: 8px 12px 6px;
    font-weight: 700;
    color: #035472;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: none;
  }

  .dropdown-menu li {
    padding: 0;
    width: 100%;
  }
  .nav-links .dropdown-menu li a {
    color: #444;
    padding: 9px 12px;
    text-align: left;
    transition: 0.18s all ease-in-out;
    width: 100%;
    font-size: 0.85rem;
    white-space: nowrap;
    border-radius: 7px;
    display: block;
  }
  .nav-links .dropdown-menu li a:hover {
    color: #fff;
    background-color: #035472;
  }
}
@media screen and (min-width: 1100px) {
  .nav-bar-container,
  .site-footer {
    padding-inline: 5em;
  }
}
@media screen and (min-width: 1200px) {
  .nav-bar-container {
    padding-inline: 7em;
    padding-block: 2em;
  }
  .site-footer {
    padding-inline: 7em;
  }
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2em;
  }
  .footer-fifth input {
    width: 100%;
    margin-block: 0 1em;
  }
  .footer-fifth h5 {
    padding-top: 0.8em;
    margin-bottom: 0.8em;
  }
  .footer-fifth button {
    width: 70%;
  }
  .site-footer a {
    font-size: 0.875rem;
  }
  .socials p {
    font-size: 0.875rem;
    padding-top: 2em;
  }
  .site-footer h5 {
    font-size: 1rem;
  }
}
@media screen and (min-width: 1320px) {
  .nav-bar-container {
    padding-inline: 4em;
    padding-block: 2em;
  }

  .site-footer {
    padding-inline: 0;
  }

  .footer-container {
    padding-inline: 4em;
  }
}


/* ===================================================
   Floating WhatsApp Widget (Global)
=================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: float-pulse 2s infinite;
}
.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}
@keyframes float-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media screen and (max-width: 600px) {
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}

/* ===================================================
   Footer Bottom & Legal Links Bar
   =================================================== */
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1440px;
  margin-inline: auto;
  width: 100%;
  padding-inline: 2rem;
}
.footer-bottom p {
  color: #737373;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  font-family: "Poppins", sans-serif;
}
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-links a {
  color: #737373 !important;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  transition: color 0.2s ease;
}
.footer-legal-links a:hover {
  color: #fdb241 !important;
}

@media screen and (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    padding-inline: 2.5em;
  }
}
@media screen and (min-width: 1024px) {
  .footer-bottom {
    padding-inline: 4em;
  }
}
@media screen and (min-width: 1100px) {
  .footer-bottom {
    padding-inline: 5em;
  }
}
@media screen and (min-width: 1200px) {
  .footer-bottom {
    padding-inline: 7em;
  }
}
@media screen and (min-width: 1320px) {
  .footer-bottom {
    padding-inline: 4em;
  }
}

