/* ==========================================================================
   Alfian, S.T., M.M. - Personal Brand & Leadership Landing Page
   High-Fidelity Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette matching design */
  --bg-dark-hero: #0b141d;
  --bg-dark-values: #071524;
  --bg-dark-footer: #080f17;
  --bg-light-body: #ffffff;
  --bg-light-alt: #f5f7f9;
  --bg-card: #ffffff;
  
  --accent-gold: #c88344;
  --accent-gold-hover: #b87333;
  --accent-gold-light: rgba(200, 131, 68, 0.12);
  --accent-gold-glow: rgba(200, 131, 68, 0.25);
  
  --text-primary-dark: #ffffff;
  --text-secondary-dark: #9ca3af;
  --text-muted-dark: #6b7280;
  
  --text-primary-light: #111827;
  --text-secondary-light: #4b5563;
  --text-muted-light: #6b7280;
  
  --border-light: #e5e7eb;
  --border-dark: rgba(255, 255, 255, 0.12);
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', cursive;
  
  /* Transitions & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Container max width */
  --max-width: 1140px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary-light);
  background-color: var(--bg-light-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Header Typography */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary-light);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary-light);
  max-width: 580px;
  line-height: 1.6;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.brand-signature {
  font-family: var(--font-script);
  font-size: 1.85rem;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: 0.02em;
  transform: rotate(-2deg);
  display: inline-block;
}

.brand-credentials {
  font-size: 0.62rem;
  font-weight: 700;
  color: #4a5568;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: -2px;
  margin-left: 2px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

/* Nav Actions (Lang + Search) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b5563;
  user-select: none;
}

.lang-btn {
  padding: 2px 4px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lang-btn.active {
  color: #111827;
  font-weight: 700;
}

.lang-btn:hover {
  color: var(--accent-gold);
}

.lang-divider {
  margin: 0 4px;
  color: #d1d5db;
}

.search-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #374151;
  transition: all var(--transition-fast);
}

.search-toggle-btn:hover {
  color: var(--accent-gold);
  background-color: #f3f4f6;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  cursor: pointer;
  z-index: 101;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: #1f2937;
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
/* Mobile Menu Drawer - Hidden by default on desktop */
.mobile-menu-drawer {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: radial-gradient(circle at 75% 30%, #15273b 0%, #0c1824 50%, #081019 100%);
  color: var(--text-primary-dark);
  position: relative;
  overflow: hidden;
  padding: 4rem 0 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
}

.hero-content {
  padding-bottom: 4rem;
}

.hero-eyebrow {
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #f0f3f6;
  line-height: 1.35;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-desc {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 2.25rem;
}

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

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-gold);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(200, 131, 68, 0.35);
  transition: all var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 131, 68, 0.45);
}

/* Secondary Ghost Button */
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Hero Portrait */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-portrait-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ==========================================================================
   About Me Section
   ========================================================================== */
.about-section {
  padding: 6.5rem 0;
  background-color: var(--bg-light-body);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 4.5rem;
}

.about-image-wrapper {
  position: relative;
  max-width: 420px;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

.about-image-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.about-image-card:hover img {
  transform: scale(1.02);
}

.about-backdrop-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 60%;
  height: 60%;
  background: var(--accent-gold-light);
  border-radius: var(--radius-md);
  z-index: -1;
}

.about-content {
  padding-left: 0.5rem;
}

.about-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary-light);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-cta {
  margin-top: 2rem;
}

/* ==========================================================================
   The Journey Section
   ========================================================================== */
.journey-section {
  padding: 6.5rem 0;
  background-color: var(--bg-light-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.journey-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4.5rem;
}

.journey-quote-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.journey-quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.journey-quote-card-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.journey-quote-img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.journey-quote-content {
  padding: 1.75rem 1.5rem;
}

.journey-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #1f2937;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.journey-quote-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: #4b5563;
}

/* Journey Horizontal Timeline Process */
.journey-steps-container {
  position: relative;
}

.journey-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
}

.journey-step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.journey-step-header {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}

.journey-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #0c1e30;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(12, 30, 48, 0.2);
  transition: all var(--transition-smooth);
}

.journey-step-item:hover .journey-step-icon,
.journey-step-item.active .journey-step-icon {
  background-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 131, 68, 0.4);
}

.journey-step-arrow {
  margin-left: auto;
  color: #9ca3af;
  font-size: 1.15rem;
  font-weight: 300;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.journey-step-item:hover .journey-step-arrow {
  color: var(--accent-gold);
  transform: translateX(3px);
}

.journey-step-item:last-child .journey-step-arrow {
  display: none;
}

.journey-step-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.journey-step-desc {
  font-size: 0.8rem;
  color: var(--text-secondary-light);
  line-height: 1.45;
}

/* ==========================================================================
   My Values Section
   ========================================================================== */
.values-section {
  position: relative;
  background-color: var(--bg-dark-values);
  background-image: 
    linear-gradient(to right, rgba(7, 21, 36, 0.96) 0%, rgba(7, 21, 36, 0.88) 50%, rgba(7, 21, 36, 0.65) 100%),
    url('../img/values_bg@2x.png');
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text-primary-dark);
  padding: 6.5rem 0;
  overflow: hidden;
}

