/* === Base Styles and Variables === */
:root {
  /* Color Palette - Analogous scheme */
  --primary-color: #2c58d3;
  --primary-light: #4a7cf8;
  --primary-dark: #1e3e9a;
  --secondary-color: #5c42e6;
  --secondary-light: #7b68ff;
  --secondary-dark: #4130b0;
  --accent-color: #2cc3d3;
  --accent-light: #4eecff;
  --accent-dark: #1a8a9a;
  
  /* Text Colors */
  --text-dark: #1a1a2e;
  --text-medium: #455073;
  --text-light: #6b7c99;
  --text-white: #ffffff;
  
  /* Backgrounds */
  --bg-light: #f5f7ff;
  --bg-medium: #e9ecf6;
  --bg-dark: #1a1a2e;
  --bg-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --bg-gradient-light: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
  --shadow-neo: 5px 5px 0px 0px var(--primary-dark);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Container widths */
  --container-sm: 600px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* === Global Components === */

/* Buttons */
.btn, button, input[type="submit"] {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: var(--shadow-neo);
  transform: translateY(0);
}

.btn:hover, button:hover, input[type="submit"]:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0px 0px var(--primary-dark);
  text-decoration: none;
}

.btn:active, button:active, input[type="submit"]:active {
  transform: translateY(2px);
  box-shadow: 3px 3px 0px 0px var(--primary-dark);
}

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

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

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

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

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

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

.submit-btn {
  background-color: var(--accent-color);
  color: var(--text-white);
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--accent-light);
}

.news-btn {
  background-color: var(--accent-color);
  color: var(--text-white);
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  margin-top: var(--space-sm);
}

.news-btn:hover {
  background-color: var(--accent-light);
  color: var(--text-white);
}

/* Cards */
.card {
  background-color: var(--text-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: var(--space-md);
  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 0.5s ease;
}

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

.card-content {
  padding: var(--space-md);
  width: 100%;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  color: var(--text-dark);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30%;
  width: 40%;
  height: 4px;
  background: var(--bg-gradient);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

/* === Layout Components === */

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

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
}

.logo a {
  text-decoration: none;
}

.logo h1 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--primary-color);
}

.logo span {
  color: var(--secondary-color);
}

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

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

.desktop-nav a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

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

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

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

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

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: var(--text-white);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

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

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

.mobile-nav a {
  font-size: 1.2rem;
  color: var(--text-dark);
  display: block;
  padding: var(--space-xs) 0;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-xl) 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 0;
}

.hero .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.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--text-white);
}

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

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--text-white);
  opacity: 0.9;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  color: var(--text-white);
  opacity: 0.85;
}

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

/* Mission Section */
.mission {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.mission-content {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.mission-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-neo);
  transition: transform 0.3s ease;
}

.mission-image:hover {
  transform: translateY(-10px);
}

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

.mission-text {
  flex: 1;
}

.mission-text h3 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.mission-features {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-xs);
  display: block;
}

.feature-item h4 {
  font-size: 1.1rem;
  margin: 0;
}

/* Features Section */
.features {
  padding: var(--space-xl) 0;
  background-color: var(--text-white);
}

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

.feature-card {
  height: 100%;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-neo);
}

.feature-card .card-image {
  height: 250px;
}

/* Process Section */
.process {
  padding: var(--space-xl) 0;
  background-color: var(--bg-medium);
}

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

.timeline {
  position: relative;
}

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

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

.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-gradient);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: var(--space-md);
  background-color: var(--text-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-neo);
  transition: transform 0.3s ease;
}

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

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

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

.timeline-content img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-top: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

/* Research Section */
.research {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

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

.research-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.research-item.reverse {
  flex-direction: row-reverse;
}

.research-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-neo);
  transition: transform 0.3s ease;
}

.research-image:hover {
  transform: translateY(-10px);
}

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

.research-text {
  flex: 1;
}

.research-text h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

/* Resources Section */
.resources {
  padding: var(--space-xl) 0;
  background-color: var(--text-white);
}

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

.resource-card {
  text-align: center;
  padding: var(--space-md);
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-neo);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.resource-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

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

.resource-link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--accent-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* Statistics Section */
.statistics {
  padding: var(--space-xl) 0;
  background-color: var(--bg-gradient);
  color: var(--text-white);
}

.statistics .section-header h2,
.statistics .section-header p {
  color: var(--text-white);
}

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

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.stats-item {
  text-align: center;
  padding: var(--space-md);
  flex: 1;
  min-width: 200px;
}

.stats-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
  position: relative;
  display: inline-block;
}

.stats-number::after {
  content: '%';
  font-size: 2rem;
  position: absolute;
  top: 0;
  right: -25px;
}

.stats-item h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
  color: var(--text-white);
  opacity: 0.9;
}

.stats-item p {
  font-size: 1rem;
  opacity: 0.8;
}

.stats-graph {
  text-align: center;
  margin-top: var(--space-lg);
}

