/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fefefe;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ====================
   NAVIGATION BAR
==================== */
.navbar {
  background-color: #004A91;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #f1c40f;
}

@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    gap: 10px;
  }
}

/* ====================
   HERO SECTION
==================== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('../images/hero-bg.png') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.logo-container {
  text-align: center;
  margin-bottom: 30px;
}

.logo {
  max-width: 220px;
  height: auto;
  display: inline-block;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin: 20px 0;
}

.hero-btn {
  display: inline-block;
  margin-top: 20px;
  background-color: white;
  color: #004A91;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-btn:hover {
  background-color: #e6e6e6;
  color: #00366c;
}

/* ====================
   SECTIONS
==================== */
.section {
  padding: 80px 20px;
}

.section-alt {
  background-color: #f3f6f9;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

/* ====================
   ABOUT SECTION
==================== */
.about-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center; /* ✅ Центрирует фото по вертикали */
}

.about-text {
  flex: 2 1 500px;
}

.about-photo {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.about-text p {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.highlight-block {
  background-color: #f3f6fa;
  border-left: 4px solid #004A91;
  padding: 15px 20px;
  margin: 25px 0;
  font-weight: bold;
  color: #004A91;
}

.about-text em {
  color: #004A91;
  font-style: italic;
}

/* ====================
   SERVICE LIST
==================== */
.service-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.service-list li {
  padding: 10px 0;
  font-size: 1.1rem;
  border-bottom: 1px solid #ddd;
}

/* ====================
   CTA SECTION
==================== */
.cta {
  background-color: #004A91;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  background-color: white;
  color: #004A91;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.cta-btn:hover {
  background-color: #e6e6e6;
  color: #00366c;
}

/* ====================
   CONTACT FORM
==================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

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

.contact-form button {
  padding: 12px;
  background-color: #004A91;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #00366c;
}

/* ====================
   FOOTER
==================== */
.footer {
  background-color: #004A91;
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* ====================
   RESPONSIVE
==================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .about-row {
    flex-direction: column;
  }

  .about-text, .about-photo {
    max-width: 100%;
  }
}

.service-block {
  margin-bottom: 60px;
}

.service-title {
  font-size: 1.5rem;
  color: #004A91;
  margin-bottom: 20px;
  border-bottom: 2px solid #004A91;
  padding-bottom: 8px;
}

.translation-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
}

.translation-columns ul {
  flex: 1 1 300px;
  list-style: disc inside;
  padding-left: 0;
}

.translation-columns li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

/* Responsive fix */
@media (max-width: 768px) {
  .translation-columns {
    flex-direction: column;
  }
}

.checklist-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  line-height: 1.6;
}

.checklist-link {
  display: inline-flex;
  align-items: center;
  color: #004A91;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.checklist-link:hover {
  color: #00366c;
}

.pdf-icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  flex-shrink: 0;
}

/* Mobile-friendly adjustments */
@media (max-width: 480px) {
  .checklist-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .checklist-link {
    white-space: normal;
  }
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #004A91;
}

.faq-item {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.faq-item h3 {
  font-size: 1.25rem;
  color: #004A91;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #333;
}

.faq-list {
  list-style: disc inside;
  padding-left: 0;
}

.faq-list li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #333;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .faq-title {
    font-size: 1.6rem;
  }

  .faq-item h3 {
    font-size: 1.15rem;
  }
}

.accordion {
  border-top: 1px solid #ccc;
}

.accordion-item {
  border-bottom: 1px solid #ccc;
}

.accordion-header {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #004A91;
  cursor: pointer;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #f3f6f9;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  background-color: white;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-content.open {
  padding: 16px;
  max-height: 800px;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #004A91;
}

.faq-list {
  list-style: disc inside;
  padding-left: 0;
}

.faq-list li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #333;
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #004A91;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #00366c;
  transform: scale(1.1);
}

.scroll-icon {
  display: block;
  width: 100%;
  height: 100%;
}