/* =============================================
   ASTREA eDISCOVERY — SHARED STYLES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

:root {
  --pink:        #F9B8C8;
  --pink-light:  #fcd6e1;
  --pink-dark:   #f0a0bb;
  --dark:        #1a1a1a;
  --dark-2:      #2e2e2e;
  --footer-bg:   #111111;
  --white:       #ffffff;
  --card-bg:     rgba(255,255,255,0.95);
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --shadow-card: 0 4px 30px rgba(0,0,0,0.07);
  --shadow-lift: 0 16px 50px rgba(0,0,0,0.13);
  --transition:  0.28s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--pink);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAV — FLOATING ISLAND ───────────────── */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  padding: 1rem 1.5rem;
  pointer-events: none; /* let clicks pass through the wrapper */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity  0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide on scroll down */
.nav-wrapper.nav-hidden {
  transform: translateY(-120%);
  opacity: 0;
}

.nav {
  pointer-events: all; /* re-enable clicks on the actual nav pill */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10),
              0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem 0.5rem 0.6rem;
  max-width: 860px;
  width: 100%;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13),
              0 2px 8px rgba(0, 0, 0, 0.07);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0,0,0,0.08);
  display: block;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(249, 184, 200, 0.3);
  color: var(--dark);
}

.nav-links a.active {
  background: rgba(249, 184, 200, 0.45);
  font-weight: 600;
}

/* Contact button */
.btn-nav {
  background: var(--dark) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  font-size: 0.78rem !important;
  text-transform: uppercase !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.btn-nav:hover {
  background: #333 !important;
  transform: scale(1.03) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Body offset so content isn't hidden under fixed nav */
body { padding-top: 88px; }

/* ─── BUTTONS ─────────────────────────────── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--dark);
  color: var(--dark);
  background: transparent;
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--dark);
  color: var(--white);
  background: var(--dark);
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-solid:hover {
  background: transparent;
  color: var(--dark);
  transform: translateY(-2px);
}

/* ─── SECTION WRAPPER ─────────────────────── */
.section-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── WHITE CARD BLOCK ────────────────────── */
.card-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 4rem 3rem;
}

/* ─── SCROLL REVEAL ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── FOOTER ──────────────────────────────── */
.footer {
  background: var(--footer-bg);
  color: var(--white);
  margin-top: 5rem;
  padding: 5rem 2.5rem 2rem;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.footer-brand-tag {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.75rem;
}

.footer-social-links {
  display: flex;
  gap: 0.6rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.footer-social-btn:hover {
  background: var(--pink);
  color: var(--dark);
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col ul a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--pink); }

.footer-newsletter-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-form {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

.footer-form input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: none;
  padding: 0.85rem 1.1rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  outline: none;
}

.footer-form input::placeholder { color: rgba(255,255,255,0.3); }

.footer-form button {
  background: var(--pink);
  color: var(--dark);
  border: none;
  padding: 0.85rem 1.3rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.footer-form button:hover { opacity: 0.85; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 1.75rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav { border-radius: 20px; padding: 0.5rem; }
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  }

  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 12px; padding: 0.75rem 1rem; }
  .btn-nav { text-align: center; border-radius: 12px !important; }
  .nav-wrapper { padding: 0.75rem 1rem; }
  body { padding-top: 80px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { justify-content: center; }
  .card-block { padding: 2.5rem 1.5rem; }
}

/* team cards as links */
a.team-card{display:block;text-decoration:none;color:inherit;}
