@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html {
  font-size: 15px;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background: #f7f8fa;
  margin: 0;
}

h1, h2 {
  color: #1a1919; /* или #333, если не нужен синий */
  font-weight: 400;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  background: #222;
  padding: 16px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.navbar a:hover {
  color: #ffd600;
}

/* Выпадающее меню */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-toggle::after {
  content: ' ▼';
  font-size: 0.8em;
  margin-left: 5px;
}

.dropdown ul {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background: #fff !important;
  min-width: 300px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  border-radius: 8px !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  list-style: none !important;
  display: none !important;
  z-index: 1000 !important;
  border: 1px solid #ddd !important;
}

.dropdown:hover ul {
  display: block !important;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: #2a3a5a;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

main {
  padding-top: 80px;
}

.hero {
  background: linear-gradient(120deg, #e0e7ff 0%, #fff 100%);
  text-align: center;
  padding: 64px 0 48px 0;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 24px rgba(60,60,120,0.07);
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}
.hero p {
  font-size: 1.25rem;
  color: #555;
}

section {
  margin: 40px 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(60,60,120,0.06);
  padding: 32px 24px;
}
section h2 {
  color: #2a3a5a;
  margin-bottom: 0.5em;
}
.contacts ul, .docs ul {
  padding-left: 1.2em;
}
.contacts li, .docs li {
  margin-bottom: 0.5em;
}

.other {
  margin: 40px 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(60,60,120,0.06);
  padding: 32px 24px;
}
.other h2 {
  color: #2a3a5a;
  margin-bottom: 0.5em;
}

.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 24px 0 16px 0;
  margin-top: 40px;
  border-radius: 16px 16px 0 0;
}

/* Стили для страницы образования */
.education-info {
  margin: 40px 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(60,60,120,0.06);
  padding: 32px 24px;
}

.education-info h2 {
  color: #2a3a5a;
  margin-bottom: 0.5em;
}

.program-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.program-card h3 {
  color: #2a3a5a;
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

.program-card h4 {
  color: #495057;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1em;
  line-height: 1.4;
}

.program-card p {
  margin: 0;
  color: #6c757d;
}

@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .navbar .container {
    flex-direction: column;
    gap: 8px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  section {
    padding: 16px 8px;
  }
}