/* ===== Base Variables & Reset ===== */
:root {
  /* Primary Colors */
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --primary-light: #7fc3f5;
  
  /* Secondary Colors */
  --secondary-color: #e74c3c;
  --secondary-dark: #c0392b;
  --secondary-light: #f18e86;
  
  /* Accent Colors */
  --accent-color: #2ecc71;
  --accent-dark: #27ae60;
  --accent-light: #82e0aa;
  
  /* Neutral Colors */
  --dark-color: #222222;
  --medium-dark: #333333;
  --medium-color: #666666;
  --light-medium: #999999;
  --light-color: #f5f5f5;
  --white-color: #ffffff;
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(120deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(120deg, var(--secondary-color), var(--secondary-dark));
  --gradient-accent: linear-gradient(120deg, var(--accent-color), var(--accent-dark));
  --gradient-light: linear-gradient(120deg, var(--light-color), #e0e0e0);
  
  /* Biomorphic Colors */
  --bio-blue: #26c6da;
  --bio-purple: #9c27b0;
  --bio-orange: #ff9800;
  --bio-green: #4caf50;
  --bio-gradient: linear-gradient(135deg, var(--bio-blue), var(--bio-purple));
  
  /* Shadow */
  --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-large: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 15px rgba(52, 152, 219, 0.5);
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* 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;
  --radius-round: 50%;
  
  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.8s ease;
}

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

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

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

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

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

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

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

h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.1rem;
}

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

.section-title {
  text-align: center;
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-sm);
}

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

.section-subtitle {
  text-align: center;
  color: var(--medium-color);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

section {
  padding: var(--space-lg) 0;
  position: relative;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  flex: 1;
}

/* ===== Buttons ===== */
.btn, 
button, 
input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-small);
  text-align: center;
  font-size: 0.9rem;
}

.btn:hover, 
button:hover, 
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  background-color: var(--primary-dark);
  color: var(--white-color);
}

.btn:active, 
button:active, 
input[type="submit"]:active {
  transform: translateY(1px);
}

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

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

.accent-btn {
  background: var(--gradient-accent);
}

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

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

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

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--space-sm);
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

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

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

.nav-links li {
  margin-left: var(--space-sm);
}

.nav-links a {
  color: var(--medium-dark);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary-color);
  background-color: rgba(52, 152, 219, 0.1);
}

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

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

.burger-menu.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white-color);
  text-align: center;
  margin-top: 0;
  overflow: hidden;
}

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

.hero-section .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

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

.hero-section p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--white-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white-color);
  font-size: 0.9rem;
  opacity: 0.8;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--white-color);
  border-radius: 20px;
  position: relative;
  margin-bottom: 10px;
}

.wheel {
  width: 6px;
  height: 6px;
  background-color: var(--white-color);
  border-radius: var(--radius-round);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheel 1.5s infinite;
}

@keyframes wheel {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
}

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

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: var(--bio-gradient);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.1;
  filter: blur(40px);
  animation: float 10s infinite alternate;
}

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

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

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

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

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

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

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

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

.card-content p {
  color: var(--medium-color);
  margin-bottom: var(--space-sm);
}

.progress-indicator {
  width: 100%;
  height: 6px;
  background-color: #e0e0e0;
  border-radius: var(--radius-sm);
  margin: var(--space-sm) 0;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

/* ===== Projects Section ===== */
.projects-section {
  position: relative;
  overflow: hidden;
}

.projects-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: var(--bio-gradient);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.1;
  filter: blur(50px);
  z-index: -1;
  animation: float 15s infinite alternate-reverse;
}

.project-slider {
  margin-top: var(--space-md);
  position: relative;
}

.slider-container {
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
}

.slide {
  min-width: 100%;
  transition: transform var(--transition-medium);
  position: relative;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
}

.prev-btn, .next-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--white-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-small);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

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

.slider-pagination {
  display: flex;
  gap: 8px;
}

.pagination-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-round);
  background-color: var(--light-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.project-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-md) 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat .value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

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

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

.resources-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: var(--bio-gradient);
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  opacity: 0.1;
  filter: blur(40px);
  animation: float 12s infinite alternate;
}

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

/* ===== External Resources ===== */
.external-resources {
  padding: var(--space-lg) 0;
  background-color: var(--white-color);
}

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

.resource-link {
  display: flex;
  align-items: center;
  padding: var(--space-sm);
  background-color: var(--light-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  color: var(--medium-dark);
  text-decoration: none;
}

.resource-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  background-color: var(--white-color);
}

.resource-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  margin-right: var(--space-sm);
  flex-shrink: 0;
}

.resource-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.resource-info p {
  font-size: 0.9rem;
  color: var(--medium-color);
  margin: 0;
}

/* ===== Customers Section ===== */
.customers-section {
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  margin: var(--space-md) 0;
}

.testimonial {
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

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

.testimonial-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-round);
  overflow: hidden;
  margin-bottom: var(--space-sm);
  border: 4px solid var(--white-color);
  box-shadow: var(--shadow-small);
}

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

blockquote {
  font-style: italic;
  margin-bottom: var(--space-sm);
}

blockquote p {
  color: var(--medium-dark);
}

cite {
  display: block;
  font-style: normal;
  margin-top: var(--space-sm);
}

cite .name {
  font-weight: 700;
  color: var(--dark-color);
  display: block;
}

