@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --purple-deep:   #2d0b6b;
  --purple-mid:    #5a23c8;
  --purple-soft:   #7c3aed;
  --purple-light:  #ede9fe;
  --purple-ghost:  #f5f3ff;
  --silver:        #94a3b8;
  --silver-light:  #e2e8f0;
  --silver-dark:   #475569;
  --white:         #ffffff;
  --off-white:     #fafafa;
  --ink:           #0f0a1e;
  --text:          #1e1535;
  --text-muted:    #64748b;
  --border:        #e2e0ee;
  --shadow-sm:     0 1px 3px rgba(45,11,107,0.08), 0 1px 2px rgba(45,11,107,0.04);
  --shadow-md:     0 4px 20px rgba(45,11,107,0.10), 0 2px 8px rgba(45,11,107,0.06);
  --shadow-lg:     0 20px 60px rgba(45,11,107,0.15), 0 8px 24px rgba(45,11,107,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 76px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 6vw;
  justify-content: space-between;
  box-shadow: 0 1px 12px rgba(45,11,107,0.06);
}

.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}

/* NEW: Logo image styles */
.logo-image {
  height: 70px;
  width: auto;
  display: block;
  border-radius: 8px;
}

/* You can keep or remove the logo-mark styles */
.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-soft));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 12px rgba(90,35,200,0.35);
}

.logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
}

.logo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--purple-deep);
  letter-spacing: -0.3px;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--purple-soft); background: var(--purple-ghost); }
.nav-links a.active { color: var(--purple-soft); background: var(--purple-light); font-weight: 600; }

.nav-links .nav-contact a {
  background: var(--purple-deep);
  color: white;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(45,11,107,0.3);
}

.nav-links .nav-contact a:hover { background: var(--purple-soft); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}

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

.mobile-nav {
  display: none;
  position: fixed; top: 76px; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 6vw 24px;
  z-index: 999;
  flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-md);
}

.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none;
  padding: 12px 16px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--purple-soft); background: var(--purple-ghost);
}

/* ── PAGE WRAPPER ── */
.page-body { padding-top: 76px; }

/* ── HERO BAND (used on inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--purple-deep) 0%, #3d1590 50%, var(--purple-soft) 100%);
  padding: 72px 6vw 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
}

.page-hero-inner {
  max-width: 1180px; margin: 0 auto;
  position: relative; z-index: 1;
}

.page-hero-label {
  display: inline-block;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.7;
}

/* ── SECTION ── */
.section { padding: 88px 6vw; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-alt { background: var(--off-white); }
.section-purple { background: var(--purple-ghost); }

.section-label {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple-soft); font-weight: 600;
  margin-bottom: 12px; display: block;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--purple-deep);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

h2 em { font-style: italic; color: var(--purple-soft); }

.section-desc {
  font-size: 1rem; color: var(--text-muted);
  line-height: 1.75; max-width: 540px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 0.9rem;
  padding: 13px 28px; border-radius: 9px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.22s;
  letter-spacing: 0.01em;
}

.btn-purple {
  background: var(--purple-deep);
  color: white;
  box-shadow: 0 6px 20px rgba(45,11,107,0.28);
}

.btn-purple:hover {
  background: var(--purple-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(90,35,200,0.35);
}

.btn-outline-purple {
  background: transparent;
  color: var(--purple-deep);
  border: 1.5px solid var(--purple-mid);
}

.btn-outline-purple:hover {
  background: var(--purple-light);
  border-color: var(--purple-soft);
}

.btn-white {
  background: white;
  color: var(--purple-deep);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-white:hover {
  background: var(--purple-ghost);
  transform: translateY(-2px);
}

/* ── CARDS ── */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(90,35,200,0.2);
}

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--purple-soft), var(--purple-light));
  border-radius: 2px;
  margin: 20px 0 28px;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 64px 6vw 32px;
  margin-top: 0;
  width: 100%;
  clear: both;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* NEW: Footer logo image styles */
.footer-logo-image {
  height: 54px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.footer-logo-name { font-weight: 700; font-size: 1.05rem; color: white; }
.footer-logo-sub { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }

.footer-tagline {
  font-size: 0.87rem; color: var(--silver);
  line-height: 1.75; margin-top: 16px; max-width: 260px;
}

.footer-col h4 {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: white; margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.87rem; color: var(--silver);
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: #c4b5fd; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: var(--silver-dark);
}

.footer-bottom a { color: var(--silver); text-decoration: none; }
.footer-bottom a:hover { color: #c4b5fd; }

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 5vw; }
  
  /* Adjust logo size on mobile */
  .logo-image {
    height: 32px;
  }
}

/* Make sure content pushes footer down */
.page-body {
  min-height: calc(100vh - 76px);
  display: block;
}

/* Ensure footer is at bottom */
footer {
  margin-top: 0;
  position: relative;
  clear: both;
}