:root {
  --primary-color: #b18919;
  --white: #ffffff;
  --dark: #333333;
  --light-gray: #f8f9fa;
  --border-color: #e0e0e0;
  --bg-color: #140d34;
  --text-color: #e6e6e6;
  --accent-color-1: #587bc8;
  --accent-color-2: #5a54ff;
  --card-bg: rgba(30, 25, 65, 0.7);
  --section-spacing: 6rem;
  --element-spacing: 2rem;
  --transition: all 0.3s ease;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background: #140d34;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: #e6e6e6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
}

hr {
  height: 0;
  color: #eee;
  border: 1px solid #eee;
  margin: 2em 0 1em;
}
.container {
  max-width: 990px;
  padding: 0 15px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 15px;
  position: relative;
}
.input-text {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}
.input-subscribe {
  padding-right: 100px;
}
.btn-subscribe {
  color: #fff;
  background-color: #b18919;
  border-color: #b18919;
  cursor: pointer;
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  right: 0;
  padding: 0 10px;
  border: none;
  border-bottom-right-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}
.header {
  background-color: #10048e;
  padding: 30px 0;
  position: relative;
  border-bottom: #b18919;

}
.header__row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.header__logo a {
  color: #000000;
  font-size: 160%;
  font-weight: 700;
  text-decoration: none;
  color: #ffddf6;
}
.nav {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
}
.nav > li {
  margin-right: 30px;
}
.nav > li:last-child {
  margin-right: 0;
}
.nav > li > a {
  text-decoration: none;
  color: #b1b1b1;

}
.main {
  padding: 40px 0;
}
.footer {
  padding: 15px 0;
  background-color: #fafbff;
  text-align: center;
  color: #333333;
}
.footer__nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}
.footer__nav > li {
  margin: 0 10px 5px;
}
.footer__nav > li > a {
  text-decoration: underline;
  color: #333333;
}
.footer__nav > li > a:hover {
  text-decoration: none;
}



.btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background-color: #0088c7;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 110%;
  transition: background-color 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 136, 199, 0.3);
}

.btn-primary:hover {
  background-color: #006699;
  box-shadow: 0 5px 15px rgba(0, 136, 199, 0.4);
}


@media (max-width: 990px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 769px) {
  .btn__open-nav {
    display: none;
  }
}
@media (max-width: 768px) {

  .btn__open-nav {
    display: block;
    border: none;
    background: none;
    width: 40px;
  }
  .btn__open-nav span {
    display: block;
    background-color: #fff;
    width: 100%;
    height: 5px;
    margin-bottom: 6px;
  }
  .btn__open-nav span:last-child {
    margin-bottom: 0;
  }
  .nav {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 100%;
    z-index: 1;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 11;
    display: none;
  }
  .nav.open {
    display: block;
  }
  .nav > li {
    width: 100%;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
  }
  .nav > li > a {
    display: block;
    padding: 15px 15px;
  }
  
  .subscribe-form h3 {
    text-align: center;
  }

  .btn-primary {
    padding: 12px 25px;
    font-size: 100%;
  }
  
  .features__row {
    margin: 0 -15px -20px;
  }

  
  .icon-placeholder {
    font-size: 2.5rem;
  }
  
  .feature-item__content h3 {
    font-size: 120%;
  }
}




/* Cookie Popup styles */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookie-popup-text {
  flex: 1;
  color: #ffffff;
}

.cookie-popup-text h4 {
  margin: 0 0 10px 0;
  font-size: 120%;
  font-weight: 600;
  color: #ffffff;
}

.cookie-popup-text p {
  margin: 0;
  line-height: 1.5;
  font-size: 95%;
  color: #e0e0e0;
}

.cookie-popup-text a {
  color: #4fc3f7;
  text-decoration: underline;
}

.cookie-popup-text a:hover {
  color: #29b6f6;
  text-decoration: none;
}

.cookie-popup-actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 95%;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.cookie-btn-accept {
  background-color: #b18919;
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background-color: #3535d1;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(66, 66, 234, 0.4);
}

.cookie-btn-reject {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #666666;
}

.cookie-btn-reject:hover {
  background-color: #666666;
  border-color: #888888;
  transform: translateY(-2px);
}

/* Mobile adaptation for cookie popup */
@media (max-width: 768px) {
  .cookie-popup {
    padding: 15px;
  }
  
  .cookie-popup-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .cookie-popup-text h4 {
    font-size: 110%;
  }
  
  .cookie-popup-text p {
    font-size: 90%;
  }
  
  .cookie-popup-actions {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 20px;
    font-size: 90%;
  }
}

@media (max-width: 480px) {
  .cookie-popup-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

/* Thank You Page styles */
.thank-you-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
  margin-bottom: 2rem;
}

.thank-you-icon i {
  font-size: 4rem;
  color: #4caf50;
  background: rgba(76, 175, 80, 0.1);
  padding: 1rem;
  border-radius: 50%;
  display: inline-block;
}

.thank-you-content h1 {
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  font-weight: 700;
}

.thank-you-content p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.thank-you-content p:last-of-type {
  margin-bottom: 2.5rem;
}