cite .position {
  font-size: 0.9rem;
  color: var(--medium-color);
}

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

.clients-logos h3 {
  margin-bottom: var(--space-md);
}

.logo-slider {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.logo-slider img {
  height: 60px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  filter: grayscale(100%);
}

.logo-slider img:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0%);
}

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

.blog-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: var(--bio-gradient);
  border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
  opacity: 0.1;
  filter: blur(60px);
  animation: float 18s infinite alternate-reverse;
}

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

.blog-date {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-cta {
  text-align: center;
  margin-top: var(--space-md);
}

/* ===== Press Section ===== */
.press-section {
  position: relative;
  overflow: hidden;
}

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

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

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

.research-section::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: var(--bio-gradient);
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
  opacity: 0.1;
  filter: blur(50px);
  animation: float 15s infinite alternate;
}

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

.research-stats {
  display: flex;
  justify-content: space-around;
  margin: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--medium-color);
}

/* ===== Media Section ===== */
.media-section {
  position: relative;
  overflow: hidden;
}

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

.media-item {
  background-color: var(--white-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-medium);
}

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

.media-thumbnail {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-round);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-fast);
}

.play-button::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-left: 18px solid var(--primary-color);
  border-bottom: 10px solid transparent;
  margin-left: 5px;
}

.media-item:hover .play-button {
  background-color: var(--primary-color);
}

.media-item:hover .play-button::after {
  border-left-color: var(--white-color);
}

.audio-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-round);
  display: flex;
  justify-content: center;
  align-items: center;
}

.audio-icon::before {
  content: '\1F50A';
  font-size: 24px;
  color: var(--primary-color);
}

.media-info {
  padding: var(--space-md);
}

.media-info h3 {
  margin-bottom: var(--space-xs);
}

.media-info p {
  color: var(--medium-color);
  margin-bottom: var(--space-sm);
}

.duration {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
}

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

.contact-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--bio-gradient);
  border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
  opacity: 0.1;
  filter: blur(40px);
  animation: float 12s infinite alternate-reverse;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.info-item h3 {
  margin-bottom: var(--space-xs);
  color: var(--primary-color);
}

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

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

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

.contact-form h3 {
  text-align: center;
  margin-bottom: var(--space-md);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 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(52, 152, 219, 0.2);
}

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

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

.form-group.checkbox label {
  margin: 0;
  font-weight: normal;
}

.form-group.focused label {
  color: var(--primary-color);
}

/* ===== Footer ===== */
.main-footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: var(--space-lg) 0 var(--space-md);
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150px;
  width: 300px;
  height: 300px;
  background: var(--bio-gradient);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.05;
  filter: blur(60px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  margin-bottom: var(--space-sm);
}

.footer-logo p {
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

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

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--light-medium);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-md);
}

.footer-social h3 {
  color: var(--white-color);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-links a {
  color: var(--light-medium);
  transition: color var(--transition-fast);
}

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

.footer-subscribe h3 {
  color: var(--white-color);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.subscribe-form {
  display: flex;
  gap: 8px;
}

.subscribe-form input {
  flex-grow: 1;
  padding: 10px 15px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
}

.footer-copyright {
  text-align: center;
  color: var(--light-medium);
  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-md);
}

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

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--accent-light);
  border-radius: var(--radius-round);
  margin: 0 auto var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: var(--white-color);
}

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

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

/* ===== Privacy & Terms Pages ===== */
.content-page {
  padding-top: 100px;
  padding-bottom: var(--space-lg);
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-md);
  background-color: var(--white-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.content-page h1 {
  text-align: center;
  margin-bottom: var(--space-md);
}

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

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

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

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

/* ===== Cookie Consent ===== */
#cookieConsent {
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

#acceptCookies:hover {
  background-color: #45a049 !important;
  box-shadow: var(--shadow-small);
}

/* ===== Animations ===== */
@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(15px, 15px) rotate(5deg);
  }
  100% {
    transform: translate(-15px, 8px) rotate(-5deg);
  }
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: var(--space-xs);
}

.mb-2 {
  margin-bottom: var(--space-sm);
}

.mb-3 {
  margin-bottom: var(--space-md);
}

.mb-4 {
  margin-bottom: var(--space-lg);
}

.mt-1 {
  margin-top: var(--space-xs);
}

.mt-2 {
  margin-top: var(--space-sm);
}

.mt-3 {
  margin-top: var(--space-md);
}

.mt-4 {
  margin-top: var(--space-lg);
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 6rem;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  :root {
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1.2rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  :root {
    --space-sm: 0.8rem;
    --space-md: 1.2rem;
  }
  
  .main-header .container {
    height: 70px;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white-color);
    box-shadow: var(--shadow-large);
    transition: right var(--transition-medium);
    z-index: 1000;
    padding: 100px var(--space-md) var(--space-md);
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-links li {
    margin: 0;
    margin-bottom: var(--space-sm);
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: var(--space-xs) 0;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .services-grid,
  .resources-grid,
  .blog-grid,
  .research-grid,
  .media-gallery,
  .press-gallery {
    grid-template-columns: 1fr;
  }
  
  .project-stats {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .footer-nav {
    grid-template-columns: 1fr;
  }
  
  .subscribe-form {
    flex-direction: column;
  }
  
  .card {
    min-width: 100%;
  }
}