section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: white;
}

.content {
  flex-grow: 1;
  padding: 0;
}

#contacts-info {
  position: relative;
  display: flex;
  flex-direction: column;
}

#contacts-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/static/img/carpentry_workshop.jpg');
  filter: brightness(0.4);
  -webkit-filter: brightness(0.4);
  background-size: cover;
  background-position: center;
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  z-index: -1;
}

#main-page-promo-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.question-card {
  border: 1px solid #ffffff;
}

.question-card #header {
    font-size: 25px;
    color: #f6af43;
}

.question-card .button {
  font-size: 16px;
  background: transparent;
  color: #ffffff;
  border-style: solid;
  border-width: 2px;
  border-color: #f6af43;
  padding: 9px 23px 9px 23px;
  transition: 0.5s;
}

.question-card .button:hover {
  color: #000000;
  background: rgba(246, 175, 67, 0.9);
}

.question-card .form-control {
  box-shadow: none;
  border-color: transparent;
  border-radius: 0;
}

#information p {
  margin-bottom: 5px;
  font-size: 18px;
}

#information p a {
  color: #f6af43;
  text-decoration: none;
  margin-left: 2px;
}

#information p a:hover {
  text-decoration: underline;
}

.invalid-feedback {
  color: #ff6b6b !important;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid:focus {
  box-shadow: none;
  border-color: inherit;
}

@media (min-width: 768px) and (max-width: 992px) {
  .w-md-lg-70 { width: 70% !important; }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast.show {
  animation: slideInRight 0.5s ease forwards;
}

.toast.hiding {
  animation: slideOutRight 0.5s ease forwards;
}

.toast {
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  border: none !important;
}

.toast-header {
  border-bottom: none !important;
  padding: 12px 16px !important;
  background-color: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(10px);
}

.toast-body {
  padding: 16px !important;
}