/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Color Scheme */
:root {
  --primary-color: #059669; /* Emerald green */
  --primary-dark: #047857;
  --primary-light: #10b981;
  --secondary-color: #f3f4f6;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --gray-light: #f9fafb;
  --gray-medium: #e5e7eb;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Button Styles */
.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* Header Styles */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  position: relative;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: block;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--primary-color);
  background-color: var(--gray-light);
}

.nav-list .cta-button {
  margin-left: 0;
}

/* Mobile Menu Toggle */
.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  position: relative;
  width: 30px;
  height: 24px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  margin: 3px 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: absolute;
  border-radius: 2px;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 8px;
}

.menu-toggle span:nth-child(3) {
  top: 16px;
}

/* Mobile Menu Animation */
.menu-checkbox:checked ~ .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.menu-checkbox:checked ~ .menu-toggle span:nth-child(2) {
  transform: scale(0);
}

.menu-checkbox:checked ~ .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

/* Hero Section */
.hero {
  background: linear-gradient(
      135deg,
      rgba(5, 150, 105, 0.8),
      rgba(4, 120, 87, 0.8)
    ),
    url("images/Inspirational Learning Environment.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content p,
.hero-content h2,
.hero-content h3 {
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  color: var(--white);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.8;
  color: var(--white);
}

/* Section Styles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--gray-light);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Image Placeholder */
.image-placeholder {
  background-color: var(--gray-medium);
  border-radius: 12px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Image Styles */
.about-image,
.podcast-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 16/9;
  margin: 2rem 0;
}

.podcast-card .podcast-image {
  margin-bottom: 1.5rem;
}

/* Services Section */
.services {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Podcasts Section */
.podcasts {
  padding: 80px 0;
  background-color: var(--gray-light);
}

.podcasts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.podcast-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.podcast-card:hover {
  transform: translateY(-5px);
}

.podcast-card .image-placeholder {
  margin-bottom: 1.5rem;
}

.podcast-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.podcast-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section * {
  color: var(--white);
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: var(--white);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: var(--gray-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info .info-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.25rem;
}

.contact-info .info-item strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-medium);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.form-checkbox label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.form-checkbox a {
  color: var(--primary-color);
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  padding: 2rem;
  background-color: var(--gray-light);
  border-radius: 12px;
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section p {
  color: #d1d5db;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: var(--white);
  padding: 1rem 0;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cookie-content p {
  color: var(--white);
  margin: 0;
  flex: 1;
}

.cookie-content a {
  color: var(--primary-light);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.btn-accept,
.btn-decline {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-accept {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-accept:hover {
  background-color: var(--primary-dark);
}

.btn-decline {
  background-color: var(--gray-medium);
  color: var(--text-dark);
}

.btn-decline:hover {
  background-color: #d1d5db;
}

/* Legal Pages */
.legal-page {
  background-color: var(--gray-light);
  min-height: 100vh;
}

.legal-header {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid var(--gray-medium);
  margin-bottom: 2rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto 3rem;
  background-color: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.last-updated {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-list {
    gap: 1rem;
  }

  .nav-list a {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 0.75rem 15px;
  }

  .logo h1 {
    font-size: 1.4rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow-y: auto;
    padding-top: 70px;
  }

  .menu-checkbox:checked ~ .nav {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    align-items: stretch;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    padding: 1rem 1.5rem;
    text-align: left;
    width: 100%;
    border-radius: 8px;
    font-size: 1rem;
  }

  .nav-list a:hover {
    background-color: var(--primary-color);
    color: var(--white);
  }

  .nav-list .cta-button {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
    width: 100%;
  }

  /* Overlay для закрытия меню */
  .nav::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
  }

  .menu-checkbox:checked ~ .nav::after {
    opacity: 1;
    pointer-events: all;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .legal-content {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .header .container {
    padding: 0.5rem 15px;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  .menu-toggle {
    width: 26px;
    height: 20px;
  }

  .nav {
    padding-top: 60px;
  }

  .nav-list {
    padding: 1.5rem 1rem;
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .about,
  .services,
  .podcasts,
  .testimonials,
  .contact,
  .faq {
    padding: 60px 0;
  }

  .services-grid,
  .podcasts-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
