/* === CSS Variables === */
:root {
  /* Primary Color Scheme (Triadic) */
  --color-primary: #4a2dbc;
  --color-primary-dark: #35208e;
  --color-primary-light: #6c50d5;

  --color-secondary: #bc2d4a;
  --color-secondary-dark: #8e2035;
  --color-secondary-light: #d5506c;

  --color-tertiary: #2dbc4a;
  --color-tertiary-dark: #208e35;
  --color-tertiary-light: #50d56c;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --color-gray-100: #f5f5f5;
  --color-gray-200: #e8e8e8;
  --color-gray-300: #d1d1d1;
  --color-gray-400: #b0b0b0;
  --color-gray-500: #888888;
  --color-gray-600: #666666;
  --color-gray-700: #444444;
  --color-gray-800: #333333;
  --color-gray-900: #222222;

  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Merriweather', serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Borders & Shadows */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --box-shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
  --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index layers */
  --z-index-negative: -1;
  --z-index-default: 1;
  --z-index-header: 100;
  --z-index-modal: 1000;

  /* Container Width */
  --container-max-width: 1200px;
  --container-padding: 2rem;
}

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

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

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--color-primary-dark);
}

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

ul, ol {
  list-style: none;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  position: relative;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
}

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

/* === Containers & Layout === */
.container {
  max-width: var(--container-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  position: relative;
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

.section-header h2 {
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.section-header h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--color-primary);
  margin: var(--space-sm) auto 0;
}

.section-header p {
  color: var(--color-gray-600);
  font-size: 1.2rem;
}

/* === Buttons === */
.btn, 
button,
input[type='submit'] {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  box-shadow: var(--box-shadow-sm);
}

.btn:hover, 
button:hover,
input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-md);
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  color: var(--color-white);
}

.btn-tertiary {
  background-color: var(--color-tertiary);
  color: var(--color-white);
}

.btn-tertiary:hover {
  background-color: var(--color-tertiary-dark);
  color: var(--color-white);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* === Header & Navigation === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-index-header);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow-sm);
  backdrop-filter: blur(10px);
  transition: background-color var(--transition-medium);
}

.header-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--box-shadow-md);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

.desktop-nav ul {
  display: flex;
  gap: var(--space-md);
}

.desktop-nav li a {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--color-gray-800);
  position: relative;
  padding: 0.5rem 0;
}

.desktop-nav li a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-medium);
}

.desktop-nav li a:hover {
  color: var(--color-primary);
}

.desktop-nav li a:hover:after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-gray-800);
  transition: all var(--transition-fast);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--box-shadow-md);
  padding: var(--space-md);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-nav li a {
  display: block;
  padding: var(--space-xs) 0;
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--color-gray-800);
  border-bottom: 1px solid var(--color-gray-200);
}

/* === Hero Section === */
.hero {
  position: relative;
  width: 100%;
  padding: 0;
  height: 85vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 80px;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  z-index: var(--z-index-default);
}

.hero .container {
  position: relative;
  z-index: var(--z-index-default);
}

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

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-size: 3.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  max-width: 600px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-stats .number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.hero-stats .label {
  font-family: var(--font-secondary);
  color: var(--color-gray-200);
  font-size: 1rem;
}

/* Particles Animation */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: var(--z-index-negative);
}

/* === Tendencias Section === */
.tendencias {
  background-color: var(--color-white);
}

.trends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-md);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.progress-indicator {
  width: 100%;
  height: 6px;
  background-color: var(--color-gray-200);
  border-radius: 10px;
  margin-bottom: var(--space-sm);
  position: relative;
}

.progress-indicator .progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 10px;
}

.progress-indicator span {
  display: block;
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-top: 5px;
  text-align: right;
}

/* === Timeline Section === */
.timeline-section {
  background-color: var(--color-gray-100);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--color-primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-md);
}

.timeline-dot {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--color-primary);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px var(--color-white);
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: var(--space-md);
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-content {
  left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  left: 55%;
}

.timeline-content h3 {
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

/* === External Resources Section === */
.external-resources {
  background-color: var(--color-white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.resource-card {
  background-color: var(--color-gray-100);
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-medium);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.resource-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-sm);
}

.resource-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.resource-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.resource-card ul {
  text-align: left;
}

.resource-card li {
  margin-bottom: var(--space-xs);
}

.resource-card li a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.resource-card li a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* === Case Studies Section === */
.case-studies {
  background-color: var(--color-gray-100);
}

.cases-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.case-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-md);
}

.case-card .card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.case-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.case-card:hover .card-image img {
  transform: scale(1.05);
}

.case-card .card-content {
  padding: var(--space-md);
  flex-grow: 1;
}

.case-category {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-sm);
}

