/* ======= ЗАГАЛЬНІ СТИЛІ ДЛЯ СТОРІНКИ "ПРО НАС" ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #7f8c8d;
}

/* ======= АНІМАЦІЇ ======= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ======= HERO СЕКЦІЯ ======= */
.about-hero {
  height: 50vh;
  min-height: 400px;
  background-image: linear-gradient(rgb(43, 43, 43)) url("") !important;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-top: 80px;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-hero p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ======= СЕКЦІЯ "НАША ІСТОРІЯ" ======= */
.about-content {
  background-color: white;
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  color: #2c3e50;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #3498db;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #7f8c8d;
}

.number-animation {
  font-weight: 700;
  color: #3498db;
  font-size: 1.2rem;
}

/* ======= СЕКЦІЯ "НАША МІСІЯ" ======= */
.mission {
  background-color: #f8f9fa;
  text-align: center;
  padding: 80px 0;
}

.mission h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.mission p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #7f8c8d;
  line-height: 1.7;
}

/* ======= СЕКЦІЯ "НАШІ ЦІННОСТІ" ======= */
.values {
  background-color: white;
  padding: 80px 0;
}

.values h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #2c3e50;
}

.values-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.values-list li {
  margin-bottom: 1.5rem;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.values-list li.visible {
  opacity: 1;
  transform: translateY(0);
}

.values-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.values-list li i {
  font-size: 1.3rem;
  color: #3498db;
  margin-right: 20px;
  min-width: 25px;
  text-align: center;
}

/* ======= СЕКЦІЯ "НАША КОМАНДА" ======= */
.team {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.team h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #2c3e50;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.05);
}

.team-member-details {
  padding: 20px;
}

.team-member h3 {
  margin: 0 0 5px;
  font-size: 1.2rem;
  color: #2c3e50;
}

.team-member p {
  margin: 0 0 15px;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.team-member-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-member-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #3498db;
  color: white;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.team-member-social a:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

/* ======= СЕКЦІЯ "СЛІДКУЙ ЗА НАМИ" ======= */
.follow-us {
  background-color: white;
  padding: 80px 0;
  text-align: center;
}

.follow-us h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.follow-us p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: #7f8c8d;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #3498db;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.social-icon:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.social-tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #2c3e50;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.social-icon:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -25px;
}

/* ======= АДАПТИВНІ СТИЛІ ======= */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero p {
    font-size: 1.1rem;
  }

  .about-text h2,
  .mission h2,
  .values h2,
  .team h2,
  .follow-us h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    order: 1;
  }

  .about-text {
    order: 2;
  }

  .about-hero {
    height: 40vh;
    min-height: 300px;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  section {
    padding: 50px 0;
  }

  .team-members {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .about-hero h1 {
    font-size: 1.8rem;
  }

  .about-hero p {
    font-size: 0.9rem;
  }

  .about-text h2,
  .mission h2,
  .values h2,
  .team h2,
  .follow-us h2 {
    font-size: 1.8rem;
  }

  .team-members {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ======= СТИЛІ ДЛЯ ШАПКИ ======= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

header.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1001;
}

.logo:hover {
  color: #3498db;
}

header nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

header nav ul li a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

header nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3498db;
  transition: width 0.3s ease;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
  width: 100%;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #3498db;
}

/* Гамбургер меню для мобільних пристроїв */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #2c3e50;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Адаптивність для шапки */
@media (max-width: 992px) {
  header nav ul {
    gap: 15px;
  }

  header nav ul li a {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  header nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  header nav ul.active {
    right: 0;
  }

  header nav ul li a {
    color: #2c3e50;
    font-size: 1.1rem;
  }

  header nav ul li a::after {
    bottom: -5px;
  }

  /* Затемнення фону при відкритому меню */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .menu-overlay.active {
    display: block;
  }
}

/* Анімація появи шапки при завантаженні сторінки */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header {
  animation: fadeInDown 0.5s ease forwards;
}

/* Додаткові стилі для активного стану в мобільному меню */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
  }

  header.menu-open {
    background-color: white;
  }

  header.menu-open .logo {
    color: #2c3e50;
  }

  header.menu-open .menu-toggle span {
    background-color: #2c3e50;
  }
}

