/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0f1f3d;
  --navy-mid:   #1a2f55;
  --gold:       #b8933f;
  --gold-light: #d4aa5a;
  --gold-pale:  rgba(184,147,63,0.12);
  --cream:      #faf8f4;
  --off-white:  #f2efe9;
  --text:       #1e1e1e;
  --text-muted: #6b6b6b;
  --white:      #ffffff;
  --border:     rgba(184,147,63,0.2);
  --shadow-sm:  0 2px 12px rgba(15,31,61,0.07);
  --shadow-md:  0 8px 32px rgba(15,31,61,0.11);
  --shadow-lg:  0 20px 60px rgba(15,31,61,0.16);
  --radius:     14px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  background: rgba(15, 31, 61, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.5rem;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(184,147,63,0.12);
}

.nav-brand {
  color: var(--gold-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-brand a {
  color: var(--gold-light);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.nav-brand a:hover {
  color: var(--white);
}

nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-btn {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 40px;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-btn:hover,
.nav-btn.active {
  color: var(--gold-light);
  border-color: rgba(184,147,63,0.35);
  background: rgba(184,147,63,0.08);
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 6rem 3.5rem 5rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Decorative grid lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,147,63,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,147,63,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(184,147,63,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 5rem;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-photo {
  flex-shrink: 0;
  position: relative;
}

/* Decorative ring behind photo */
.hero-photo::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(184,147,63,0.25);
}

.hero-photo img {
  width: 240px;
  height: 240px;
  min-width: 240px;
  min-height: 240px;
  object-fit: cover;
  border-radius: 50%;
  border: 2.5px solid var(--gold);
  box-shadow: 0 0 0 10px rgba(184,147,63,0.08), var(--shadow-lg);
  background: var(--navy-mid);
  display: block;
  aspect-ratio: 1 / 1;
}

.hero-text {
  color: var(--white);
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.hero-text h2 {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.75rem;
  letter-spacing: 0.04em;
}

.bio {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  padding: 0.78rem 2.2rem;
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(184,147,63,0.35);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 0.78rem 2.2rem;
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--navy-mid);
  border-top: 1px solid rgba(184,147,63,0.15);
  border-bottom: 1px solid rgba(184,147,63,0.15);
  padding: 2.5rem 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  text-align: center;
  padding: 1.25rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  cursor: default;
  transition: background var(--transition);
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
  background: rgba(184,147,63,0.06);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ── EXPERTISE STRIP ── */
.expertise-strip {
  background: var(--off-white);
  padding: 5.5rem 3.5rem;
  text-align: center; /* only for labels/titles */
}

.expertise-grid {
  text-align: left; /* cards themselves are left-aligned */
}

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  color: var(--navy);
  margin-bottom: 3.5rem;
  font-weight: 600;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.expertise-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--gold);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  display: block;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: var(--radius) var(--radius) 0 0;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.expertise-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  line-height: 1.4;
}

.expertise-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.65;
  font-weight: 400;
}

.expertise-arrow {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform var(--transition);
}

.expertise-card:hover .expertise-arrow {
  transform: translateX(4px);
}

/* ── GALLERY ── */
.gallery-section {
  background: var(--white);
  padding: 6rem 3.5rem;
  text-align: center;
}

.cert-center-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Certifications ticker */
.cert-ticker-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 560px;
  max-width: 100%;
}


.cert-ticker {
  width: 100%;
  height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--off-white);
}

.cert-track {
  display: flex;
  flex-direction: column;
  animation: scrollUp 22s linear infinite;
}

.cert-track:hover { animation-play-state: paused; }

.cert-card {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.cert-issuer {
  display: block;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.cert-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.cert-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.slideshow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

.slideshow {
  position: relative;
  flex: 1;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.slide {
  display: none;
  position: absolute;
  inset: 0;
  animation: fadeSlide 0.55s ease;
}

.slide.active { display: block; }

@keyframes fadeSlide {
  from { opacity: 0; transform: scale(1.025); }
  to   { opacity: 1; transform: scale(1); }
}

.slide img {
  width: 100%;
  height: calc(100% - 60px);
  object-fit: cover;
  object-position: center top;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.06) saturate(1.08) brightness(1.02);
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.slide-caption {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  padding: 0.75rem 1rem;
  text-align: left;
  height: 60px;
  display: flex;
  align-items: center;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.slide-arrow {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
  font-size: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.slide-arrow:hover {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
  transform: scale(1.06);
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d5d0c8;
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}

/* ── CONSULTANCY ── */
.consultancy {
  padding: 7rem 3.5rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.consultancy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,147,63,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,147,63,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.consultancy::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(184,147,63,0.1) 0%, transparent 55%);
  pointer-events: none;
}

.consult-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.consult-inner .section-label { color: var(--gold-light); }

.consult-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.consult-inner p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.75rem;
  font-weight: 300;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.consult-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  padding: 0.85rem 2.5rem;
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.consult-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184,147,63,0.3);
}

/* ── FOOTER ── */
footer {
  background: #080f1f;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

/* ── SCROLL FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  header {
    padding: 0 1.25rem;
    height: 60px;
    position: sticky;
    top: 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hamburger { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(15,31,61,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(184,147,63,0.12);
    z-index: 99;
  }

  nav.open { display: flex; }

  .nav-btn { padding: 0.65rem 0.75rem; font-size: 0.75rem; }

  .hero { padding: 2.5rem 1.25rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .hero-photo { margin: 0 auto; }
  .hero-photo img { width: 160px; height: 160px; min-width: 160px; min-height: 160px; }
  .hero-eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; flex-direction: column; align-items: center; }
  .hero-text h1 { font-size: 2.2rem; }
  .bio { margin: 0 auto 2rem; font-size: 0.95rem; }

  .stats-strip { grid-template-columns: 1fr; padding: 1.25rem 1.5rem; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 1rem 0; }
  .stat-item:last-child { border-bottom: none; }

  .expertise-strip, .consultancy { padding: 3.5rem 1.25rem; }
  .expertise-grid { grid-template-columns: 1fr; }

  .gallery-section { padding: 3.5rem 1.25rem; }
  .gallery-row { grid-template-columns: 1fr; gap: 2rem; }
  .slideshow-wrapper { gap: 0.5rem; }
  .cert-ticker { height: 320px; }

  .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 2rem; }
  .hero-photo { width: 150px; height: 150px; }
  .stat-number { font-size: 2rem; }
}