.values-header {
  margin-bottom: 3.5rem;
  max-width: 600px;
}

.values-header .section-title {
  color: #ffffff;
}

.values-header .section-subtitle {
  color: #94a3b8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.value-card {
  background: transparent;
  border: none;
  padding: 0;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(8, 20, 34, 0.65);
  border: 1.5px solid rgba(200, 131, 68, 0.45);
  color: #df9e5c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-smooth);
}

.value-card:hover .value-icon-box {
  border-color: #df9e5c;
  background: rgba(200, 131, 68, 0.2);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(223, 158, 92, 0.5);
  transform: scale(1.08);
}

.value-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* ==========================================================================
   Featured Articles Section
   ========================================================================== */
.articles-section {
  padding: 6.5rem 0;
  background-color: var(--bg-light-body);
}

.articles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-gold);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.view-all-link:hover {
  color: var(--accent-gold-hover);
  transform: translateX(3px);
}

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

.article-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(200, 131, 68, 0.3);
}

.article-thumb-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #f3f4f6;
}

.article-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.article-card:hover .article-thumb-img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.25rem 1.25rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-date-link {
  font-size: 0.8rem;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.article-card:hover .article-date-link {
  color: var(--accent-gold);
}

/* ==========================================================================
   A Simple Reminder Banner
   ========================================================================== */
.reminder-banner {
  position: relative;
  background-image: url('../img/banner_clean@2x.jpg');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 6.5rem 0;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.reminder-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(9, 23, 38, 0.85) 0%, rgba(9, 23, 38, 0.45) 50%, rgba(9, 23, 38, 0) 100%);
  pointer-events: none;
}

.reminder-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.reminder-eyebrow {
  color: #df9e5c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.reminder-quote {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.reminder-author {
  font-size: 0.925rem;
  color: #e2e8f0;
  font-weight: 500;
}

/* ==========================================================================
   Stay in Touch / Newsletter Section
   ========================================================================== */
.connect-section {
  padding: 6rem 0;
  background-color: var(--bg-light-body);
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.connect-left {
  max-width: 480px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #374151;
  background-color: #f3f4f6;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--accent-gold);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Subscribe Form */
.subscribe-form {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  background-color: #ffffff;
  position: relative;
}

.subscribe-input {
  flex-grow: 1;
  padding: 0.95rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-family: var(--font-sans);
  color: #111827;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.subscribe-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(200, 131, 68, 0.15);
}

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-gold);
  color: #ffffff;
  padding: 0 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-smooth);
}

.subscribe-btn:hover {
  background-color: var(--accent-gold-hover);
  box-shadow: 0 4px 12px rgba(200, 131, 68, 0.35);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark-footer);
  color: #ffffff;
  padding: 4.5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-signature {
  color: #ffffff;
}

.footer-brand .brand-credentials {
  color: #94a3b8;
}

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

.footer-nav-link {
  font-size: 0.85rem;
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--accent-gold);
}

.footer-lang {
  color: #94a3b8;
}

.footer-lang .lang-btn.active {
  color: #ffffff;
}

/* Footer Quote */
.footer-center-quote {
  text-align: center;
  padding: 3rem 0;
  max-width: 600px;
  margin: 0 auto;
}

.footer-quote-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}

.footer-quote-author {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

/* ==========================================================================
   Interactive Modals & Toast
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 13, 22, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-smooth);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-body {
  padding: 2.5rem;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 2000;
  border-left: 4px solid var(--accent-gold);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Video Modal */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #000;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Search Box Modal */
.search-modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  padding: 1.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.search-input-field {
  width: 100%;
  font-size: 1.15rem;
  border: none;
  outline: none;
  font-family: inherit;
}

.search-results-list {
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
}

.search-result-item {
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-result-item:hover {
  background-color: var(--bg-light-alt);
}

.search-result-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #111827;
}

.search-result-snippet {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Scroll reveal helper */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-name {
    font-size: 2.75rem;
  }
  
  .journey-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  /* Mobile Menu Drawer */
  .mobile-menu-drawer {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    transition: transform var(--transition-smooth);
    z-index: 99;
  }
  
  .mobile-menu-drawer.open {
    transform: translateY(0);
  }
  
  .mobile-menu-drawer .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
  }
  
  .mobile-menu-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 3rem;
  }
  
  .hero-content {
    padding-bottom: 2rem;
  }
  
  .hero-portrait-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .about-image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }
  
  .journey-header-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .journey-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .connect-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
