/* Brezzo Agency Website - Main Styles */

/* RTL Support */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .container {
  direction: rtl;
}

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

[dir="rtl"] .text-left {
  text-align: right;
}

[dir="rtl"] .text-right {
  text-align: left;
}

[dir="rtl"] .ml-auto {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .mr-auto {
  margin-right: 0;
  margin-left: auto;
}

[dir="rtl"] .pl-4 {
  padding-left: 0;
  padding-right: 1rem;
}

[dir="rtl"] .pr-4 {
  padding-right: 0;
  padding-left: 1rem;
}

/* CSS Variables for Brand Colors */
:root {
  --primary-blue: #014fb6;
  --brand-white: #ffffff;
  --accent-purple: #9857eb;
  --gradient-bg: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
  --text-dark: #1a1a1a;
  --text-light: #6b7280;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --gray-300: #e2e8f0;
  --gray-800: #2d3748;
  --gray-900: #1a202c;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-ar: 'Noto Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* RTL Support */
[dir="rtl"] {
  --font-family: var(--font-family-ar);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--brand-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[dir="rtl"] body {
  font-family: var(--font-family-ar);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

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

a:hover {
  color: var(--accent-purple);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-lg);
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -var(--spacing-sm);
}

.col {
  flex: 1;
  padding: 0 var(--spacing-sm);
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  min-height: 48px; /* Accessibility */
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--brand-white);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--primary-blue) 85%, black);
  color: var(--brand-white);
}

.btn-secondary {
  background: var(--brand-white);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--brand-white);
}

.btn-accent {
  background: var(--accent-purple);
  color: var(--brand-white);
}

.btn-accent:hover {
  background: color-mix(in srgb, var(--accent-purple) 85%, black);
  color: var(--brand-white);
}

.btn-gradient {
  background: var(--gradient-bg);
  color: var(--brand-white);
}

.btn-gradient:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary-blue) 85%, black) 0%, color-mix(in srgb, var(--accent-purple) 85%, black) 100%);
  color: var(--brand-white);
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
  min-height: 56px;
}

.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-size-sm);
  min-height: 40px;
}

/* Cards */
.card {
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.card-header {
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--gray-200);
}

.card-body {
  padding: var(--spacing-lg);
}

.card-footer {
  padding: var(--spacing-lg);
  border-top: 1px solid var(--gray-200);
  background: var(--gray-100);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-base);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
  min-height: 48px; /* Accessibility */
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(1, 79, 182, 0.1);
}

.form-control.error {
  border-color: var(--error);
}

.form-error {
  color: var(--error);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
}

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

/* ========================================
   NEUMORPHISM ELEGANT NAVBAR
   ======================================== */

.navbar {
  position: fixed;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  width: 80px;
  background: #f0f0f3;
  border-radius: 40px;
  box-shadow: 
    20px 20px 60px #d1d9e6,
    -20px -20px 60px #ffffff,
    inset 0 0 0 transparent,
    inset 0 0 0 transparent;
  z-index: var(--z-fixed);
  padding: 1rem 0;
  transition: all var(--transition-normal);
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar:hover {
  width: 280px;
  border-radius: 25px;
  box-shadow: 
    25px 25px 50px #d1d9e6,
    -25px -25px 50px #ffffff,
    inset 0 0 0 transparent,
    inset 0 0 0 transparent;
}

[dir="rtl"] .navbar {
  left: auto;
  right: 30px;
}

/* Brand Circle - Neumorphism Style */
.navbar-brand {
  width: 50px;
  height: 50px;
  background: #f0f0f3;
  border-radius: 50%;
  margin: 0.5rem auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-weight: 900;
  font-size: 1.2rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  box-shadow: 
    8px 8px 16px #d1d9e6,
    -8px -8px 16px #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-brand svg {
  width: 20px !important;
  height: 20px !important;
  display: block;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.navbar:hover .navbar-brand svg {
  width: 20px !important;
  height: 20px !important;
  left: 15px;
  transform: translateY(-50%);
}

.navbar:hover .navbar-brand {
  width: calc(100% - 1rem) !important;
  height: 50px !important;
  border-radius: 25px !important;
  margin: 0.5rem !important;
  justify-content: flex-start !important;
  padding: 0 1.5rem !important;
  min-height: 50px !important;
  max-height: 50px !important;
  line-height: 50px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 
    inset 4px 4px 8px #d1d9e6,
    inset -4px -4px 8px #ffffff;
}

.navbar-brand:hover {
  color: var(--brand-blue);
  box-shadow: 
    inset 2px 2px 4px #d1d9e6,
    inset -2px -2px 4px #ffffff;
}

.navbar-brand span {
  opacity: 0;
  margin-left: 1rem;
  transition: opacity var(--transition-normal);
  font-weight: 900;
  white-space: nowrap;
  line-height: 50px;
  height: 50px;
  display: inline-block;
  vertical-align: middle;
}

.navbar:hover .navbar-brand span {
  opacity: 1;
}

/* Navigation List */
.navbar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin-bottom: 0;
}

/* Navigation Links - Neumorphism Style */
.nav-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f3;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-dark);
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  box-shadow: 
    6px 6px 12px #d1d9e6,
    -6px -6px 12px #ffffff;
}

