:root {
  --ann-bg: #ffffff;
  --ann-text: #0d2342;
  --navy: #0d2342;
  --navy-2: #071f3f;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --ann-border: rgba(0, 0, 0, 0.088);

  --ann-h: 50px;
  --max: 1200px;
  --border: rgba(255, 255, 255, 0.18);
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Drawer starts under visible header */
  --header-offset: 0px;

  --text1: #0d2342;
  --text2: #e7d0b1;
  --bg1: #e7d0b1;
  --bg2: #0d2342;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ann-text);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ===== Announcement Bar ===== */
.scrolling-bar {
  width: 100%;
  height: var(--ann-h);
  background: var(--bg2);
  border-bottom: 1px solid var(--ann-border);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.scrolling-bar__text {
  white-space: nowrap;
  display: inline-block;
  font-weight: 650;
  font-size: 18px;
  color: var(--white);
  padding-left: 100%;
  animation: scroll-left 18s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ===== Header ===== */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text1);
}

.header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  min-width: 140px;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.nav a {
  color: (--text1);
  padding: 10px 12px;
  border-radius: 10px;
  opacity: 0.95;
  font-weight: 600;
}

.nav a:hover {
  background: rgba(0, 0, 0, 0.08);
}

.nav a.active {
  background: rgba(0, 0, 0, 0.08);
}

.icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon {
  width: 28px;
  height: 28px;
  fill: var(--text1);
}

/* ===== Mobile Drawer ===== */
.drawer-overlay {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--header-offset);
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 1200;
}

.drawer {
  position: fixed;
  left: 0;
  top: var(--header-offset);
  height: calc(100% - var(--header-offset));
  width: min(320px, 85vw);
  background: var(--bg1);
  color: var(--text1);
  transform: translateX(-100%);
  transition: 0.22s ease;
  z-index: 1300;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
}

.drawer a {
  color: var(--ann-text);
  font-size: 18px;
  font-weight: 650;
  padding: 10px 12px;
  border-radius: 10px;
}

.drawer a:hover {
  background: rgba(11, 34, 76, 0.06);
}

.drawer a.active {
  background: rgba(11, 34, 76, 0.1);
}

body.drawer-open .drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.drawer-open .drawer {
  transform: translateX(0);
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    min-width: auto;
  }
}

/* ===== Footer (clean + working) ===== */
.footer {
  margin-top: 60px;
  background: var(--bg1);
  color: var(--text1);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  z-index: 1100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #0a244a;
  outline-offset: 2px;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr;
  gap: 12px;
}

.footer h4 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: 0.2px;
  font-weight: 600;
}

.footer__links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}

.footer__links a {
  padding: 6px 0;
  opacity: 0.9;
}

.footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 16px;
  text-align: center;
  opacity: 0.85;
  font-size: 13px;
}

@media (min-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
