/* Основные стили модального окна 2 */
.aquarium-modal2 {
    display: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-container2 {
    position: relative;
    background: white;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(40px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Заголовок */

.modal-header2 {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    padding: 40px 40px 30px;
    position: relative;
}

.header-content2 {
    text-align: center;
    color: white;
}

.aquarium-icon2 {
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modal-title2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px;
    color: white;
}

.modal-subtitle2 {
    font-size: 18px;
    margin: 0;
    opacity: 0.9;
    color: white;
}

.close-button2 {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-button2:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Тело модалки */
.modal-body2 {
    padding: 40px;
    background: #f8fafc;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .modal-body2 {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
}

/* Карточки услуг */
.service-card2 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card2:hover {
    transform: translateY(-5px);
    border-color: #26d0ce;
    box-shadow: 0 20px 40px rgba(26, 41, 128, 0.1);
}

.card-icon2 {
    padding: 30px 30px 0;
    text-align: center;
}

.card-content2 {
    padding: 20px 30px;
    flex-grow: 1;
}

.card-title2 {
    color: #1a2980;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    text-align: center;
}

.card-description2 {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px;
    text-align: center;
}

.card-features2 {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.card-features2 li {
    color: #666;
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon2 {
    color: #26d0ce;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.price-badge2 {
    background: linear-gradient(135deg, rgba(26, 41, 128, 0.05), rgba(38, 208, 206, 0.05));
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(38, 208, 206, 0.2);
}

.price2 {
    display: block;
    color: #1a2980;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
}

.price-note2 {
    color: #64748b;
    font-size: 14px;
}

/* Кнопки выбора */
.select-button2 {
    width: 100%;
    padding: 20px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: white;
}

.transport-btn2 {
    background: #1a2980;
}

.care-btn2 {
    background: rgb(38, 208, 206);
}

.select-button2:hover {
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(26, 41, 128, 0.2);
}

.transport-btn2:hover {
    background: #152066;
}

.care-btn2:hover {
    background: #1fc5c3;
}


@media (max-width: 768px) {
    .footer-content2 {
        flex-direction: column;
        text-align: center;
    }
}

/* Адаптивность */
@media (max-width: 640px) {
    .modal-container2 {
        margin: 20px;
    }
    
    .modal-header2 {
        padding: 30px 20px 20px;
    }
    
    .modal-title2 {
        font-size: 28px;
    }
    
    .floating-action-button2 {
        bottom: 20px;
        right: 20px;
        padding: 15px 20px;
        font-size: 14px;
    }
}











/* Основные стили модального окна3 */
.aquarium-modal3 {
    display: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-container3 {
    position: relative;
    background: white;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(40px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Заголовок */

.modal-header3 {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    padding: 40px 40px 30px;
    position: relative;
}

.header-content3 {
    text-align: center;
    color: white;
}

.aquarium-icon3 {
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modal-title3 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px;
    color: white;
}

.modal-subtitle3 {
    font-size: 18px;
    margin: 0;
    opacity: 0.9;
    color: white;
}

.close-button3, .close-button4 {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-button3:hover, .close-button4:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Тело модалки */
.modal-body3 {
    padding: 40px;
    background: #f8fafc;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .modal-body3 {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
}

/* Карточки услуг */
.service-card3,.service-card4 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card3:hover , .service-card4:hover{
    transform: translateY(-5px);
    border-color: #26d0ce;
    box-shadow: 0 20px 40px rgba(26, 41, 128, 0.1);
}

.card-icon3 {
    padding: 30px 30px 0;
    text-align: center;
}

.card-content3 {
    padding: 20px 30px;
    flex-grow: 1;
}

.card-title3 {
    color: #1a2980;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    text-align: center;
}

.card-description3 {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px;
    text-align: center;
}

.card-features3 {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.card-features3 li {
    color: #666;
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon3 {
    color: #26d0ce;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.price-badge3 {
    background: linear-gradient(135deg, rgba(26, 41, 128, 0.05), rgba(38, 208, 206, 0.05));
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(38, 208, 206, 0.2);
}

.price3 {
    display: block;
    color: #1a2980;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
}

.price-note3 {
    color: #64748b;
    font-size: 14px;
}

/* Кнопки выбора */
.select-button3, .select-button4 {
    width: 100%;
    padding: 20px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: white;
}

.transport-btn3 {
    background: #1a2980;
}

.care-btn3 {
    background: rgb(38, 208, 206);
}

.select-button3:hover, .select-button4:hover {
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(26, 41, 128, 0.2);
}

.transport-btn3:hover, .select-button4:hover {
    background: #152066;
}

.care-btn3:hover {
    background: #1fc5c3;
}


@media (max-width: 768px) {
    .footer-content3 {
        flex-direction: column;
        text-align: center;
    }
}

/* Адаптивность */
@media (max-width: 640px) {
    .modal-container3 {
        margin: 20px;
    }
    
    .modal-header3 {
        padding: 30px 20px 20px;
    }
    
    .modal-title3 {
        font-size: 28px;
    }
    
    .floating-action-button3 {
        bottom: 20px;
        right: 20px;
        padding: 15px 20px;
        font-size: 14px;
    }
}