.thank-you-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  text-decoration: none;
  background: #10048e;
  color: var(--white);
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(66, 66, 234, 0.3);
}

.thank-you-actions .btn-primary:hover {
  background: #3545d1;
  transform: translateY(-3px);
  color: var(--white);
}

.thank-you-actions .btn-primary i {
  font-size: 1.2rem;
}

/* Mobile adaptation for thank you page */
@media (max-width: 768px) {
  .thank-you-section {
    padding: 4rem 0;
  }
  
  .thank-you-content {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .thank-you-content h1 {
    font-size: 1.8rem;
  }
  
  .thank-you-content p {
    font-size: 1rem;
  }
  
  .thank-you-icon i {
    font-size: 3rem;
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .thank-you-content {
    padding: 1.5rem 1rem;
  }
  
  .thank-you-content h1 {
    font-size: 1.6rem;
  }
  
  .thank-you-actions .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}
/* Стили для футера */
.footer-section {
  background-color: #f4f4ff;
  color: #333333;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col {
  position: relative;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color-2);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #140d34;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color-1);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-nav a {
  color: #555555;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding-left: 0;
}

.footer-nav a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color-2);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--accent-color-2);
  padding-left: 5px;
}

.footer-nav a:hover::before {
  width: 100%;
}

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

.footer-contact-item .material-icons {
  color: var(--accent-color-1);
  margin-right: 0.75rem;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 1.5rem;
}

.footer-legal .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal .footer-nav li {
  margin-bottom: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: #777777;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-legal .footer-nav {
    flex-direction: column;
    gap: 0.75rem;
  }
}
/* new styles  */

/* Загальні стилі */
:root {
  --primary-color: #b18919;
  --white: #ffffff;
  --dark: #333333;
  --light-gray: #f8f9fa;
  --border-color: #e0e0e0;
  --bg-color: #140d34;
  --text-color: #e6e6e6;
  --accent-color-1: #587bc8;
  --accent-color-2: #5a54ff;
  --card-bg: rgba(30, 25, 65, 0.7);
  --section-spacing: 6rem;
  --element-spacing: 2rem;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Утилитарные классы */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(177, 137, 25, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(177, 137, 25, 0.4);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Стили для главного экрана */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(20, 13, 52, 0.7), rgba(20, 13, 52, 0.9));
}

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

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero__subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #fff;

}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-2));
  animation: float 15s infinite linear;
}

.shape:nth-child(1) {
  width: 150px;
  height: 150px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.shape:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 60%;
  left: 20%;
  animation-delay: 2s;
  animation-duration: 30s;
}

.shape:nth-child(3) {
  width: 120px;
  height: 120px;
  top: 10%;
  right: 15%;
  animation-delay: 5s;
  animation-duration: 20s;
}

.shape:nth-child(4) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  right: 10%;
  animation-delay: 8s;
  animation-duration: 22s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, 30px) rotate(90deg);
  }
  50% {
    transform: translate(30px, 10px) rotate(180deg);
  }
  75% {
    transform: translate(10px, -20px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* Медиа-запросы */
@media (max-width: 768px) {
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__subtitle {
    font-size: 1rem;
  }
  
  .shape {
    opacity: 0.05;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}
/* Стили для блоков 2-5 */
.section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
}

.section-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.col {
  padding: 15px;
  flex: 1 0 100%;
}

.col-md-6 {
  flex: 0 0 100%;
}

.col-md-3, .col-md-4 {
  flex: 0 0 100%;
}

.card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  border-left: 3px solid var(--primary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.card-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: inline-block;
}

.facts-list {
  list-style: none;
  padding: 0;
}

.facts-item {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.facts-item::before {
  content: '\e876'; /* check_circle icon */
  font-family: 'Material Icons';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
}

.article-preview {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

.article-preview:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.article-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.article-title:hover {
  color: var(--primary-color);
}

.article-meta {
  display: flex;
  align-items: center;
  opacity: 0.7;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

.article-meta i {
  font-size: 1rem;
  margin-right: 0.25rem;
}

.article-excerpt {
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* Медиа-запросы */
@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
  }
  
  .col-md-3 {
    flex: 0 0 25%;
  }
  
  .col-md-4 {
    flex: 0 0 33.333333%;
  }
}
/* Стили для блоков 6-10 */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.stat-item {
  flex: 0 0 100%;
  padding: 15px;
  margin-bottom: 1rem;
}

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

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color-2));
}


.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.expert-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.expert-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.expert-info {
  padding: 1.5rem;
}

.expert-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.expert-position {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.principle-item {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--card-bg);
  border-radius: 10px;
  counter-increment: principle;
}

.principle-item::before {
  content: counter(principle);
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.img-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.img-item {
  flex: 1 0 100%;
  border-radius: 10px;
  overflow: hidden;
  height: 390px;
}

.img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

@media (min-width: 768px) {
  .stat-item {
    flex: 0 0 50%;
  }
  
  .img-item {
    flex: 1 0 calc(50% - 0.5rem);
  }
}

@media (min-width: 992px) {
  .stat-item {
    flex: 0 0 25%;
  }
}
/* Стили для главного экрана страницы "О нас" */
.about-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20, 13, 52, 0.9) 0%, rgba(30, 25, 65, 0.95) 100%);
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, var(--primary-color) 0%, transparent 25%),
              radial-gradient(circle at 70% 70%, var(--accent-color-2) 0%, transparent 25%);
  opacity: 0.1;
  z-index: 0;
}