/* Hover State - Neumorphism Expanded */
.navbar:hover .nav-link {
  width: calc(100% - 1rem) !important;
  height: 50px !important;
  margin: 0.5rem !important;
  justify-content: flex-start !important;
  padding: 0 1.5rem !important;
  border-radius: 25px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  line-height: 50px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 
    inset 4px 4px 8px #d1d9e6,
    inset -4px -4px 8px #ffffff;
}

/* Text Labels - Fixed Height */
.nav-link span {
  opacity: 0;
  margin-left: 1rem;
  transition: opacity var(--transition-normal);
  font-weight: 600;
  white-space: nowrap;
  line-height: 50px;
  height: 50px;
  display: inline-block;
  vertical-align: middle;
}

.navbar:hover .nav-link span {
  opacity: 1;
}

/* Active/Hover States - Neumorphism */
.nav-link:hover,
.nav-link.active {
  background: #f0f0f3;
  color: var(--brand-blue);
  transform: scale(1.02);
  box-shadow: 
    inset 2px 2px 4px #d1d9e6,
    inset -2px -2px 4px #ffffff;
}

.navbar:hover .nav-link:hover,
.navbar:hover .nav-link.active {
  transform: translateX(8px) scale(1.02);
}

[dir="rtl"] .navbar:hover .nav-link:hover,
[dir="rtl"] .navbar:hover .nav-link.active {
  transform: translateX(-8px) scale(1.02);
}

/* Icons - Force Centering */
.nav-icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  display: block;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-link:hover .nav-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Icon positioning when expanded - Centered in 50px height */
.navbar:hover .nav-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  margin: 0;
}

[dir="rtl"] .navbar:hover .nav-icon {
  left: auto;
  right: 15px;
}

/* Main Content */
.main-content {
  margin-left: 0;
  min-height: 100vh;
  transition: margin-left var(--transition-normal);
  padding-left: 0;
}

[dir="rtl"] .main-content {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand-white);
  border-top: 1px solid var(--gray-200);
  z-index: var(--z-fixed);
  padding: var(--spacing-sm) 0;
}

.mobile-nav-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  flex: 1;
  text-align: center;
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-sm);
  color: var(--text-light);
  text-decoration: none;
  font-size: var(--font-size-xs);
  transition: color var(--transition-fast);
  min-height: 48px; /* Accessibility */
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary-blue);
}

.mobile-nav-icon {
  width: 24px;
  height: 24px;
  margin-bottom: var(--spacing-xs);
}

/* Language Toggle - Neumorphism Style */
.language-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f3;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-dark);
  font-weight: 600;
  font-size: var(--font-size-sm);
  flex-shrink: 0;
  position: relative;
  box-shadow: 
    6px 6px 12px #d1d9e6,
    -6px -6px 12px #ffffff;
}

