* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 1200px;
  margin: 0 auto;
  padding: 20px;
  flex: 1 0 auto;
}

.container-footer {
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}

header {
  background-color: #2c3e50;
  color: white;
  padding: 20px 0;
  margin-bottom: 30px;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-title {
  color: white;
  font-size: 28px;
}

nav {
  background-color: #34495e;
  padding: 15px 0;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.nav-links a:hover {
  background-color: #3d566e;
}

.nav-links a.active {
  background-color: #3498db;
}

.home-link {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: bold;
}

.home-link:hover {
  text-decoration: underline;
}

.section-info {
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 28px;
  color: #2c3e50;
}

h2 {
  font-size: 24px;
  color: #34495e;
  margin: 25px 0 15px;
}

h3 {
  font-size: 20px;
  color: #2c3e50;
  margin: 20px 0 10px;
}

ul {
  margin-left: 25px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 8px;
}

.contact-info {
  background-color: #e8f4fc;
  padding: 20px;
  border-radius: 6px;
  margin: 20px 0;
  border-left: 4px solid #3498db;
}

.ministry-info {
  margin: 20px 0;
  border-left: 4px solid #8bc34a;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #2c3e50;
}

.ministry-info h3 {
  margin-top: 0;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.document-card {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  border-left: 4px solid #3498db;
}

.document-card h4 {
  margin-bottom: 10px;
  color: #2c3e50;
}

.download-btn {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 10px 15px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.download-btn:hover {
  background-color: #2980b9;
}

.subsections-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.subsection-card {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #3498db;
  text-decoration: none;
  color: #2c3e50;
}

.subsection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #2980b9;
}

.subsection-card h3 {
  margin-top: 0;
}

.subsection-card p {
  color: #666;
  margin-bottom: 0;
}

footer {
  background-color: #2c3e50;
  color: white;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

.breadcrumb {
  margin-bottom: 20px;
  color: #666;
}

.breadcrumb a {
  color: #3498db;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.info-block {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 5px;
}

.info-block h3 {
  margin: 0;
  padding: 0;
}

.info-block p {
  margin: 0;
  padding: 0;
}

.info-block ul {
  margin-bottom: 0;
}

.info-block li {
  margin-bottom: 0;
}

/*Документы*/
.documents-container {
  margin-top: 15px;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.document-card {
  background: white;
  border-radius: 5px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #eaeaea;
  display: flex;
  flex-direction: column;
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.document-title {
  font-size: 1.4em;
  color: #2c3e50;
  margin-bottom: 15px;
  margin-top: 0px;
  text-align: center;
  line-height: 1.4;
}

.document-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.download-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.download-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1c6ea4);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(41, 128, 185, 0.3);
}
/*Документы*/
