:root {
  --primary-color: #8f8ea0;
  --primary-dark: #6f1327;
  --accent-color: #484750;
  --bg-color: #f3f3f3;
  --white: #ffffff;
  --dark: #333333;
  --border-color: #e0e0e0;
  --overlay-dark: rgba(0, 0, 0, 0.4);
  --radius: 5px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background:#f3f3f3;
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  color: #666666;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Mulish", 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: #8f8ea0;
  border-color: #8f8ea0;
  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: #ffffff;
  padding: 30px 0;
  position: relative;
  border-bottom: #a622c7;
}
.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;
  text-transform: uppercase;
}
.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: #000000;
}
.nav > li > a:hover {
  color: #0088c7;
}

.main {
  padding: 40px 0;
}

.contact-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}
.contact-section__row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0 -15px;
}
.contact-section__col {
  width: 33.33%;
  padding: 0 15px;
}

.footer {
  padding: 15px 0;
  background-color: #f1f1f1;
  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: #000000;
    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;
  }
  
  .contact-section {
    padding: 30px 0;
  }
  .contact-section__row {
    flex-wrap: wrap;
    margin: 0 -15px -30px;
  }
  .contact-section__col {
    width: 100%;
    padding: 0 15px 30px;
  }
  .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: #8f8ea0;
  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: var(--primary-color);
  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: #3535d1;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(66, 66, 234, 0.4);
  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;
  }
}

/* new style  */

/* Стилі для блоку "О нас" (головний екран для другої сторінки) */
.about-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
  z-index: 1;
}

.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 2px;
}

.about-hero-title {
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-hero-subtitle {
  font-size: 1.4rem;
  color: var(--white);
  margin-top: 1.5rem;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.9;
}

.about-hero-divider {
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 20px auto;
  display: block;
}

/* Анімація при завантаженні */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-hero-title,
.about-hero-subtitle,
.about-hero-divider {
  animation: fadeInUp 0.8s ease forwards;
}

.about-hero-title {
  animation-delay: 0.2s;
}

.about-hero-divider {
  animation-delay: 0.4s;
}

.about-hero-subtitle {
  animation-delay: 0.6s;
}

/* Адаптивність */
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2.5rem;
  }
  
  .about-hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .about-hero {
    min-height: 400px;
  }
  
  .about-hero-title {
    font-size: 2rem;
  }
  
  .about-hero-subtitle {
    font-size: 1.1rem;
  }
}

/* Стилі для футера */
.footer-section {
  background: #2c2c2c;
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.disclaimer-text {
  color: #cccccc;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.footer-nav li {
  margin-bottom: 0.8rem;
}

.footer-nav a {
  color: #cccccc;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary-color);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: #cccccc;
}

.footer-contact-item .material-icons {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.footer-contact-item span {
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid #444444;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #999999;
  font-size: 0.9rem;
  margin: 0;
}

.disclaimer-section {
  background: #1a1a1a;
  padding: 1.5rem 0;
  border-top: 1px solid #333333;
}

.disclaimer-content {
  text-align: center;
}

.disclaimer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

.disclaimer-text-bottom {
  color: #aaaaaa;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

/* Адаптивність */
@media (max-width: 968px) {
  .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
  }
  
  .footer-col:first-child {
      grid-column: 1 / -1;
      margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .footer-section {
      padding: 40px 0 15px;
  }
  
  .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  
  .footer-col:first-child {
      grid-column: auto;
  }
  
  .disclaimer-section {
      padding: 1rem 0;
  }
}

@media (max-width: 480px) {
  .footer-grid {
      gap: 1.5rem;
  }
  
  .footer-contact-item {
      flex-direction: column;
      gap: 0.5rem;
      align-items: flex-start;
  }
  
  .footer-contact-item .material-icons {
      margin-top: 0;
  }
}


/*# sourceMappingURL=styles.css.map*/


/* new styles  */
/* Загальні стилі */
:root {
  --primary-color: #8f8ea0;
  --primary-dark: #6f1327;
  --accent-color: #484750;
  --bg-color: #f3f3f3;
  --white: #ffffff;
  --dark: #333333;
  --border-color: #e0e0e0;
  --overlay-dark: rgba(0, 0, 0, 0.4);
  --radius: 5px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  color: var(--dark);
  background-color: var(--bg-color);
  line-height: 1.6;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Стилі для блоку Hero */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(0.8);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--overlay-dark) 30%, transparent);
  z-index: -1;
}

.hero__content {
  max-width: 650px;
  padding: 30px;
  position: relative;
  z-index: 1;
  animation: fadeIn 1.5s ease-out;
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
  font-size: 1.25rem;
  margin-bottom: 35px;
  color: var(--white);
  font-weight: 400;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
  max-width: 580px;
}

.hero__decoration {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}

.hero__decoration::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
}

