/* Root Variables */
:root {
  /* Tetrad Color Scheme */
  --primary-color: #1F45FC; /* Blue */
  --secondary-color: #FC1F8D; /* Pink */
  --tertiary-color: #45FC1F; /* Green */
  --quaternary-color: #FC8D1F; /* Orange */
  
  /* Darker Variations */
  --primary-dark: #0D2E9A;
  --secondary-dark: #BA0F69;
  --tertiary-dark: #28A80F;
  --quaternary-dark: #B85F0A;
  
  /* Lighter Variations */
  --primary-light: #6F88FC;
  --secondary-light: #FD6FB3;
  --tertiary-light: #8DFC6F;
  --quaternary-light: #FCB46F;
  
  /* Neutral Colors */
  --dark: #222222;
  --medium-dark: #444444;
  --medium: #777777;
  --light-medium: #AAAAAA;
  --light: #EEEEEE;
  --white: #FFFFFF;
  
  /* UI Colors */
  --success: #2ECC71;
  --warning: #F39C12;
  --error: #E74C3C;
  --info: #3498DB;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --secondary-gradient: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --tertiary-gradient: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-dark));
  --quaternary-gradient: linear-gradient(135deg, var(--quaternary-color), var(--quaternary-dark));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3rem;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --footer-height: 300px;
  
  /* Z-index */
  --z-negative: -1;
  --z-normal: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-fixed: 1000;
  --z-modal: 2000;
  --z-popup: 9999;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-md);
}

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

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

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

/* Section Styles */
.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  font-weight: 800;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: var(--border-radius-sm);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px;
  color: var(--medium-dark);
  font-size: var(--font-size-lg);
}

/* Button Styles */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--font-size-md);
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  z-index: -1;
  transition: width 0.3s ease;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--primary-dark);
}

.btn-primary::before {
  background: var(--primary-dark);
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--primary-dark);
  text-decoration: none;
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--secondary-dark);
}

.btn-secondary::before {
  background: var(--secondary-dark);
}

.btn-secondary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--secondary-dark);
  text-decoration: none;
  color: var(--white);
}

.btn-tertiary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 3px 3px 0 var(--primary-color);
  padding: 10px 26px;
}

.btn-tertiary::before {
  background: var(--primary-light);
}

.btn-tertiary:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--primary-color);
  color: var(--primary-dark);
  text-decoration: none;
}

.btn-cookie {
  background: var(--white);
  color: var(--dark);
  padding: 8px 20px;
  box-shadow: 3px 3px 0 var(--medium);
}

.btn-cookie:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--medium);
}

/* Header Styles */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--font-size-xl);
  color: var(--primary-color);
  text-transform: uppercase;
  position: relative;
  z-index: var(--z-sticky);
}

.logo a {
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

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

.logo h1 {
  font-size: var(--font-size-xl);
  margin: 0;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.desktop-nav ul li {
  margin-left: var(--space-xl);
}

.desktop-nav ul li a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  text-decoration: none;
}

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

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

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: var(--z-sticky);
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--white);
  z-index: var(--z-dropdown);
  padding: var(--space-4xl) var(--space-xl);
  transition: right 0.3s ease;
  box-shadow: var(--shadow-xl);
  z-index: 999;
}

.mobile-menu-toggle {
  z-index: 9999;
  position: relative;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li {
  margin-bottom: var(--space-lg);
}

.mobile-nav ul li a {
  color: var(--dark);
  font-size: var(--font-size-lg);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  position: relative;
  padding: 0;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: var(--z-negative);
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
  max-width: 650px;
  color: var(--white);
  position: relative;
  z-index: var(--z-normal);
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-lg);
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xl);
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* About Section */
.about {
  padding: var(--space-4xl) 0;
  background-color: var(--white);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: var(--space-3xl);
  gap: var(--space-lg);
}

.stat-widget {
  flex: 1;
  min-width: 200px;
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid var(--primary-color);
}

.stat-widget:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-widget h3 {
  color: var(--primary-color);
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-sm);
}

.stat-widget p {
  font-size: var(--font-size-md);
  color: var(--medium-dark);
  margin: 0;
}

