/* ==========================================================================
   Velora Formazione Primary Style Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&family=Orbitron:wght@500;700;900&family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Brand Theme Tokens Extracted from Logo */
  --color-navy-dark: #070D18;
  --color-navy-primary: #0A1628;
  --color-navy-surface: #11223F;
  --color-navy-card: #162C50;
  
  --color-gold-primary: #C89D42;
  --color-gold-bright: #D1A142;
  --color-gold-hover: #E3BA5E;
  --color-gold-glow: rgba(200, 157, 66, 0.35);
  
  --color-slate-light: #F8FAFC;
  --color-slate-muted: #94A3B8;
  --color-white: #FFFFFF;
  --color-dark-overlay: rgba(7, 13, 24, 0.85);
  
  /* Typography and Layout Scale */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-premium: 0 10px 30px -10px rgba(7, 13, 24, 0.7), 0 0 20px -5px var(--color-gold-glow);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --border-glass: 1px solid rgba(200, 157, 66, 0.25);
  --radius-medium: 12px;
  --radius-large: 20px;
}

/* Base Reset and Responsive Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-navy-dark);
  color: var(--color-slate-light);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global Container and Grid Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-center {
  text-align: center;
}

.gold-highlight {
  color: var(--color-gold-bright);
  font-weight: 700;
}

/* Navigation Header with Frosted Glassmorphism */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-glass);
  padding: 16px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Syncopate', 'Orbitron', var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 52px;
  width: auto;
  background: var(--color-white);
  padding: 5px 8px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

/* ==========================================================================
   CardNav - Interactive Pill & Dropdown Navigation
   ========================================================================== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  flex-wrap: nowrap;
}

.cardnav-item {
  position: relative;
  display: inline-block;
}

.cardnav-trigger {
  background: #11223F;
  color: var(--color-white);
  border: 1px solid rgba(200, 157, 66, 0.3);
  padding: 8px 18px;
  border-radius: 24px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cardnav-trigger:hover, .cardnav-item.open .cardnav-trigger {
  background: #1B2F55;
  border-color: var(--color-gold-bright);
  color: var(--color-gold-bright);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cardnav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #0B1628;
  border: 1px solid var(--color-gold-primary);
  border-radius: 16px;
  padding: 12px;
  min-width: 220px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(200, 157, 66, 0.15);
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 2000;
}

.cardnav-item:hover .cardnav-dropdown,
.cardnav-item.open .cardnav-dropdown {
  display: flex;
  animation: cardNavFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardNavFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cardnav-dropdown a {
  color: var(--color-slate-light);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cardnav-dropdown a:hover {
  background: rgba(200, 157, 66, 0.15);
  color: var(--color-gold-bright);
  padding-left: 18px;
}

.nav-links > li > a.direct-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-slate-light);
  padding: 8px 14px;
  border-radius: 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-links > li > a.direct-link:hover {
  color: var(--color-gold-bright);
  background: rgba(255, 255, 255, 0.05);
}

.btn {
  white-space: nowrap;
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-gold-primary);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 90px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.lang-toggle-btn:hover {
  background: var(--color-gold-primary);
  color: var(--color-navy-dark);
  border-color: var(--color-gold-bright);
  box-shadow: 0 0 10px var(--color-gold-glow);
}

/* Primary Action Buttons and Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold-primary) 100%);
  color: var(--color-navy-dark);
  box-shadow: 0 4px 15px rgba(200, 157, 66, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold-hover) 0%, var(--color-gold-bright) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(200, 157, 66, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--color-gold-bright);
  color: var(--color-gold-bright);
  background: rgba(200, 157, 66, 0.05);
  transform: translateY(-2px);
}

/* Hero Banner and Particle Text Engine Container */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 50% 30%, #172C52 0%, #070D18 80%);
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  border-bottom: var(--border-glass);
}