.stats-graph img {
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}

.stats-caption {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  opacity: 0.7;
  text-align: center;
}

/* Customer Stories Section */
.customer-stories {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.stories-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-neo);
}

.story-slide {
  display: none;
  background-color: var(--text-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
}

.story-slide.active {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.story-image {
  flex: 0 0 350px;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.story-content {
  flex: 1;
}

.story-content h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-xs);
  color: var(--primary-color);
}

.story-role {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: var(--space-sm);
  font-style: italic;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.6;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-md);
}

.prev-btn, .next-btn {
  background-color: var(--primary-color);
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  border: none;
  padding: 0;
  margin: 0 var(--space-sm);
  transition: all 0.3s ease;
}

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

.slider-dots {
  display: flex;
  gap: var(--space-xs);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--bg-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

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

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

.success-card {
  height: 100%;
}

.success-card .card-content h3 {
  color: var(--primary-color);
}

.success-metrics {
  display: flex;
  justify-content: space-around;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--bg-medium);
}

.metric {
  text-align: center;
}

.metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-color);
  display: block;
  font-family: var(--font-heading);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-medium);
}

/* News Section */
.news {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

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

.news-card {
  height: 100%;
}

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

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

/* Awards Section */
.awards {
  padding: var(--space-xl) 0;
  background-color: var(--text-white);
}

.awards-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.award-item {
  text-align: center;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-neo);
  transition: transform 0.3s ease;
}

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

.award-item h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
  color: var(--primary-color);
}

.award-item p {
  color: var(--text-medium);
}

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

.contact-container {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.contact-details {
  margin: var(--space-md) 0;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: var(--space-sm);
  color: var(--primary-color);
}

.contact-image {
  margin-top: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-neo);
}

.contact-form {
  flex: 1;
  background-color: var(--text-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-neo);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
  text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--bg-medium);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 88, 211, 0.1);
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
}

.custom-checkbox input {
  width: auto;
  margin-right: var(--space-xs);
  margin-top: 0.3rem;
}

.custom-checkbox label {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: var(--space-lg) 0 var(--space-md);
}

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

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo h2 {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
  color: var(--text-white);
}

.footer-logo span {
  color: var(--accent-light);
}

.footer-logo p {
  opacity: 0.8;
}

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

.footer-column {
  flex: 1;
  min-width: 160px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--text-white);
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--bg-gradient);
  border-radius: 1.5px;
}

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

.footer-column li {
  margin-bottom: var(--space-xs);
}

.footer-column a {
  color: var(--text-white);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  opacity: 1;
  color: var(--accent-light);
  text-decoration: none;
  transform: translateX(5px);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
  opacity: 0.8;
}

.social-links {
  margin-top: var(--space-md);
}

.social-icons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.social-icons a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  color: var(--text-white);
  text-decoration: none;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

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

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.9rem;
}

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

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

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

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

/* Privacy and Terms pages */
.page-content {
  padding-top: 100px;
  padding-bottom: var(--space-xl);
}

.page-content .container {
  max-width: 800px;
  background-color: var(--text-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-neo);
}

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

.page-content h2 {
  color: var(--secondary-color);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.8rem;
}

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

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

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .mission-content,
  .research-item,
  .research-item.reverse {
    flex-direction: column;
  }
  
  .mission-image,
  .research-image,
  .mission-text,
  .research-text {
    width: 100%;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  
  .story-slide.active {
    flex-direction: column;
  }
  
  .story-image {
    width: 100%;
    margin-bottom: var(--space-md);
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-content {
    text-align: center;
    padding: 0 var(--space-sm);
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .stats-item {
    flex: 0 0 50%;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .footer-links {
    width: 100%;
  }
  
  .footer-column {
    flex: 0 0 100%;
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: var(--space-xs);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .stats-item {
    flex: 0 0 100%;
  }
  
  .story-image {
    height: 250px;
  }
  
  .award-item {
    flex: 0 0 100%;
  }
}

/* Animation classes */
.animated-float {
  animation: float 5s ease-in-out infinite;
}

.animated-rotate {
  animation: rotate 20s linear infinite;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-light: #1a1a2e;
    --bg-medium: #16213e;
    --text-dark: #e6e6e6;
    --text-medium: #b8b8b8;
    --text-light: #8a8a8a;
  }
  
  .card, 
  .timeline-content, 
  .story-slide, 
  .contact-form,
  .success-content,
  .page-content .container {
    background-color: #222639;
  }
  
  .header {
    background-color: rgba(26, 26, 46, 0.9);
  }
  
  .mobile-nav {
    background-color: #1a1a2e;
  }
  
  .desktop-nav a,
  .mobile-nav a {
    color: var(--text-white);
  }
  
  input, select, textarea {
    background-color: #2a2a4a;
    color: var(--text-white);
    border-color: #3a3a5a;
  }
  
  input::placeholder, textarea::placeholder {
    color: #8a8a8a;
  }
}