/* Services Section */
.services {
  padding: var(--space-4xl) 0;
  background-color: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.service-card h3 {
  color: var(--dark);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--medium-dark);
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Success Stories Section */
.success-stories {
  padding: var(--space-4xl) 0;
  background-color: var(--white);
}

.stories-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.story-card {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--light-medium);
}

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

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

.story-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.story-card h3 {
  color: var(--dark);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xs);
}

.client-type {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--space-md);
  font-size: var(--font-size-md);
}

.story-card p {
  color: var(--medium-dark);
  margin-bottom: var(--space-lg);
}

.results {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: auto;
}

.result-item {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.carousel-controls button {
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.carousel-controls button:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* External Resources Section */
.external-resources {
  padding: var(--space-4xl) 0;
  background-color: var(--light);
}

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

.resource-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.resource-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.resource-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.resource-card p {
  color: var(--medium-dark);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.resource-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Pricing Section */
.pricing {
  padding: var(--space-4xl) 0;
  background-color: var(--white);
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xl);
}

.pricing-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--light-medium);
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 3px solid var(--primary-color);
  position: relative;
  z-index: 1;
}

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

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-card .card-header {
  background: var(--primary-gradient);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  color: var(--white);
}

.pricing-card.featured .card-header {
  background: var(--primary-gradient);
}

.pricing-card h3 {
  color: var(--white);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.price {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.price-period {
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

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

.features-list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-xl);
}

.features-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--light);
  position: relative;
  padding-left: var(--space-xl);
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.plan-description {
  color: var(--medium-dark);
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Gallery Section */
.gallery {
  padding: var(--space-4xl) 0;
  background-color: var(--light);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  height: 200px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item h3 {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-xs);
  color: var(--white);
}

.gallery-item p {
  font-size: var(--font-size-sm);
  margin: 0;
  color: var(--light);
}

/* Webinars Section */
.webinars {
  padding: var(--space-4xl) 0;
  background-color: var(--white);
}

.webinars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.webinar-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--light-medium);
}

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

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

.webinar-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.webinar-date {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-sm);
}

.webinar-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  color: var(--dark);
}

.webinar-card p {
  color: var(--medium-dark);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.webinar-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Contact Section */
.contact {
  padding: var(--space-4xl) 0;
  background-color: var(--light);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3xl);
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  margin-bottom: var(--space-lg);
  color: var(--dark);
}

.contact-info p {
  margin-bottom: var(--space-xl);
  color: var(--medium-dark);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.contact-item h4 {
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-md);
}

.contact-item p {
  color: var(--medium-dark);
  margin: 0;
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
  width: 100%;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

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

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--light-medium);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(31, 69, 252, 0.2);
}

/* Contact Page Specific */
.contact-page {
  padding: var(--space-4xl) 0;
  margin-top: var(--header-height);
}

.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3xl);
}

.contact-info-block,
.contact-form-block {
  flex: 1;
  min-width: 300px;
}

.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-detail {
  margin-bottom: var(--space-lg);
}

.contact-detail h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-lg);
}

/* Team Contact Section */
.team-contact {
  padding: var(--space-4xl) 0;
  background-color: var(--white);
}

.team-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.team-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-contact-card .card-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.team-contact-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-contact-card h3 {
  margin-bottom: var(--space-xs);
}

.team-role {
  color: var(--medium);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.team-email {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

/* FAQ Section */
.faq-section {
  padding: var(--space-4xl) 0;
  background-color: var(--light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-lg);
  border: 1px solid var(--light-medium);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.faq-question {
  background-color: var(--white);
  padding: var(--space-lg);
  margin: 0;
  cursor: pointer;
  position: relative;
  font-size: var(--font-size-lg);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--light);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--font-size-xl);
  color: var(--primary-color);
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: var(--space-lg);
  max-height: 500px;
}

/* Page Header */
.page-header {
  padding: var(--space-4xl) 0 var(--space-2xl);
  background: var(--primary-gradient);
  color: var(--white);
  text-align: center;
  margin-top: var(--header-height);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--font-size-lg);
}

