:root {
  /* Основная цветовая схема (раздельно-дополнительная) */
  --primary-color: #3a7bd5;
  --primary-dark: #2a5ea0;
  --primary-light: #5c93e5;
  --secondary-color: #e83e8c;
  --secondary-dark: #c62a76;
  --secondary-light: #f15da3;
  --accent-color: #ffc107;
  --accent-dark: #e0a800;
  --accent-light: #ffcd39;
  
  /* Нейтральные цвета */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #ced4da;
  --dark-gray: #343a40;
  --black: #000000;
  
  /* Биоморфные формы и цвета */
  --bio-green: #48d0b0;
  --bio-blue: #5ab9ea;
  --bio-purple: #9370db;
  --bio-yellow: #ffd166;
  
  /* Основные размеры и отступы */
  --space-unit: 8px;
  --space-xs: calc(var(--space-unit) * 1);
  --space-sm: calc(var(--space-unit) * 2);
  --space-md: calc(var(--space-unit) * 3);
  --space-lg: calc(var(--space-unit) * 5);
  --space-xl: calc(var(--space-unit) * 8);
  
  /* Радиусы скругления */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-circle: 50%;
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Шрифты */
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-bold: 700;
  
  /* Z-индексы */
  --z-negative: -1;
  --z-elevate: 1;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ==== Основные стили ==== */
html, body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--dark-gray);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

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

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

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

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

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

/* ==== Анимации ==== */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

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

@keyframes drawBorder {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* ==== Кнопки ==== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  text-align: center;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transform: scale(0);
  transition: transform var(--transition-normal);
  border-radius: 50%;
}

.btn:hover:before {
  transform: scale(2.5);
}

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

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

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

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

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

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

.btn-outline-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  background-color: transparent;
}

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

.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
  background-color: transparent;
}

.btn-outline-light:hover {
  color: var(--dark-gray);
  background-color: var(--white);
  border-color: var(--white);
}

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

.btn-block {
  display: block;
  width: 100%;
}

/* ==== Формы ==== */
.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dark-gray);
  background-color: var(--white);
  background-clip: padding-box;
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius-md);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.form-control:focus {
  color: var(--dark-gray);
  background-color: var(--white);
  border-color: var(--primary-light);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(58, 123, 213, 0.25);
}

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

label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-bold);
}

textarea.form-control {
  min-height: 100px;
}

/* ==== Header/Navbar ==== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  padding: var(--space-sm) 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.header.scrolled {
  padding: var(--space-xs) 0;
  background-color: rgba(0, 0, 0, 0.95);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--white);
  letter-spacing: 0.5px;
}

.navbar-brand:hover {
  color: var(--accent-color);
}

.navbar-nav .nav-link {
  color: var(--white);
  font-weight: var(--font-weight-regular);
  padding: var(--space-xs) var(--space-sm);
  position: relative;
  transition: color var(--transition-normal);
}

.navbar-nav .nav-link:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color);
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
  width: 70%;
}

/* ==== Hero Section ==== */
.hero, .page-hero {
  position: relative;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 100vh;
}

.hero .overlay, .page-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 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;
  padding: var(--space-xl) 0;
  color: var(--white);
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  color: var(--white);
  animation: fadeIn 1s ease-out;
}

.hero-content p.lead {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  animation: fadeIn 1s ease-out 0.3s forwards;
  opacity: 0;
  color: var(--white);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  animation: fadeIn 1s ease-out 0.6s forwards;
  opacity: 0;
}

.page-hero {
  min-height: 50vh;
}

.page-hero .hero-content h1 {
  font-size: 3.5rem;
}

