/*
 * InverArg - Retro Design System with Responsive Typography
 * Split-Complementary Color Scheme
 * Scroll-Dependent Effects
 */

/* ===== CSS Variables ===== */
:root {
  /* Primary Colors */
  --primary-color: #e07c30; /* Orange - Retro primary */
  --primary-dark: #b35a1e;
  --primary-light: #ff9c5a;
  
  /* Complementary Colors */
  --complementary-color: #30a4e0; /* Blue */
  --complementary-dark: #1e7ab3;
  --complementary-light: #5abeff;
  
  /* Split-Complementary Colors */
  --split-comp-1: #9630e0; /* Purple */
  --split-comp-1-dark: #6e1eb3;
  --split-comp-1-light: #c25aff;
  
  --split-comp-2: #30e07c; /* Green */
  --split-comp-2-dark: #1eb35a;
  --split-comp-2-light: #5affb2;

  /* Neutral Colors */
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-medium: #e8e8e8;
  --background-dark: #2d3436;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-complementary: linear-gradient(135deg, var(--complementary-color), var(--complementary-light));
  --gradient-split-1: linear-gradient(135deg, var(--split-comp-1), var(--split-comp-1-light));
  --gradient-split-2: linear-gradient(135deg, var(--split-comp-2), var(--split-comp-2-light));
  
  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
  
  /* Typography */
  --heading-font: 'Manrope', sans-serif;
  --body-font: 'Rubik', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;
  
  /* Containers */
  --container-max-width: 1200px;
  --container-padding: 1rem;
  
  /* Overlay */
  --overlay-dark: rgba(0, 0, 0, 0.5);
  --overlay-darker: rgba(0, 0, 0, 0.7);
}

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

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

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

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

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.2rem;
}

h6 {
  font-size: 1rem;
}

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

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

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

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

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

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

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

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

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

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

/* ===== Button Styles ===== */
.button {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.button.primary {
  background: var(--gradient-primary);
  color: var(--text-light);
}

.button.primary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.button.secondary:hover {
  background-color: rgba(224, 124, 48, 0.1);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

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

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

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

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

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

.desktop-nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

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

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

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

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

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.mobile-nav {
  display: none;
  background-color: white;
  padding: var(--space-md) 0;
  box-shadow: var(--shadow-md);
}

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

.mobile-nav li {
  margin-bottom: var(--space-md);
  text-align: center;
}

.mobile-nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.1rem;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  width: 100%;
  margin-top: 80px; /* Header height offset */
}

.hero-background {
  position: relative;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
}

.hero-content {
  position: relative;
  padding: var(--space-xxl) 0;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.4s ease;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: var(--space-xl);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.6s ease;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  animation: fadeInUp 1.8s ease;
}

/* ===== Features Section ===== */
.features-section {
  padding: var(--space-xxl) 0;
  background-color: var(--background-light);
}

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

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

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

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

.feature-icon img {
  border-radius: var(--radius-full);
  object-fit: cover;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

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

.feature-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* ===== Portfolio Section ===== */
.portfolio-section {
  padding: var(--space-xxl) 0;
  background-color: var(--background-medium);
}

.portfolio-carousel {
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
}

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

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

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  overflow: hidden;
}

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

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

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

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

.carousel-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-md);
  z-index: 10;
}

.carousel-prev, .carousel-next {
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.carousel-prev:hover, .carousel-next:hover {
  background-color: white;
  box-shadow: var(--shadow-md);
}

/* ===== Statistics Section ===== */
.statistics-section {
  padding: var(--space-xxl) 0;
  background: var(--gradient-complementary);
  color: var(--text-light);
}

.statistics-section .section-header h2 {
  color: white;
}

.statistics-section .section-header h2:after {
  background: white;
}

.statistics-section .section-header p {
  color: rgba(255, 255, 255, 0.9);
}

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

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

.statistic-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.statistic-icon img {
  border-radius: var(--radius-full);
  object-fit: cover;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.statistic-value {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: white;
}

.statistic-card h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: var(--space-md);
}

.statistic-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* ===== Methodology Section ===== */
.methodology-section {
  padding: var(--space-xxl) 0;
  background-color: white;
}

.methodology-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xl);
}

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

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