/* ======= СТИЛІ ДЛЯ ФУТЕРА ======= */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 40px 0 20px;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Додаткові стилі для покращення читабельності */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.scale-in {
  animation: scaleIn 0.8s ease forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.team-member.active {
  transform: translateY(-5px);
}

.team-member.expanded {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.pulse {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.mobile-layout {
  display: flex;
  flex-direction: column;
}

.mobile-layout .about-image {
  order: 1;
}

.mobile-layout .about-text {
  order: 2;
}
/* ======= ЗАГАЛЬНІ СТИЛІ ДЛЯ СТОРІНКИ "ПРО НАС" ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #7f8c8d;
}

/* ======= АНІМАЦІЇ ======= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ======= HERO СЕКЦІЯ ======= */
.about-hero {
  height: 50vh;
  min-height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/placeholder.svg?height=600&width=1200");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-top: 80px;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-hero p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ======= СЕКЦІЯ "НАША ІСТОРІЯ" ======= */
.about-content {
  background-color: white;
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  color: #2c3e50;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #3498db;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #7f8c8d;
}

.number-animation {
  font-weight: 700;
  color: #3498db;
  font-size: 1.2rem;
}

/* ======= СЕКЦІЯ "НАША МІСІЯ" ======= */
.mission {
  background-color: #f8f9fa;
  text-align: center;
  padding: 80px 0;
}

.mission h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.mission p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #7f8c8d;
  line-height: 1.7;
}

/* ======= СЕКЦІЯ "НАШІ ЦІННОСТІ" ======= */
.values {
  background-color: white;
  padding: 80px 0;
}

.values h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #2c3e50;
}

.values-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.values-list li {
  margin-bottom: 1.5rem;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.values-list li.visible {
  opacity: 1;
  transform: translateY(0);
}

.values-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.values-list li i {
  font-size: 1.3rem;
  color: #3498db;
  margin-right: 20px;
  min-width: 25px;
  text-align: center;
}

/* ======= СЕКЦІЯ "НАША КОМАНДА" ======= */
.team {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.team h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #2c3e50;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.05);
}

.team-member-details {
  padding: 20px;
}

.team-member h3 {
  margin: 0 0 5px;
  font-size: 1.2rem;
  color: #2c3e50;
}

.team-member p {
  margin: 0 0 15px;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.team-member-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-member-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #3498db;
  color: white;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.team-member-social a:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

/* ======= СЕКЦІЯ "СЛІДКУЙ ЗА НАМИ" ======= */
.follow-us {
  background-color: white;
  padding: 80px 0;
  text-align: center;
}

.follow-us h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.follow-us p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: #7f8c8d;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #3498db;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.social-icon:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.social-tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #2c3e50;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.social-icon:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -25px;
}

/* ======= АДАПТИВНІ СТИЛІ ======= */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero p {
    font-size: 1.1rem;
  }

  .about-text h2,
  .mission h2,
  .values h2,
  .team h2,
  .follow-us h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    order: 1;
  }

  .about-text {
    order: 2;
  }

  .about-hero {
    height: 40vh;
    min-height: 300px;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  section {
    padding: 50px 0;
  }

  .team-members {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .about-hero h1 {
    font-size: 1.8rem;
  }

  .about-hero p {
    font-size: 0.9rem;
  }

  .about-text h2,
  .mission h2,
  .values h2,
  .team h2,
  .follow-us h2 {
    font-size: 1.8rem;
  }

  .team-members {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ======= СТИЛІ ДЛЯ ШАПКИ ======= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

header.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1001;
}

.logo:hover {
  color: #3498db;
}

header nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

header nav ul li a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

header nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3498db;
  transition: width 0.3s ease;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
  width: 100%;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #3498db;
}

/* Гамбургер меню для мобільних пристроїв */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #2c3e50;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Адаптивність для шапки */
@media (max-width: 992px) {
  header nav ul {
    gap: 15px;
  }

  header nav ul li a {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  header nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  header nav ul.active {
    right: 0;
  }

  header nav ul li a {
    color: #2c3e50;
    font-size: 1.1rem;
  }

  header nav ul li a::after {
    bottom: -5px;
  }

  /* Затемнення фону при відкритому меню */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .menu-overlay.active {
    display: block;
  }
}

/* Анімація появи шапки при завантаженні сторінки */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header {
  animation: fadeInDown 0.5s ease forwards;
}

/* Додаткові стилі для активного стану в мобільному меню */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
  }

  header.menu-open {
    background-color: white;
  }

  header.menu-open .logo {
    color: #2c3e50;
  }

  header.menu-open .menu-toggle span {
    background-color: #2c3e50;
  }
}

/* ======= СТИЛІ ДЛЯ ФУТЕРА ======= */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 40px 0 20px;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Додаткові стилі для покращення читабельності */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.scale-in {
  animation: scaleIn 0.8s ease forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.team-member.active {
  transform: translateY(-5px);
}

.team-member.expanded {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.pulse {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.mobile-layout {
  display: flex;
  flex-direction: column;
}

.mobile-layout .about-image {
  order: 1;
}

.mobile-layout .about-text {
  order: 2;
}
