/* Variables */
:root {
  /* Corporate Design System Colors - Analogous Color Scheme */
  --primary-color: #3a6ea5; /* Main blue */
  --primary-light: #5183ba;
  --primary-dark: #2a5a8f;
  --secondary-color: #3a7fa5; /* Teal-blue */
  --secondary-light: #4d9cc9;
  --secondary-dark: #2a6989;
  --accent-color: #3a5ca5; /* Deep blue */
  --accent-light: #5175c9;
  --accent-dark: #2a4989;

  /* Neutral colors */
  --neutral-dark: #1e1e28;
  --neutral-medium: #5a5a6e;
  --neutral-light: #9a9aad;
  --neutral-lighter: #e5e5eb;
  --white: #ffffff;

  /* UI Element colors */
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --info-color: #2196f3;
  
  /* Typography */
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Borders and Shadows */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 25px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.05);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy */
  --transition-normal: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slow: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Container width */
  --container-width: 1200px;
  --container-padding: 1.5rem;
}

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

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

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

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

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

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

ul {
  list-style: none;
}

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

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

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-md);
  position: relative;
  color: var(--neutral-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  margin: 0.5rem auto;
  border-radius: var(--border-radius-sm);
}

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

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  font-family: var(--body-font);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1rem;
  border: none;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.5s ease;
}

.btn:hover::before {
  transform: translateX(100%) skewX(-15deg);
}

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

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

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

button, 
input[type="submit"] {
  font-family: var(--body-font);
  cursor: pointer;
}

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

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

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

.logo a h1 {
  margin-bottom: 0;
  font-size: 1.8rem;
}

.desktop-nav ul {
  display: flex;
}

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

.desktop-nav a {
  color: var(--neutral-dark);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  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: 21px;
  cursor: pointer;
}

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

.mobile-nav {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transition: top 0.3s ease-in-out;
  z-index: 999;
  display: none;
}

.mobile-nav.show {
  top: 70px;
  display: flex;
}

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

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

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: var(--space-lg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  animation: float 6s ease-in-out infinite;
}

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

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

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.animated-title {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--transition-normal) forwards;
}

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

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

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

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

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

.feature-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.feature-card p {
  color: var(--neutral-medium);
}

/* Customer Stories Section */
.customer-stories {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
  color: var(--white);
}

.customer-stories .section-title,
.customer-stories .section-subtitle {
  color: var(--white);
}

.stories-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -1rem;
  padding: 0 1rem;
}

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

.story-card {
  flex: 0 0 100%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  margin: 1rem;
}

@media (min-width: 768px) {
  .story-card {
    flex-direction: row;
  }
}

.story-image {
  flex: 1;
  overflow: hidden;
  max-height: 300px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.story-content {
  flex: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.story-content h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.client-name {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-bottom: 1rem;
}

.story-text {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.story-metrics {
  display: flex;
  gap: 2rem;
  margin-top: auto;
}

.metric {
  text-align: center;
}

.metric .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.metric .label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.prev-btn,
.next-btn {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.prev-btn:hover,
.next-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

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

.mission-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .mission-content {
    flex-direction: row;
  }
}

.mission-text {
  flex: 1;
}

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

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Statistics Section */
.statistics {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
}

.statistics .section-title {
  color: var(--white);
}

.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-widget {
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  flex: 1 1 200px;
  max-width: 250px;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-family: var(--heading-font);
}

.stat-label {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* History Section */
.history {
  padding: var(--space-xl) 0;
  background-color: var(--neutral-lighter);
}

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

.history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 42px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(58, 110, 165, 0.3);
  transform: translateX(-50%);
}

.timeline-content {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

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

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

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

.resource-card {
  background-color: var(--neutral-lighter);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

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

.resource-card ul {
  margin-top: 1rem;
}

.resource-card li {
  margin-bottom: 0.5rem;
}

.resource-card a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.resource-card a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Partners Section */
.partners {
  padding: var(--space-xl) 0;
  background-color: var(--neutral-lighter);
}

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

.partner-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-normal);
  flex: 0 0 calc(33.333% - 2rem);
  max-width: 200px;
  display: flex;
  justify-content: center;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

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

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

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

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

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

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.news-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  color: var(--neutral-medium);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

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

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 992px) {
  .contact-container {
    flex-direction: row;
  }
}

.contact-info {
  flex: 1;
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.info-item {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.info-label {
  font-weight: 700;
  min-width: 100px;
  color: var(--neutral-dark);
}

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

.contact-form-container {
  flex: 1;
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form-container h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--neutral-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-light);
  border-radius: var(--border-radius-md);
  font-family: var(--body-font);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 110, 165, 0.2);
}

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

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

.form-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: var(--space-lg);
}

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

.footer-logo p {
  color: var(--neutral-light);
}

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

.footer h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-light);
  border-radius: var(--border-radius-sm);
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

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

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

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--neutral-light);
  font-size: 0.9rem;
}

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

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

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

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

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

.success-title {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.success-message {
  margin-bottom: 2rem;
  color: var(--neutral-medium);
}

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

.page-content h1 {
  margin-bottom: 2rem;
}

.page-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.page-content p,
.page-content ul,
.page-content ol {
  margin-bottom: 1.5rem;
}

.page-content ul,
.page-content ol {
  padding-left: 2rem;
}

.page-content ul li,
.page-content ol li {
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    max-width: 992px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 768px;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-nav {

  }
}

@media (max-width: 768px) {
  .container {
    max-width: 576px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content .subtitle {
    font-size: 1.2rem;
  }
  
  .features-grid,
  .news-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .stats-container {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-widget {
    width: 100%;
    max-width: 100%;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s var(--transition-normal) forwards;
}

.slide-up {
  opacity: 0;
  animation: slideUp 1s var(--transition-normal) forwards;
}

.scale-in {
  opacity: 0;
  animation: scaleIn 1s var(--transition-normal) forwards;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

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

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

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

.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: 1.5rem;
  flex-grow: 1;
  width: 100%;
  text-align: center;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

/* Read More Links */
.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  position: relative;
  padding-right: 25px;
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform var(--transition-fast);
}

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

.read-more:hover::after {
  transform: translateX(5px);
}

/* Pages with fixed header */
.about-page,
.privacy-page,
.terms-page,
.contacts-page {
  padding-top: 100px;
}

/* Cookie Consent */
#cookieConsent {
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--white);
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  text-align: center;
}

#acceptCookies {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

#acceptCookies:hover {
  background-color: var(--primary-dark);
}

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

textarea {
  resize: none;
}