.methodology-steps {
  flex: 1;
  min-width: 300px;
}

.step {
  display: flex;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

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

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

.step-content p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* ===== Partners Section ===== */
.partners-section {
  padding: var(--space-xxl) 0;
  background-color: var(--background-light);
}

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

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

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

.partner-logo {
  height: 100px;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

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

.partner-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

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

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

.resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--background-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.resource-icon img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto;
}

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

.resource-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

/* ===== Sustainability Section ===== */
.sustainability-section {
  padding: var(--space-xxl) 0;
  background-color: var(--background-light);
}

.sustainability-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xl);
}

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

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

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

.sustainability-text h3 {
  font-size: 2rem;
  color: var(--split-comp-2-dark);
  margin-bottom: var(--space-lg);
}

.sustainability-text p {
  color: var(--text-medium);
  margin-bottom: var(--space-md);
}

.sustainability-highlights {
  margin: var(--space-lg) 0;
}

.highlight {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

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

.highlight-icon img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.highlight-text h4 {
  font-size: 1.1rem;
  color: var(--split-comp-2);
  margin: 0;
}

/* ===== Media Section ===== */
.media-section {
  padding: var(--space-xxl) 0;
  background-color: white;
}

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

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

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

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

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

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

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

.media-content p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.media-source {
  font-size: 0.85rem;
  color: var(--complementary-color);
  font-style: italic;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: var(--space-xxl) 0;
  background: var(--gradient-split-1);
  color: white;
}

.contact-section .section-header h2 {
  color: white;
}

.contact-section .section-header h2:after {
  background: white;
}

.contact-section .section-header p {
  color: rgba(255, 255, 255, 0.9);
}

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

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

.info-card {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

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

.info-icon img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
}

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

.info-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.contact-image {
  margin-top: var(--space-lg);
}

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

.contact-form-container {
  flex: 1;
  min-width: 300px;
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form-container h3 {
  font-size: 1.5rem;
  color: var(--split-comp-1);
  margin-bottom: var(--space-lg);
  text-align: center;
}

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-family: var(--body-font);
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

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

.checkbox-label {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  font-weight: normal;
}

.checkbox-label input {
  width: auto;
  margin-right: var(--space-sm);
}

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

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xl);
}

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

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

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

.footer-contact p {
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-xl);
}

.footer-links-column {
  min-width: 150px;
}

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

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

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

.footer-links-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-links-column a:hover {
  color: var(--primary-light);
}

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

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

.social-links a:before {
  margin-right: 8px;
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

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

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

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

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

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

/* ===== Terms & Privacy Pages ===== */
.legal-content {
  padding-top: 100px; /* Space for fixed header */
  padding-bottom: var(--space-xxl);
  max-width: 800px;
  margin: 0 auto;
}

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

.legal-content h2 {
  color: var(--primary-dark);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content p, .legal-content ul, .legal-content ol {
  margin-bottom: var(--space-md);
}

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

/* ===== Media Queries ===== */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-nav.active {
    display: block;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content h2 {
    font-size: 1.6rem;
  }
  
  .methodology-content, 
  .sustainability-content {
    flex-direction: column;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .button {
    width: 100%;
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content h2 {
    font-size: 1.4rem;
  }
  
  .statistic-value {
    font-size: 2.5rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    justify-content: flex-start;
    margin-top: var(--space-lg);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content h2 {
    font-size: 1.2rem;
  }
  
  .card-content {
    padding: var(--space-md);
  }
  
  .contact-form-container {
    padding: var(--space-md);
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* ===== JavaScript Components ===== */
.js-scroll-reveal {
  opacity: 0;
  transition: opacity 0.6s, transform 0.6s;
}

.js-scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0) !important;
}

[data-sr="enter left"] {
  transform: translateX(-50px);
}

[data-sr="enter right"] {
  transform: translateX(50px);
}

[data-sr="enter bottom"] {
  transform: translateY(50px);
}