/*
Theme Name: StartPass Theme
Theme URI: https://startpass.ma
Description: A professional entrepreneurship theme for StartPass - Startup Passport Morocco. Child theme of Hello Elementor optimized for Elementor page builder.
Author: Dirassati Academy
Author URI: https://dirassati.ma
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: startpass-theme
Tags: business, portfolio, one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks
*/

/* ==========================================================================
   CSS VARIABLES - DESIGN TOKENS
   Copy these to Elementor > Site Settings > Custom CSS
   ========================================================================== */

:root {
  /* Core Colors */
  --sp-background: #f7f9fb;
  --sp-foreground: #1a2744;
  --sp-card: #ffffff;
  --sp-card-foreground: #1a2744;
  
  /* Primary - Deep Navy */
  --sp-primary: #1a3a5c;
  --sp-primary-light: #2a4a6c;
  --sp-primary-dark: #0f2a4c;
  --sp-primary-foreground: #fdf8e8;
  
  /* Secondary - Warm Gold */
  --sp-secondary: #e6a817;
  --sp-secondary-light: #f5c842;
  --sp-secondary-dark: #c48f0f;
  --sp-secondary-foreground: #1a2744;
  
  /* Accent - Teal */
  --sp-accent: #1a9e8c;
  --sp-accent-light: #2ab89f;
  --sp-accent-dark: #0f7a6c;
  --sp-accent-foreground: #ffffff;
  
  /* Muted */
  --sp-muted: #e8eef3;
  --sp-muted-foreground: #5a6a7a;
  
  /* Destructive */
  --sp-destructive: #ef4444;
  --sp-destructive-foreground: #ffffff;
  
  /* Border & Input */
  --sp-border: #d4dce6;
  --sp-input: #d4dce6;
  --sp-ring: #1a3a5c;
  
  /* Border Radius */
  --sp-radius: 12px;
  --sp-radius-sm: 8px;
  --sp-radius-lg: 16px;
  --sp-radius-xl: 24px;
  
  /* Shadows */
  --sp-shadow-sm: 0 2px 8px -2px rgba(26, 58, 92, 0.08);
  --sp-shadow-md: 0 8px 24px -4px rgba(26, 58, 92, 0.12);
  --sp-shadow-lg: 0 16px 48px -8px rgba(26, 58, 92, 0.15);
  --sp-shadow-gold: 0 8px 32px -4px rgba(230, 168, 23, 0.25);
  
  /* Gradients */
  --sp-gradient-hero: linear-gradient(135deg, #0f2a4c 0%, #1a3a5c 50%, #1a9e8c 100%);
  --sp-gradient-gold: linear-gradient(135deg, #e6a817 0%, #f5c842 100%);
  --sp-gradient-journey: linear-gradient(90deg, #1a3a5c 0%, #1a9e8c 100%);
  
  /* Typography */
  --sp-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --sp-font-display: 'Outfit', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   GOOGLE FONTS
   ========================================================================== */

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

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sp-font-sans);
  background-color: var(--sp-background);
  color: var(--sp-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sp-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--sp-foreground);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* ==========================================================================
   TYPOGRAPHY CLASSES
   ========================================================================== */

.sp-font-display {
  font-family: var(--sp-font-display);
}

.sp-font-body {
  font-family: var(--sp-font-sans);
}

.sp-text-gradient {
  background: var(--sp-gradient-journey);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sp-text-gradient-gold {
  background: var(--sp-gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.sp-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .sp-container {
    padding: 0 2rem;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--sp-font-sans);
  border-radius: var(--sp-radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.5;
}

.sp-btn:hover {
  transform: translateY(-2px);
}

.sp-btn-primary {
  background: var(--sp-primary);
  color: var(--sp-primary-foreground);
}

.sp-btn-primary:hover {
  background: var(--sp-primary-light);
  color: var(--sp-primary-foreground);
}

.sp-btn-gold {
  background: var(--sp-gradient-gold);
  color: var(--sp-secondary-foreground);
  box-shadow: var(--sp-shadow-gold);
}

.sp-btn-gold:hover {
  box-shadow: 0 12px 40px -4px rgba(230, 168, 23, 0.35);
  color: var(--sp-secondary-foreground);
}

.sp-btn-hero {
  background: var(--sp-gradient-gold);
  color: var(--sp-secondary-foreground);
  padding: 1rem 2rem;
  font-size: 1rem;
  box-shadow: var(--sp-shadow-gold);
}

.sp-btn-hero-outline {
  background: transparent;
  color: var(--sp-primary-foreground);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  font-size: 1rem;
}

.sp-btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--sp-primary-foreground);
}

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

.sp-btn-outline:hover {
  background: var(--sp-muted);
  color: var(--sp-foreground);
}

.sp-btn-ghost {
  background: transparent;
  color: var(--sp-muted-foreground);
}

.sp-btn-ghost:hover {
  background: var(--sp-muted);
  color: var(--sp-foreground);
}

.sp-btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.sp-btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.sp-btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.sp-card {
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.sp-card:hover {
  box-shadow: var(--sp-shadow-md);
  transform: translateY(-4px);
}

.sp-card-content {
  padding: 1.5rem;
}

.sp-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.sp-card-description {
  color: var(--sp-muted-foreground);
  font-size: 0.875rem;
}

/* Pack Cards */
.sp-pack-card {
  position: relative;
  background: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
}

.sp-pack-card:hover {
  box-shadow: var(--sp-shadow-lg);
  transform: translateY(-8px);
}

.sp-pack-card.popular {
  border-color: var(--sp-secondary);
  box-shadow: var(--sp-shadow-gold);
}

.sp-pack-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sp-gradient-gold);
  color: var(--sp-secondary-foreground);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sp-pack-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--sp-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.sp-pack-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.sp-pack-card-subtitle {
  color: var(--sp-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.sp-pack-card-features {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.sp-pack-card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--sp-muted-foreground);
  padding: 0.5rem 0;
}

.sp-pack-card-features li svg,
.sp-pack-card-features li i {
  color: var(--sp-accent);
  flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.sp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sp-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--sp-gradient-hero);
}

.sp-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.sp-hero-decor-1 {
  position: absolute;
  top: 80px;
  right: 40px;
  width: 256px;
  height: 256px;
  background: rgba(230, 168, 23, 0.2);
  border-radius: 50%;
  filter: blur(48px);
}

.sp-hero-decor-2 {
  position: absolute;
  bottom: 80px;
  left: 40px;
  width: 384px;
  height: 384px;
  background: rgba(26, 158, 140, 0.2);
  border-radius: 50%;
  filter: blur(48px);
}

.sp-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 8rem 0 5rem;
}

.sp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

.sp-hero-badge svg,
.sp-hero-badge i {
  color: var(--sp-secondary);
}

.sp-hero-title {
  font-size: 3rem;
  color: var(--sp-primary-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .sp-hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .sp-hero-title {
    font-size: 4.5rem;
  }
}

.sp-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

@media (min-width: 768px) {
  .sp-hero-subtitle {
    font-size: 1.5rem;
  }
}

.sp-hero-subtitle-highlight {
  color: var(--sp-secondary);
  font-weight: 500;
}

.sp-hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .sp-hero-ctas {
    flex-direction: row;
  }
}

/* Hero Stats */
.sp-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 768px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sp-hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sp-hero-stat {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid var(--sp-accent);
  border-radius: var(--sp-radius);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.sp-hero-stat:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sp-hero-stat-icon {
  color: var(--sp-secondary);
  margin-bottom: 0.5rem;
}

.sp-hero-stat-value {
  font-family: var(--sp-font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--sp-primary);
  margin-bottom: 0.25rem;
}

.sp-hero-stat-label {
  font-size: 0.875rem;
  color: var(--sp-primary);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.sp-section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .sp-section {
    padding: 6rem 0;
  }
}

.sp-section-muted {
  background: var(--sp-muted);
}

.sp-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sp-muted);
  color: var(--sp-primary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.sp-section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .sp-section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .sp-section-title {
    font-size: 3rem;
  }
}

.sp-section-subtitle {
  font-size: 1.125rem;
  color: var(--sp-muted-foreground);
  max-width: 640px;
}

.sp-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sp-section-header .sp-section-subtitle {
  margin: 0 auto;
}

/* ==========================================================================
   JOURNEY STEPS
   ========================================================================== */

.sp-journey-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: var(--sp-radius);
  transition: all 0.3s ease;
}

.sp-journey-step:hover {
  background: var(--sp-muted);
}

.sp-journey-step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--sp-gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sp-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--sp-secondary-foreground);
}