/* About Content */
.about-content {
  padding: var(--space-3xl) 0;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.about-section.reverse {
  flex-direction: row-reverse;
}

.about-section .about-image {
  flex: 1;
  min-width: 300px;
}

.about-section .about-text {
  flex: 1;
  min-width: 300px;
}

.about-section h2 {
  margin-bottom: var(--space-lg);
  color: var(--dark);
}

/* Values Section */
.values-section {
  margin-bottom: var(--space-4xl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.value-card {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

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

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

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

/* Team Section */
.team-section {
  margin-bottom: var(--space-4xl);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.team-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

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

.team-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .card-content {
  padding: var(--space-lg);
  text-align: center;
}

.team-card h3 {
  margin-bottom: var(--space-xs);
}

.team-card .team-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

/* Timeline Section */
.timeline-section {
  margin-bottom: var(--space-4xl);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

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

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: var(--space-3xl);
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: var(--space-3xl);
}

.timeline-date {
  position: absolute;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-date {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-date {
  left: -30px;
}

.timeline-content {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

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

.timeline-content p {
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: var(--space-4xl) 0;
  background: var(--primary-gradient);
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: var(--font-size-lg);
}

/* Legal Content */
.legal-content {
  padding: var(--space-3xl) 0;
  margin-top: var(--header-height);
}

.legal-section {
  margin-bottom: var(--space-3xl);
}

.legal-section h2 {
  color: var(--dark);
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: var(--space-sm);
}

.legal-section h3 {
  color: var(--primary-color);
  margin: var(--space-xl) 0 var(--space-md);
  font-size: var(--font-size-lg);
}

/* Success Message */
.success-message {
  padding: var(--space-4xl) 0;
  margin-top: var(--header-height);
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.success-content {
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  margin: 0 auto var(--space-xl);
  width: 100px;
  height: 100px;
}

.success-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

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

.success-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* Related Content */
.related-content {
  padding: var(--space-4xl) 0;
  background-color: var(--light);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.related-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.related-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.related-card h3 {
  margin-bottom: var(--space-sm);
}

.related-card p {
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.related-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Footer */
.main-footer {
  background-color: var(--dark);
  color: var(--light);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-about {
  flex: 2;
  min-width: 300px;
}

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

.footer-about p {
  color: var(--light-medium);
}

.footer-links,
.footer-legal,
.footer-social {
  flex: 1;
  min-width: 200px;
}

.footer-links h3,
.footer-legal h3,
.footer-social h3 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
}

.footer-links ul,
.footer-legal ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li,
.footer-legal ul li,
.footer-social ul li {
  margin-bottom: var(--space-sm);
}

.footer-links ul li a,
.footer-legal ul li a,
.footer-social ul li a {
  color: var(--light-medium);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover,
.footer-social ul li a:hover {
  color: var(--white);
  text-decoration: none;
}

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

.footer-bottom p {
  color: var(--light-medium);
  margin: 0;
  font-size: var(--font-size-sm);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--white);
  padding: var(--space-lg);
  z-index: var(--z-popup);
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  :root {
    --font-size-4xl: 2.5rem;
    --font-size-3xl: 2rem;
    --font-size-2xl: 1.75rem;
    --font-size-xl: 1.25rem;
    --space-4xl: 5rem;
    --space-3xl: 3.5rem;
  }
  
  .hero {
    height: 80vh;
  }
  
  .hero-content {
    max-width: 550px;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: var(--space-4xl);
    left: 0;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-right: 0;
    padding-left: var(--space-4xl);
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date {
    left: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2.25rem;
    --font-size-3xl: 1.75rem;
    --font-size-2xl: 1.5rem;
    --font-size-xl: 1.25rem;
    --space-4xl: 4rem;
    --space-3xl: 3rem;
    --header-height: 70px;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-header.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .main-header.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .main-header.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .about-content,
  .about-section,
  .about-section.reverse {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: var(--space-lg);
  }
  
  .contact-content,
  .contact-flex {
    flex-direction: column;
  }
  
  .contact-form-container,
  .contact-form-block {
    margin-top: var(--space-2xl);
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .success-buttons {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
    --font-size-xl: 1.125rem;
    --space-4xl: 3rem;
    --space-3xl: 2.5rem;
    --space-2xl: 2rem;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .stat-widget {
    margin-bottom: var(--space-md);
  }
  
  .card {
    margin-bottom: var(--space-lg);
  }
  
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-xl);
  }
}