.read-more {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: var(--space-sm);
  position: relative;
  padding-right: 20px;
}

.read-more:after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform var(--transition-fast);
}

.read-more:hover:after {
  transform: translateX(5px);
}

/* === Team Section === */
.team-section {
  background-color: var(--color-white);
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-gray-100);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  transition: transform var(--transition-medium);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-md);
}

.member-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: var(--space-md);
  text-align: center;
  flex-grow: 1;
}

.position {
  display: inline-block;
  font-size: 1rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.social-links a {
  display: inline-block;
  color: var(--color-primary);
  padding: 5px 10px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* === Behind the Scenes Section === */
.behind-scenes {
  background-color: var(--color-gray-100);
}

.scenes-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.scene-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.scene-image {
  width: 100%;
  max-width: 550px;
  height: 350px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-md);
}

.scene-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.scene-item:hover .scene-image img {
  transform: scale(1.05);
}

.scene-content {
  padding: var(--space-md);
  max-width: 800px;
}

.scene-content h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* === News Section === */
.news-section {
  background-color: var(--color-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.news-card {
  background-color: var(--color-gray-100);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

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

.news-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-xs);
}

.news-content h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* === Careers Section === */
.careers-section {
  background-color: var(--color-gray-100);
}

.careers-content {
  max-width: 1000px;
  margin: 0 auto;
}

.careers-intro {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.career-card {
  background-color: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-sm);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

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

.career-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.location {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-sm);
}

.career-card .btn {
  margin-top: auto;
}

.careers-cta {
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--color-gray-200);
  border-radius: var(--border-radius-lg);
}

/* === Contact Section === */
.contact-section {
  background-color: var(--color-white);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.info-item {
  padding: var(--space-md);
  background-color: var(--color-gray-100);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-sm);
}

.info-item h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.info-item ul {
  margin-top: var(--space-sm);
}

.info-item li {
  margin-bottom: var(--space-xs);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.info-label {
  font-weight: 700;
  color: var(--color-gray-700);
  min-width: 80px;
}

.contact-form {
  padding: var(--space-md);
  background-color: var(--color-gray-100);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-sm);
}

.contact-form h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--color-gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(74, 45, 188, 0.1);
}

/* === Footer === */
.footer {
  background-color: var(--color-gray-900);
  color: var(--color-gray-300);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.link-group h3 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  position: relative;
}

.link-group h3:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

.link-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-group a {
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.link-group a:hover {
  color: var(--color-white);
}

.footer-newsletter {
  max-width: 400px;
}

.footer-newsletter h3 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.newsletter-form {
  display: flex;
  margin-top: var(--space-sm);
}

.newsletter-form input {
  flex-grow: 1;
  padding: 12px 15px;
  border: 1px solid var(--color-gray-700);
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  background-color: var(--color-gray-800);
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.newsletter-form button {
  padding: 12px 15px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--color-primary-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-gray-800);
}

/* === Success Page === */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.success-container {
  max-width: 600px;
}

.success-icon {
  font-size: 5rem;
  color: var(--color-tertiary);
  margin-bottom: var(--space-md);
}

.success-title {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.success-message {
  margin-bottom: var(--space-lg);
}

/* === About & Terms Pages === */
.page-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  color: var(--color-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.page-content p {
  margin-bottom: var(--space-md);
}

.page-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: var(--space-md);
}

.page-content ul li {
  margin-bottom: var(--space-xs);
}

/* === Responsive Styles === */
@media (min-width: 768px) {
  .case-card {
    flex-direction: row;
  }
  
  .case-card .card-image {
    width: 50%;
    height: auto;
  }
  
  .team-member {
    flex-direction: row;
  }
  
  .team-member .member-image {
    width: 300px;
    height: 300px;
  }
  
  .scene-item {
    flex-direction: row;
  }
  
  .scene-item:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .contact-content {
    flex-direction: row;
  }
  
  .contact-info {
    width: 40%;
  }
  
  .contact-form {
    width: 60%;
  }
  
  .footer-content {
    flex-direction: row;
  }
  
  .footer-logo {
    width: 30%;
  }
  
  .footer-links {
    width: 40%;
  }
  
  .footer-newsletter {
    width: 30%;
  }
}

@media (max-width: 991px) {
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .timeline:before {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    left: 60px !important;
  }
}

@media (max-width: 575px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section-header {
    margin-bottom: var(--space-md);
  }
  
  .hero {
    height: auto;
    min-height: 500px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
}

/* === Animation Effects === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 45, 188, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 45, 188, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 45, 188, 0);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

.btn-primary:hover {
  animation: pulseGlow 1.5s infinite;
}

/* Particle Animation Elements */
.particles-js-canvas-el {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-index-negative);
}