/* ==== About Section ==== */
.about-section {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: 2.75rem;
  color: var(--dark-gray);
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

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

.section-header .subtitle {
  font-size: 1.25rem;
  color: var(--primary-color);
  opacity: 0.8;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.about-image:hover {
  transform: translateY(-5px);
}

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

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

.about-content {
  padding: var(--space-md);
}

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

.about-stats {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-lg);
}

.stat-item {
  text-align: center;
  flex: 1;
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  background-color: var(--light-gray);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.stat-text {
  display: block;
  font-size: 1rem;
  color: var(--dark-gray);
}

/* ==== Portfolio Section ==== */
.portfolio-section {
  background-color: var(--light-gray);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius-md);
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: all var(--transition-normal);
}

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

.portfolio-items {
  margin-top: var(--space-lg);
}

.portfolio-item {
  margin-bottom: var(--space-lg);
}

.card {
  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);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

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

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

.card-content p {
  margin-bottom: var(--space-md);
  color: var(--dark-gray);
}

/* ==== Team Section ==== */
.team-section {
  background-color: var(--white);
}

.team-card {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.team-card .card-image {
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.team-card .position {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

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

.social-links a {
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  transition: color var(--transition-normal);
}

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

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

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

.instructor-stats {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-lg);
}

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

.carousel-container {
  display: flex;
  transition: transform var(--transition-normal);
}

.carousel-container img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.carousel-controls button {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.carousel-controls button:hover {
  background-color: var(--primary-dark);
}

/* ==== Process Section ==== */
.process-section {
  background-color: var(--white);
}

.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-circle);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
}

.timeline-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  border-radius: var(--border-radius-circle);
  z-index: 2;
  box-shadow: var(--shadow-md);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

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

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

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

/* ==== Resources Section ==== */
.resources-section {
  background-color: var(--light-gray);
}

.resource-card {
  height: 100%;
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.resource-card .card-image {
  height: 200px;
}

.resource-link {
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  display: inline-block;
  margin-top: var(--space-sm);
  position: relative;
}

.resource-link:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.resource-link:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==== Blog Section ==== */
.blog-section {
  background-color: var(--white);
}

.blog-card {
  margin-bottom: var(--space-lg);
  height: 100%;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--primary-color);
}

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

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  margin-top: var(--space-sm);
  position: relative;
}

.read-more:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.read-more:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.innovation-content h3 {
  color: var(--primary-color);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.innovation-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.innovation-image:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(58, 123, 213, 0.1), rgba(232, 62, 140, 0.1));
  z-index: 1;
}

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

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

/* ==== Sustainability Section ==== */
.sustainability-section {
  background-color: var(--white);
}

.sustainability-content h3 {
  color: var(--bio-green);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.sustainability-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.sustainability-image:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(72, 208, 176, 0.1), rgba(58, 123, 213, 0.1));
  z-index: 1;
}

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

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

/* ==== Contact Section ==== */
.contact-section {
  background-color: var(--light-gray);
}

.contact-info {
  padding: var(--space-lg);
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
}

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

.contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-lg);
}

.contact-list li {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
}

.contact-list i {
  margin-right: var(--space-sm);
  color: var(--primary-color);
}

.social-media {
  margin-top: var(--space-lg);
}

.social-media h4 {
  margin-bottom: var(--space-sm);
}

.social-icons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.social-icon {
  color: var(--primary-color);
  transition: color var(--transition-normal);
  font-weight: var(--font-weight-bold);
}

.social-icon:hover {
  color: var(--secondary-color);
}

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

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

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

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

.footer-info p {
  color: var(--medium-gray);
  margin-bottom: var(--space-md);
}

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

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

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

.footer-links a {
  color: var(--medium-gray);
  transition: color var(--transition-normal);
}

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

.footer-newsletter h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.footer-newsletter p {
  color: var(--medium-gray);
  margin-bottom: var(--space-md);
}

.newsletter-form {
  display: flex;
  gap: var(--space-xs);
}

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

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.newsletter-form button:hover {
  background-color: var(--primary-dark);
}

.copyright {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: var(--medium-gray);
}

/* ==== Privacy and Terms Pages ==== */
.privacy-section, .terms-section {
  padding-top: 100px;
  background-color: var(--white);
}

.privacy-content, .terms-content {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl);
}

.privacy-intro, .terms-intro {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--medium-gray);
}

.privacy-item, .terms-item {
  margin-bottom: var(--space-lg);
}

.privacy-item h2, .terms-item h2 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

.privacy-item h3, .terms-item h3 {
  font-size: 1.25rem;
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.contact-box {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background-color: var(--light-gray);
  border-radius: var(--border-radius-md);
}

.terms-acceptance {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--medium-gray);
  font-weight: var(--font-weight-bold);
}

/* ==== Contact Info Section ==== */
.contact-info-section {
  background-color: var(--white);
}

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

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

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

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

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

/* ==== Map Section ==== */
.map-section {
  padding: 0;
  position: relative;
}

.map-container {
  height: 450px;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

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

.map-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));
  display: flex;
  align-items: center;
}

.office-info {
  color: var(--white);
  padding: var(--space-xl);
  max-width: 400px;
}

.office-info h3 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

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

/* ==== FAQ Section ==== */
.faq-section {
  background-color: var(--light-gray);
}