/* Анімації */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Адаптивність */
@media (max-width: 768px) {
  .hero__content {
    max-width: 100%;
    padding: 20px;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__subtitle {
    font-size: 1.1rem;
  }
  
  .hero::after {
    background: linear-gradient(to top, var(--overlay-dark) 30%, rgba(0, 0, 0, 0.3));
  }
}

@media (max-width: 480px) {
  .hero {
    height: 100vh;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .btn {
    padding: 10px 24px;
    font-size: 14px;
  }
  
  .hero__decoration {
    width: 80px;
    height: 80px;
    bottom: 20px;
    right: 20px;
  }
}
/* Стилі для блоку "О проекте" */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent-color);
  text-align: center;
  position: relative;
  font-weight: 700;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
}

.text-block {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.text-block p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--dark);
}

.text-block p:last-child {
  margin-bottom: 0;
}

/* Стилі для блоку "Для кого" */
.features {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.feature-item {
  background-color: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: rgba(143, 142, 160, 0.1);
  border-radius: 50%;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-icon i {
  font-size: 30px;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--accent-color);
  font-weight: 600;
}

.feature-text {
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.6;
}

/* Стилі для блоку "Популярные темы" */
.topics {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.topic-card {
  background-color: var(--white);
  padding: 30px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary-color);
  opacity: 0.7;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: rgba(143, 142, 160, 0.1);
  border-radius: 50%;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.topic-icon i {
  font-size: 36px;
}

.topic-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent-color);
  font-weight: 600;
}

.topic-description {
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.6;
}

/* Стилі для блоку "Последние статьи" */
.articles {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.article-image {
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 25px;
}

.article-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--accent-color);
  font-weight: 600;
  line-height: 1.4;
}

