/* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
   ┃  ARCTA STUDIO STANDARD — SPW / HYBRID THEME                         ┃
   ┃  File: /assets/css/style.css                                        ┃
   ┃  Purpose: One-source-of-truth styles. No inline CSS.                ┃
   ┃  Edit this file for all branding changes.                           ┃
   ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
   DEV NOTES:
   - Keep all sizing/colors in :root tokens for quick theming.
   - Use utility classes sparingly; prefer component classes.
   - Mobile-first; add breakpoints up as needed (max-width).
   - Avoid inline styles; use CSS variables and classes.
   - Z-index scale (low→high): base=0, header=20, overlays ≥ 40.
*/

/* ======================================================================
   0) TOKENS (THEME VARIABLES) - CENTERED LAYOUT FOCUS
   ====================================================================== */
:root{
  /* Color palette - Enhanced for professional investment firm */
  --bg:            #0a0a0c;
  --surface:       rgba(25, 25, 30, 0.65);
  --surface-2:     rgba(40, 40, 48, 0.5);
  --text:          #f5f5f7;
  --text-muted:    #a1a8b9;
  --brand:         #d6b95a;
  --brand-glow:    rgba(214, 185, 90, 0.3);
  --accent:        #4a8eff;
  --border:        rgba(255, 255, 255, 0.08);
  --border-soft:   rgba(255, 255, 255, 0.05);

  /* Glass morphism effects */
  --glass-bg:      rgba(18, 18, 22, 0.75);
  --glass-border:  rgba(255, 255, 255, 0.1);
  --glass-shadow:  0 8px 32px rgba(0, 0, 0, 0.25);

  /* Type & sizing - Mobile first */
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --radius:        12px;
  --radius-lg:     16px;

  /* Spacing scale (mobile-first) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --section-pad:   48px;

  /* Layout - Centered focus */
  --container-w:   100%;
  --content-max-w: 100%;
  --text-container: 100%;

  /* Text alignment and justification */
  --text-align:    left;
  --text-justify:  none;
  --text-margin:   0 auto;

  /* Components */
  --logo-size:     44px;
  --btn-bg:        var(--brand);
  --btn-fg:        #0a0a0c;

  /* Elevation */
  --shadow-soft:   0 2px 12px rgba(0, 0, 0, 0.15);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.18);
  --shadow-large:  0 8px 30px rgba(0, 0, 0, 0.22);

  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Tablet adjustments */
@media (min-width: 600px){
  :root{
    --container-w:   90%;
    --text-container: 90%;
    --space-5: 24px;
    --space-6: 28px;
    --space-7: 32px;
    --space-8: 40px;
    --space-9: 48px;
    --space-10: 56px;
    --section-pad:   64px;
    --radius:        14px;
    --radius-lg:     20px;
    --text-justify:  inter-word;
  }
}

/* Desktop adjustments */
@media (min-width: 1024px){
  :root{
    --container-w:   1200px;
    --text-container: 800px;
    --logo-size:     60px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 40px;
    --space-8: 48px;
    --space-9: 56px;
    --space-10: 64px;
    --section-pad:   80px;
    --radius:        16px;
    --radius-lg:     24px;
  }
}

/* ======================================================================
   1) RESET / BASE - CENTERED CONTENT
   ====================================================================== */
*{ 
  box-sizing: border-box;
  max-width: 100%; /* Prevent horizontal overflow */
}
html, body{ 
  margin:0; 
  padding:0;
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll */
}
body{
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
img, video, canvas, svg{ 
  max-width:100%; 
  height:auto; 
  display:block;
}
a{
  color: var(--brand);
  text-decoration: none;
  transition: var(--transition-smooth);
}
a:hover{ 
  color: var(--text);
}

/* ======================================================================
   2) LAYOUT - CENTERED CONTENT
   ====================================================================== */
.container{
  width: var(--container-w);
  max-width: var(--content-max-w);
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-wrapper {
  width: 100%;
  max-width: var(--text-container);
  margin: var(--text-margin);
}

/* Grid system - Mobile first */
.grid-container {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr; /* Single column on mobile */
  width: 100%;
}

@media (min-width: 600px) {
  .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* ======================================================================
   3) HEADER / NAV - CENTERED
   ====================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  width: 100%;
  display: flex;
  justify-content: center;
}

.nav-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  width: 100%;
  max-width: var(--container-w);
}

