/* ============================================
   CHARLES HATAMI — PREMIUM EXECUTIVE WEBSITE
   Dark Luxury Theme | Glassmorphism + Neumorphism
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a24;
  --bg-card: rgba(20, 20, 35, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6a6a82;
  --accent-gold: #c9a84c;
  --accent-gold-light: #e8d48b;
  --accent-blue: #4a9eff;
  --accent-blue-glow: rgba(74, 158, 255, 0.3);
  --accent-silver: #c0c0d0;
  --gradient-gold: linear-gradient(135deg, #c9a84c, #e8d48b, #c9a84c);
  --gradient-blue: linear-gradient(135deg, #4a9eff, #7bb8ff);
  --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #111118 100%);
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.15);
  --shadow-blue: 0 0 30px rgba(74, 158, 255, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --nav-height: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

::selection {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 3px;
}

/* --- Canvas Background --- */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.nav__logo-mark {
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  position: relative;
}

.nav__logo-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--accent-gold);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Mobile Menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Page Wrapper --- */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* --- Hero Sections --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 2rem) clamp(1.5rem, 4vw, 4rem) 4rem;
  position: relative;
}

.hero__content {
  max-width: 900px;
  text-align: center;
}

.hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  padding: 8px 24px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.05);
}

.hero__title {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 50%, var(--text-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.8;
}

.hero__divider {
  width: 80px;
  height: 2px;
  background: var(--gradient-gold);
  margin: 0 auto 2rem;
}

.hero__roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

.hero__role-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.hero__role-tag:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

/* --- Sections --- */
.section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 4vw, 4rem);
  position: relative;
}

.section__container {
  max-width: 1200px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.section__title {
  margin-bottom: 1rem;
}

.section__line {
  width: 60px;
  height: 2px;
  background: var(--gradient-gold);
  margin: 0 auto;
}

/* --- Glass Cards --- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.glass-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

/* --- Neumorphic Cards --- */
.neu-card {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.4), -8px -8px 16px rgba(40, 40, 60, 0.1);
  transition: var(--transition-smooth);
}

.neu-card:hover {
  box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.5), -12px -12px 24px rgba(40, 40, 60, 0.15);
}

/* --- Grids --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-gold);
  color: var(--bg-primary);
}

.btn--primary:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
  color: var(--bg-primary);
}

.btn--outline {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.btn--outline:hover {
  background: rgba(201, 168, 76, 0.1);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.stat-item:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-gold);
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-gold), var(--accent-blue), var(--accent-gold));
}

.timeline__item {
  position: relative;
  padding-bottom: 3rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.timeline__item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.5);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent-gold);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.timeline__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- Image Containers --- */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-glass);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.img-frame:hover img {
  transform: scale(1.05);
}

.img-frame__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 15, 0.8) 100%);
  pointer-events: none;
}

/* --- Profile Image --- */
.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-gold);
  box-shadow: var(--shadow-gold);
  margin: 0 auto 2rem;
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 4rem clamp(1.5rem, 4vw, 4rem) 2rem;
  position: relative;
}

.footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-glass);
}

.footer__brand h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 400px;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__contact-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__bottom a {
  color: var(--accent-gold);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer__social a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.footer__social a svg {
  width: 16px;
  height: 16px;
}

/* --- Password Page --- */
.password-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.password-screen.unlocked {
  opacity: 0;
  transform: scale(1.1);
  filter: blur(20px);
  pointer-events: none;
}

.password-box {
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.password-box__logo {
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  position: relative;
}

.password-box__logo::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.password-box h2 {
  font-size: 1.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.password-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.password-input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.password-input-group input {
  width: 100%;
  padding: 16px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  letter-spacing: 4px;
  text-align: center;
  outline: none;
  transition: var(--transition-smooth);
}

.password-input-group input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}

.password-input-group input::placeholder {
  letter-spacing: 2px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.password-error {
  color: #ff4757;
  font-size: 0.8rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  display: none;
}

.password-error.show {
  display: block;
}

.password-box .btn {
  width: 100%;
  justify-content: center;
}

/* --- Floating Particles --- */
.particle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* --- Page Transition --- */
.page-enter {
  animation: pageEnter 0.8s ease forwards;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Magnetic Hover Effect --- */
.magnetic {
  transition: transform 0.3s ease;
}

/* --- Glow Text --- */
.glow-text {
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

/* --- Horizontal Rule --- */
.hr-gold {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: 3rem 0;
}

/* --- Quote Block --- */
.quote-block {
  padding: 2rem 2.5rem;
  border-left: 3px solid var(--accent-gold);
  background: var(--bg-glass);
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Contact Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  padding: 14px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.08);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-glass);
  aspect-ratio: 16 / 11;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 15, 0.9));
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item__caption {
  transform: translateY(0);
}

.gallery-item__caption h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gallery-item__caption p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
}

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  background: none;
  transition: var(--transition-fast);
}

.lightbox__close:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* --- Infographic: World Map Dots --- */
.world-map-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 2 / 1;
}

