body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f7fa;
  color: #1f2933;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

header {
  background: #1e3a5f;
  color: white;
  padding: 18px 0;
  border-bottom: 4px solid #93a4b7;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-text h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  color: white;
}

nav a {
  color: white;
  text-decoration: none;
  margin-right: 18px;
  font-weight: bold;
  font-size: 15px;
}

nav a:last-child {
  margin-right: 0;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  background: linear-gradient(to right, #e9eef4, #d8e2ec);
  padding: 70px 0;
  border-bottom: 1px solid #c7d0d9;
}

.hero h2 {
  margin-top: 0;
  font-size: 36px;
  color: #1e3a5f;
}

.hero p {
  max-width: 700px;
  font-size: 18px;
  color: #44576b;
}

.hero-home {
  padding: 60px 0;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1 1 420px;
}

.hero-image {
  flex: 1 1 420px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border: 1px solid #c7d0d9;
}

.button {
  display: inline-block;
  background: #1e3a5f;
  color: white;
  padding: 12px 22px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 15px;
  font-weight: bold;
}

.button:hover {
  background: #16304d;
}

.content {
  padding: 50px 0;
  background: white;
}

.content h3 {
  color: #1e3a5f;
  margin-top: 0;
  font-size: 26px;
}

.content p {
  font-size: 17px;
  color: #334155;
  max-width: 850px;
}

.about-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.about-image {
  flex: 0 0 280px;
}

.about-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #c7d0d9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-text {
  flex: 1 1 500px;
}

.team-section {
  border-top: 1px solid #e3e8ee;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 25px;
}

.team-card {
  background: #ffffff;
  border: 1px solid #d9e0e7;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font: inherit;
  color: inherit;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.team-card img {
  width: 100%;
  max-width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #d9e0e7;
}

.team-card h4 {
  margin: 10px 0 6px;
  color: #1e3a5f;
  font-size: 20px;
}

.team-title {
  font-weight: bold;
  color: #4b5d70;
  margin-bottom: 10px;
}

.team-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.team-modal.active {
  display: block;
}

.team-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.team-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: white;
  border-radius: 14px;
  margin: 60px auto;
  padding: 30px;
  z-index: 2;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.team-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  color: #1e3a5f;
}

.team-modal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.team-modal-image-wrap {
  flex: 0 0 280px;
}

.team-modal-image-wrap img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 10px;
  border: 1px solid #d9e0e7;
}

.team-modal-text {
  flex: 1 1 420px;
}

.team-modal-text h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #1e3a5f;
  font-size: 28px;
}

.team-modal-text p {
  font-size: 17px;
  color: #334155;
}

.forms-list {
  margin-top: 20px;
  margin-bottom: 25px;
  padding-left: 22px;
}

.forms-list li {
  margin-bottom: 12px;
  color: #334155;
}

.forms-list a {
  font-weight: bold;
  color: #1e3a5f;
  text-decoration: none;
}

.forms-list a:hover {
  text-decoration: underline;
}

.forms-note {
  margin-top: 10px;
  padding: 16px 18px;
  border-left: 4px solid #0f4c81;
  background: #f7f9fc;
  border-radius: 6px;
}

footer {
  background: #3e4c59;
  color: white;
  text-align: center;
  padding: 22px 0;
  margin-top: 30px;
  font-size: 14px;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    display: inline-block;
    margin: 8px 14px 0 0;
  }

  .hero h2 {
    font-size: 30px;
  }

  .hero p {
    font-size: 17px;
  }

  .brand-text h1 {
    font-size: 30px;
  }

  .about-profile {
    flex-direction: column;
  }

  .about-image,
  .about-text {
    flex: 1 1 100%;
  }

  .about-image img {
    max-width: 100%;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card img {
    max-width: 100%;
    height: auto;
  }

  .team-modal-content {
    margin: 30px auto;
    padding: 22px;
  }

  .team-modal-grid {
    flex-direction: column;
  }

  .team-modal-image-wrap,
  .team-modal-text {
    flex: 1 1 100%;
  }

  .team-modal-image-wrap img {
    max-width: 100%;
  }
}