.language-toggle svg {
  width: 20px !important;
  height: 20px !important;
  display: block;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.navbar:hover .language-toggle svg {
  left: 15px;
  transform: translateY(-50%);
}

.navbar:hover .language-toggle {
  width: calc(100% - 1rem) !important;
  height: 50px !important;
  margin: 0.5rem !important;
  justify-content: flex-start !important;
  padding: 0 1.5rem !important;
  border-radius: 25px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  line-height: 50px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    inset 4px 4px 8px #d1d9e6,
    inset -4px -4px 8px #ffffff;
}

.language-toggle:hover {
  background: #f0f0f3;
  color: var(--brand-purple);
  transform: scale(1.02);
  box-shadow: 
    inset 2px 2px 4px #d1d9e6,
    inset -2px -2px 4px #ffffff;
}

.navbar:hover .language-toggle:hover {
  transform: translateX(8px) scale(1.02);
}

[dir="rtl"] .navbar:hover .language-toggle:hover {
  transform: translateX(-8px) scale(1.02);
}

.language-toggle .nav-icon {
  margin-right: 0;
}

.navbar:hover .language-toggle .nav-icon {
  margin-right: var(--spacing-sm);
}

[dir="rtl"] .navbar:hover .language-toggle .nav-icon {
  margin-right: 0;
  margin-left: var(--spacing-sm);
}

/* Creative Hero Section */
.hero-creative {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Code Rain Animation - Enhanced */

/* Code Rain Animation */
.code-rain {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.code-line {
  position: absolute;
  color: rgba(1, 79, 182, 0.3);
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  animation: codeFall 15s linear infinite;
  text-shadow: 0 0 10px rgba(1, 79, 182, 0.5);
}

.code-line:nth-child(1) {
  left: 5%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.code-line:nth-child(2) {
  left: 15%;
  animation-delay: 1s;
  animation-duration: 15s;
  color: rgba(152, 87, 235, 0.3);
}

.code-line:nth-child(3) {
  left: 25%;
  animation-delay: 2s;
  animation-duration: 18s;
  color: rgba(255, 255, 255, 0.2);
}

.code-line:nth-child(4) {
  left: 35%;
  animation-delay: 3s;
  animation-duration: 14s;
  color: rgba(1, 79, 182, 0.4);
}

.code-line:nth-child(5) {
  left: 45%;
  animation-delay: 4s;
  animation-duration: 16s;
  color: rgba(152, 87, 235, 0.2);
}

.code-line:nth-child(6) {
  left: 55%;
  animation-delay: 5s;
  animation-duration: 13s;
  color: rgba(255, 255, 255, 0.3);
}

.code-line:nth-child(7) {
  left: 65%;
  animation-delay: 6s;
  animation-duration: 17s;
  color: rgba(1, 79, 182, 0.3);
}

.code-line:nth-child(8) {
  left: 75%;
  animation-delay: 7s;
  animation-duration: 11s;
  color: rgba(152, 87, 235, 0.4);
}

.code-line:nth-child(9) {
  left: 85%;
  animation-delay: 8s;
  animation-duration: 19s;
  color: rgba(255, 255, 255, 0.25);
}

.code-line:nth-child(10) {
  left: 8%;
  animation-delay: 9s;
  animation-duration: 14s;
  color: rgba(1, 79, 182, 0.35);
}

.code-line:nth-child(11) {
  left: 18%;
  animation-delay: 10s;
  animation-duration: 16s;
  color: rgba(152, 87, 235, 0.3);
}

.code-line:nth-child(12) {
  left: 28%;
  animation-delay: 11s;
  animation-duration: 13s;
  color: rgba(255, 255, 255, 0.3);
}

.code-line:nth-child(13) {
  left: 38%;
  animation-delay: 12s;
  animation-duration: 15s;
  color: rgba(1, 79, 182, 0.4);
}

.code-line:nth-child(14) {
  left: 48%;
  animation-delay: 13s;
  animation-duration: 12s;
  color: rgba(152, 87, 235, 0.25);
}

.code-line:nth-child(15) {
  left: 58%;
  animation-delay: 14s;
  animation-duration: 18s;
  color: rgba(255, 255, 255, 0.2);
}

.code-line:nth-child(16) {
  left: 68%;
  animation-delay: 15s;
  animation-duration: 14s;
  color: rgba(1, 79, 182, 0.3);
}

.code-line:nth-child(17) {
  left: 78%;
  animation-delay: 16s;
  animation-duration: 16s;
  color: rgba(152, 87, 235, 0.35);
}

.code-line:nth-child(18) {
  left: 88%;
  animation-delay: 17s;
  animation-duration: 11s;
  color: rgba(255, 255, 255, 0.3);
}

.hero-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(1, 79, 182, 0.1) 0%, transparent 70%);
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

.hero-text-content {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(1, 79, 182, 0.2);
  border: 1px solid rgba(1, 79, 182, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: slideInLeft 1s ease-out;
}

.badge-icon {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #014fb6, #9857eb);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #014fb6;
}

.hero-title-typing {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #014fb6 50%, #9857eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInLeft 1s ease-out 0.3s both;
  word-wrap: break-word;
  hyphens: auto;
}

.typing-text {
  display: inline-block;
}

.typing-cursor {
  color: #014fb6;
  font-weight: 300;
  animation: blink 1s infinite;
}

.hero-subtitle-animated {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  animation: slideInLeft 1s ease-out 0.6s both;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  animation: slideInLeft 1s ease-out 0.9s both;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #014fb6;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Force white color for statistics labels */
.hero-stats .stat-label {
  color: #ffffff;
}

.stat-item .stat-label {
  color: #ffffff;
}

.stat-label .stat-suffix {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-left: 0.2rem;
}

.hero-actions-creative {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: slideInLeft 1s ease-out 1.2s both;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
  min-width: 48px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #014fb6 0%, #9857eb 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(1, 79, 182, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(1, 79, 182, 0.4);
  color: white;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  color: white;
}

.btn-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover .btn-icon {
  transform: translateX(5px);
}

.btn-hero-secondary:hover .btn-icon {
  transform: scale(1.2);
}

/* Hero Visual Content */
.hero-visual-content {
  position: relative;
  height: 500px;
  animation: slideInRight 1s ease-out 0.5s both;
  display: flex;
  align-items: center;
  justify-content: center;
}




/* Enhanced Code Rain Animations */

@keyframes codeFall {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Legacy Animations (kept for compatibility) */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

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



/* Enhanced Responsive Design for Hero Section */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    gap: 3rem;
    min-height: 70vh;
  }
  
  .hero-title-typing {
    font-size: 3rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .hero-actions-creative {
    gap: 1.25rem;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .hero-creative {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    min-height: 70vh;
  }
  
  .hero-title-typing {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
  }
  
  .hero-subtitle-animated {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
  
  .hero-actions-creative {
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 1rem 2rem;
  }
  
  .hero-visual-content {
    height: 300px;
    margin-top: 2rem;
  }
  
  .hero-card {
    transform: scale(0.8);
  }
  
  /* Code rain adjustments for mobile */
  .code-line {
    font-size: 12px;
  }
}

/* Mobile Landscape */
@media (max-width: 640px) {
  .hero-creative {
    min-height: 85vh;
    padding: 1.5rem 0;
  }
  
  .hero-content-wrapper {
    gap: 2rem;
    min-height: 60vh;
  }
  
  .hero-title-typing {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle-animated {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
  
  .hero-stats {
    gap: 1.25rem;
    margin-bottom: 2rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .hero-actions-creative {
    gap: 0.875rem;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    max-width: 260px;
  }
  
  .hero-visual-content {
    height: 250px;
    margin-top: 1.5rem;
  }
}

/* Modern Mobile Hero Section */
@media (max-width: 480px) {
  .hero-creative {
    min-height: 100vh;
    padding: 0;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 70%, #0f0f23 100%);
    overflow: hidden;
  }
  
  .hero-creative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 20%, rgba(1, 79, 182, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(152, 87, 235, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: 1;
  }
  
  .hero-content-wrapper {
    gap: 2rem;
    min-height: 100vh;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .hero-text-content {
    width: 100%;
    max-width: 100%;
  }
  
  .hero-title-typing {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #014fb6 30%, #9857eb 70%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    word-break: break-word;
    hyphens: auto;
  }
  
  .hero-subtitle-animated {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-stats {
    flex-direction: row;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }
  
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
  }
  
  .stat-item::after {
    content: '';
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  }
  
  .stat-item:last-child::after {
    display: none;
  }
  
  .stat-number {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 800;
    background: linear-gradient(135deg, #014fb6, #9857eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .stat-label {
    font-size: 0.45rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .hero-actions-creative {
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    border-radius: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  
  .btn-hero-primary {
    background: linear-gradient(135deg, #014fb6 0%, #9857eb 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(1, 79, 182, 0.4);
    border: none;
  }
  
  .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(1, 79, 182, 0.5);
  }
  
  .btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
  }
  
  .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
  }
  
  .hero-visual-content {
    height: 200px;
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Enhanced code rain for mobile */
  .code-line {
    font-size: 11px;
    opacity: 0.4;
    animation-duration: 20s;
  }
  
  .code-line:nth-child(n+8) {
    display: none;
  }
  
  /* Mobile-specific animations */
  .hero-title-typing {
    animation: mobileSlideInUp 1s ease-out 0.3s both;
  }
  
  .hero-subtitle-animated {
    animation: mobileSlideInUp 1s ease-out 0.6s both;
  }
  
  .hero-stats {
    animation: mobileSlideInUp 1s ease-out 0.9s both;
  }
  
  .hero-actions-creative {
    animation: mobileSlideInUp 1s ease-out 1.2s both;
  }
}

@keyframes mobileSlideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Very Small Screens - Modern Design */
@media (max-width: 360px) {
  .hero-creative {
    min-height: 100vh;
  }
  
  .hero-content-wrapper {
    gap: 1.5rem;
    min-height: 100vh;
    padding: 1.5rem 0.75rem;
  }
  
  .hero-title-typing {
    font-size: 1.875rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle-animated {
    font-size: 0.85rem;
    margin-bottom: 1.75rem;
    max-width: 95%;
  }
  
  .hero-stats {
    flex-direction: row;
    gap: 0.5rem;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 1rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }
  
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
  }
  
  .stat-number {
    font-size: 1.25rem;
    margin-bottom: 0;
  }
  
  .stat-label {
    font-size: 0.4rem;
    text-align: center;
  }
  
  .hero-actions-creative {
    gap: 0.75rem;
    max-width: 280px;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }
  
  .hero-visual-content {
    height: 160px;
    margin-top: 1.5rem;
  }
}

/* RTL Support for Hero Section */
[dir="rtl"] .hero-content-wrapper {
  text-align: right;
}

[dir="rtl"] .hero-stats {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-actions-creative {
  flex-direction: row-reverse;
}

[dir="rtl"] .btn-hero-primary,
[dir="rtl"] .btn-hero-secondary {
  flex-direction: row-reverse;
}

[dir="rtl"] .btn-icon {
  transform: scaleX(-1);
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-creative {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-content-wrapper {
    min-height: 80vh;
    gap: 1.5rem;
  }
  
  .hero-title-typing {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle-animated {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-stats {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .hero-actions-creative {
    gap: 0.75rem;
    flex-direction: row;
    justify-content: center;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    max-width: 200px;
  }
  
  .hero-visual-content {
    height: 150px;
    margin-top: 0.5rem;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-title-typing {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .code-line {
    -webkit-font-smoothing: antialiased;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-title-typing,
  .hero-subtitle-animated,
  .hero-stats,
  .hero-actions-creative {
    animation: none;
  }
  
  .code-line {
    animation: none;
    opacity: 0.3;
  }
  
  .typing-cursor {
    animation: none;
  }
  
  .badge-icon {
    animation: none;
  }
}

/* Sections */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-light);
}

/* Footer */
.footer {
  background: var(--gradient-bg);
  color: var(--brand-white);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  margin-top: auto;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: var(--brand-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--spacing-2xl);
  padding-top: var(--spacing-lg);
  text-align: center;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

[dir="rtl"] .text-left { text-align: right; }
[dir="rtl"] .text-right { text-align: left; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

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

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

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }
.p-5 { padding: var(--spacing-2xl); }

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.25rem;
    --font-size-4xl: 1.875rem;
    --font-size-3xl: 1.5rem;
  }
  
  .container,
  .container-fluid {
    padding: 0 var(--spacing-md);
  }
  
  /* Hide desktop navigation */
  .navbar {
    display: none;
  }
  
  /* Show mobile navigation */
  .mobile-nav {
    display: block;
  }
  
  /* Adjust main content */
  .main-content {
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 80px; /* Space for mobile nav */
  }
  
  /* Mobile-first responsive columns */
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .hero {
    padding: var(--spacing-2xl) 0;
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .section {
    padding: var(--spacing-2xl) 0;
  }
  
  .btn {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-actions .btn {
    width: auto;
    margin-bottom: 0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 1025px) {
  .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--brand-white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.6s ease-out forwards;
}

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

/* 3D Card Hover Effect */
.card-3d {
  perspective: 1000px;
}

.card-3d .card {
  transform-style: preserve-3d;
  transition: transform var(--transition-slow);
}

.card-3d:hover .card {
  transform: rotateY(10deg) rotateX(10deg);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-800);
}

/* Print Styles */
@media print {
  .navbar,
  .mobile-nav,
  .btn,
  .language-toggle {
    display: none !important;
  }
  
  .main-content {
    margin: 0 !important;
  }
  
  .hero {
    background: none !important;
    color: var(--text-dark) !important;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid var(--gray-300) !important;
  }
}

/* Focus Visible for Better Accessibility */
.btn:focus-visible,
.form-control:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0056b3;
    --accent-purple: #7c3aed;
    --text-light: var(--text-dark);
  }
  
  .card {
    border: 2px solid var(--gray-800);
  }
}

/* Creative Services Section */
.creative-services {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  overflow: hidden;
}

.services-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.services-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(1, 79, 182, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(152, 87, 235, 0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(1, 79, 182, 0.2), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: float 20s ease-in-out infinite;
}

.services-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(1, 79, 182, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 79, 182, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 30s linear infinite;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.services-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b 0%, #014fb6 50%, #9857eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.services-subtitle {
  font-size: 1.2rem;
  color: rgba(30, 41, 59, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(1, 79, 182, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(1, 79, 182, 0.1), rgba(152, 87, 235, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

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

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(1, 79, 182, 0.5);
  box-shadow: 0 20px 40px rgba(1, 79, 182, 0.2);
}

.service-card-inner {
  position: relative;
  z-index: 2;
}

.service-icon-container {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
}

.graphic-design-icon {
  background: transparent;
  color: #333333;
}

.web-development-icon {
  background: transparent;
  color: #333333;
}

.ad-campaigns-icon {
  background: transparent;
  color: #333333;
}

.ai-agents-icon {
  background: transparent;
  color: #333333;
}

.seo-improvement-icon {
  background: transparent;
  color: #333333;
}

.marketing-consultations-icon {
  background: transparent;
  color: #333333;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #014fb6 50%, #9857eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.service-content {
  text-align: left;
}

.service-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #014fb6 !important;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-title {
  color: #9857eb;
}

.service-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature-tag {
  background: rgba(1, 79, 182, 0.2);
  color: #014fb6;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(1, 79, 182, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover .feature-tag {
  background: rgba(1, 79, 182, 0.3);
  transform: translateY(-2px);
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #014fb6;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.8rem 1.5rem;
  border: 2px solid rgba(1, 79, 182, 0.3);
  border-radius: 50px;
  background: rgba(1, 79, 182, 0.1);
}

.service-cta:hover {
  background: #014fb6;
  color: #ffffff;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(1, 79, 182, 0.3);
}

.service-cta svg {
  transition: transform 0.3s ease;
}

.service-cta:hover svg {
  transform: translateX(3px);
}

/* Responsive Design for Services */
@media (max-width: 768px) {
  .services-title {
    font-size: 2.5rem;
  }
  
  .services-grid-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .service-number {
    font-size: 2rem;
  }
}

/* Why Choose Brezzo Section */
.why-choose-brezzo {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
  overflow: hidden;
}

.why-choose-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.why-choose-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(1, 79, 182, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(152, 87, 235, 0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(1, 79, 182, 0.2), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: float 20s ease-in-out infinite;
}

.why-choose-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(1, 79, 182, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 79, 182, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 30s linear infinite;
}

.why-choose-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.why-choose-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b 0%, #014fb6 50%, #9857eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.why-choose-subtitle {
  font-size: 1.2rem;
  color: rgba(30, 41, 59, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.why-choose-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.why-choose-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(1, 79, 182, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.why-choose-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(1, 79, 182, 0.1), rgba(152, 87, 235, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.why-choose-card:hover::before {
  opacity: 1;
}

.why-choose-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(1, 79, 182, 0.5);
  box-shadow: 0 20px 40px rgba(1, 79, 182, 0.2);
}

.why-choose-card-inner {
  position: relative;
  z-index: 2;
}

.why-choose-icon-container {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.why-choose-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
}

.experience-icon {
  background: linear-gradient(135deg, #014fb6, #9857eb);
  color: #ffffff;
}

.projects-icon {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: #ffffff;
}

.clients-icon {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: #ffffff;
}

.satisfaction-icon {
  background: linear-gradient(135deg, #feca57, #ff9ff3);
  color: #ffffff;
}

.support-icon {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: #ffffff;
}

.delivery-icon {
  background: linear-gradient(135deg, #a8edea, #fed6e3);
  color: #333333;
}

.why-choose-card:hover .why-choose-icon {
  transform: scale(1.1) rotate(5deg);
}

.why-choose-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b 0%, #014fb6 50%, #9857eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.8;
}

.counter-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.counter-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.why-choose-content {
  text-align: left;
}

.why-choose-feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #014fb6 !important;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.why-choose-card:hover .why-choose-feature-title {
  color: #9857eb !important;
}

.why-choose-description {
  color: rgba(30, 41, 59, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive Design for Why Choose */
@media (max-width: 768px) {
  .why-choose-title {
    font-size: 2.5rem;
  }
  
  .why-choose-grid-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .why-choose-card {
    padding: 1.5rem;
  }
  
  .why-choose-icon-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .why-choose-number {
    font-size: 2rem;
  }
}


/* Our Valued Partners Section */
.valued-partners {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
  overflow: hidden;
}

.partners-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.partners-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(1, 79, 182, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(152, 87, 235, 0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(1, 79, 182, 0.2), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: float 20s ease-in-out infinite;
}

.partners-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(1, 79, 182, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 79, 182, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 30s linear infinite;
}

.partners-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.partners-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b 0%, #014fb6 50%, #9857eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.partners-subtitle {
  font-size: 1.2rem;
  color: rgba(30, 41, 59, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.partners-carousel {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(1, 79, 182, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.partners-track {
  display: flex;
  gap: 3rem;
  animation: scroll 30s linear infinite;
  align-items: center;
}

.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.1);
}

.partner-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 60px;
  background: rgba(1, 79, 182, 0.05);
  border: 1px solid rgba(1, 79, 182, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.partner-logo:hover .partner-placeholder {
  background: rgba(1, 79, 182, 0.1);
  border-color: rgba(1, 79, 182, 0.3);
}

.partners-cta {
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(1, 79, 182, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.partners-cta p {
  color: rgba(30, 41, 59, 0.8);
  margin: 0;
  font-size: 1.1rem;
}

.btn-partner {
  background: linear-gradient(135deg, #014fb6, #9857eb);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-partner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(1, 79, 182, 0.3);
  color: #ffffff;
  text-decoration: none;
}

.btn-partner svg {
  transition: transform 0.3s ease;
}

.btn-partner:hover svg {
  transform: translateX(3px);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Design for Partners */
@media (max-width: 768px) {
  .partners-title {
    font-size: 2.5rem;
  }
  
  .partners-carousel {
    padding: 1.5rem;
  }
  
  .partners-track {
    gap: 2rem;
  }
  
  .partner-logo {
    height: 60px;
  }
  
  .partner-placeholder {
    width: 100px;
    height: 50px;
  }
  
  .partners-cta {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
}

/* Modern Footer */
.modern-footer {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #ffffff;
  padding: 4rem 0 2rem;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.footer-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(1, 79, 182, 0.2), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(152, 87, 235, 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(1, 79, 182, 0.1), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: float 25s ease-in-out infinite;
}

.footer-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(1, 79, 182, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 79, 182, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 40s linear infinite;
}

.footer-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-brand img {
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand h3 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #014fb6 50%, #9857eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(135deg, #014fb6, #9857eb);
  border-radius: 1px;
}

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

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-column a[href^="tel:"] {
  text-align: left !important;
  direction: ltr !important;
  display: block !important;
  width: fit-content !important;
}

.footer-column a:hover {
  color: #014fb6;
  text-decoration: none;
}

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

.footer-social h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-social h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(135deg, #014fb6, #9857eb);
  border-radius: 1px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-icon:hover {
  background: rgba(1, 79, 182, 0.1);
  border-color: rgba(1, 79, 182, 0.3);
  color: #014fb6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(1, 79, 182, 0.2);
  text-decoration: none;
}

.social-icon.instagram:hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.1), rgba(255, 192, 0, 0.1));
  border-color: rgba(225, 48, 108, 0.3);
  color: #e1306c;
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.2);
}

.social-icon.whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
  color: #25d366;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #014fb6;
  text-decoration: none;
}

/* Responsive Design for Footer */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .modern-footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  .footer-content {
    gap: 2rem;
    text-align: left;
  }
  
  .footer-brand {
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .footer-brand img {
    width: 35px;
    height: 35px;
    margin-bottom: 0.75rem;
  }
  
  .footer-brand h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  .footer-brand p {
    font-size: 0.85rem;
    max-width: 280px;
    margin: 0;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .footer-column {
    text-align: left;
  }
  
  .footer-column h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
  }
  
  .footer-column h4::after {
    width: 30px;
    height: 2px;
    left: 0;
    transform: none;
  }
  
  .footer-column ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .footer-column li {
    margin-bottom: 0;
  }
  
  .footer-column a {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    display: inline-block;
    white-space: nowrap;
  }
  
  .footer-column a[href^="tel:"] {
    direction: ltr;
    text-align: left;
  }
  
  .footer-column a[href^="mailto:"] {
    direction: ltr;
    text-align: left;
  }
  
  .footer-social {
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .footer-social h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
  }
  
  .footer-social h4::after {
    width: 30px;
    height: 2px;
    left: 0;
    transform: none;
  }
  
  .social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  
  .social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-bottom p {
    font-size: 0.85rem;
    order: 2;
  }
  
  .footer-legal {
    gap: 1.5rem;
    order: 1;
    justify-content: flex-start;
  }
  
  .footer-legal a {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
  }
  
  .footer-legal a:hover {
    background: rgba(1, 79, 182, 0.1);
    color: #014fb6;
  }
}

@media (max-width: 480px) {
  .modern-footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer-brand img {
    width: 30px;
    height: 30px;
  }
  
  .footer-brand h3 {
    font-size: 1.5rem;
  }
  
  .footer-brand p {
    font-size: 0.8rem;
    max-width: 250px;
  }
  
  .footer-links {
    gap: 1.25rem;
  }
  
  .footer-column h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  
  .footer-column ul {
    gap: 0.75rem;
  }
  
  .footer-column a {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
  }
  
  .footer-social h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  
  .social-icons {
    gap: 0.5rem;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
  }
  
  .footer-bottom {
    gap: 0.75rem;
    padding-top: 1.25rem;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
  
  .footer-legal {
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .footer-legal a {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
  }
}

@media (max-width: 360px) {
  .modern-footer {
    padding: 1.5rem 0 1rem;
  }
  
  .footer-content {
    gap: 1.25rem;
  }
  
  .footer-brand img {
    width: 28px;
    height: 28px;
  }
  
  .footer-brand h3 {
    font-size: 1.375rem;
  }
  
  .footer-brand p {
    font-size: 0.75rem;
    max-width: 220px;
  }
  
  .footer-links {
    gap: 1rem;
  }
  
  .footer-column h4 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  
  .footer-column ul {
    gap: 0.5rem;
  }
  
  .footer-column a {
    font-size: 0.75rem;
    padding: 0.15rem 0.3rem;
  }
  
  .footer-social h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .social-icons {
    gap: 0.4rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
  
  .footer-bottom {
    gap: 0.5rem;
    padding-top: 1rem;
  }
  
  .footer-bottom p {
    font-size: 0.75rem;
  }
  
  .footer-legal {
    gap: 0.75rem;
  }
  
  .footer-legal a {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 5px;
  }
}

/* RTL Support for Footer Mobile */
@media (max-width: 768px) {
  .rtl .footer-content {
    text-align: right;
  }

  .rtl .footer-brand {
    text-align: right;
  }

  .rtl .footer-brand p {
    margin: 0;
    text-align: right;
  }

  .rtl .footer-column {
    text-align: right;
  }

  .rtl .footer-column h4::after {
    left: auto;
    right: 0;
    transform: none;
  }

  .rtl .footer-column ul {
    justify-content: flex-end;
  }

  .rtl .footer-social {
    text-align: right;
  }

  .rtl .footer-social h4::after {
    left: auto;
    right: 0;
    transform: none;
  }

  .rtl .social-icons {
    justify-content: flex-end;
  }

  .rtl .footer-bottom {
    text-align: right;
  }

  .rtl .footer-legal {
    justify-content: flex-end;
  }

  .rtl .footer-column a[href^="tel:"] {
    text-align: left !important;
    direction: ltr !important;
  }

  .rtl .footer-column a[href^="mailto:"] {
    text-align: left !important;
    direction: ltr !important;
  }
}

@media (max-width: 480px) {
  .rtl .footer-brand p {
    text-align: right;
  }

  .rtl .footer-column {
    text-align: right;
  }

  .rtl .footer-social {
    text-align: right;
  }

  .rtl .footer-bottom {
    text-align: right;
  }
}

@media (max-width: 360px) {
  .rtl .footer-brand p {
    text-align: right;
  }

  .rtl .footer-column {
    text-align: right;
  }

  .rtl .footer-social {
    text-align: right;
  }

  .rtl .footer-bottom {
    text-align: right;
  }
}

/* FAQ Section */
.faq-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  overflow: hidden;
}

.faq-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.faq-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(1, 79, 182, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(152, 87, 235, 0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(1, 79, 182, 0.2), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: float 20s ease-in-out infinite;
}

.faq-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(1, 79, 182, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 79, 182, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 30s linear infinite;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.faq-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b 0%, #014fb6 50%, #9857eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.faq-subtitle {
  font-size: 1.2rem;
  color: rgba(30, 41, 59, 0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(1, 79, 182, 0.1);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  border-color: rgba(1, 79, 182, 0.3);
  box-shadow: 0 8px 25px rgba(1, 79, 182, 0.15);
}

.faq-item.active {
  border-color: rgba(1, 79, 182, 0.5);
  box-shadow: 0 10px 30px rgba(1, 79, 182, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: rgba(1, 79, 182, 0.05);
  transform: translateY(-1px);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 79, 182, 0.15);
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #014fb6, #9857eb);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: linear-gradient(135deg, #9857eb, #014fb6);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(248, 250, 252, 0.8);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-size: 1rem;
}

.faq-cta {
  text-align: center;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.faq-cta p {
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.btn-faq {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #014fb6, #9857eb);
  color: #ffffff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(1, 79, 182, 0.3);
}

.btn-faq:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 79, 182, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.btn-faq svg {
  transition: transform 0.3s ease;
}

.btn-faq:hover svg {
  transform: translateX(3px);
}

/* Responsive Design for FAQ */
@media (max-width: 768px) {
  .faq-title {
    font-size: 2.5rem;
  }
  
  .faq-question {
    padding: 1.25rem 1.5rem;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
    padding-right: 0.75rem;
  }
  
  .faq-icon {
    width: 35px;
    height: 35px;
  }
  
  .faq-answer p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .faq-cta p {
    font-size: 1.1rem;
  }
  
  .btn-faq {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
  }
}