.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.6);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.map-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.3);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.map-dot:hover {
  transform: scale(1.5);
}

.map-dot__label {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-gold);
  opacity: 0;
  transition: var(--transition-fast);
  pointer-events: none;
}

.map-dot:hover .map-dot__label {
  opacity: 1;
}

/* --- Page Inner Hero (non-home pages) --- */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 4rem) clamp(1.5rem, 4vw, 4rem) 4rem;
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, transparent, var(--bg-primary));
  pointer-events: none;
}

/* --- Role Cards --- */
.role-card {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-gold);
}

.role-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateX(8px);
  box-shadow: var(--shadow-gold);
}

.role-card__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.role-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.role-card__org {
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.role-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Insight Cards --- */
.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.insight-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.insight-card__header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border-glass);
}

.insight-card__category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}

.insight-card__title {
  font-size: 1.15rem;
  line-height: 1.4;
}

.insight-card__body {
  padding: 1.5rem 2rem 2rem;
}

.insight-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.insight-card__footer {
  padding: 0 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insight-card__date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.insight-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* --- Animated Number Counter --- */
.counter {
  display: inline-block;
}

/* ========================
   RESPONSIVE BREAKPOINTS
   ======================== */

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
    border-left: 1px solid var(--border-glass);
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__hamburger {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__roles {
    flex-direction: column;
    align-items: center;
  }

  .gallery-item__caption {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .password-box h2 {
    font-size: 1.2rem;
  }
}

/* --- Marquee / Scrolling Ticker --- */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
  background: rgba(201, 168, 76, 0.02);
}

.ticker {
  display: flex;
  gap: 4rem;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker__item {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticker__item span.ticker__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-gold);
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Expertise Bars --- */
.expertise-bar {
  margin-bottom: 1.5rem;
}

.expertise-bar__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.expertise-bar__track {
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
}

.expertise-bar__fill {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 2px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.expertise-bar__fill.visible {
  width: var(--bar-width);
}

/* --- Testimonial / Endorsement Cards --- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(201, 168, 76, 0.1);
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(201, 168, 76, 0.15);
  box-shadow: var(--shadow-gold);
}

.testimonial-card__text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* --- Numbered Feature List --- */
.feature-list {
  list-style: none;
  counter-reset: feature-counter;
}

.feature-list__item {
  counter-increment: feature-counter;
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.feature-list__item:last-child {
  border-bottom: none;
}

.feature-list__item:hover {
  padding-left: 8px;
}

.feature-list__item::before {
  content: counter(feature-counter, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.3);
  flex-shrink: 0;
  min-width: 40px;
  line-height: 1.4;
}

.feature-list__item h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature-list__item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Icon Boxes --- */
.icon-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  transition: var(--transition-smooth);
  position: relative;
}

.icon-box:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.icon-box__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.icon-box__icon svg {
  width: 24px;
  height: 24px;
}

.icon-box h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.icon-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Horizontal Timeline --- */
.h-timeline {
  display: flex;
  overflow-x: auto;
  gap: 0;
  padding: 2rem 0;
  scrollbar-width: none;
}

.h-timeline::-webkit-scrollbar {
  display: none;
}

.h-timeline__item {
  flex: 0 0 280px;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.h-timeline__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-glass);
}

.h-timeline__item::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

.h-timeline__year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent-gold);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.h-timeline__title {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.h-timeline__text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Accordion / FAQ --- */
.accordion {
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion__item {
  border-bottom: 1px solid var(--border-glass);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.accordion__trigger:hover {
  background: var(--bg-tertiary);
}

.accordion__trigger::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion__item.active .accordion__trigger::after {
  content: '\2212';
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion__content-inner {
  padding: 0 1.5rem 1.5rem;
}

.accordion__content-inner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Parallax Banner --- */
.parallax-banner {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(74, 158, 255, 0.05));
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.parallax-banner__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 3rem clamp(1.5rem, 4vw, 4rem);
}

/* --- Speaking Events List --- */
.event-list__item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.event-list__item:hover {
  padding-left: 8px;
}

.event-list__item:last-child {
  border-bottom: none;
}

.event-list__date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}

.event-list__date-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.event-list__date-label {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.event-list__info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.event-list__info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.event-list__location {
  margin-left: auto;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-gold);
  white-space: nowrap;
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-step__number {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.process-step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Newsletter Box --- */
.newsletter-box {
  display: flex;
  gap: 0;
  max-width: 500px;
}

.newsletter-box input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-right: none;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.newsletter-box input:focus {
  border-color: var(--accent-gold);
}

.newsletter-box .btn {
  border-radius: 0;
  white-space: nowrap;
}

/* --- Responsive additions --- */
@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-list__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .event-list__location {
    margin-left: 0;
  }

  .h-timeline__item {
    flex: 0 0 240px;
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* --- Utility Classes --- */
.text-gold { color: var(--accent-gold); }
.text-blue { color: var(--accent-blue); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