.sp-journey-step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.sp-journey-step-content p {
  color: var(--sp-muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.sp-cta {
  position: relative;
  padding: 5rem 0;
  background: var(--sp-gradient-hero);
  overflow: hidden;
}

.sp-cta-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.sp-cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.sp-cta-title {
  color: var(--sp-primary-foreground);
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .sp-cta-title {
    font-size: 2.5rem;
  }
}

.sp-cta-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.sp-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .sp-cta-buttons {
    flex-direction: row;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.sp-footer {
  background: var(--sp-primary);
  color: var(--sp-primary-foreground);
}

.sp-footer-main {
  padding: 4rem 0;
}

.sp-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .sp-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sp-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

.sp-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sp-footer-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--sp-gradient-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sp-shadow-gold);
}

.sp-footer-logo-icon svg,
.sp-footer-logo-icon i {
  color: var(--sp-primary);
}

.sp-footer-logo-text {
  font-family: var(--sp-font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.sp-footer-logo-tagline {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: -4px;
  display: block;
}

.sp-footer-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.sp-footer-social {
  display: flex;
  gap: 1rem;
}

.sp-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--sp-primary-foreground);
}

.sp-footer-social a:hover {
  background: var(--sp-secondary);
  color: var(--sp-secondary-foreground);
}

.sp-footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sp-secondary);
  margin-bottom: 1rem;
}

