/* ══════════════════════════════════════════════════════════
   GLOBAL VARIABLES & RESETS
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

:root {
  --navy:        #050E24;
  --navy-mid:    #091733;
  --navy-light:  #0D2050;
  --accent:      #0EE8BE;
  --accent-dim:  rgba(14,232,190,0.12);
  --accent-dark: #00B897;
  --amber:       #F5A623;
  --red:         #E53E3E;
  --text:        #1B2A3E;
  --muted:       #6B7E96;
  --surface:     #EFF3FA;
  --card:        #FFFFFF;
  --border:      #DDE4EF;
  --font-head:   'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --radius:      10px;
}

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════════════════════
   GLOBAL HEADER
═══════════════════════════════════════════════════════════ */
header#site-header {
  background: var(--navy);
  height: 62px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 300;
  border-bottom: 1px solid rgba(14,232,190,0.08);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 42px; /* Adjust as needed */
  width: auto;
  display: block;
}

#site-header nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
#site-header nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
#site-header nav a:hover,
#site-header nav a.active { 
  color: #fff; 
}

.nav-pill {
  background: var(--accent) !important;
  color: var(--navy) !important;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.825rem !important;
  transition: opacity 0.2s !important;
}
.nav-pill:hover { opacity: 0.88; }

.hamburger { 
  display: none; 
  flex-direction: column; 
  gap: 4px; 
  cursor: pointer; 
}
.hamburger span { 
  display: block; 
  width: 22px; 
  height: 2px; 
  background: rgba(255,255,255,0.7); 
  border-radius: 2px; 
}

/* ══════════════════════════════════════════════════════════
   GLOBAL FOOTER
═══════════════════════════════════════════════════════════ */
footer#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 3.5rem 5% 1.75rem;
  margin-top: 3rem;
}
.footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer-brand .logo { display: inline-block; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.82rem; line-height: 1.65; max-width: 230px; }

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-contact p { font-size: 0.82rem; margin-bottom: 0.45rem; }

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.76rem;
}
.socials { display: flex; gap: 0.6rem; }
.soc-link {
  width: 31px; height: 31px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  transition: all 0.2s;
}
.soc-link:hover { border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   GLOBAL ANIMATIONS
═══════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp 0.45s ease both; }

/* ══════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE MEDIA QUERIES (Header & Footer)
═══════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* Mobile Navigation Implementation */
  #site-header nav { 
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.5rem 5%;
    border-bottom: 1px solid rgba(14,232,190,0.08);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }
  #site-header nav.mobile-open {
    display: flex;
  }
  .hamburger { display: flex; }
  
  /* Footer Mobile */
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}