.particle-container {
  width: 100%;
  height: 360px;
  margin: 0 auto 30px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--color-slate-muted);
  max-width: 750px;
  margin: 0 auto 40px auto;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Promotional Educational Guidebook Banner */
.guidebook-promo {
  background: linear-gradient(120deg, var(--color-navy-surface) 0%, var(--color-navy-card) 100%);
  border: 1px solid var(--color-gold-primary);
  border-radius: var(--radius-large);
  padding: 40px;
  margin: 40px 0;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.guidebook-promo::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.guidebook-badge {
  display: inline-block;
  background: rgba(200, 157, 66, 0.2);
  color: var(--color-gold-bright);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Service Showcase Cards and Interactive Glass UI */
.service-card {
  background: var(--color-navy-surface);
  border: var(--border-glass);
  border-radius: var(--radius-large);
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--color-navy-card);
  border-color: var(--color-gold-bright);
  box-shadow: var(--shadow-premium);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--color-white);
}

.service-card p {
  color: var(--color-slate-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(200, 157, 66, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-gold-bright);
  font-size: 1.8rem;
  font-weight: 700;
}

/* Candidate Screening Questionnaires and Input Fields */
.form-card {
  background: var(--color-navy-surface);
  border: var(--border-glass);
  border-radius: var(--radius-large);
  padding: 40px;
  box-shadow: var(--shadow-glass);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-slate-light);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(7, 13, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-gold-bright);
  box-shadow: 0 0 0 3px rgba(200, 157, 66, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Persistent Floating Action Contact Widget */
.floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.5rem;
  position: relative;
}

.widget-btn:hover {
  transform: scale(1.15);
}

.btn-whatsapp { background: #25D366; }
.btn-phone { background: var(--color-gold-bright); color: var(--color-navy-dark); }
.btn-email { background: #2F80ED; }

/* GDPR Cookie Consent Popup Modal */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-navy-primary);
  border-top: 1px solid var(--color-gold-primary);
  padding: 20px;
  z-index: 3000;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.7);
  display: none;
}

