:root {
  /* Основная цветовая схема (раздельно-дополнительная) */
  --primary-color: #1e3a8a; /* темно-синий */
  --primary-light: #2d4ba0;
  --primary-dark: #102255;
  --secondary-color: #e65c00; /* оранжевый */
  --secondary-light: #ff7a1a;
  --secondary-dark: #b34700;
  --accent-color: #00b8d4; /* голубой */
  --accent-light: #33c9e0;
  --accent-dark: #0086a1;
  
  /* Нейтральные цвета */
  --white: #ffffff;
  --light-gray: #f7f9fc;
  --medium-gray: #e2e8f0;
  --dark-gray: #64748b;
  --black: #1a202c;
  
  /* Текстовые цвета */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #718096;
  
  /* Функциональные цвета */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Контейнер */
  --container-width: 1200px;
  --container-padding: 2rem;
  
  /* Тени */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Закругления */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-индексы */
  --z-header: 100;
  --z-dropdown: 200;
  --z-modal: 300;
  --z-cookie: 9999;
}

/* ===== Основные стили ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-gray);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2rem;
}

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-light);
}

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

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

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 1rem auto;
  border-radius: var(--radius-sm);
}

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

/* ===== Кнопки ===== */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

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

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

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

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

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

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

/* ===== Хедер ===== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  z-index: var(--z-header);
  padding: 1rem 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

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

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

.main-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(--text-dark);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

/* ===== Hero секция ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeIn 1s ease-in-out;
}

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

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

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

/* ===== About секция ===== */
.about-section {
  padding: 6rem 0;
  background-color: var(--white);
}

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

.about-image {
  flex: 0 0 45%;
}

.about-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
  object-fit: cover;
  width: 100%;
}

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

.about-text {
  flex: 1;
}

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

/* ===== Services секция ===== */
.services-section {
  padding: 6rem 0;
  background-color: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

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

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

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

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

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

.card-content {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
}

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

/* ===== Accordion ===== */
.accordion-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.accordion-container h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.accordion {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.accordion-item {
  background-color: var(--white);
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform var(--transition-normal);
}

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

.accordion-item.active .accordion-header {
  background-color: var(--primary-light);
}

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

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

/* ===== Resources секция ===== */
.resources-section {
  padding: 6rem 0;
  background-color: var(--white);
  position: relative;
}

.resources-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./image/texture-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
}

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

.resource-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-normal);
}

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

.resource-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
}

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

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

.resource-card ul {
  list-style: none;
  text-align: left;
}

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

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

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

/* ===== Pricing секция ===== */
.pricing-section {
  padding: 6rem 0;
  background-color: var(--light-gray);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

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

.pricing-card.featured {
  border: 3px solid var(--secondary-color);
  transform: scale(1.05);
  z-index: 1;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-header {
  padding: 2rem;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.pricing-card.featured .pricing-header {
  background-color: var(--secondary-color);
}

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

.price {
  font-size: 1.8rem;
  font-weight: 700;
}

.pricing-features {
  padding: 2rem;
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.pricing-footer {
  padding: 0 2rem 2rem;
  text-align: center;
}

.pricing-note {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* ===== Timeline секция ===== */
.timeline-section {
  padding: 6rem 0;
  background-color: var(--white);
  position: relative;
}

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

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

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
  display: flex;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--secondary-color);
  border: 5px solid var(--white);
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  width: 45%;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
}

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

.timeline-item:nth-child(odd) .timeline-content::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  transform: rotate(45deg);
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(even) .timeline-content::after {
  content: '';
  position: absolute;
  top: 20px;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  transform: rotate(45deg);
  box-shadow: var(--shadow-sm);
}

/* ===== Team секция ===== */
.team-section {
  padding: 6rem 0;
  background-color: var(--light-gray);
}

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

.team-grid .card-image {
  height: 300px;
  border-radius: 50%;
  width: 300px;
  margin: 1.5rem auto;
  overflow: hidden;
}

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

.team-grid .card:hover .card-image img {
  transform: scale(1.1);
}

.position {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== Testimonials секция ===== */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--white);
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./image/quote-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  flex: 1 1 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-normal);
}

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

.testimonial-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 5px solid var(--primary-light);
}

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