.article-text {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.article-link i {
  margin-left: 5px;
  font-size: 18px;
  transition: var(--transition);
}

.article-link:hover {
  color: var(--primary-dark);
}

.article-link:hover i {
  transform: translateX(3px);
}

/* Адаптивність */
@media (max-width: 992px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .topics {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .text-block p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .features {
    grid-template-columns: 1fr;
  }
  
  .topics {
    grid-template-columns: 1fr;
  }
  
  .articles {
    grid-template-columns: 1fr;
  }
  
  .article-image {
    height: 180px;
  }
}
/* Стилі для блоку детальних статей */
.article-detail {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.article-header {
  margin-bottom: 30px;
  text-align: center;
}

.article-detail-title {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.article-meta span {
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.article-meta i {
  font-size: 18px;
  margin-right: 5px;
}

.article-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--primary-color);
  margin-bottom: 30px;
  padding: 15px;
  border-left: 3px solid var(--primary-color);
  background-color: rgba(143, 142, 160, 0.05);
}

.article-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark);
}

.article-section {
  margin-top: 40px;
  margin-bottom: 30px;
}

.article-section-title {
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.article-list {
  list-style-position: inside;
  padding-left: 15px;
  margin-bottom: 30px;
}

.article-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 15px;
}

.article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.article-tip {
  background-color: rgba(143, 142, 160, 0.1);
  padding: 20px;
  border-radius: var(--radius);
  margin: 30px 0;
  position: relative;
}

.article-tip::before {
  content: 'Совет';
  position: absolute;
  top: -10px;
  left: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3px 15px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

.article-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.article-nav-link {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.article-nav-link:hover {
  color: var(--primary-dark);
}

.article-nav-link.prev i {
  margin-right: 8px;
}

.article-nav-link.next i {
  margin-left: 8px;
}

@media (max-width: 768px) {
  .article-detail-title {
    font-size: 1.7rem;
  }
  
  .article-intro {
    font-size: 1rem;
  }
  
  .article-content p {
    font-size: 1rem;
  }
  
  .article-section-title {
    font-size: 1.3rem;
  }
}
/* Стилі для блоку "7 признаков токсичных отношений" */
.article-full {
  margin: 0 auto;
  padding: 30px;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-header {
  text-align: center;
  margin-bottom: 40px;
}

.article-full-title {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: var(--dark);
}

.signs-list {
  counter-reset: signs-counter;
  list-style: none;
  padding: 0;
}

.sign-item {
  position: relative;
  padding: 25px 30px 25px 80px;
  margin-bottom: 20px;
  background-color: rgba(143, 142, 160, 0.05);
  border-radius: var(--radius);
  transition: var(--transition);
}

.sign-item:hover {
  transform: translateX(5px);
  background-color: rgba(143, 142, 160, 0.1);
}

.sign-item::before {
  counter-increment: signs-counter;
  content: counter(signs-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.sign-title {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.sign-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
}

.article-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.article-note {
  font-size: 1rem;
  font-style: italic;
  color: var(--primary-color);
  text-align: center;
}

.article-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.share-buttons {
  display: flex;
  gap: 15px;
}

.share-button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(143, 142, 160, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition);
}

.share-button:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Адаптивність */
@media (max-width: 768px) {
  .article-full {
    padding: 20px;
  }
  
  .article-full-title {
    font-size: 1.8rem;
  }
  
  .article-intro {
    font-size: 1rem;
  }
  
  .sign-item {
    padding: 20px 20px 20px 70px;
  }
}

@media (max-width: 576px) {
  .sign-title {
    font-size: 1.1rem;
  }
  
  .sign-text {
    font-size: 0.95rem;
  }
  
  .article-actions {
    flex-direction: column;
    gap: 20px;
  }
}
/* Стилі для блоку "Наш подход" */
.approach {
  position: relative;
  padding: 60px 0;
  background-color: rgba(143, 142, 160, 0.05);
}

.approach::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 30%, rgba(143, 142, 160, 0.1) 0%, transparent 60%);
  z-index: 0;
}

.approach-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.approach-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent-color);
  text-align: center;
  position: relative;
}

.approach-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
}

.approach-text {
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
}

.approach-text:last-child {
  margin-bottom: 0;
}

.approach-quote {
  font-style: italic;
  color: var(--primary-dark);
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--primary-color);
  margin: 30px 0;
}

/* Стилі для блоку "О проекте" (детальний) */
.about-detailed {
  position: relative;
  padding: 70px 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-content {
  padding-right: 20px;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent-color);
  position: relative;
}

.about-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px 0 0;
}

.about-paragraph {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark);
}

.about-paragraph:last-child {
  margin-bottom: 0;
}

.highlight-text {
  color: var(--primary-dark);
  font-weight: 500;
}

/* Стилі для блоку "Экспертиза" */
.expertise {
  background-color: var(--white);
  padding: 60px 0;
}

.expertise-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--accent-color);
  text-align: center;
  position: relative;
}

.expertise-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
}

.expertise-items {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

.expertise-item {
  flex: 0 0 30%;
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.expertise-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  opacity: 0.7;
}

.expertise-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.expertise-icon i {
  font-size: 40px;
}

.expertise-item-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent-color);
  font-weight: 600;
}

.expertise-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
}

/* Адаптивність */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    margin-bottom: 30px;
    order: 1;
  }
  
  .about-content {
    order: 2;
    padding-right: 0;
  }
  
  .expertise-items {
    flex-direction: column;
  }
  
  .expertise-item {
    margin-bottom: 40px;
  }
  
  .expertise-item:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .approach-title, 
  .about-title, 
  .expertise-title {
    font-size: 2rem;
  }
  
  .approach-text, 
  .about-paragraph {
    font-size: 1rem;
  }
  
  .expertise-item-title {
    font-size: 1.2rem;
  }
}
/* Стилі для блоку "Полезные лайфхаки" */
.lifehacks {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.lifehacks-container {
  margin: 0 auto;
}

.lifehack-grid {
  display: grid;
  gap: 25px;
  margin-top: 40px;
}

.lifehack-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.lifehack-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.lifehack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0.7;
}

