* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.index-header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

#logo {
  height: 80px;
  width: auto;
  background-color: white;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

#logo:hover {
  transform: scale(1.05);
}

.index-header nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
}

.primaty-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.primaty-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.primaty-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.primaty-links a:hover::after {
  width: 80%;
}

#redirect-campus {
  background-color: #ff6b35;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(255, 107, 53, 0.3);
  text-decoration: none;
}

#redirect-campus:hover {
  background-color: #ff8555;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 107, 53, 0.4);
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

#container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.index-section {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.index-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.index-h2 {
  color: #1e3c72;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-left: 5px solid #ff6b35;
  padding-left: 1rem;
}

.index-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  text-align: justify;
}

.index-footer {
  background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
  color: white;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-section-1 {
  max-width: 1400px;
  margin: 0 auto 2.5rem;
}

.footer-section-1:last-child {
  margin-bottom: 0;
}

.index-h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fff;
}

#agreement-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.index-agreement {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.index-agreement:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-section-1 ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .index-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .index-header nav ul {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  #logo {
    height: 50px;
  }

  .index-h2 {
    font-size: 1.5rem;
  }

  .index-text {
    font-size: 1rem;
  }

  #agreement-images {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .footer-section-1 ul {
    flex-direction: column;
    gap: 1rem;
  }

}