/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-primary: #070708;
  --bg-secondary: #0d0d0f;
  --bg-tertiary: #131317;
  --border-color: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #61616a;
  
  /* Gemstone Accents */
  --emerald: #10b981;
  --emerald-rgb: 16, 185, 129;
  --sapphire: #2563eb;
  --sapphire-rgb: 37, 99, 235;
  --opal-glow: linear-gradient(135deg, rgba(236, 72, 153, 0.6), rgba(59, 130, 246, 0.6), rgba(16, 185, 129, 0.6));
  
  /* Layout Settings */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Glassmorphism Preset */
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   Typography & Headers
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

h4 {
  font-size: 1.25rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.align-center { align-items: center; }

/* ==========================================================================
   Background & Ambient Glows
   ========================================================================== */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

.glow-1 {
  top: 5%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--emerald-rgb), 0.15) 0%, transparent 70%);
}

.glow-2 {
  top: 30%;
  left: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--sapphire-rgb), 0.12) 0%, transparent 70%);
}

.glow-3 {
  bottom: 10%;
  right: 20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
}

/* Custom Cursor (Desktops only) */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  z-index: 10000;
  display: none;
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 1024px) {
  .custom-cursor {
    display: block;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-color);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* Glassmorphism Cards */
.glassmorphism {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(7, 7, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-fast);
}

.nav-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-emblem {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 14px;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.logo:hover .logo-emblem {
  transform: scale(1.05);
}

.logo-dark-theme {
  display: flex !important;
  align-items: center;
}

.logo-light-theme {
  display: none !important;
}

body[data-theme="light"] .logo-dark-theme {
  display: none !important;
}

body[data-theme="light"] .logo-light-theme {
  display: flex !important;
  align-items: center;
}

body[data-theme="light"] .logo-emblem {
  border-right-color: rgba(15, 23, 42, 0.15);
}

.logo-text {
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
  border-color: var(--border-hover);
}

.sun-icon {
  display: block;
}

.moon-icon {
  display: none;
}

[data-theme="light"] .sun-icon {
  display: none;
}

[data-theme="light"] .moon-icon {
  display: block;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 8px;
}

.mobile-nav-toggle .close-icon {
  display: none;
}

/* ==========================================================================
   Light Theme Overrides
   ========================================================================== */
:root[data-theme="light"],
html[data-theme="light"],
body[data-theme="light"],
[data-theme="light"] {
  --bg-primary: #f8fafc !important;
  --bg-secondary: #ffffff !important;
  --bg-tertiary: #f1f5f9 !important;
  --border-color: rgba(15, 23, 42, 0.12) !important;
  --border-hover: rgba(15, 23, 42, 0.25) !important;
  
  --text-primary: #0f172a !important;
  --text-secondary: #475569 !important;
  --text-muted: #64748b !important;
  
  --glass-bg: rgba(255, 255, 255, 0.9) !important;
  --glass-border: rgba(15, 23, 42, 0.12) !important;
  --glass-shadow: 0 10px 30px 0 rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"],
body[data-theme="light"] {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

[data-theme="light"] .header {
  background: rgba(248, 250, 252, 0.88);
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .logo-accent {
  background: linear-gradient(135deg, #0f172a 30%, #475569 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-right-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .logo-text {
  color: #0f172a;
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-link:hover {
  color: #0f172a;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #059669 50%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .badge {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}

[data-theme="light"] .btn-primary {
  background: #0f172a;
  color: #ffffff;
}

[data-theme="light"] .btn-primary:hover {
  background: transparent;
  color: #0f172a;
  border-color: #0f172a;
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .btn-secondary {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.25);
}

[data-theme="light"] .btn-outline {
  border-color: rgba(15, 23, 42, 0.2);
  color: #0f172a;
}

[data-theme="light"] .btn-outline:hover {
  border-color: #0f172a;
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .glassmorphism {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .hero-bg-overlay {
  background: linear-gradient(
    90deg,
    rgba(248, 250, 252, 0.95) 0%,
    rgba(248, 250, 252, 0.88) 35%,
    rgba(248, 250, 252, 0.55) 60%,
    rgba(248, 250, 252, 0.15) 80%,
    rgba(248, 250, 252, 0.25) 100%
  ),
  linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.85) 0%,
    transparent 18%,
    transparent 82%,
    var(--bg-primary) 100%
  );
}

[data-theme="light"] .gallery-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .gallery-card:hover {
  border-color: rgba(15, 23, 42, 0.25);
}

[data-theme="light"] .gallery-item-title {
  color: #0f172a;
}

[data-theme="light"] .timeline-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .timeline-header h3 {
  color: #0f172a;
}

[data-theme="light"] .service-card-stat {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .service-card-stat h4 {
  color: #0f172a;
}

[data-theme="light"] .contact-form-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .contact-form label {
  color: #334155;
}

[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] select option {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="light"] .footer {
  background: #f1f5f9;
  border-top-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .footer-logo {
  color: #0f172a;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .hero-scroll-indicator {
  color: #64748b;
}

[data-theme="light"] .scroll-line {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.05) 80%, transparent 100%);
}

[data-theme="light"] .scroll-line::before {
  background: linear-gradient(to bottom, transparent, #0f172a, var(--emerald));
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

[data-theme="light"] .ambient-glow {
  opacity: 0.3;
}


/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 85px 24px 60px;
  z-index: 2;
  overflow: hidden;
}

/* Background Image from SMAPLE.png with Person on Right */
.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-wrapper picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  /* Dark elegant vignette on the left behind text, smoothly clearing over Asfaw on the right */
  background: linear-gradient(
    90deg,
    rgba(7, 7, 8, 0.94) 0%,
    rgba(7, 7, 8, 0.88) 35%,
    rgba(7, 7, 8, 0.55) 58%,
    rgba(7, 7, 8, 0.15) 78%,
    rgba(7, 7, 8, 0.25) 100%
  ),
  linear-gradient(
    180deg,
    rgba(7, 7, 8, 0.8) 0%,
    transparent 18%,
    transparent 88%,
    var(--bg-primary) 100%
  );
  pointer-events: none;
}

.hero-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 580px;
  text-align: left;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 50%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 24px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  z-index: 5;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.hero-scroll-indicator.hidden {
  opacity: 0;
  visibility: hidden;
}

.scroll-line {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 80%, transparent 100%);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.scroll-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 18px;
  background: linear-gradient(to bottom, transparent, #ffffff, var(--emerald));
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.9);
  animation: scroll-anim 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scroll-anim {
  0% {
    transform: translateY(-18px);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  75% {
    transform: translateY(44px);
    opacity: 1;
  }
  100% {
    transform: translateY(44px);
    opacity: 0;
  }
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.section-padding {
  padding: 100px 24px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}

.section-header {
  margin-bottom: 48px;
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--emerald);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 20px;
  font-weight: 500;
}

.section-desc {
  font-size: 1.05rem;
  font-weight: 300;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-image-wrapper {
  position: relative;
  padding-right: 20px;
  padding-bottom: 20px;
}

.image-border-decoration {
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  z-index: 1;
  pointer-events: none;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--border-color);
}

.experience-card {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}

.exp-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text-primary);
}

.exp-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.about-description {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 32px;
}

.founder-quote {
  border-left: 2px solid var(--emerald);
  padding-left: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.founder-name {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-top: 12px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.metric-item h3 {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Gemstone Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.gallery-card {
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
}

.gallery-img-container {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-img-container img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-card:hover .gallery-zoom-btn {
  transform: scale(1);
}

.gallery-info {
  padding: 24px;
}

.gem-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.tag-opal {
  background: rgba(236, 72, 153, 0.1);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.tag-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.tag-sapphire {
  background: rgba(37, 99, 235, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.tag-tourmaline {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.tag-event {
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.gallery-item-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.gallery-item-desc {
  font-size: 0.85rem;
  font-weight: 300;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
}

.service-item-row {
  display: flex;
  gap: 20px;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--emerald);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.service-item-row h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.service-item-row p {
  font-size: 0.9rem;
  font-weight: 300;
}

.services-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card-stat {
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.service-card-stat:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.service-card-stat i {
  color: var(--emerald);
  margin-bottom: 16px;
  width: 32px;
  height: 32px;
}

.service-card-stat h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card-stat p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.font-accent-card {
  background: radial-gradient(circle at top right, rgba(var(--emerald-rgb), 0.06), transparent 70%), var(--glass-bg);
}

/* ==========================================================================
   Experience Section
   ========================================================================== */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.timeline-card {
  padding: 40px 32px;
  position: relative;
  transition: border-color 0.3s;
}

.timeline-card:hover {
  border-color: var(--border-hover);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.timeline-icon {
  color: var(--emerald);
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
}

.timeline-card p {
  font-size: 0.9rem;
  font-weight: 300;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  color: var(--emerald);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
}

.info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.info-val {
  font-size: 1.1rem;
  font-weight: 400;
}

.info-val a,
.info-val a:visited {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.info-val a:hover {
  color: var(--emerald);
}

.contact-form-panel {
  padding: 48px;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.form-group select option {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* Success State hidden/visible */
.form-success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 0;
}

.success-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.form-success-message h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-success-message p {
  font-size: 0.95rem;
  margin-bottom: 32px;
  max-width: 320px;
}

.contact-form-panel.highlight-pulse {
  animation: formHighlightPulse 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes formHighlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    border-color: var(--emerald);
  }
  30% {
    box-shadow: 0 0 35px 6px rgba(16, 185, 129, 0.45);
    border-color: var(--emerald);
  }
  100% {
    box-shadow: var(--glass-shadow);
    border-color: var(--border-color);
  }
}

/* ==========================================================================
   Interactive Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 7, 8, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 10px;
  transition: var(--transition-fast);
  z-index: 2100;
}

.lightbox-close:hover {
  transform: rotate(90deg);
  color: var(--emerald);
}

.lightbox-content {
  display: flex;
  max-width: 1100px;
  width: 100%;
  height: auto;
  max-height: 80vh;
  gap: 40px;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
  transform: translateY(0);
}

.lightbox-img-wrapper {
  flex: 1.2;
  background: var(--bg-secondary);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 70vh;
}

.lightbox-details {
  flex: 0.8;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.lightbox-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
}

.lightbox-details h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.lightbox-details p {
  font-size: 1rem;
  margin-bottom: 32px;
  font-weight: 300;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 24px 40px;
}

.footer-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.footer-logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.9;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-logo-img:hover {
  opacity: 1;
  transform: scale(1.03);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-desc {
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--border-color);
  margin-bottom: 32px;
}

.copyright {
  font-size: 0.8rem;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered reveal states */
.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up { transform: translateY(40px); }

.reveal-left.active,
.reveal-right.active,
.reveal-up.active {
  opacity: 1;
  transform: translate(0);
}

/* Add staggered delays to active states */
.reveal-up.active.delay-1 { transition-delay: 0.15s; }
.reveal-up.active.delay-2 { transition-delay: 0.3s; }

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
/* Optimized spacing for short desktop viewports (e.g. 1366x768, 1536x730) */
@media (min-width: 769px) and (max-height: 800px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 50px;
  }
  .hero-title {
    font-size: clamp(2rem, 3.4vw, 3rem);
    margin-bottom: 12px;
  }
  .badge {
    margin-bottom: 12px;
  }
  .hero-subtitle {
    margin-bottom: 18px;
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .hero-scroll-indicator {
    bottom: 16px;
  }
}

@media (max-width: 1024px) {
  .logo-text {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
  }

  .nav-menu ul {
    gap: 18px;
  }

  .hero-content {
    max-width: 540px;
  }

  .grid-2col {
    gap: 40px;
  }
  
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Suppress performance-heavy and overflowing ambient glows on mobile */
  .ambient-glow {
    display: none;
  }

  /* Navigation mobile menu logo */
  .logo-text {
    display: none;
  }
  .logo-emblem {
    border-right: none;
    padding-right: 0;
    height: 34px;
  }

  /* Navigation mobile menu */
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform var(--transition-medium);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
  }

  .nav-menu ul li {
    text-align: center;
    width: 100%;
  }

  .nav-menu .nav-link {
    font-size: 1.15rem;
    display: block;
    padding: 8px 0;
  }

  .nav-menu .btn {
    width: 100%;
    max-width: 280px;
    margin: 16px auto 0;
  }

  .header.nav-active .mobile-nav-toggle .menu-icon {
    display: none;
  }

  .header.nav-active .mobile-nav-toggle .close-icon {
    display: block;
  }

  /* Hero Section mobile adjustments */
  .hero-section {
    padding-top: 130px;
    padding-bottom: 70px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-bg-img {
    object-position: 70% center;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 7, 8, 0.9) 0%,
      rgba(7, 7, 8, 0.8) 50%,
      rgba(7, 7, 8, 0.96) 100%
    );
  }

  body[data-theme="light"] .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(248, 250, 252, 0.94) 0%,
      rgba(248, 250, 252, 0.88) 50%,
      rgba(248, 250, 252, 0.98) 100%
    );
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-title {
    margin-bottom: 16px;
  }

  .hero-subtitle {
    margin: 0 auto 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll-indicator {
    position: relative;
    bottom: auto;
    margin-top: 48px;
    padding-bottom: 20px;
  }

  /* Grid layouts collapse to single column */
  .grid-2col {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-image-wrapper {
    padding: 0;
  }

  .image-border-decoration {
    display: none; /* Hide background-extending frames */
  }

  .about-img {
    height: 360px;
  }

  .services-grid-inner {
    grid-template-columns: 1fr;
  }

  /* Form groups collapse */
  .form-group-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Lightbox collapse & scroll reduction */
  .lightbox {
    padding: 20px;
  }

  .lightbox-content {
    flex-direction: column;
    max-height: 85vh;
    overflow-y: auto;
    gap: 16px;
  }

  .lightbox-img-wrapper {
    max-height: 220px;
    min-height: 180px;
    flex: none;
    width: 100%;
  }

  .lightbox-img-wrapper img {
    max-height: 220px;
    object-fit: contain;
  }

  .lightbox-details {
    padding: 20px;
    flex: none;
    text-align: center;
    align-items: center;
    width: 100%;
  }

  .lightbox-details h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .lightbox-details p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .lightbox-actions {
    width: 100%;
  }

  .lightbox-actions .btn {
    width: 100%;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Footer mobile alignment */
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* ==========================================================================
   Event Video & Exhibition Showcase
   ========================================================================== */
.event-video-wrapper {
  margin-top: 50px;
  padding: 36px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
  background: #000;
}

.video-container video {
  width: 100%;
  max-height: 480px;
  display: block;
  object-fit: contain;
  outline: none;
}

.event-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.event-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 250px;
  transition: transform 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.event-photo-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
}

.event-img-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.event-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-photo-card:hover .event-img-container img {
  transform: scale(1.06);
}

.event-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 768px) {
  .event-video-wrapper {
    padding: 20px 16px;
    margin-top: 36px;
  }
  
  .event-photo-card {
    height: 210px;
  }
  
  .event-photos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   Guide / Article Pages
   ========================================================================== */
.guide { max-width: 760px; margin: 0 auto; padding-top: 120px; }
.guide h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.guide h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.guide p, .guide li { line-height: 1.8; margin-bottom: 14px; }
.guide ul { list-style: disc; padding-left: 22px; }
.guide li::marker { color: var(--emerald); }
.guide img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 12px; margin: 24px 0; }
.guide table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95rem; }
.guide th, .guide td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-color); }
.guide .cta { margin: 48px 0 80px; text-align: center; }