.accordion-item {
  margin-bottom: var(--space-md);
  border: none;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  font-weight: var(--font-weight-bold);
  padding: var(--space-md) var(--space-lg);
  color: var(--primary-color);
  background-color: var(--white);
}

.accordion-button:not(.collapsed) {
  color: var(--white);
  background-color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-light);
}

.accordion-body {
  padding: var(--space-lg);
  background-color: var(--white);
}

/* ==== Success Page ==== */
.success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  padding: var(--space-xl) 0;
}

.success-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl);
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.success-icon {
  margin-bottom: var(--space-lg);
  animation: scaleIn 0.5s ease;
}

.success-container h1 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  animation: fadeIn 0.5s ease 0.2s forwards;
  opacity: 0;
}

.success-message {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  animation: fadeIn 0.5s ease 0.4s forwards;
  opacity: 0;
}

.next-steps {
  margin-bottom: var(--space-lg);
  text-align: left;
  animation: fadeIn 0.5s ease 0.6s forwards;
  opacity: 0;
}

.next-steps h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.next-steps ul {
  padding-left: var(--space-lg);
}

.next-steps li {
  margin-bottom: var(--space-xs);
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  animation: fadeIn 0.5s ease 0.8s forwards;
  opacity: 0;
}

.additional-resources {
  animation: fadeIn 0.5s ease 1s forwards;
  opacity: 0;
}

.additional-resources h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.resource-links a {
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
}

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

/* ==== Newsletter Section in Success Page ==== */
.newsletter-section {
  background-color: var(--light-gray);
  padding: var(--space-xl) 0;
}

.newsletter-container {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl);
}

.newsletter-content h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.newsletter-benefits {
  margin-top: var(--space-md);
  padding-left: var(--space-lg);
}

.newsletter-benefits li {
  margin-bottom: var(--space-xs);
}

.newsletter-form-container {
  padding: var(--space-md);
}

/* ==== About History Section ==== */
.about-history {
  background-color: var(--white);
}

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

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

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

.history-content {
  padding: var(--space-md);
}

/* ==== Mission Vision Section ==== */
.mission-vision {
  background-color: var(--light-gray);
  padding: var(--space-xl) 0;
}

.mission-card, .vision-card {
  height: 100%;
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

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

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

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

.mission-card h2, .vision-card h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

/* ==== Values Section ==== */
.values-section {
  background-color: var(--white);
}

.values-container {
  justify-content: center;
}

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

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

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

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

/* ==== Executive Team Section ==== */
.executive-team {
  background-color: var(--light-gray);
}

/* ==== Impact Section ==== */
.impact-section {
  background-color: var(--white);
}

.impact-content {
  padding: var(--space-lg);
}

.impact-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.impact-stat {
  flex: 1;
  min-width: 150px;
  padding: var(--space-md);
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.impact-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.impact-stat .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.impact-stat .stat-text {
  display: block;
  font-size: 0.9rem;
  color: var(--light-gray);
}

.impact-list {
  padding-left: var(--space-lg);
}

.impact-list li {
  margin-bottom: var(--space-xs);
}

.impact-testimonials {
  padding: var(--space-lg);
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-normal);
}

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

.testimonial-content {
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-circle);
  margin-right: var(--space-md);
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0;
  color: var(--dark-gray);
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--primary-color);
}

/* ==== Partnerships Section ==== */
.partnerships-section {
  background-color: var(--light-gray);
}

.partnerships-content {
  padding: var(--space-md);
}

.partnerships-content h3 {
  color: var(--primary-color);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.partnerships-logos {
  padding: var(--space-lg);
}

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

.logo-grid img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  padding: var(--space-sm);
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-normal);
}

.logo-grid img:hover {
  transform: scale(1.05);
}

/* ==== Media Queries ==== */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
  }
  
  .timeline-content {
    width: 40%;
  }
}

@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.25rem;
  }
  
  .process-timeline:before {
    left: 30px;
  }
  
  .timeline-number {
    left: 30px;
    transform: none;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
  }
  
  .stat-item {
    padding: var(--space-sm);
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: var(--border-radius-md);
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p.lead {
    font-size: 1.25rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .about-stats,
  .instructor-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .portfolio-filter {
    flex-direction: column;
    align-items: center;
  }
  
  .impact-stats {
    flex-direction: column;
  }
  
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .timeline-content {
    padding: var(--space-md);
  }
  
  .logo-grid {
    grid-template-columns: 1fr;
  }
  
  .success-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .resource-links {
    flex-direction: column;
    align-items: center;
  }
}