:root {
  --primary-color: #0066cc;
  --secondary-color: #ffcc00;
  --dark-blue: #003366;
  --light-blue: #e6f0fa;
  --text-color: #333;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #495057;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --border-radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: #ffffff;
  background-image: url('Logo-pattern.svg');
  background-repeat: repeat;
  background-size: 700px;
  background-attachment: fixed;
  background-position: center;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: -1;
}

.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 20px 0;
  height: 90px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.logo {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1300px;
}

.logo-container {
  max-width: 55px;
  margin-right: 250px;
}

.logo-container img {
  height: 25px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.nav-item {
  position: relative;
  margin: 0 8px;
}

.nav-link {
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-color);
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  padding: 12px 16px;
  white-space: nowrap;
  border-radius: 4px;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(0, 102, 204, 0.1);
}

.section {
  padding: 6rem 0;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 6rem auto;
  width: 90%;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.hierarchy-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.hierarchy-level {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
}

.hierarchy-level::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  width: 3px;
  height: 50px;
  background: var(--primary-color);
  transform: translateX(-50%);
}
.hierarchy-level:first-child::before {
  display: none;
}

.person-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 260px;
  overflow: hidden;
  text-align: center;
  border-top: 4px solid var(--primary-color);
  transition: var(--transition);
}

.person-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.person-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background-color: var(--light-blue);
  display: block;
}

.person-card h3 {
  font-size: 1.3rem;
  color: var(--dark-blue);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.person-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.person-card p {
  font-size: 1rem;
  color: var(--dark-gray);
  margin: 0 1rem 1.5rem;
  line-height: 1.6;
}

.main-footer {
  background-color: var(--white);
  color: var(--text-color);
  padding: 5rem 0 2rem;
  border-top: 1px solid #eee;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 4rem;
}

.footer-logo img {
  max-width: 180px;
  margin-bottom: 1.5rem;
}

.footer-logo p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark-blue);
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links a {
  color: var(--dark-gray);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 20px;
}

.footer-legal a {
  color: var(--text-color);
  margin-left: 20px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .section {
    margin: 4rem auto;
    padding: 4rem 1rem;
  }
  .person-card {
    width: 220px;
  }
  .person-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .hierarchy-container {
    gap: 60px;
  }
  .nav-list {
    flex-direction: column;
    background-color: var(--white);
    position: fixed;
    right: -300px;
    top: 0;
    width: 260px;
    height: 100vh;
    padding: 80px 20px;
    transition: var(--transition);
  }
  .nav-list.active {
    right: 0;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    display: block;
    padding: 15px 0;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  .person-card {
    width: 100%;
    max-width: 300px;
  }
}
