/* CSS Variables */
:root {
  /* Neuomorphism & Split-complementary Color Scheme */
  --primary-color: #2c7bb6; /* Base blue */
  --primary-dark: #1a5a8a;
  --primary-light: #7fb8db;
  
  --secondary-color: #d94e1f; /* Orange - complementary */
  --secondary-dark: #b03c12;
  --secondary-light: #f7a486;
  
  --accent-color: #7cb342; /* Green - split complement */
  --accent-dark: #5a8230;
  --accent-light: #aed581;
  
  /* Neutral colors */
  --white: #ffffff;
  --light-gray: #f5f5f7;
  --medium-gray: #e0e0e5;
  --dark-gray: #333333;
  --black: #000000;
  
  /* Shadows for neuomorphism */
  --shadow-light: 8px 8px 16px rgba(174, 174, 192, 0.4);
  --shadow-dark: -8px -8px 16px rgba(255, 255, 255, 0.8);
  --inner-shadow: inset 2px 2px 5px rgba(174, 174, 192, 0.2), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Sizing */
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --card-padding: 30px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

ul {
  list-style: none;
}

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

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

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

/* Neuomorphic Card Styles */
.card {
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: var(--card-padding);
  margin-bottom: 2rem;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 20px rgba(174, 174, 192, 0.5), -10px -10px 20px rgba(255, 255, 255, 0.9);
}

.card-image {
  width: 100%;
  height: 250px;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--inner-shadow);
}

.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 {
  width: 100%;
  text-align: center;
}

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

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-light);
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: var(--white);
  box-shadow: 4px 4px 10px rgba(174, 174, 192, 0.6);
}

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

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
  color: var(--white);
  box-shadow: 4px 4px 10px rgba(174, 174, 192, 0.6);
}

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

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

.btn-text {
  background: none;
  padding: 0;
  color: var(--primary-color);
  box-shadow: none;
  text-transform: none;
  font-weight: 600;
  position: relative;
}

.btn-text:hover {
  color: var(--primary-dark);
}

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

.btn-text:hover::after {
  width: 100%;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-gray);
}

input, select, textarea {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  border: none;
  background-color: var(--light-gray);
  box-shadow: var(--inner-shadow);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-light), var(--inner-shadow);
}

button, input[type="submit"] {
  cursor: pointer;
}

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

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
}

.nav-desktop {
  display: flex;
}

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

.nav-desktop li {
  margin-left: 2rem;
}

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

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

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

.nav-desktop 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;
  width: 100%;
  height: 2px;
  background-color: var(--dark-gray);
  transition: all var(--transition-fast);
}

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

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

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

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: var(--light-gray);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.nav-mobile.active {
  max-height: 500px;
}

.nav-mobile ul {
  padding: 1.5rem;
}

.nav-mobile li {
  margin-bottom: 1.5rem;
}

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

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

/* Hero Section */
.hero {
  position: relative;
  padding: 9rem 0 6rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  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.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--white);
}

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

/* Statistics Section */
.statistics {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: var(--white);
}

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

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

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-medium);
}

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

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, var(--white), var(--medium-gray));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-heading);
}

.stat-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.stat-card p {
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.9;
}

/* Case Studies Section */
.case-studies {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

/* About Us Section */
.about-us {
  padding: 5rem 0;
  background-color: var(--white);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1 1 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  transition: transform var(--transition-medium);
}

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

.about-text {
  flex: 1 1 500px;
}

.about-text h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Innovation Section */
.innovation {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.innovation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

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

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

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

/* Behind the Scenes Section */
.behind-scenes {
  padding: 5rem 0;
  background-color: var(--white);
}

.behind-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.behind-image {
  flex: 1 1 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  overflow: hidden;
}

.behind-image img {
  width: 100%;
  transition: transform var(--transition-medium);
}

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

.behind-text {
  flex: 1 1 500px;
}

.behind-text h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Accordion Styles */
.accordion {
  margin-top: 2rem;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  background-color: var(--light-gray);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  overflow: hidden;
}

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

.accordion-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
}

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

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

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

.accordion-item.active .accordion-content {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

/* Resources Section */
.resources {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

/* External Resources Section */
.external-resources {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
  color: var(--white);
}

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

.external-resources .section-header h2::after {
  background: var(--white);
}

.external-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.external-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.external-card h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
}

.external-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--white);
}

.external-card ul li {
  margin-bottom: 1rem;
}

.external-card a {
  color: var(--white);
  opacity: 0.9;
  transition: opacity var(--transition-fast);
  position: relative;
  padding-left: 20px;
}

.external-card a::before {
  content: '→';
  position: absolute;
  left: 0;
  transition: transform var(--transition-fast);
}

.external-card a:hover {
  opacity: 1;
  color: var(--white);
}

.external-card a:hover::before {
  transform: translateX(5px);
}

/* News Section */
.news {
  padding: 5rem 0;
  background-color: var(--white);
}

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

.news-date {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 500;
}

/* Community Section */
.community {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.community-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.community-image {
  flex: 1 1 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  overflow: hidden;
}

.community-image img {
  width: 100%;
  transition: transform var(--transition-medium);
}

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

.community-text {
  flex: 1 1 500px;
}

.community-text h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--white);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

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

.info-item {
  margin-bottom: 2rem;
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.info-item p {
  color: var(--dark-gray);
}

.contact-form {
  flex: 1 1 500px;
  background-color: var(--light-gray);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1 1 300px;
}

.footer-logo h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  flex: 1 1 600px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 200px;
  margin-bottom: 2rem;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-column ul li {
  margin-bottom: 1rem;
}

.footer-column a {
  color: var(--medium-gray);
  transition: color var(--transition-fast);
}

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

.social-links li {
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-block;
  color: var(--medium-gray);
  transition: color var(--transition-fast);
}

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

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

.footer-bottom p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

.success-content {
  max-width: 600px;
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
}

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

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

.success-content p {
  margin-bottom: 2rem;
}

/* Static Pages (Privacy, Terms) */
.static-page {
  padding-top: 120px;
  padding-bottom: 5rem;
}

.static-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
}

.static-content h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.static-content h2 {
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.static-content p {
  margin-bottom: 1.5rem;
}

.static-content ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.static-content ul li {
  margin-bottom: 0.5rem;
}

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

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Drawn animation effect for buttons */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(255,255,255,0.3)" stroke-width="2" stroke-dasharray="6" /></svg>');
  background-size: cover;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.btn:hover::before {
  opacity: 1;
}

/* Cookie Consent Styles */
#cookie-consent {
  border-radius: 10px 10px 0 0;
  font-family: var(--font-body);
}

#cookie-consent p {
  margin: 0 0 1rem;
  max-width: 800px;
  margin: 0 auto 1rem;
}

#accept-cookies {
  background-color: var(--accent-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#accept-cookies:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Media Queries */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.3rem;
  }
  
  .case-studies-grid,
  .news-grid,
  .resources-grid,
  .innovation-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .hero {
    padding: 8rem 0 5rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .services-grid,
  .statistics-grid,
  .case-studies-grid,
  .external-grid,
  .news-grid,
  .resources-grid,
  .innovation-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content,
  .behind-content,
  .community-content,
  .contact-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .about-image,
  .behind-image,
  .community-image {
    order: 1;
  }
  
  .about-text,
  .behind-text,
  .community-text {
    order: 2;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .footer-logo,
  .footer-column {
    flex: 1 1 100%;
  }
}