/*
 * Оптимізований простий дизайн сайту
 */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  min-height: 100vh;
  background-color: #333333;
  color: #fff;
  line-height: 1.6;
}

.cover-container {
  max-width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header.mb-auto.head_page {
  height: 130px;
}

/* Хедер - абсолютне позиціонування без фону */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 60px;
  width: auto;
  margin-right: 15px;
}

.logo-text {
  text-align: left;
}

.logo-text h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-text p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
  text-decoration: none !important;
}

.social-link:hover {
  background-color: #3498db;
}

/* Герой-секція */
.hero-section {
  height: 100vh;
  background-image: url("topimg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

/* Кнопка "Дізнатися більше" */
.scroll-down-container {
  position: absolute;
  bottom: 150px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.scroll-down-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 10px 25px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.scroll-down-btn span {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 1.1rem;
}

.scroll-down-btn i {
  font-size: 22px;
}

.scroll-down-btn:hover {
  background-color: rgba(52, 152, 219, 0.5);
  color: #fff;
}

/* Кнопка "вгору" */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #3498db;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.back-to-top:hover {
  background-color: #2980b9;
  color: #fff;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* Bento Grid Section */
.bento-section {
  padding: 6rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #383838;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 1.5rem;
}

.bento-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  color: #fff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-item:hover {
  transform: translateY(-10px);
  background-color: rgba(52, 152, 219, 0.15);
}

.bento-content {
  padding: 2rem;
  text-align: center;
}

.icon-large {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #3498db;
  transition: color 0.3s ease;
}

.bento-item:hover .icon-large {
  color: #5dade2;
}

.bento-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.bento-content p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Detail Sections */
.detail-section {
  padding: 6rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.report-detail-section {
  background-color: #363636;
}

.biography-detail-section {
  background-color: #353535;
}

.contacts-detail-section {
  background-color: #343434;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-divider {
  height: 3px;
  width: 80px;
  background-color: #3498db;
  margin: 0 auto;
}

.section-content {
  position: relative;
  z-index: 1;
}

.detail-image {
  border-radius: 15px;
  max-height: 500px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}

.detail-image:hover {
  transform: scale(1.02);
}

/* Report Section Styles */
.report-highlights {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}

.report-highlights h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.report-highlights h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #3498db;
}

.report-highlights ul {
  margin-top: 1.5rem;
  padding-left: 1.5rem;
}

.report-highlights li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  position: relative;
  padding-left: 5px;
}

.report-highlights li::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: #3498db;
  border-radius: 50%;
}

.report-summary-heading {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.report-summary-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #3498db;
}

.report-summary {
  margin-top: 4rem !important;
}

.card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  background-color: rgba(52, 152, 219, 0.1);
}

.card-body {
  padding: 2rem;
}

.card-title {
  color: #3498db;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.card-title i {
  font-size: 1.5rem;
  margin-right: 0.8rem;
  color: #3498db;
}

.card-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.6;
}

/* Biography Section Styles */
.biography-text {
  padding: 2.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}

.biography-text h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.bio-subtitle {
  color: #3498db;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.bio-subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #3498db;
}

.bio-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.biography-highlights {
  margin-top: 4rem !important;
}

.bio-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bio-card:hover {
  transform: translateY(-10px);
  background-color: rgba(52, 152, 219, 0.1);
}

.bio-card-icon {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.bio-card:hover .bio-card-icon {
  color: #5dade2;
}

.bio-card h4 {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.4rem;
}

.bio-card p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Contacts Section Styles */
.contact-info {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2.5rem;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.contact-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #3498db;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-list li i {
  color: #3498db;
  margin-right: 1rem;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.contact-list li span {
  font-size: 1.1rem;
}

.contact-info h4 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.contact-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.contact-social-link:hover {
  background-color: #3498db;
  color: #fff;
}

.contact-form-container {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2.5rem;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-container h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.contact-form-container h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #3498db;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #3498db;
  color: #fff;
  box-shadow: none;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.btn-primary {
  background-color: #3498db;
  border-color: #3498db;
  border-radius: 10px;
  padding: 0.8rem 1.5rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
}

.btn-outline-primary {
  border: 2px solid #3498db;
  background: transparent;
  color: #fff;
  border-radius: 10px;
  padding: 0.7rem 1.5rem;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #3498db;
  color: #fff;
  border-color: #3498db;
}

/* Стилі для футера */
footer {
  padding: 1.5rem 0;
  background-color: rgba(30, 30, 30, 0.9);
  width: 100%;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 2000;
}

footer a {
  text-decoration: none;
}

/* Updated footer styles */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

footer .social-links {
  display: flex;
  gap: 1rem;
}

footer .social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  text-decoration: none !important;
}

footer .social-link:hover {
  background-color: #3498db;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }

  footer .social-links {
    margin-top: 1rem;
  }
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    padding: 2.5rem;
  }

  .container {
    margin: 0 auto;
    padding: 0 0px;
    overflow: hidden;
  }

  .logo-container {
    flex-direction: column;
    text-align: center;
  }

  .logo-text {
    text-align: center;
    margin-top: 0.5rem;
  }

  .logo-image {
    margin-right: 0;
    height: 40px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .bento-item {
    aspect-ratio: auto;
    padding: 2rem 0;
  }

  .detail-section {
    padding: 5rem 0;
  }

  .detail-image {
    margin-bottom: 2rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .contact-info,
  .contact-form-container {
    margin-bottom: 2rem;
  }

  .report-highlights,
  .biography-text,
  .contact-info,
  .contact-form-container,
  .card-body,
  .bio-card {
    padding: 2rem;
  }
}

/* Базові анімації для ключових елементів */
.animated-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animated-element.visible {
  opacity: 1;
  transform: translateY(0);
}
