
.page-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin: 30px 0px;
}

.switch-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.switch-btn {
    background: #f5f5f5;
    border: 1px solid #ccc;
    padding: 8px 14px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.switch-btn:hover {
    background: #e6e6e6;
}

.switch-btn.active {
    background: #0044cc;
    color: #fff;
    border-color: #0044cc;
}

.btn-group {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.switch-btn {
    padding: 10px 15px;
    cursor: pointer;
}

.form-block {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.submit-btn {
    margin-top: 10px;
    background: #0044cc;
    border: none;
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.submit-btn:hover {
    background: #003399;
}

.container-home {
border-radius: 2rem;
  padding: 0px;
  box-shadow: 3px 3px 20px #E7EDFF;
  width: 100%;
  max-width: 900px;   /* одинаково с хедером */
  margin: 0 auto;
}
.bg-white {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-white-rgb),var(--bs-bg-opacity)) !important;
}
.align-items-center {
  align-items: center !important;
}
.justify-content-center {
  justify-content: center !important;
}
.flex-wrap {
  flex-wrap: wrap !important;
}
.d-flex {
  display: flex !important;
}

.intro-block {
  width: 100%;
  position: relative;
  padding: 0 20px;
}

label {
	margin-bottom: 15px;
	font-weight: bold;
}

.main-header {
	width: 100%;
	background: #fff;
	box-shadow: 0 0 6px 0 rgba(0,0,0,0.08);
	margin-bottom: 30px;
}


.header-container {
    background: #fff;
    padding: 15px 20px;
	display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;

}

.header-logo {
    flex-shrink: 0;
}

.header-title {
    flex: 1;
    text-align: center; /* заголовок ровно по центру */
    font-size: 28px;
    font-weight: 600;
    color: #222;
}

/* Ограничение размеров модалки */
.modal-dialog.modal-lg {
  max-width: 1000px;        /* делаем пошире */
  margin: 1.75rem auto;     /* чтобы не липла к краям */
}

.modal-content {
  border-radius: 2rem;
  box-shadow: 3px 3px 20px #E7EDFF;
  max-height: 90vh;         /* не больше 90% высоты экрана */
  display: flex;
  flex-direction: column;   /* чтобы футер всегда был внизу */
}

.modal-body {
  overflow-y: auto;         /* прокрутка только для содержимого */
  padding: 2rem;
  line-height: 1.6;
}

#video-section .intro-block.position-relative {
  margin-top: 30px;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .header-title {
        font-size: 18px;
    }
}