.cookie-modal.active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Comprehensive Footer and Giant Stroke Text Container */
.footer {
  background: #040810;
  border-top: var(--border-glass);
  padding-top: 70px;
  color: var(--color-slate-muted);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-gold-bright);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a:hover {
  color: var(--color-gold-bright);
  padding-left: 6px;
}

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.social-icons a:hover {
  background: var(--color-gold-bright);
  color: var(--color-navy-dark);
  border-color: var(--color-gold-bright);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Giant Stroke Wordmark Animation Area */
.stroke-container {
  width: 100%;
  padding: 40px 0;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Breakpoints and Mobile Menu Adaptation */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-navy-primary);
    flex-direction: column;
    padding: 24px;
    border-bottom: var(--border-glass);
    box-shadow: var(--shadow-premium);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .particle-container {
    height: 240px;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .floating-widget {
    bottom: 16px;
    right: 16px;
  }
  
  .widget-btn {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   Circular Gallery 3D Interactive Carousel (Area Studente)
   ========================================================================== */
.circular-gallery-wrapper {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(200, 157, 66, 0.35);
  background: radial-gradient(circle at center, #11223F 0%, #06101E 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), inset 0 0 40px rgba(200, 157, 66, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
  user-select: none;
  cursor: grab;
  margin-bottom: 50px;
}

.circular-gallery-wrapper:active {
  cursor: grabbing;
}

.circular-gallery-track,
.circular-gallery-scene,
.circular-gallery-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  margin: 0;
  padding: 0;
}

.gallery-card {
  position: absolute;
  left: calc(50% - 160px);
  top: calc(50% - 215px);
  width: 320px;
  height: 430px;
  border-radius: 22px; /* borderRadius: 0.05 proportional */
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(200, 157, 66, 0.25);
  transition: opacity 0.3s ease, filter 0.3s ease;
  transform-style: preserve-3d;
  background: #0B1628;
  border: 2px solid var(--color-gold-primary);
  display: flex;
  flex-direction: column;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 26px 18px;
  background: linear-gradient(to top, rgba(6, 16, 30, 0.96) 0%, rgba(6, 16, 30, 0.75) 65%, transparent 100%);
  font: bold 26px 'Orbitron', 'Syncopate', sans-serif;
  color: #FFFFFF;
  text-shadow: 0 3px 12px rgba(0,0,0,0.9);
  letter-spacing: 2px;
  text-align: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.gallery-controls {
  position: absolute;
  bottom: 22px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 20;
}

.btn-circular {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-gold-primary);
  color: var(--color-gold-bright);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.btn-circular:hover {
  background: var(--color-gold-primary);
  color: var(--color-white);
  transform: scale(1.12);
  box-shadow: 0 0 18px rgba(200, 157, 66, 0.6);
}

@media (max-width: 576px) {
  .circular-gallery-wrapper {
    height: 460px;
  }
  .gallery-card {
    width: 260px;
    height: 350px;
  }
  .gallery-label {
    font: bold 20px 'Orbitron', sans-serif;
    padding: 18px 12px;
  }
}

/* ==========================================================================
   React Bits SpecularButton (Global Button Override & Interactive Shader Glow)
   ========================================================================== */
.btn, .specular-button, .card-nav-cta-button, button[type="submit"], .btn-primary, .btn-secondary {
  --sb-radius: 18px;
  --sb-tint: #ffffff;
  --sb-tint-opacity: 0.08;
  --sb-blur: 10px;
  --sb-text-color: #f5f5f5;
  --sb-line-color: #C89D42;
  --sb-base-color: #525252;

  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(200, 157, 66, 0.4) !important;
  margin: 0;
  font-family: 'Orbitron', 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
  padding: 14px 34px !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
  color: var(--sb-text-color) !important;
  background: linear-gradient(135deg, rgba(27, 23, 34, 0.95), rgba(17, 34, 63, 0.92)) !important;
  border-radius: var(--sb-radius) !important;
  backdrop-filter: blur(var(--sb-blur)) !important;
  -webkit-backdrop-filter: blur(var(--sb-blur)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.45) !important;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

.btn:hover, .specular-button:hover, .card-nav-cta-button:hover, button[type="submit"]:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: #ffffff !important;
  box-shadow: 0 12px 34px rgba(200, 157, 66, 0.65), inset 0 0 18px rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.btn:active, .specular-button:active, .card-nav-cta-button:active {
  transform: scale(0.97) !important;
}

.specular-button__fx {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
  background: radial-gradient(circle 140px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(200, 157, 66, 0.9) 0%, rgba(255, 255, 255, 0.5) 30%, transparent 65%);
  transition: opacity 0.3s ease;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
}

.btn:hover .specular-button__fx, .specular-button:hover .specular-button__fx {
  opacity: 1;
}

.specular-button__label {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   Global Footer Developer Attribution Link Styling
   ========================================================================== */
.developer-attribution {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: var(--color-slate-muted, #A8B2CA);
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.developer-attribution a {
  color: var(--color-gold-bright, #C89D42);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.developer-attribution a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(200, 157, 66, 0.8);
}

/* ==========================================================================
   React Bits BorderGlow Card System
   ========================================================================== */
.border-glow-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --border-radius: 24px;
  --glow-padding: 35px;
  --cone-spread: 28;

  position: relative;
  border-radius: var(--border-radius);
  isolation: isolate;
  transform: translate3d(0, 0, 0.01px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(200, 157, 66, 0.35);
  background: var(--card-bg, #0C1526);
  overflow: visible;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), inset 0 0 20px rgba(200, 157, 66, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.border-glow-card:hover {
  transform: translateY(-5px) translate3d(0, 0, 0.01px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(200, 157, 66, 0.4);
}

.border-glow-card::before,
.border-glow-card::after,
.border-glow-card > .edge-light {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.25s ease-out;
  z-index: -1;
}

.border-glow-card:not(:hover):not(.sweep-active)::before,
.border-glow-card:not(:hover):not(.sweep-active)::after,
.border-glow-card:not(:hover):not(.sweep-active) > .edge-light {
  opacity: 0;
  transition: opacity 0.75s ease-in-out;
}

.border-glow-card::before {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-bg, #0C1526) 0 100%) padding-box,
    linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
    var(--gradient-one, radial-gradient(at 80% 55%, rgba(200, 157, 66, 1) 0px, transparent 50%)) border-box,
    var(--gradient-two, radial-gradient(at 69% 34%, rgba(227, 186, 94, 1) 0px, transparent 50%)) border-box,
    var(--gradient-three, radial-gradient(at 8% 6%, rgba(56, 189, 248, 1) 0px, transparent 50%)) border-box,
    var(--gradient-four, radial-gradient(at 41% 38%, rgba(200, 157, 66, 1) 0px, transparent 50%)) border-box,
    var(--gradient-five, radial-gradient(at 86% 85%, rgba(227, 186, 94, 1) 0px, transparent 50%)) border-box,
    var(--gradient-six, radial-gradient(at 82% 18%, rgba(56, 189, 248, 1) 0px, transparent 50%)) border-box,
    var(--gradient-seven, radial-gradient(at 51% 4%, rgba(200, 157, 66, 1) 0px, transparent 50%)) border-box,
    var(--gradient-base, linear-gradient(#C89D42 0 100%)) border-box;

  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    black calc(var(--cone-spread) * 1%),
    transparent calc((var(--cone-spread) + 15) * 1%),
    transparent calc((100 - var(--cone-spread) - 15) * 1%),
    black calc((100 - var(--cone-spread)) * 1%)
  );
  -webkit-mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    black calc(var(--cone-spread) * 1%),
    transparent calc((var(--cone-spread) + 15) * 1%),
    transparent calc((100 - var(--cone-spread) - 15) * 1%),
    black calc((100 - var(--cone-spread)) * 1%)
  );
}

.border-glow-card::after {
  border: 1px solid transparent;
  background:
    var(--gradient-one, radial-gradient(at 80% 55%, rgba(200, 157, 66, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-two, radial-gradient(at 69% 34%, rgba(227, 186, 94, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-three, radial-gradient(at 8% 6%, rgba(56, 189, 248, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-four, radial-gradient(at 41% 38%, rgba(200, 157, 66, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-five, radial-gradient(at 86% 85%, rgba(227, 186, 94, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-six, radial-gradient(at 82% 18%, rgba(56, 189, 248, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-seven, radial-gradient(at 51% 4%, rgba(200, 157, 66, 1) 0px, transparent 50%)) padding-box,
    var(--gradient-base, linear-gradient(#C89D42 0 100%)) padding-box;

  mask-image:
    linear-gradient(to bottom, black, black),
    radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
  -webkit-mask-image:
    linear-gradient(to bottom, black, black),
    radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);

  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: calc(var(--fill-opacity, 0.45) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mix-blend-mode: soft-light;
}

.border-glow-card > .edge-light {
  inset: calc(var(--glow-padding) * -1);
  pointer-events: none;
  z-index: 1;
  mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
  -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}

.border-glow-card > .edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(200, 157, 66, 1),
    inset 0 0 3px 0 rgba(227, 186, 94, 0.6),
    inset 0 0 10px 0 rgba(200, 157, 66, 0.4),
    0 0 3px 0 rgba(227, 186, 94, 0.6),
    0 0 15px 2px rgba(200, 157, 66, 0.35);
}

.border-glow-inner {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: auto;
  z-index: 2;
  padding: 24px;
  height: 100%;
}

/* ==========================================================================
   React Bits CardNav Expandable Top Navigation Bar System
   ========================================================================== */
.card-nav-container {
  position: fixed;
  top: 1.5em;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 980px;
  z-index: 10000;
  box-sizing: border-box;
}

.card-nav {
  display: block;
  height: 64px;
  padding: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(7, 13, 24, 0.96));
  border: 1px solid rgba(200, 157, 66, 0.4);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(200, 157, 66, 0.2);
  position: relative;
  overflow: hidden;
  will-change: height;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease;
}

.card-nav.open {
  border-color: rgba(227, 186, 94, 0.8);
}

.card-nav-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 10;
}

.hamburger-menu {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 7px;
  color: #F8FAFC;
  width: 44px;
}

.hamburger-menu:hover .hamburger-line {
  background-color: var(--color-gold-bright, #C89D42);
  box-shadow: 0 0 8px rgba(200, 157, 66, 0.8);
}

.hamburger-line {
  width: 30px;
  height: 2.5px;
  background-color: currentColor;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
  border-radius: 2px;
}

.hamburger-menu.open .hamburger-line:first-child {
  transform: translateY(4.5px) rotate(45deg);
  background-color: #E3BA5E;
}

.hamburger-menu.open .hamburger-line:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
  background-color: #E3BA5E;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-decoration: none !important;
  color: #ffffff !important;
  font-family: 'Orbitron', 'Syncopate', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 2px;
}

.logo-container img {
  height: 32px;
  width: auto;
}

.card-nav-cta-button {
  height: 40px !important;
  padding: 8px 20px !important;
  font-size: 0.9rem !important;
  border-radius: 12px !important;
}

.card-nav-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  bottom: 0;
  padding: 1rem;
  display: flex;
  align-items: stretch;
  gap: 16px;
  visibility: hidden;
  pointer-events: none;
  z-index: 5;
}

.card-nav.open .card-nav-content {
  visibility: visible;
  pointer-events: auto;
}

.nav-card {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 12px;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.nav-card:hover {
  border-color: rgba(200, 157, 66, 0.6);
  transform: translateY(-2px);
}

.nav-card-label {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  font-family: 'Orbitron', sans-serif;
  color: #C89D42;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  margin-bottom: 6px;
}

.nav-card-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-card-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: #F8FAFC !important;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-card-link-icon {
  color: #C89D42;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.nav-card-link:hover {
  color: #E3BA5E !important;
  transform: translateX(5px);
}

.nav-card-link:hover .nav-card-link-icon {
  transform: translate(3px, -3px);
}

@media (max-width: 768px) {
  .card-nav-container {
    width: 94%;
    top: 0.8em;
  }
  .card-nav-top {
    padding: 0.5rem 1rem;
  }
  .hamburger-menu {
    order: 1;
  }
  .logo-container {
    position: static;
    transform: none;
    order: 2;
    font-size: 1.1rem;
  }
  .card-nav-cta-button {
    order: 3;
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
  }
  .card-nav-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 0.75rem;
  }
  .nav-card {
    min-height: 80px;
    padding: 15px;
  }
}


/* ==========================================================================
   Magnetic Dock Glassmorphic Navigation Component
   ========================================================================== */
body.has-magnetic-dock {
  padding-top: 85px;
}

/* ==========================================================================
   Golden Magnetic Dock Navigation Component (Matching Visual Reference)
   ========================================================================== */
.magnetic-dock-wrapper {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 22, 40, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1.5px solid rgba(200, 157, 66, 0.4);
  border-radius: 32px;
  padding: 8px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 20px rgba(200, 157, 66, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: max-content;
  max-width: 95vw;
}

.dock-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 1px;
  margin-right: 8px;
  padding-right: 14px;
  border-right: 1px solid rgba(200, 157, 66, 0.3);
}

.dock-brand-logo img {
  height: 32px;
  width: auto;
  background: #ffffff;
  padding: 3px 6px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.magnetic-dock-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dock-item-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  min-height: 48px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(200, 157, 66, 0.25);
  color: #F8FAFC;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dock-item-btn:hover {
  background: linear-gradient(180deg, rgba(200, 157, 66, 0.3) 0%, rgba(200, 157, 66, 0.1) 100%);
  border-color: rgba(227, 186, 94, 0.8);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(200, 157, 66, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 20px rgba(200, 157, 66, 0.25);
}

.dock-item-btn.active {
  background: linear-gradient(180deg, rgba(200, 157, 66, 0.35) 0%, rgba(15, 26, 46, 0.9) 100%);
  border-color: #E3BA5E;
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(200, 157, 66, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Active Dot Indicator directly matching visual reference */
.dock-active-dot {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #E3BA5E;
  box-shadow: 0 0 8px #E3BA5E, 0 0 12px #C89D42;
}

/* Notification Badge matching visual reference */
.dock-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  background: #EF4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0B1628;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

.dock-item-btn.highlighted-item {
  color: #E3BA5E !important;
  font-weight: 700;
}

.dock-item-tooltip {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(11, 22, 40, 0.95);
  color: #E3BA5E;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(200, 157, 66, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(200, 157, 66, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dock-item-btn:hover .dock-item-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Dock Dropdown for Courses */
.dock-dropdown-container {
  position: relative;
}

/* Invisible hover bridge connecting button to dropdown menu */
.dock-dropdown-container::after {
  content: '';
  position: absolute;
  top: 80%;
  left: -20px;
  right: -20px;
  height: 25px;
  background: transparent;
  z-index: 9999;
}

.dock-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: #0B1628;
  border: 1px solid rgba(200, 157, 66, 0.4);
  border-radius: 16px;
  padding: 8px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(200, 157, 66, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10000;
}

.dock-dropdown-container:hover .dock-dropdown-menu,
.dock-dropdown-container:focus-within .dock-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

.dock-dropdown-menu a {
  padding: 8px 12px;
  border-radius: 10px;
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dock-dropdown-menu a:hover {
  background: rgba(200, 157, 66, 0.15);
  color: #ffffff;
  padding-left: 16px;
}

@media (max-width: 992px) {
  body.has-magnetic-dock {
    padding-top: 75px;
  }
  .magnetic-dock-wrapper {
    width: 96%;
    padding: 6px 12px;
    top: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .magnetic-dock-wrapper::-webkit-scrollbar {
    display: none;
  }
  .dock-brand-logo span {
    display: none;
  }
  .dock-item-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Fixed Sizing for Language Switcher Button (Prevents Navbar Layout Shift)
   ========================================================================== */
#global-lang-toggle,
.lang-toggle-btn {
  width: 86px !important;
  min-width: 86px !important;
  max-width: 86px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   Sleek Micro Status Pills (Live / Coming Soon)
   ========================================================================== */
.status-pill {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  padding: 3px 9px !important;
  border-radius: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  line-height: 1 !important;
  backdrop-filter: blur(6px) !important;
  white-space: nowrap !important;
}

.status-pill--live {
  background: rgba(37, 211, 102, 0.12) !important;
  color: #25D366 !important;
  border: 1px solid rgba(37, 211, 102, 0.35) !important;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.15) !important;
}

.status-pill--live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 6px #25D366;
}

.status-pill--soon {
  background: rgba(200, 157, 66, 0.12) !important;
  color: #E3BA5E !important;
  border: 1px solid rgba(200, 157, 66, 0.35) !important;
  box-shadow: 0 0 10px rgba(200, 157, 66, 0.15) !important;
}

.status-pill--soon::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #E3BA5E;
  box-shadow: 0 0 6px #E3BA5E;
}

/* ==========================================================================
   Site-Wide Floating WhatsApp & Phone Call Action Buttons
   ========================================================================== */
.floating-action-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999999;
  pointer-events: auto;
}

.floating-action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(250, 250, 250, 0.15);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  position: relative;
  backdrop-filter: blur(8px);
}

.floating-action-btn:hover {
  transform: scale(1.12) translateY(-2px);
}

.floating-btn-whatsapp {
  background: #25D366;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.floating-btn-whatsapp:hover {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 0 20px rgba(37, 211, 102, 0.8);
}

.floating-btn-phone {
  background: #C89D42;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(200, 157, 66, 0.4);
}

.floating-btn-phone:hover {
  box-shadow: 0 12px 30px rgba(200, 157, 66, 0.6), 0 0 20px rgba(200, 157, 66, 0.8);
}

.floating-btn-tooltip {
  position: absolute;
  right: 64px;
  background: #0B1628;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(200, 157, 66, 0.4);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.floating-action-btn:hover .floating-btn-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-4px);
}

/* ==========================================================================
   React Bits MagicBento Component Styling
   ========================================================================== */
.card-grid.bento-section {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.magic-bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: 240px;
  width: 100%;
  padding: 1.5em;
  border-radius: 20px;
  border: 1px solid rgba(200, 157, 66, 0.3);
  background: rgba(11, 22, 40, 0.85);
  font-weight: 300;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  --glow-x: 50%;
  --glow-y: 50%;
  --glow-intensity: 0;
  --glow-radius: 300px;
  --glow-color: 200, 157, 66;
}

.magic-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(200, 157, 66, 0.2);
}

.magic-bento-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.magic-bento-card__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #E3BA5E;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(200, 157, 66, 0.15);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(200, 157, 66, 0.3);
}

.magic-bento-card__content {
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.magic-bento-card__title {
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.magic-bento-card__description {
  font-size: 0.92rem;
  line-height: 1.4;
  color: #94A3B8;
}

/* Border glow effect */
.magic-bento-card--border-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: radial-gradient(
    var(--glow-radius) circle at var(--glow-x) var(--glow-y),
    rgba(200, 157, 66, calc(var(--glow-intensity) * 0.9)) 0%,
    rgba(200, 157, 66, calc(var(--glow-intensity) * 0.4)) 30%,
    transparent 65%
  );
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.particle-container {
  position: relative;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(200, 157, 66, 1);
  box-shadow: 0 0 8px rgba(200, 157, 66, 0.8);
  pointer-events: none;
  z-index: 100;
}

/* ==========================================================================
   React Bits PixelCard Component Styling
   ========================================================================== */
.pixel-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(200, 157, 66, 0.35);
  border-radius: 20px;
  background: rgba(11, 22, 40, 0.88);
  padding: 1.5rem;
  isolation: isolate;
  transition: border-color 200ms cubic-bezier(0.5, 1, 0.89, 1), transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  min-height: 280px;
}

.pixel-canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.pixel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 157, 66, 0.25), transparent 85%);
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.5, 1, 0.89, 1);
  pointer-events: none;
  z-index: 0;
}

.pixel-card:hover::before,
.pixel-card:focus-within::before {
  opacity: 1;
}

.pixel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 186, 94, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(200, 157, 66, 0.3);
}

.pixel-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}




/* Global Navbar Buttons Layout Fix */
.navbar .lang-toggle-btn {
  width: 86px !important;
  min-width: 86px !important;
  max-width: 86px !important;
  padding: 4px 4px !important;
  font-size: 0.75rem !important;
  gap: 4px !important;
}
.navbar .btn-primary {
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  padding: 6px 10px !important;
  font-size: 0.85rem !important;
  text-align: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

/* ==========================================================================
   Video Modal Overlay
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 22, 40, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: var(--color-navy-bg);
  border: 1px solid var(--color-gold-muted);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  padding: 40px 20px 20px 20px;
}
.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: var(--color-gold-bright);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close-btn:hover {
  color: #fff;
}
.video-responsive-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}
.video-responsive-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

