*,
*::before,
*::after {
    box-sizing: border-box;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    min-height: 72px;

    transition: background 200ms ease,
                backdrop-filter 200ms ease,
                border-color 200ms ease;
}

.site-header.is-scrolled {
    background: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 1.8rem;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
}

.nav-links a.active {
    opacity: 1;
    font-weight: 500;
}

.nav-logo {
    height: 42px;
    width: auto;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    color: #111;
    opacity: 0.6;
    position: relative;
    transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
}

/* underline */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ===== font ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* navigation / buttons */
.menu-content a,
.nav-links a,
button {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: lowercase;
}

/* ===== Header nav link color: white on transparent, dark on scrolled ===== */

/* Initial state (transparent header) */
.site-header:not(.is-scrolled) .nav-links a {
  color: #fff;
  opacity: 0.85;          /* keep your “muted” look */
}

/* Hover/active in transparent state */
.site-header:not(.is-scrolled) .nav-links a:hover,
.site-header:not(.is-scrolled) .nav-links a.active {
  opacity: 1;
  font-weight: 500;
}

/* Optional: if you want the underline to also be visible on transparent */
.site-header:not(.is-scrolled) .nav-links a::after {
  background: #fff;
}

/* Scrolled state explicitly (this will win once .is-scrolled is added) */
.site-header.is-scrolled .nav-links a {
  color: #111;
}

/* hamburger */
.hamburger {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: none;
    background: #055860;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;

    transition: all 0.3s ease;
}

.hamburger span {
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 10px;
}

.hamburger:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hamburger.active {
    background: #2d6a4f;
    transform: scale(0.95);
    font-weight: 500;
}

/* ===== glass panel ===== */
.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: min(360px, 100vw);
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

    border-left: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.08);

    transform: translateX(100%);
    transition: right 0.4s cubic-bezier(.77, 0, .18, 1);
}

/* open state */
.menu-panel.active {
    transform: translateX(0);
}

/* ===== menu content container ===== */
.menu-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 30px;
    padding: 40px;
}

/* ===== links ===== */
.menu-content a {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    text-decoration: none;

    color: #111;
    opacity: 0.6;

    transition: all 0.25s ease;
}

/* hover */
.menu-content a:hover {
    opacity: 1;
    transform: translateX(6px);
}

/* ===== SCROLL TO TOP BUTTON ===== */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    border-radius: 50%;

    background: #2d6a4f;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.35);

    color: #fff;
    font-size: 20px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease;
    z-index: 999999;
}

#scrollTopBtn.show {
    opacity: 1;
    pointer-events: auto;
}


/* ===== FOOTER ===== */
#anthyra-footer-strip {
    background-color: #055860 !important;
    padding: 32px 5%;          /* Increased height */
    width: 100%;
    box-sizing: border-box;
}

#anthyra-footer-strip .footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;                 /* space between rows */
}

/* Each row */
.footer-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Row 1 — Social */
.footer-social {
    justify-content: flex-start;
}

/* Row 2 — Legal */
.footer-legal {
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Links */
#anthyra-footer-strip .f-btn {
    color: white;
    text-decoration: none;
    font-size: 10pt;
    letter-spacing: 0.08em;
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

#anthyra-footer-strip .f-btn:hover {
    opacity: 1;
}

/* Copyright */
#anthyra-footer-strip .f-copy {
    color: rgba(255,255,255,0.75);
    font-size: 10pt;
    white-space: nowrap;
}

/* Social icon */
.f-icon-fixed {
    height: 26px;
    width: 26px;
}

/* White circle around LinkedIn icon */
.footer-social .f-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    border-radius: 50%;
    padding: 6px;
    opacity: 0.85;
    transition: opacity 0.25s ease;
}

.footer-social .f-btn:hover {
    opacity: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}
/* Hide hamburger on desktop */
.hamburger {
    display: none;
}

/* Tablet and down */
@media (max-width: 1024px) {

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}
/* Safe horizontal overflow guard (mobile) */
body {
  margin: 0;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  body {
    overflow-x: hidden;
  }
}
/* Overlay behind the slide-in menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900; /* below menu, above page */
}

/* Make sure menu is above overlay */
.menu-panel {
  z-index: 950;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