.sp-footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-footer-column ul li {
  margin-bottom: 0.75rem;
}

.sp-footer-column ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.sp-footer-column ul a:hover {
  color: var(--sp-secondary);
}

.sp-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sp-footer-contact-item svg,
.sp-footer-contact-item i {
  color: var(--sp-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.sp-footer-contact-item span,
.sp-footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.sp-footer-contact-item a:hover {
  color: var(--sp-secondary);
}

.sp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.sp-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .sp-footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.sp-footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.sp-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.sp-footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.sp-footer-legal a:hover {
  color: var(--sp-secondary);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.sp-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--sp-border);
  transition: all 0.3s ease;
}

.sp-navbar.scrolled {
  box-shadow: var(--sp-shadow-md);
}

.sp-navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.sp-navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sp-navbar-logo-icon {
  position: relative;
  width: 48px;
  height: 48px;
  background: var(--sp-gradient-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sp-shadow-gold);
  transition: transform 0.2s ease;
}

.sp-navbar-logo:hover .sp-navbar-logo-icon {
  transform: scale(1.05);
}

.sp-navbar-logo-icon svg,
.sp-navbar-logo-icon i {
  color: var(--sp-primary);
}

.sp-navbar-logo-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--sp-accent);
  border-radius: 50%;
  animation: sp-pulse 3s ease-in-out infinite;
}

.sp-navbar-logo-text {
  font-family: var(--sp-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--sp-primary);
}

.sp-navbar-logo-tagline {
  font-size: 0.75rem;
  color: var(--sp-muted-foreground);
  margin-top: -4px;
  display: block;
}

.sp-navbar-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .sp-navbar-links {
    display: flex;
  }
}

.sp-navbar-link {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sp-muted-foreground);
  transition: all 0.2s ease;
}

.sp-navbar-link:hover {
  color: var(--sp-foreground);
  background: var(--sp-muted);
}

.sp-navbar-link.active {
  background: var(--sp-primary);
  color: var(--sp-primary-foreground);
}

.sp-navbar-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .sp-navbar-actions {
    display: flex;
  }
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.sp-form-group {
  margin-bottom: 1.5rem;
}

.sp-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sp-foreground);
  margin-bottom: 0.5rem;
}

.sp-form-input,
.sp-form-textarea,
.sp-form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: var(--sp-font-sans);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  background: var(--sp-background);
  color: var(--sp-foreground);
  transition: all 0.2s ease;
}