.lifehack-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(143, 142, 160, 0.1);
  position: absolute;
  top: 10px;
  right: 15px;
}

.lifehack-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--accent-color);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.lifehack-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  position: relative;
  z-index: 1;
}

/* Стилі для блоку "Психологические техники" */
.techniques {
  padding: 70px 0;
  background-color: var(--white);
}

.techniques-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.techniques-content {
  padding-right: 20px;
}

.techniques-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent-color);
  position: relative;
}

.techniques-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px 0 0;
}

.techniques-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 30px;
}

.techniques-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.techniques-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.techniques-image:hover img {
  transform: scale(1.03);
}

/* Стилі для блоку "Отзывы читателей" */
.testimonials {
  padding: 70px 0;
  background-color: rgba(143, 142, 160, 0.05);
  position: relative;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15rem;
  color: rgba(143, 142, 160, 0.05);
  font-family: serif;
  line-height: 0;
}

.testimonials-container {
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.author-role {
  font-size: 0.9rem;
  color: var(--primary-color);
}

.testimonial-rating {
  display: flex;
  color: var(--primary-dark);
}

.rating-star {
  margin-left: 2px;
  font-size: 18px;
}

/* Стилі для блоку "Советы" */
.tips {
  padding: 60px 0;
  background-color: var(--white);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.tip-card {
  background-color: rgba(143, 142, 160, 0.05);
  border-radius: var(--radius);
  padding: 25px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tip-card:hover {
  background-color: rgba(143, 142, 160, 0.1);
}

.tip-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--accent-color);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.tip-icon {
  margin-right: 10px;
  color: var(--primary-color);
}

.tip-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
}

.tips-action {
  text-align: center;
}

/* Адаптивність */
@media (max-width: 992px) {
  .techniques-container {
    grid-template-columns: 1fr;
  }
  
  .techniques-content {
    order: 1;
    padding-right: 0;
  }
  
  .techniques-image {
    order: 2;
    margin-top: 30px;
  }
  
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .lifehack-title, 
  .tip-title {
    font-size: 1.2rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .techniques-title {
    font-size: 2rem;
  }
  
  .techniques-text {
    font-size: 1rem;
  }
}

/* Стилі для блоку "Топ-советы от экспертов" */
.expert-tips {
  padding: 80px 0;
  background-image: url('../images/expert-tips-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.expert-tips::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-dark);
  z-index: 1;
}

.expert-tips-container {
  position: relative;
  z-index: 2;
}

.expert-tips-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--white);
  text-align: center;
  position: relative;
}

.expert-tips-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
}

.expert-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.expert-tip-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.expert-tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.expert-tip-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.expert-badge {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.expert-badge i {
  font-size: 24px;
}

.expert-info {
  flex-grow: 1;
}

.expert-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 3px;
}

.expert-role {
  font-size: 0.85rem;
  color: var(--primary-color);
}

.expert-tip-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
  font-weight: 600;
}

.expert-tip-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
}

/* Стилі для блоку "Популярное за месяц" */
.popular {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.popular-container {
  max-width: 900px;
  margin: 0 auto;
}

.popular-list {
  margin-top: 40px;
}

.popular-item {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 25px 30px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.popular-item:last-child {
  margin-bottom: 0;
}

.popular-item:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.popular-rank {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(143, 142, 160, 0.15);
  margin-right: 25px;
  flex-shrink: 0;
}

.popular-content {
  flex-grow: 1;
}

.popular-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--accent-color);
  font-weight: 600;
}

.popular-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 15px;
}

.popular-meta {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.popular-meta-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.popular-meta-icon {
  font-size: 18px;
  margin-right: 5px;
}

.popular-action {
  margin-left: auto;
}

/* Адаптивність */
@media (max-width: 992px) {
  .expert-tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .expert-tips {
    padding: 60px 0;
  }
  
  .expert-tips-title {
    font-size: 2rem;
  }
  
  .expert-tips-grid {
    grid-template-columns: 1fr;
  }
  
  .popular-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  
  .popular-rank {
    margin-right: 0;
    margin-bottom: 15px;
    font-size: 2rem;
  }
  
  .popular-title {
    font-size: 1.2rem;
  }
  
  .popular-meta {
    flex-wrap: wrap;
  }
  
  .popular-meta-item {
    margin-bottom: 10px;
  }
  
  .popular-action {
    margin-left: 0;
    margin-top: 15px;
  }
}
/* Стилі для блоку "ПСИХОЛОГИЧЕСКИЕ ТЕХНИКИ" */
.techniques-detailed {
  padding: 70px 0;
  background-color: var(--white);
}

.techniques-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.techniques-intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
}

