:root {
  /* Color palette */
  --color-primary: #4863f7;
  --color-primary-dark: #2a46ea;
  --color-primary-light: #6b83ff;
  --color-secondary: #ff6b6b;
  --color-secondary-dark: #e54b4b;
  --color-secondary-light: #ff9e9e;
  --color-tertiary: #44c4a1;
  --color-tertiary-dark: #2aa183;
  --color-tertiary-light: #5edebe;
  
  /* Neutral colors */
  --color-dark: #1a1d2d;
  --color-gray-dark: #484b5b;
  --color-gray: #777a8c;
  --color-gray-light: #a6a9b9;
  --color-light: #f0f2f5;
  --color-white: #ffffff;
  
  /* Gradient backgrounds */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  --gradient-tertiary: linear-gradient(135deg, var(--color-tertiary), var(--color-tertiary-light));
  --gradient-light: linear-gradient(135deg, var(--color-white), var(--color-light));
  
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 8rem;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-circle: 50%;
  
  /* Box Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-bounce: 0.5s cubic-bezier(0.5, -0.5, 0.1, 1.5);
  
  /* Container max width */
  --container-max-width: 1280px;
  --container-padding: 1.5rem;
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Adjust for fixed header */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

section:nth-of-type(1) {
  padding-top: 100px;
}

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

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

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

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

a:hover, a:focus {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 2px;
  transition: all var(--transition-normal);
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-normal);
}

.read-more:hover {
  color: var(--color-primary-dark);
}

.read-more:hover::after {
  width: 100%;
}

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

/* Button Styles */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width var(--transition-bounce);
  z-index: -1;
}

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

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

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

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Section Styles */
section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  position: relative;
  display: inline-block;
}

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

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

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

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
}

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

.logo a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
  text-decoration: none;
}

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

.nav-desktop ul li {
  margin-left: var(--spacing-lg);
}

.nav-desktop ul li a {
  font-weight: 500;
  color: var(--color-gray-dark);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-normal);
}

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

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

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

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

.burger-menu span {
  display: block;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition-normal);
}

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

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

.mobile-menu ul li {
  margin: 0.5rem 0;
  text-align: center;
}

.mobile-menu ul li a {
  font-weight: 500;
  color: var(--color-gray-dark);
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  transition: color var(--transition-normal);
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s var(--transition-normal) forwards;
}

.hero-content p {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s var(--transition-normal) 0.2s forwards;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);

  transform: translateY(30px);
}

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

/* About Section */
.about-section {
  background-color: var(--color-light);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--gradient-tertiary);
  border-radius: var(--border-radius-circle);
  opacity: 0.1;
  z-index: 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.about-image-container {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform var(--transition-normal);
}

.about-image-container:hover {
  transform: perspective(1000px) rotateY(0);
}

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

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

/* Services Section */
.services-section {
  background-color: var(--color-white);
  position: relative;
}

.services-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-circle);
  opacity: 0.1;
  z-index: 0;
}

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

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

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

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

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

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

.card-content {
  padding: var(--spacing-lg);
  flex: 1;
  text-align: center;
}

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

/* Innovation Section */
.innovation-section {
  background: var(--gradient-light);
  position: relative;
  overflow: hidden;
}

.innovation-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.innovation-text {
  max-width: 800px;
  margin: 0 auto;
}

.innovation-text p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.innovation-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
}

.stat-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  width: 220px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-size: 1rem;
  color: var(--color-gray);
}

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

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

/* FAQ Section */
.faq-section {
  background-color: var(--color-light);
  position: relative;
  overflow: hidden;
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--spacing-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

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

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

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

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

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background-color: var(--color-primary);
  border-radius: var(--border-radius-circle);
}

.timeline-content {
  position: relative;
  width: calc(50% - 30px);
  padding: var(--spacing-lg);
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

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

.timeline-item:nth-child(even) .timeline-content {
  left: calc(50% + 30px);
}

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

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

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

.resource-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  text-align: center;
}

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

.resource-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}

.resource-card p {
  color: var(--color-gray);
}

