/* Base Variables and Resets */
:root {
  /* Tetrad Color Scheme */
  --primary-color: #3a6ea5;
  --primary-dark: #2a517a;
  --primary-light: #5a8ec5;
  
  --secondary-color: #a53a6e;
  --secondary-dark: #7a2a51;
  --secondary-light: #c55a8e;
  
  --tertiary-color: #6ea53a;
  --tertiary-dark: #517a2a;
  --tertiary-light: #8ec55a;
  
  --quaternary-color: #a56e3a;
  --quaternary-dark: #7a512a;
  --quaternary-light: #c58e5a;
  
  /* Neutral Colors */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --medium-gray: #adb5bd;
  --dark-gray: #495057;
  --black: #212529;
  
  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Source Sans Pro', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Container widths */
  --container-max-width: 1200px;
  --container-padding: 2rem;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

h1 {
  font-size: 3.5rem;
}

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

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

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

h4 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

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

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

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

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

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

.section-description {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  text-align: center;
  color: var(--dark-gray);
}

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

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-tertiary:hover {
  background-color: var(--tertiary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: all var(--transition-fast);
}

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

.logo {
  flex: 0 0 auto;
}

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

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: var(--spacing-md);
}

.nav-links a {
  font-weight: 600;
  color: var(--dark-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

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

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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.overlay {
  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.3));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  color: var(--white);
  padding: var(--spacing-md);
  padding-top: 150px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content .subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--white);
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

/* Features Section */
.features-section {
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.feature-icon {
  margin-bottom: var(--spacing-md);
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0 auto;
}

/* History Section */
.history-section {
  background-color: var(--off-white);
}

.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.history-timeline {
  margin-top: var(--spacing-md);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--spacing-md);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 40px;
  top: 30px;
  bottom: -30px;
  width: 2px;
  background-color: var(--primary-light);
}

.timeline-item:last-child::after {
  display: none;
}

.year {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  background-color: var(--white);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.description h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

.history-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Pricing Section */
.pricing-section {
  background-color: var(--white);
}

.pricing-filters {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.filter-btn {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius-md);
  margin: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

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

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

.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.card-content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.price {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: var(--spacing-md);
}

.specs {
  margin-bottom: var(--spacing-md);
  text-align: left;
  width: 100%;
}

.pricing-note {
  margin-top: var(--spacing-lg);
  text-align: center;
  font-size: 0.9rem;
  color: var(--medium-gray);
}

/* Statistics Section */
.statistics-section {
  background-color: var(--primary-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.statistics-section h2,
.statistics-section .section-description {
  color: var(--white);
}

.statistics-section h2::after {
  background-color: var(--white);
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  backdrop-filter: blur(5px);
  transition: transform var(--transition-fast);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin-bottom: var(--spacing-md);
  overflow: hidden;
}

.progress {
  height: 100%;
  background-color: var(--secondary-color);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease-in-out;
}

.statistics-graph {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.statistics-graph h3 {
  color: var(--black);
  margin-bottom: var(--spacing-md);
}

.graph-caption {
  margin-top: var(--spacing-sm);
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* Research Section */
.research-section {
  background-color: var(--off-white);
}

.research-tabs {
  margin-top: var(--spacing-lg);
}

.tabs-nav {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--light-gray);
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-gray);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-content {
  position: relative;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

.research-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.research-text {
  padding-right: var(--spacing-lg);
}

.research-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.resource-card {
  background-color: var(--off-white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  color: var(--dark-gray);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.resource-icon {
  margin-bottom: var(--spacing-md);
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resource-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0 auto;
}

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

.link-arrow {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: var(--spacing-md);
  transition: transform var(--transition-fast);
}

.resource-card:hover .link-arrow {
  transform: translateX(10px);
}

/* Why Us Section */
.why-us-section {
  background-color: var(--off-white);
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.why-us-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.accordion {
  width: 100%;
}

.accordion-item {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  background-color: var(--white);
  padding: var(--spacing-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: var(--light-gray);
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.accordion-item.active .accordion-content {
  padding: var(--spacing-md);
  max-height: 500px;
}

/* Gallery Section */
.gallery-section {
  background-color: var(--white);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 200px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-md);
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

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

.gallery-overlay h3 {
  color: var(--white);
  margin-bottom: var(--spacing-xs);
  font-size: 1.2rem;
}

.gallery-overlay p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.gallery-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  color: var(--white);
  cursor: pointer;
}

#lightbox-image {
  max-width: 90%;
  max-height: 80vh;
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--white);
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--white);
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--off-white);
  position: relative;
}

.testimonials-carousel {
  margin-bottom: var(--spacing-xl);
}

.carousel-container {
  overflow: hidden;
  position: relative;
  margin-bottom: var(--spacing-md);
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-medium);
}

.testimonial-card {
  flex: 0 0 100%;
  padding: var(--spacing-lg);
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
}

.testimonial-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .testimonial-image {
    margin-right: var(--spacing-lg);
    margin-bottom: 0;
  }
}

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

.testimonial-content {
  flex-grow: 1;
}

.testimonial-text {
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

.testimonial-author h3 {
  margin-bottom: 0;
  color: var(--primary-color);
}

.testimonial-rating {
  color: var(--quaternary-color);
  margin-top: var(--spacing-xs);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-prev,
.carousel-next {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0 var(--spacing-sm);
  transition: background-color var(--transition-fast);
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: var(--primary-dark);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin: 0 var(--spacing-md);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--medium-gray);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--primary-color);
}

.case-studies {
  margin-top: var(--spacing-xl);
}

.case-studies h3 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

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

.case-study-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.case-study-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.case-study-content {
  padding: var(--spacing-lg);
  text-align: center;
}

/* Process Section */
.process-section {
  background-color: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.process-step {
  position: relative;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  box-shadow: var(--shadow-sm);
}

.step-icon {
  margin: var(--spacing-md) 0;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0 auto;
}

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

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

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

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

.news-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.news-date {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 5px 10px;
  font-size: 0.9rem;
}

.news-content {
  padding: var(--spacing-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.news-link {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: auto;
  display: inline-block;
  transition: all var(--transition-fast);
}

.news-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.news-newsletter {
  background-color: var(--primary-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

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

.newsletter-form {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-md);
  flex-wrap: wrap;
}

.newsletter-form input {
  flex-grow: 1;
  min-width: 250px;
  padding: 1rem;
  border: none;
  border-radius: var(--border-radius-md);
  margin-right: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

/* Workshops Section */
.workshops-section {
  background-color: var(--white);
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.workshop-card {
  background-color: var(--off-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.workshop-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.workshop-content {
  padding: var(--spacing-lg);
  position: relative;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workshop-date {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.workshop-date .day {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.workshop-date .month {
  font-size: 0.9rem;
}

.workshop-details {
  margin: var(--spacing-md) 0;
  text-align: left;
  width: 100%;
}

/* Community Section */
.community-section {
  background-color: var(--off-white);
}

.community-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  align-items: center;
}

.community-text {
  padding-right: var(--spacing-lg);
}

.community-benefits {
  margin: var(--spacing-lg) 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.benefit-icon {
  margin-right: var(--spacing-md);
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.benefit-text {
  flex-grow: 1;
}

.benefit-text h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-xs);
  color: var(--primary-color);
}

.community-cta {
  margin-top: var(--spacing-lg);
}

.community-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.community-testimonials h3 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

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

.quote-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.quote-card::before {
  content: '"';
  font-family: var(--heading-font);
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 10px;
  left: 20px;
}

.quote-author {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: var(--spacing-md);
  text-align: center;
}

/* FAQ Section */
.faq-section {
  background-color: var(--white);
}

.faq-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-lg);
}

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

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-xl);
}

.contact-form-container {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-md);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
}

.form-checkbox input {
  width: auto;
  margin-right: 10px;
}

.form-checkbox label {
  margin-bottom: 0;
}

.submit-btn {
  align-self: flex-start;
}

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

.info-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  width: 50px;
  height: 50px;
  margin-bottom: var(--spacing-sm);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.map-container {
  grid-column: 1 / -1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--spacing-md);
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding-top: var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: var(--spacing-md);
}

.footer-description {
  color: var(--light-gray);
  margin-bottom: var(--spacing-md);
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
}

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

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links li {
  margin-bottom: var(--spacing-sm);
}

.social-links a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  text-align: center;
  color: var(--medium-gray);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--off-white);
}

.success-content {
  max-width: 800px;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--tertiary-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.success-icon i {
  font-size: 50px;
  color: var(--white);
}

/* Terms & Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

.terms-content, .privacy-content {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

/* 3D Effects */
.feature-card,
.pricing-card,
.resource-card,
.case-study-card,
.workshop-card,
.process-step,
.news-card,
.testimonial-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.feature-card:hover,
.pricing-card:hover,
.resource-card:hover,
.case-study-card:hover,
.workshop-card:hover,
.process-step:hover,
.news-card:hover {
  transform: translateY(-10px) rotateX(5deg);
}

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

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

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

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

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

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

@media screen and (max-width: 992px) {
  html {
    font-size: 14px;
  }
  
  .research-content,
  .community-content,
  .why-us-content {
    grid-template-columns: 1fr;
  }
  
  .research-text,
  .community-text {
    padding-right: 0;
    margin-bottom: var(--spacing-lg);
  }
  
  .why-us-image {
    margin-bottom: var(--spacing-lg);
    order: -1;
  }
  
  .history-content {
    grid-template-columns: 1fr;
  }
  
  .history-image {
    order: -1;
    margin-bottom: var(--spacing-lg);
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content .subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .contact-form-container,
  .contact-info {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: var(--spacing-lg) 0;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .feature-card,
  .pricing-card,
  .stat-card,
  .resource-card,
  .case-study-card,
  .workshop-card,
  .process-step,
  .news-card {
    padding: var(--spacing-md);
  }
  
  .timeline-item {
    grid-template-columns: 60px 1fr;
  }
  
  .year {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }
}

/* Special Pages */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.success-content {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}

.terms-page, 
.privacy-page {
  padding-top: 100px;
}

.terms-content,
.privacy-content {
  padding: var(--spacing-xl);
}