.techniques-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.technique-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.technique-item:nth-child(even) .technique-image {
  order: -1;
}

.technique-content {
  padding: 20px;
}

.technique-title {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--accent-color);
  position: relative;
  padding-bottom: 15px;
}

.technique-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.technique-text {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark);
}

.technique-benefits {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.technique-benefits-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
  font-weight: 600;
}

.benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.benefit-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background-color: rgba(143, 142, 160, 0.1);
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.benefit-tag i {
  font-size: 16px;
  margin-right: 5px;
}

.technique-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.technique-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.technique-image:hover img {
  transform: scale(1.03);
}

/* Стилі для блоку "САМОРАЗВИТИЕ" */
.self-development {
  padding: 70px 0;
  background-color: rgba(143, 142, 160, 0.05);
}

.self-dev-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.self-dev-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.self-dev-topic {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.self-dev-topic:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.topic-image {
  height: 350px;
  overflow: hidden;
}

.topic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.self-dev-topic:hover .topic-image img {
  transform: scale(1.05);
}

.topic-content {
  padding: 30px;
}

.topic-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--accent-color);
  position: relative;
  padding-bottom: 15px;
}

.topic-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.topic-text {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark);
}

.topic-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  margin-top: 15px;
  transition: var(--transition);
}

.topic-link i {
  margin-left: 5px;
  font-size: 18px;
  transition: var(--transition);
}

.topic-link:hover {
  color: var(--primary-dark);
}

.topic-link:hover i {
  transform: translateX(3px);
}

/* Адаптивність */
@media (max-width: 992px) {
  .technique-item {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .technique-item:nth-child(even) .technique-image {
    order: 0;
  }
  
  .self-dev-topics {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .technique-title {
    font-size: 1.5rem;
  }
  
  .technique-text {
    font-size: 1rem;
  }
  
  .topic-title {
    font-size: 1.4rem;
  }
  
  .topic-text {
    font-size: 1rem;
  }
  
  .topic-image {
    height: 200px;
  }
}


/* Стилі для блоку "Контактная информация" */
.contact-section {
  background-color: var(--bg-color);
  padding: 90px 0;
  position: relative;
}

.contact-title {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-text {
  font-size: 1.1rem;
  color: var(--dark);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
  line-height: 1.7;
}

.contact-container {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.contact-info {
  flex: 1;
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-map {
  flex: 1.2;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.5rem;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail {
  flex: 1;
}

.contact-label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
  color: var(--accent-color);
}

.contact-value {
  line-height: 1.6;
  color: var(--dark);
}

.hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-item {
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}

.hours-day {
  font-weight: 500;
}

/* Стилі для блоку "Форма обратной связи" */
.feedback-section {
  background-color: var(--white);
  padding: 90px 0;
  position: relative;
}

.feedback-title {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-align: center;
}

.feedback-subtitle {
  font-size: 1.1rem;
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.7;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-color);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Наявні стилі для форми */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--accent-color);
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(143, 142, 160, 0.2);
}

.error-message {
  color: #e53935;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-input.error {
  border-color: #e53935;
}

.form-input.error + .error-message {
  display: block;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.form-submit:hover:not([disabled]) {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Адаптивність для нових блоків */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }
  
  .contact-map {
    height: 350px;
  }
  
  .contact-map iframe {
    height: 350px;
  }
  
  .form-container {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .contact-section,
  .feedback-section {
    padding: 60px 0;
  }
  
  .contact-title,
  .feedback-title {
    font-size: 1.8rem;
  }
  
  .contact-info {
    padding: 25px;
  }
  
  .contact-map {
    height: 300px;
  }
  
  .contact-map iframe {
    height: 300px;
  }
  
  .form-container {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .hours-item {
    flex-direction: column;
  }
}