/* Research Section */
.research-section {
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.research-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.research-image-container {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

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

.research-text {
  flex: 1;
}

.research-text p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

.research-stats {
  max-width: 800px;
  margin: 0 auto;
}

.stat-progress {
  margin-bottom: var(--spacing-lg);
}

.progress-label {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.progress-bar {
  height: 10px;
  background-color: var(--color-light);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.progress-value {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-sm);
  position: relative;
  text-align: right;
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding-right: var(--spacing-sm);
  line-height: 10px;
}

/* Why Us Section */
.why-us-section {
  background: var(--gradient-light);
}

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

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

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

.testimonial {
  margin-bottom: var(--spacing-lg);
}

.testimonial-content {
  background-color: var(--color-light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.testimonial-content:hover {
  transform: translateY(-5px);
}

.testimonial-content::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.2;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-circle);
  object-fit: cover;
  margin-right: var(--spacing-md);
}

.author-info h4 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
}

.author-info p {
  margin: 0;
  color: var(--color-gray);
}

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

.workshops-content {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.workshops-image {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.workshops-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.workshops-list {
  flex: 1;
}

.workshop-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.workshop-item:hover {
  transform: translateY(-5px);
}

.workshop-item h3 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}

.workshop-meta {
  display: flex;
  justify-content: space-between;
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-top: var(--spacing-md);
}

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

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

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

.news-item:hover {
  transform: translateY(-10px);
}

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

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

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

.news-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  width: 100%;
}

.news-date {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: var(--spacing-sm);
}

.news-content h3 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
}

/* Partners Section */
.partners-section {
  background-color: var(--color-light);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  align-items: center;
}

.partner-logo {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.partner-logo:hover {
  transform: translateY(-5px);
}

.partner-logo img {
  max-width: 80%;
  max-height: 60px;
  object-fit: contain;
}

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

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

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

.blog-post:hover {
  transform: translateY(-10px);
}

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

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  margin: 0 auto;
}

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

.blog-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  width: 100%;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
}

/* Customer Stories Section */
.customer-stories-section {
  background-color: var(--color-light);
}

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

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

.story-card:hover {
  transform: translateY(-10px);
}

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

.story-card .card-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
}

/* Contact Section */
.contact-section {
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.contact-content {
  display: flex;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

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

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

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
}

.contact-map {
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(72, 99, 247, 0.2);
  outline: none;
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

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

.footer-logo h3 {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-lg);
  color: var(--color-white);
}

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

.footer-address a {
  color: var(--color-primary-light);
}

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

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.footer-nav,
.footer-legal,
.footer-social {
  min-width: 200px;
}

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

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

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

.footer-links ul li a {
  color: var(--color-gray-light);
  transition: color var(--transition-normal), transform var(--transition-normal);
  display: inline-block;
}

.footer-links ul li a:hover {
  color: var(--color-white);
  transform: translateX(5px);
}

.footer-social ul li a {
  display: flex;
  align-items: center;
}

.footer-social ul li a::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.footer-social ul li:nth-child(1) a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234863f7'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

.footer-social ul li:nth-child(2) a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234863f7'%3E%3Cpath d='M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.937 4.937 0 004.604 3.417 9.868 9.868 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63a9.936 9.936 0 002.46-2.548l-.047-.02z'/%3E%3C/svg%3E");
}

.footer-social ul li:nth-child(3) a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234863f7'%3E%3Cpath d='M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913a5.885 5.885 0 001.384 2.126A5.868 5.868 0 004.14 23.37c.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558a5.898 5.898 0 002.126-1.384 5.86 5.86 0 001.384-2.126c.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913a5.89 5.89 0 00-1.384-2.126A5.847 5.847 0 0019.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227a3.81 3.81 0 01-.899 1.382 3.744 3.744 0 01-1.38.896c-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421a3.716 3.716 0 01-1.379-.899 3.644 3.644 0 01-.9-1.38c-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678a6.162 6.162 0 100 12.324 6.162 6.162 0 100-12.324zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405a1.441 1.441 0 01-2.88 0 1.44 1.44 0 012.88 0z'/%3E%3C/svg%3E");
}

.footer-social ul li:nth-child(4) a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234863f7'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
}

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

.footer-bottom p {
  color: var(--color-gray);
  margin: 0;
}

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

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

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

/* Privacy & Terms Pages */
.content-page {
  padding-top: 120px;
  padding-bottom: var(--spacing-xl);
  min-height: 100vh;
}

.content-page .container {
  max-width: 800px;
}

.content-page h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
}

.content-page h2 {
  font-size: 1.8rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.content-page p, .content-page ul {
  margin-bottom: var(--spacing-md);
}

/* Responsive Design */
@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .about-content, 
  .research-content, 
  .workshops-content {
    flex-direction: column;
  }
  
  .timeline::before {
    left: 40px;
  }
  
  .timeline-item::after {
    left: 40px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    left: 80px !important;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .contact-content {
    flex-direction: column;
  }
  
  .stat-card {
    width: 160px;
  }
  
  .projects-grid,
  .blog-grid,
  .stories-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .innovation-stats,
  .contact-details {
    grid-template-columns: 1fr;
  }
}

/* Special Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.loading.hide {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--color-light);
  border-top: 4px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}