/* ============================================================
   ABOT SHARED STYLESHEET
   Antigua & Barbuda Ocean Trust
   Website by Dogtooth Creative
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');
:root {
  --blue:     #0062C5;
  --cyan:     #00E7FB;
  --dark:     #04234A;
  --mid:      #54595F;
  --text:     #444444;
  --cyan-pale:#E0FBFF;
  --light:    #E8F4FF;
  --white:    #ffffff;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; font-size: 16px; color: var(--text); background: var(--white); overflow-x: hidden; }
/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 80px;
  background: rgba(4,35,74,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 80px; width: auto; mix-blend-mode: screen; }
.nav-logo-text { font-size: 13px; font-weight: 500; color: #fff; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.82); text-decoration: none; letter-spacing: 0.03em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 5px; }
.nav-dropdown-toggle svg { transition: transform 0.2s; flex-shrink: 0; }
.nav-dropdown:hover .nav-dropdown-toggle svg, .nav-dropdown:focus-within .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu { list-style: none; position: absolute; top: 100%; left: 50%; margin-top: 16px; min-width: 210px; background: var(--dark); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,0.35); opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a { display: block; padding: 10px 14px; font-size: 13px; color: rgba(255,255,255,0.78); text-decoration: none; border-radius: 8px; letter-spacing: 0.02em; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--cyan); }
.mobile-nav-sub { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: -10px; }
.mobile-nav-sub a { font-size: 14px !important; font-family: 'DM Sans', sans-serif !important; letter-spacing: 0.02em !important; color: rgba(255,255,255,0.55) !important; }
.mobile-nav-sub a:hover { color: var(--cyan) !important; }
.nav-donate { background: var(--cyan) !important; color: var(--dark) !important; font-weight: 500 !important; padding: 9px 22px; border-radius: 30px; }
.nav-donate:hover { background: #fff !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: rgba(4,35,74,0.98); z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 22px; color: rgba(255,255,255,0.88); text-decoration: none; font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.06em; }
.mobile-nav a:hover { color: var(--cyan); }
.mobile-donate { background: var(--cyan); color: var(--dark) !important; padding: 12px 36px; border-radius: 30px; }
/* ── PAGE HERO ── */
.page-hero { position: relative; margin-top: 72px; height: 340px; overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(4,35,74,0.88) 0%, rgba(4,35,74,0.5) 55%, rgba(4,35,74,0.2) 100%), linear-gradient(to top, rgba(4,35,74,0.7) 0%, transparent 60%); }
.page-hero-content { position: absolute; bottom: 48px; left: 48px; right: 48px; }
.page-hero-eyebrow { display: inline-block; font-size: 10.5px; font-weight: 500; color: var(--cyan); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; border-left: 3px solid var(--cyan); padding-left: 12px; }
.page-hero-h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px,6vw,68px); line-height: 0.95; color: var(--white); letter-spacing: 0.03em; }
.page-hero-h1 span { font-family: 'DM Serif Display', serif; font-style: italic; color: var(--cyan); display: block; font-size: clamp(36px,5.5vw,62px); }
.page-hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.page-hero-wave svg { display: block; width: 100%; }
/* ── BREADCRUMB ── */
.breadcrumb { background: var(--white); padding: 16px 48px; border-bottom: 1px solid #eaf0f8; font-size: 12px; color: var(--mid); display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.breadcrumb-sep { color: #ccd5de; }
/* ── SHARED ELEMENTS ── */
.section-tag { display: inline-block; font-size: 10.5px; font-weight: 500; color: var(--blue); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; border-left: 3px solid var(--cyan); padding-left: 12px; }
.section-h2 { font-family: 'Bebas Neue', sans-serif; font-size: 46px; color: var(--dark); line-height: 0.95; letter-spacing: 0.04em; }
.h2-italic { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 42px; color: var(--blue); letter-spacing: 0.01em; }
/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; padding: 13px 28px; border-radius: 36px; text-decoration: none; letter-spacing: 0.04em; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--dark); transform: translateY(-2px); }
.btn-cyan { background: var(--cyan) !important; color: var(--dark) !important; }
.btn-cyan:hover { background: #fff !important; }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: var(--cyan); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--dark); font-family: 'DM Sans', sans-serif; font-size: 14px; padding: 12px 26px; border-radius: 36px; border: 1.5px solid rgba(4,35,74,0.3); text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.btn-ghost:hover { border-color: var(--blue); background: rgba(0,98,197,0.06); }
/* ── WAVE DIVIDERS ── */
.wave-w-d, .wave-w-d2 { background: var(--white); line-height: 0; }
.wave-w-d svg, .wave-w-d2 svg { display: block; width: 100%; }
.wave-d-w { background: var(--dark); line-height: 0; }
.wave-d-w svg { display: block; width: 100%; }
.wave-d-p { background: var(--dark); line-height: 0; }
.wave-d-p svg { display: block; width: 100%; }
.wave-p-w { background: var(--cyan-pale); line-height: 0; }
.wave-p-w svg { display: block; width: 100%; }
.wave-p-d { background: var(--cyan-pale); line-height: 0; }
.wave-p-d svg { display: block; width: 100%; }
.wave-w-p { background: var(--white); line-height: 0; }
.wave-w-p svg { display: block; width: 100%; }
.wave-pale-down, .wave-pale-to-white, .wave-pale-to-dark { background: var(--cyan-pale); line-height: 0; }
.wave-pale-down svg, .wave-pale-to-white svg, .wave-pale-to-dark svg { display: block; width: 100%; }
.wave-white-to-dark, .wave-white-to-pale { background: var(--white); line-height: 0; }
.wave-white-to-dark svg, .wave-white-to-pale svg { display: block; width: 100%; }
.wave-dark-to-pale, .wave-dark-to-white { background: var(--dark); line-height: 0; }
.wave-dark-to-pale svg, .wave-dark-to-white svg { display: block; width: 100%; }
.wave-down { background: var(--dark); line-height: 0; }
.wave-down svg { display: block; width: 100%; }
/* ── FOOTER ── */
footer { background: var(--dark); padding: 56px 48px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-logo img { height: 110px; width: auto; mix-blend-mode: screen; margin-bottom: 10px; display: block; }
.footer-tagline { font-size:13.5px; color: rgba(255,255,255,0.42); line-height: 1.8; }
.footer-col-title { font-family: 'Bebas Neue', sans-serif; font-size: 16px; color: var(--cyan); letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-link { display: block; font-size:13.5px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 9px; transition: color 0.2s; }
.footer-link:hover { color: var(--white); }
.footer-nl-label { font-size:13.5px; color: rgba(255,255,255,0.5); margin-bottom: 14px; line-height: 1.6; }
.footer-form { display: flex; gap: 8px; }
.footer-input { flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--white); font-family: 'DM Sans', sans-serif; outline: none; transition: border-color 0.2s; }
.footer-input::placeholder { color: rgba(255,255,255,0.3); }
.footer-input:focus { border-color: var(--cyan); }
.footer-submit { background: var(--cyan); color: var(--dark); font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; padding: 10px 16px; border-radius: 8px; border: none; cursor: pointer; transition: background 0.2s; }
.footer-submit:hover { background: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-copy a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-copy a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 16px; margin-top: 24px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.16); border: 1.5px solid rgba(255,255,255,0.28); color: var(--white); transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s; text-decoration: none; }
.footer-social a svg { width: 26px; height: 26px; }
.footer-social a:hover { background: var(--cyan); color: var(--dark); border-color: var(--cyan); transform: translateY(-3px); }
/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-logo img { height: 52px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .page-hero { height: 260px; }
  .page-hero-content { bottom: 32px; left: 20px; right: 20px; }
  .page-hero-h1 { font-size: 36px; }
  .page-hero-h1 span { font-size: 32px; }
  .breadcrumb { padding: 12px 20px; }
  footer { padding: 40px 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-logo img { height: 85px; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 20px 0; }
  .section-h2 { font-size: 36px; }
  .h2-italic { font-size: 34px; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 320px; justify-content: center; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  nav { padding: 0 24px; }
  footer { padding: 48px 32px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