.testimonial-content {
  text-align: center;
}

.quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}

.quote::before,
.quote::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
  font-family: 'Playfair Display', serif;
}

.quote::before {
  left: -5px;
  top: -10px;
}

.quote::after {
  right: -5px;
  bottom: -20px;
}

.author {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

/* ===== Success Stories секция ===== */
.success-section {
  padding: 6rem 0;
  background-color: var(--light-gray);
}

.success-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.success-story {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.success-story.reverse {
  flex-direction: row-reverse;
}

.success-image {
  flex: 0 0 45%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.success-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

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

.success-content {
  flex: 1;
}

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

.read-more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--secondary-color);
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

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

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

/* ===== Community секция ===== */
.community-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.community-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.community-image {
  flex: 0 0 45%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

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

.community-text {
  flex: 1;
}

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

.community-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  flex: 1;
}

.number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

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

.community-events h3 {
  text-align: center;
  margin-bottom: 2rem;
}

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

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

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

.event-date {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 80px;
}

.day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.event-details {
  padding: 1.5rem;
  flex: 1;
}

.event-details h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.event-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ===== Contact секция ===== */
.contact-section {
  padding: 6rem 0;
  background-color: var(--light-gray);
}

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

.contact-info {
  flex: 1;
}

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

.contact-details {
  margin: 2rem 0;
}

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

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

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

.contact-map img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-normal);
}

.contact-map:hover img {
  transform: scale(1.05);
}

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

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
  font-family: 'Source Sans Pro', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
}

/* ===== Footer секция ===== */
.main-footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

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

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

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-column p {
  color: var(--medium-gray);
}

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

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

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

.footer-column a:hover {
  color: var(--white);
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.social-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.newsletter {
  margin-top: 2rem;
}

.newsletter p {
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: none;
}

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

/* ===== Cookie Popup ===== */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 1rem;
  z-index: var(--z-cookie);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.cookie-content p {
  color: var(--white);
  margin-bottom: 0;
  margin-right: 1rem;
}

.btn-cookie-accept {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  font-weight: 600;
}

.btn-cookie-accept:hover {
  background-color: var(--secondary-light);
}

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

.success-message {
  text-align: center;
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  width: 100%;
}

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

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

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

/* ===== Privacy & Terms Pages ===== */
.page-content {
  padding: 120px 0 4rem;
}

.page-content .container {
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

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

.page-content h2 {
  margin: 2rem 0 1rem;
  color: var(--primary-color);
}

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

.page-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.page-content li {
  margin-bottom: 0.75rem;
}

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

@keyframes morphing {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.card-image, .testimonial-image, .resource-icon {
  animation: morphing 8s ease-in-out infinite;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.8rem; }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-content {
    max-width: 600px;
  }
  
  .about-content,
  .community-content,
  .contact-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .about-image,
  .community-image {
    flex: 0 0 100%;
  }
  
  .success-story,
  .success-story.reverse {
    flex-direction: column;
  }
  
  .success-image {
    flex: 0 0 100%;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    justify-content: flex-start;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-content {
    width: 85%;
    margin-left: 60px;
  }
  
  .timeline-item:nth-child(even) .timeline-content::after,
  .timeline-item:nth-child(odd) .timeline-content::after {
    left: -10px;
    right: auto;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .community-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .cookie-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .card-image {
    height: 200px;
  }
  
  .testimonial-image {
    width: 120px;
    height: 120px;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    padding: 1rem;
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
  }
  
  .team-grid .card-image {
    width: 200px;
    height: 200px;
  }
}