:root{
  --blue:#14abda;
  --blue-600:#14abda;
  --text:#ffffff;
  --text-dim:rgba(255,255,255,.9);
}

/* Reset-ish */
* { box-sizing: border-box; }
body { margin: 0;
  overflow-x: hidden;
   font-family: system-ui, -apple-system, 
  Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji", 
  "Segoe UI Symbol"; }

/* Topbar */
.topbar {
  background: var(--blue);
  color: var(--text);
  position: sticky; top: 0; z-index: 1000;
}

.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .4rem .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-wrap: wrap; /* allow wrapping on small screens */
}

.topbar a {
  --pad-inline: .6rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  color: var(--text-dim);
  padding: .4rem var(--pad-inline);
  border-radius: .5rem;
  font-size: .95rem;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .1s ease;
  outline: none;
}

.topbar a:hover,
.topbar a:focus-visible {
  background: var(--blue-600);
  color: var(--text);
}

.topbar a:active {
  transform: translateY(1px);
}

.topbar svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: currentColor;
  opacity: .95;
}

/* Make the item group scrollable horizontally on very narrow screens */
.topbar__scroller {
  display: flex;
  gap: .25rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

/* Optional: hide scrollbar on WebKit while keeping scrollability */
.topbar__scroller::-webkit-scrollbar { height: 6px; }
.topbar__scroller::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 999px; }

/* Social Media Buttons */
.topbar__social {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.topbar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: .5rem;
  border-radius: 50%;
  color: var(--text-dim);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .1s ease;
}

.topbar__social a:hover,
.topbar__social a:focus-visible {
  background: var(--blue-600);
  color: var(--text);
  transform: translateY(-1px);
}

.topbar__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .topbar a { transition: none; }
}

@media (max-width: 1020px) {
  .topbar a span{
    display: none;
  }
}

/* Navbar Base */ 
.navbar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 44px; /* adjust if your blue topbar is taller */
  z-index: 999;
}
.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo img {
  height: 70px;
  width: 330px;
}

/* Mobile Menu Toggle Button */
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  right: 15px;
  position: relative;
  border-radius: .25rem;
  transition: background .2s ease;
}

.navbar__toggle:hover,
.navbar__toggle:focus-visible {
  background: #f0f4ff;
}

.navbar__toggle svg {
  width: 24px;
  height: 24px;
  fill: #333;
}

/* Menu */
.navbar__menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 1rem;
}
.navbar__menu li {
  position: relative;
}
.navbar__menu > ul > li > a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  padding: .5rem .75rem;
  border-radius: .4rem;
  transition: background .2s ease;
}
.navbar__menu > ul > li > a:hover,
.navbar__menu > ul > li > a:focus-visible {
  background: #f0f4ff;
  color: #14abda;
}

/* Dropdown */
.has-dropdown > a::after {
  content: " ▼";
  font-size: .7em;
}
.navbar__menu > ul > li > a.active {
  background: #f0f4ff;
  color: #14abda;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: .4rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
  min-width: 180px;
  padding: .4rem 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
.dropdown li {
  display: block;
}
.dropdown a {
  display: block;
  padding: .5rem 1rem;
  color: #333;
  text-decoration: none;
  font-size: .95rem;
}
.dropdown a:hover,
.dropdown a:focus-visible {
  background: #f0f4ff;
  color: #14abda;
}

/* Show dropdown on hover (desktop only) */
@media (min-width: 1151px) {
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    max-height: 500px; /* arbitrary large enough value */
    opacity: 1;
    visibility: visible;
    display: block;
  }
}

/* Mobile dropdown: use .open class */
.has-dropdown.open .dropdown {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* Responsive */
@media (max-width: 1150px) {

  .navbar__toggle {
    display: block;
  }

  .navbar__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .navbar__menu.active {
    display: block;
  }

  .navbar__menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 0;
  }

  .navbar__menu > ul > li > a {
    display: block;
    padding: .75rem 1rem;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  /* Mobile dropdown styling */
  .dropdown {
    position: static;
    border: none;
    box-shadow: none;
    background: #f8f9fa;
    border-left: 3px solid #14abda;
    margin-left: 1rem;
    transform: none;
  }

  .has-dropdown > a::after {
    content: " ▼";
    float: right;
  }
}

@media (max-width: 768px) {
  .topbar a span {
    display: none;
  }
  .navbar__inner {
    padding: .5rem 0;
  }
  .navbar__logo img {
    height: 60px;
    width: 300px;
}
}





.footer {
  background: #222; 
  color: #ddd;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}
.footer-cage { 
  max-width: 1200px;
  margin: 0 auto;
}
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.footer-logo {
  width: 310px;
  height: 80px;
  margin-bottom: 15px;
  margin-top: 20px;
}

.footer-contact li {
  list-style: none;
  margin-bottom: 8px;
}

.footer-contact i {
  margin-right: 8px;
  color: #e63946;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
  color: #ddd;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #e63946;
}

.footer-column h4 {
  margin-bottom: 15px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #e63946;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 15px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.footer-bottom a {
  color: #bbb;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #e63946;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}
