/* Начало страницы */
.help-hero-section {
    position: relative;
    height: 80vh;
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: 3rem 0;
}

.blurred-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/img/baby.jpg') center/cover no-repeat;
    filter: blur(8px) brightness(0.7);
    transform: scale(1.05); /* Убирает артефакты по краям от blur */
    z-index: 1;
}

.content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.hero-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #FFAFCC, #A2D2FF);
    border-radius: 2px;
}

.hero-text-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .help-hero-section {
        height: auto;
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text-box {
        padding: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
}
.col-lg-4,
.col-lg-3 {
    padding-top: 30px;
}

.bg-color {
  background-color:  #ffc8dd;
}

.hanging-icon-card {
  text-align: center;
  /* border-color: black; */
  border-radius: 15px;
  transition: transform 0.3s ease-in-out;
  position: relative;
  /* overflow: hidden; */
  height: 200px;
}

.hanging-icon-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Иконки */
.icon-wrapper {
  position: absolute;
  top: -30px; /* выводим иконки за верхнюю границу карточки */
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  width: 60px; 
  height: 60px; 
  border-top: 10px !important;
  border-color: #ffc8dd;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; /* иконка над текстом */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icon-wrapper::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, #fff, #ffafcc);
  border-radius: 50%;
  z-index: -1;
}

.icon {
  font-size: 2rem; /* размер иконки */
  color: var(--bs-body-color);
  /* color: #ff5d8f; */
}

.card-body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 40px; /* место для иконки */
}

.hover-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background-color: #ffafcc;
  color: rgb(0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.hanging-icon-card:hover .hover-text {
  opacity: 1;
  /* градиент */
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, #fff, #ffafcc);
}

.initial-text {
  transition: opacity 0.3s ease-in-out;
  text-align: center;
}

.hanging-icon-card:hover .initial-text {
  opacity: 0;
}

/* Форма пожертвований */
/* Общие стили карточки */
.donation-card {
    background-color: #BDE0FE !important;
    border-radius: 12px;
}

.donation-description,
.donation-label {
    color: #5E548E;
}

/* Стили для кнопок сумм */
.donation-amount-btn {
    border: 2px solid #FFAFCC;
    transition: all 0.2s ease-in-out;
    transform: scale(1);
}

.donation-amount-btn-default {
    background-color: white;
    color: #5E548E;
}

.donation-amount-btn-selected {
    background-color: #FFAFCC;
    color: white;
}

.donation-amount-btn:hover {
    transform: scale(1.05);
    z-index: 1;
    background-color: #F2B5D4;
    border-color: #F2B5D4;
}

/* Стили для поля ввода */
.donation-input-symbol {
    background-color: #A2D2FF;
    color: #5E548E;
    border-color: #FFAFCC;
}

.donation-input {
    background-color: white;
    border-color: #FFAFCC;
    color: #5E548E;
}

/* Стили для кнопки пожертвовать */
.donation-submit-btn {
    background-color: #FFC8DD !important;
    color: white;
    border: none;
    transition: all 0.2s ease-in-out;
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.donation-submit-btn:not(:disabled) {
    background-color: #FF7096 !important;
}

.donation-submit-btn:hover:not(:disabled) {
    background-color: #FF5C8D !important;
    transform: scale(1.03);
    opacity: 0.9;
}

.donation-submit-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Стили для модального окна */
.donation-modal-content {
    background-color: #fff; /* Белый фон модального окна */
}

.donation-modal-header {
    background-color: #FFAFCC; /* Белый фон заголовка */
    border-bottom: 1px solid #eee;
}

.donation-modal-body {
    color: #000; /* Чёрный текст */
}

.donation-modal-title {
    color: #000 !important; /* Чёрный заголовок */
}

.donation-cancel-btn {
    background-color: #aaafb4; /* Светло-серый */
    color: #000 !important; /* Чёрный текст */
    border: 1px solid #ddd;
    transition: all 0.2s ease-in-out;
}

.donation-confirm-btn {
    background-color: #FFAFCC;
    color: #000 !important; /* Чёрный текст */
    border: none;
    transition: all 0.2s ease-in-out;
}

.donation-cancel-btn:hover {
    transform: scale(1.05);
    background-color: #FF5C8D !important; /* Ярко-розовый при наведении */
    color: white !important;
    border-color: #FF5C8D;
}

.donation-confirm-btn:hover {
    transform: scale(1.05);
    background-color: #FF5C8D !important; /* Ярко-розовый при наведении */
    color: white !important;
}

/* Стили для изображения */
.donation-image-container {
    height: 100%;
    padding-left: 15px;
}

.donation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.donation-card {
    height: 100%;
}

/* Для родительского контейнера */
.row.align-items-center {
    min-height: 600px;
}

/* Для мобильных устройств */
@media (max-width: 992px) {
    .donation-image-container {
        display: none;
    }
    
    .row.align-items-center {
        min-height: auto;
    }
}