.about-hero__content {
  position: relative;
  z-index: 1;
  max-width: 990px;
  padding: 0 2rem;
}

.about-hero__title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.about-hero__title::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color-1));
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.about-hero__subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 2rem auto 0;
  opacity: 0.9;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.2;
  z-index: 0;
}

@media (max-width: 768px) {
  .about-hero__title {
    font-size: 2.2rem;
  }
  
  .about-hero__subtitle {
    font-size: 1rem;
  }
  
  .about-hero {
    padding: 4rem 0;
  }
}
/* Стили для блока "Рекомендуемые статьи" */
.articles-section {
  padding: 5rem 0;
}

.featured-articles {
  margin-bottom: 4rem;
}

.featured-article {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.featured-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.featured-article__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.featured-article__content {
  padding: 2rem;
}

.featured-article__title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.featured-article__title a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.featured-article__title a:hover {
  color: var(--primary-color);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.article-meta__item {
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-meta__item i {
  font-size: 1.1rem;
  margin-right: 0.35rem;
}

.article-excerpt {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.article-excerpt:last-child {
  margin-bottom: 0;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--accent-color-1);
}

.read-more i {
  margin-left: 0.35rem;
  font-size: 1.1rem;
}

.regular-articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.regular-article {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.regular-article:hover {
  border-left-color: var(--primary-color);
  transform: translateX(5px);
}

.regular-article__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.regular-article__title a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.regular-article__title a:hover {
  color: var(--primary-color);
}

.regular-article__excerpt {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.articles-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .regular-articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .featured-article {
    flex-direction: row;
    align-items: stretch;
  }
  
  .featured-article__img-container {
    flex: 0 0 40%;
  }
  
  .featured-article__img {
    height: 100%;
  }
  
  .featured-article__content {
    flex: 1;
  }
  
  .regular-articles {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Стили для блоков "Полезные материалы" и "Практические упражнения" */
.resources-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.resources-item {
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: 1rem;
  background: var(--card-bg);
  border-radius: 8px;
  transition: var(--transition);
}

.resources-item:hover {
  transform: translateX(5px);
  background: rgba(30, 25, 65, 0.9);
}

.resources-item::before {
  content: '\e89e'; /* book icon */
  font-family: 'Material Icons';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
}

.resources-item:nth-child(2)::before {
  content: '\e8a0'; /* book_online */
}

.resources-item:nth-child(3)::before {
  content: '\e06f'; /* audiotrack */
}

.resources-item:nth-child(4)::before {
  content: '\e639'; /* movie */
}

.resources-item:nth-child(5)::before {
  content: '\ef42'; /* quiz */
}

.resources-item:nth-child(6)::before {
  content: '\e8f4'; /* folder */
}

.resources-title {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.resources-description {
  font-size: 0.9rem;
  opacity: 0.8;
}
/* Измененные стили для блока "Практические упражнения" */
.exercises-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.exercise-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.exercise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.exercise-card__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.exercise-card__content {
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.exercise-card__title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.exercise-card__title i {
  margin-right: 0.75rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.exercise-card__duration {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(177, 137, 25, 0.15);
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
}

.exercise-card__steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exercise-card__step {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.5;
}

.exercise-card__step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.try-button {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  margin-top: auto;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-weight: 500;
  align-self: flex-start;
}

.try-button:hover {
  background: var(--primary-color);
  color: var(--white);
}

.try-button i {
  margin-left: 0.5rem;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .exercises-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .exercise-card__img {
    height: 280px;
  }
}

@media (min-width: 992px) {
  .exercises-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Стили для блока контактной информации */
.contact-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-text {
  margin-bottom: 2.5rem;
}

.contact-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  position: relative;
  padding-left: 3.5rem;
}

.contact-item__icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.contact-item__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.contact-item__content {
  opacity: 0.9;
  line-height: 1.5;
}

.contact-item__content a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item__content a:hover {
  color: var(--primary-color);
}

.map-container {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Стили для формы */
.feedback-form {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1;
  position: relative;
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--white);
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(20, 13, 52, 0.5);
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(177, 137, 25, 0.2);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.error-message {
  position: absolute;
  left: 0;
  bottom: -1.2rem;
  font-size: 0.75rem;
  color: #ff6b6b;
  display: none;
}

.form-input.error {
  border-color: #ff6b6b;
}

.form-input.error + .error-message {
  display: block;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(177, 137, 25, 0.3);
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(177, 137, 25, 0.4);
}

.form-submit span {
  margin-right: 0.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-row {
    flex-direction: row;
  }
  
  .contact-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .contact-items {
    grid-template-columns: repeat(3, 1fr);
  }
}