.brand{
  display: flex;
  gap: var(--space-3);
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-logo{
  height: var(--logo-size);
  width: auto;
  display: block;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 0 10px var(--brand-glow));
}

.nav{
  display: none; /* Hidden by default on mobile */
  gap: var(--space-6);
  align-items: center;
}

.nav a {
  position: relative;
  font-weight: 500;
  padding: var(--space-2) 0;
  white-space: nowrap;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: var(--transition-smooth);
}

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

.nav a.active{
  color: var(--text);
}

/* Mobile menu - Enhanced */
.nav-toggle{ 
  display: block; /* Visible by default on mobile */
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 110;
}

.nav.open{
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-5);
  box-shadow: var(--shadow-large);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  z-index: 90;
}

/* Tablet and desktop navigation */
@media (min-width: 800px){
  .nav-toggle{ 
    display: none;
  }
  .nav{ 
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    box-shadow: none;
    border: none;
  }
  .nav-wrap{
    padding: var(--space-4) 0;
  }
}

/* ======================================================================
   4) SECTIONS - CENTERED CONTENT WITH PROPER TEXT ALIGNMENT
   ====================================================================== */
.section{
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border-soft);
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.section h2{
  font-size: clamp(1.75rem, 5vw, 3rem);
  margin: 0 0 var(--space-5) 0;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: var(--text-align);
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-6);
  text-align: var(--text-align);
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
}

/* Text alignment and justification */
.text-block {
  text-align: var(--text-align);
  text-justify: var(--text-justify);
  margin-bottom: var(--space-5);
  line-height: 1.7;
}

.text-block p {
  margin-bottom: var(--space-4);
}

.text-block h3 {
  margin: var(--space-6) 0 var(--space-3) 0;
  font-weight: 600;
  color: var(--brand);
}

/* Hero specifics - Mobile first */
#hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: none;
  padding: var(--space-7) 0;
  text-align: center;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(214, 185, 90, 0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

#hero h1{
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin: 0 0 var(--space-4) 0;
  line-height: 1.1;
  font-weight: 800;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}

#hero p{
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0 auto var(--space-6) auto;
  max-width: 100%;
  opacity: 0.9;
  text-align: center;
  line-height: 1.7;
}

@media (min-width: 600px) {
  #hero {
    min-height: 85vh;
    padding: var(--space-9) 0;
  }
  
  #hero p {
    max-width: 80%;
  }
}

@media (min-width: 1024px) {
  #hero {
    min-height: 90vh;
  }
  
  #hero p {
    max-width: 600px;
  }
}

/* ======================================================================
   5) GRID / CARDS / MEDIA - CENTERED CONTENT
   ====================================================================== */
.grid{
  display: grid;
  grid-template-columns: 1fr; /* Single column on mobile */
  gap: var(--space-5);
  width: 100%;
  justify-items: center;
}

@media (min-width: 600px) {
  .grid{
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-items: stretch;
  }
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-bounce);
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 400px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
  border-color: var(--brand);
}

.card:hover::before {
  opacity: 1;
}

.card img,
.card video{
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 4px);
  transition: var(--transition-smooth);
}

.card:hover img,
.card:hover video {
  transform: scale(1.03);
}

.card-content {
  text-align: var(--text-align);
  text-justify: var(--text-justify);
}

.meta{
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: var(--space-3) 0 var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.meta::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--brand);
  border-radius: 50%;
  display: inline-block;
}

/* ======================================================================
   6) BUTTONS & FORMS - CENTERED CONTENT
   ====================================================================== */
button,
.button{
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  box-shadow: 0 4px 15px var(--brand-glow);
  width: 100%;
  text-align: center;
  font-size: 1rem;
  margin: var(--space-4) auto;
}

@media (min-width: 400px) {
  button,
  .button {
    width: auto;
    min-width: 180px;
  }
}

button::before,
.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-smooth);
}

button:hover,
.button:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--brand-glow);
}

button:hover::before,
.button:hover::before {
  left: 100%;
}

/* Secondary button variant */
.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--surface-2);
  border-color: var(--brand);
  box-shadow: 0 0 20px rgba(214, 185, 90, 0.2);
}

.form-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