.sp-form-input:focus,
.sp-form-textarea:focus,
.sp-form-select:focus {
  outline: none;
  border-color: var(--sp-ring);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

.sp-form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.sp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.sp-badge-primary {
  background: var(--sp-primary);
  color: var(--sp-primary-foreground);
}

.sp-badge-secondary {
  background: var(--sp-secondary);
  color: var(--sp-secondary-foreground);
}

.sp-badge-muted {
  background: var(--sp-muted);
  color: var(--sp-muted-foreground);
}

.sp-badge-accent {
  background: var(--sp-accent);
  color: var(--sp-accent-foreground);
}

/* ==========================================================================
   GRID SYSTEM
   ========================================================================== */

.sp-grid {
  display: grid;
  gap: 1.5rem;
}

.sp-grid-2 {
  grid-template-columns: 1fr;
}

.sp-grid-3 {
  grid-template-columns: 1fr;
}

.sp-grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sp-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes sp-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes sp-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sp-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.sp-fade-up {
  animation: sp-fade-up 0.6s ease-out forwards;
  opacity: 0;
}

.sp-fade-up-delay-1 { animation-delay: 0.1s; }
.sp-fade-up-delay-2 { animation-delay: 0.2s; }
.sp-fade-up-delay-3 { animation-delay: 0.3s; }
.sp-fade-up-delay-4 { animation-delay: 0.4s; }
.sp-fade-up-delay-5 { animation-delay: 0.5s; }

.sp-animate-bounce {
  animation: sp-bounce 2s infinite;
}

.sp-animate-pulse {
  animation: sp-pulse 3s ease-in-out infinite;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.sp-text-center { text-align: center; }
.sp-text-left { text-align: left; }
.sp-text-right { text-align: right; }

.sp-hidden { display: none; }
.sp-block { display: block; }
.sp-inline-block { display: inline-block; }
.sp-flex { display: flex; }
.sp-inline-flex { display: inline-flex; }
.sp-grid { display: grid; }

.sp-items-center { align-items: center; }
.sp-items-start { align-items: flex-start; }
.sp-items-end { align-items: flex-end; }

.sp-justify-center { justify-content: center; }
.sp-justify-between { justify-content: space-between; }
.sp-justify-start { justify-content: flex-start; }
.sp-justify-end { justify-content: flex-end; }

.sp-flex-col { flex-direction: column; }
.sp-flex-row { flex-direction: row; }
.sp-flex-wrap { flex-wrap: wrap; }

.sp-gap-1 { gap: 0.25rem; }
.sp-gap-2 { gap: 0.5rem; }
.sp-gap-3 { gap: 0.75rem; }
.sp-gap-4 { gap: 1rem; }
.sp-gap-6 { gap: 1.5rem; }
.sp-gap-8 { gap: 2rem; }

.sp-w-full { width: 100%; }
.sp-h-full { height: 100%; }

.sp-relative { position: relative; }
.sp-absolute { position: absolute; }
.sp-fixed { position: fixed; }

.sp-z-10 { z-index: 10; }
.sp-z-50 { z-index: 50; }
.sp-z-100 { z-index: 100; }

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

.sp-rounded { border-radius: var(--sp-radius); }
.sp-rounded-lg { border-radius: var(--sp-radius-lg); }
.sp-rounded-full { border-radius: 9999px; }

.sp-shadow-sm { box-shadow: var(--sp-shadow-sm); }
.sp-shadow-md { box-shadow: var(--sp-shadow-md); }
.sp-shadow-lg { box-shadow: var(--sp-shadow-lg); }
.sp-shadow-gold { box-shadow: var(--sp-shadow-gold); }

.sp-bg-primary { background-color: var(--sp-primary); }
.sp-bg-secondary { background-color: var(--sp-secondary); }
.sp-bg-accent { background-color: var(--sp-accent); }
.sp-bg-muted { background-color: var(--sp-muted); }
.sp-bg-card { background-color: var(--sp-card); }

.sp-text-primary { color: var(--sp-primary); }
.sp-text-secondary { color: var(--sp-secondary); }
.sp-text-accent { color: var(--sp-accent); }
.sp-text-muted { color: var(--sp-muted-foreground); }
.sp-text-foreground { color: var(--sp-foreground); }

/* ==========================================================================
   ELEMENTOR OVERRIDES
   Apply these styles to override Elementor defaults
   ========================================================================== */

/* Override Elementor heading styles */
.elementor-heading-title {
  font-family: var(--sp-font-display);
}

/* Override Elementor button styles */
.elementor-button {
  font-family: var(--sp-font-sans);
  border-radius: var(--sp-radius) !important;
}

/* Override Elementor widget spacing */
.elementor-widget {
  margin-bottom: 0;
}

/* Elementor Section with StartPass Hero */
.elementor-section.sp-hero-section > .elementor-container {
  max-width: 100%;
}

.elementor-section.sp-hero-section {
  background: var(--sp-gradient-hero);
}

/* RTL Support for Arabic */
[dir="rtl"] .sp-navbar-links,
[dir="rtl"] .sp-footer-grid,
[dir="rtl"] .sp-journey-step {
  direction: rtl;
}

[dir="rtl"] .sp-journey-step {
  flex-direction: row-reverse;
}