input, textarea, select{
  width: 100%;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 16px; /* Prevents zoom on iOS */
  margin-bottom: var(--space-4);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

/* Form group styling */
.form-group {
  margin-bottom: var(--space-5);
  position: relative;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 500;
  color: var(--text-muted);
  text-align: var(--text-align);
}

/* ======================================================================
   7) COMPONENTS - CENTERED CONTENT
   ====================================================================== */
/* FAQ accordion - Enhanced */
.faq{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: var(--space-4) 0;
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq:hover {
  border-color: var(--brand);
}

.faq summary{
  cursor: pointer;
  padding: var(--space-4);
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  text-align: var(--text-align);
}

.faq summary::-webkit-details-marker{ display:none; }

.faq summary::after {
  content: '+';
  font-size: 1.25rem;
  transition: var(--transition-smooth);
}

.faq[open] summary::after {
  content: '-';
  transform: rotate(180deg);
}

.faq p{
  padding: 0 var(--space-4) var(--space-4) var(--space-4);
  margin: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
  text-align: var(--text-align);
  text-justify: var(--text-justify);
  line-height: 1.7;
}

.faq[open] p {
  opacity: 1;
  transform: translateY(0);
}

/* Stats component */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
  gap: var(--space-4);
  margin: var(--space-6) auto;
  width: 100%;
  max-width: 600px;
  justify-items: center;
}

@media (min-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-5);
    max-width: 800px;
  }
}

.stat-item {
  text-align: center;
  padding: var(--space-4);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  width: 100%;
}

.stat-item:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-medium);
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 600px) {
  .stat-number {
    font-size: 2.25rem;
  }
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 600px) {
  .stat-label {
    font-size: 0.9rem;
  }
}

/* ======================================================================
   8) FOOTER - CENTERED CONTENT
   ====================================================================== */
.site-footer{
  border-top: 1px solid var(--border);
  padding: var(--space-7) 0 var(--space-6);
  margin-top: var(--space-8);
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  width: 100%;
  max-width: var(--container-w);
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-7);
  }
}

.footer-logo {
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 0 10px var(--brand-glow));
  max-width: 160px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
  text-align: var(--text-align);
  width: 100%;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--brand);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: var(--text-align);
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--brand);
  padding-left: var(--space-2);
}

.site-footer .small{
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  display: block;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-soft);
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
}

/* ======================================================================
   9) UTILITIES - TEXT ALIGNMENT AND JUSTIFICATION
   ====================================================================== */
.visually-hidden{
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: var(--surface);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.hide-mobile{ display: none; }
.only-mobile{ display: block; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Text alignment utilities */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-justify {
  text-justify: inter-word;
}

/* Centering utilities */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 800px){
  .hide-mobile{ display: block; }
  .only-mobile{ display: none; }
}

/* Overflow prevention utilities */
.no-overflow {
  overflow: hidden;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

.text-break {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ======================================================================
   10) ACCESSIBILITY & MOTION - ENHANCED
   ====================================================================== */
@media (prefers-reduced-motion: reduce){
  *{ 
    animation: none !important; 
    transition: none !important; 
    scroll-behavior: auto !important; 
  }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ======================================================================
   11) PRINT (optional baseline)
   ====================================================================== */
@media print{
  a{ text-decoration: underline; }
  .site-header, .site-footer, .nav-toggle{ display:none !important; }
  .section{ border:0; padding: 18px 0; }
  .card { border: 1px solid #000; }
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  .text-block {
    text-align: left;
    text-justify: auto;
  }
}

/* ======================================================================
   12) CUSTOM ANIMATIONS FOR MODERN DESIGN
   ====================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px var(--brand-glow); }
  50% { box-shadow: 0 0 15px var(--brand-glow); }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animations for lists */
.animate-stagger > * {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.5s; }

/* ======================================================================
   13) MOBILE-SPECIFIC FIXES
   ====================================================================== */
/* Prevent horizontal scrolling on mobile */
html, body {
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

/* Fix for iOS viewport units */
@supports (-webkit-touch-callout: none) {
  #hero {
    min-height: -webkit-fill-available;
  }
}

/* Fix for mobile tap highlights */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Ensure images don't overflow containers */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for flexbox items causing overflow */
.flex-container {
  display: flex;
  flex-wrap: wrap;
}

/* Responsive iframes and embeds */
iframe, embed, object {
  max-width: 100%;
}

/* Prevent long words from breaking layout */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Form element responsiveness */
input, select, textarea {
  max-width: 100%;
  box-sizing: border-box;
}

/* Table responsiveness */
table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) auto;
}

/* Mobile-specific media query for very small devices */
@media (max-width: 360px) {
  .container {
    padding: 0 var(--space-3);
  }
  
  .card {
    padding: var(--space-4);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}