/* Импорт шрифтов */
@font-face {
    font-family: 'Cy Grotesk Grand';
    src: url('fonts/CyGroteskGrand-Demi.woff2') format('woff2'),
        url('fonts/CyGroteskGrand-Demi.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Christopher';
    src: url('fonts/Christopher.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --Green-main: #07B361;
    --White-main: #FFFFFF;
    --Grey-main: #262626;
    --Error-color: #E74C3C;
    --Success-color: #07B361;
    --background-color: #f8f9fa;
    --light-gray: #ecf0f1;
    --accent-color: #E74C3C;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #262626;
    background-color: #EDEDED;
}

/* Кнопки */
.btn {
    display: inline-block;
    background-color: var(--Green-main);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background-color: #2980b9;
}

.btn:active {
    transform: translateY(0);
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #c0392b;
}

.btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn:disabled:hover {
    background-color: #cccccc;
    transform: none;
    box-shadow: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    width: 95%;
    margin: 10px 2.5% 0;
    top: 5px;
}

.header.menu-open {
    border-radius: 100px 100px 0 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 80px;
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
}

.logo img {
    height: 50px;
    width: auto;
}

.navigation {
    display: flex;
    gap: 40px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #262626;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--Green-main);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #07B361;
}

.nav-link.active::after {
    width: 100%;
    background-color: #07B361;
}

.callback-btn {
    background-color: var(--Green-main);
    color: var(--White-main);
    border: none;
    border-radius: 100px;
    padding: 14px 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.callback-btn:hover {
    background-color: var(--Grey-main);
}

/* Бургер меню */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1000;
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: #262626;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: #262626;
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: #262626;
}

/* Затемнение фона при открытом меню */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Блок 1 - Hero Section */
.hero-section {
    margin-top: 100px;
    padding: 0 28px;
    background-color: #EDEDED;
}

.hero-container {
    max-width: 1800px;
    margin: 0 auto;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 659px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 100px;
    left: 50px;
    color: #FFFFFF;
}

.hero-title {
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-title span {
    color: #07B361;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 32px;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 0px;
    position: relative;
    top: 150px;
}

.price-badge {
    background-color: #07B361;
    color: #FFFFFF;
    padding: 12px 64px;
    border-radius: 100px;
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-weight: 600;
    font-size: 48px;
    z-index: 1;
}

.time-badge {
    font-family: 'Christopher', cursive;
    font-size: 128px;
    color: #FFFFFF;
    transform: rotate(-6deg);
    line-height: 1;
    position: absolute;
    left: 35%;
    top: 40%;
    z-index: 2;
}

/* Статистика под блоком 1 */
.stats-section {
    padding: 20px 28px;
    background-color: #EDEDED;
}

.stats-container {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.stat-card {
    background-color: var(--Grey-main);
    border-radius: 20px;
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -25px;
    left: -8px;
    right: -8px;
    height: 30px;
    background: var(--Green-main);
    filter: blur(30px);
    transition: all 0.3s ease;
    transform: scale(1.4);
}

.stat-card:hover::before {
    background: var(--Green-main);
    height: 45px;
    filter: blur(20px);
    transform: scale(2);
}

.stat-card.horizontal {
    flex-direction: row;
    gap: 15px;
}

.stat-number {
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-size: 48px;
    color: var(--White-main);
    margin-bottom: 10px;
    font-weight: 600;
    z-index: 1;
}

.stat-number span {
    font-size: 70px;
}

.stat-card.horizontal .stat-number {
    margin-bottom: 0;
}

.stat-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: var(--White-main);
}

/* Блок 2 - Преимущества */
.advantages-section {
    padding: 80px 28px;
    background-color: #DEDEDE;
}

.advantages-container {
    max-width: 1600px;
    margin: 0 auto;
}

.advantages-title {
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--Green-main);
}

.advantages-title span {
    color: var(--Grey-main);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.advantage-card {
    background-color: #FFFFFF;
    border-radius: 40px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.advantage-icon {
    margin-bottom: 25px;
}

.advantage-icon img {
    width: 80px;
    height: 80px;
}

.advantage-heading {
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--Green-main);
    text-align: left;
}

.advantage-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--Grey-main);
    text-align: left;
}

/* Блок 3 - Проекты */
.projects-section {
    padding: 80px 28px;
    background-color: #EDEDED;
}

.section-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--Green-main);
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-content {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.4rem;
    color: var(--Green-main);
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.product-description {
    color: var(--Grey-main);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
}

.product-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.feature {
    background: var(--Grey-main);
    color: var(--White-main);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

.product-price-btn-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 1rem;
    gap: 0.5rem;
}

.product-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--Green-main);
    font-family: 'Montserrat', sans-serif;
}

.product-order-btn {
    background: var(--Green-main);
    color: white;
    border: none;
    padding: 10px 43%;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    display: flex; /* Добавьте эти строки */
    align-items: center;
    justify-content: center;
}

.product-order-btn:hover {
    background: var(--Grey-main);
}

/* Блок 4 - Отзывы */
.reviews-section {
    padding: 80px 28px;
    background-color: #DEDEDE;
    position: relative;
}

.reviews-container {
    max-width: calc(800px * 3 + 30px * 2);
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

.reviews-title {
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--Green-main);
}

.reviews-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 40px 0;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    justify-content: center;
}

.reviews-grid::-webkit-scrollbar {
    display: none;
}

.review-card {
    background-color: #FFFFFF;
    border-radius: 40px;
    padding: 30px;
    flex: 0 0 560px;
    height: 500px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    scroll-snap-align: center;
    position: relative;
    margin: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviewer-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-bottom: 0px;
    line-height: 1.2;
}

.review-stars {
    color: var(--Green-main);
    font-size: 24px;
    line-height: 1;
}

.review-date {
    font-family: 'Montserrat', sans-serif;
    color: #666;
}

.review-comment {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    overflow-y: auto;
}

.review-comment::-webkit-scrollbar {
    display: none;
}

.review-comment span {
  color: var(--Green-main);
}

.review-project-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.review-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Блок 5 - Квиз-форма */
.quiz-section {
    padding: 80px 28px;
    background-color: #EDEDED;
}

.quiz-container {
    max-width: 1600px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.quiz-title {
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--Green-main);
}

.quiz-progress {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #DEDEDE;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-fill {
    width: 20%;
    height: 100%;
    background-color: var(--Green-main);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--Grey-main);
    text-align: center;
}

.quiz-content {
    position: relative;
    min-height: 300px;
}

.quiz-step {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.quiz-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-question {
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--Green-main);
}

.question-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--Grey-main);
    text-align: center;
}

.quiz-options {
    font-family: 'Montserrat', sans-serif;
    display: grid;
    gap: 15px;
}

.quiz-option {
    background-color: #F5F5F5;
    border: 2px solid transparent;
    border-radius: 100px;
    padding: 20px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quiz-option:hover {
    background-color: var(--Green-main);
    color: var(--White-main);
    transform: translateY(-2px);
}

.quiz-option.selected {
    background-color: var(--Green-main);
    color: var(--White-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.quiz-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #DEDEDE;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.quiz-input:focus {
    outline: none;
    border-color: var(--Green-main);
}

.quiz-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    padding: 15px;
    background: #F5F5F5;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-checkbox:hover {
    background: #e8e8e8;
}

.quiz-checkbox.selected {
    background: var(--Green-main);
    color: var(--White-main);
}

.quiz-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--Green-main);
}

.quiz-checkbox.selected input[type="checkbox"] {
    accent-color: var(--White-main);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.quiz-nav-btn {
    background-color: var(--Green-main);
    color: var(--White-main);
    border: none;
    border-radius: 100px;
    padding: 15px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.quiz-nav-btn:disabled {
    background-color: #DEDEDE;
    color: #999;
    cursor: not-allowed;
}

.quiz-nav-btn:hover:not(:disabled) {
    background-color: var(--Grey-main);
}

.submit-btn {
    background-color: var(--Green-main);
}

.submit-btn:disabled {
    background-color: #DEDEDE;
    color: #999;
    cursor: not-allowed;
}

/* Блок 6 - Баннер */
.banner-section {
    padding: 0;
    background-color: #EDEDED;
}

.banner-container {
    width: 100%;
    height: 500px;
    background-image: url('/img/index/bgblock.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    max-width: 1800px;
    padding: 0 20px;
}

.banner-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--White-main);
    line-height: 1.3;
}

.banner-text span {
    color: var(--Green-main);
}

/* Блок 7 - FAQ */
.faq-section {
    padding: 80px 28px;
    background-color: #DEDEDE;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-title {
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--Green-main);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item.active {
    background-color: #f8f8f8;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: var(--Grey-main);
    font-weight: 500;
    flex: 1;
}

.faq-plus {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: var(--Green-main);
    font-weight: 300;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-plus {
    transform: rotate(45deg);
}

.faq-answer {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--Grey-main);
    line-height: 1.6;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #F0F0F0;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Блок 8 - Контакты */
.contacts-section {
    padding: 80px 28px;
    background-color: #EDEDED;
}

.contacts-container {
    max-width: 1600px;
    margin: 0 auto;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    height: 400px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #F5F5F5;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.contact-info {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--Green-main);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    background: none;
    box-shadow: none;
    margin: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: var(--Grey-main);
    font-weight: 500;
}

/* Блок 9 - Футер */
.footer {
    padding: 40px 28px;
    background-color: #262626;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--White-main);
}

.footer-contacts {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--White-main);
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #FFFFFF;
    margin: 15% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    text-align: left;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #262626;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--Green-main);
}

.modal-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--Green-main);
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
}

.modal-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--Grey-main);
    line-height: 1.5;
    margin-bottom: 25px;
}

.modal-btn {
    background-color: var(--Green-main);
    color: var(--White-main);
    border: none;
    border-radius: 100px;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.modal-btn:hover {
    background-color: var(--Grey-main);
}

.success-btn {
    background-color: var(--Success-color);
}

.success-btn:hover {
    background-color: var(--Grey-main);
}

.error-btn {
    background-color: var(--Error-color);
}

.error-btn:hover {
    background-color: var(--Grey-main);
}

.success-icon,
.error-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-content input {
    padding: 12px;
    border: 1px solid #DEDEDE;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--Green-main);
    border-width: 1px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--Green-main);
}

.checkbox-container label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.modal-content button[type="submit"] {
    background-color: #07B361;
    color: #FFFFFF;
    border: none;
    padding: 12px;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.modal-content button[type="submit"]:hover {
    background-color: var(--Grey-main);
}

.popup-link {
    color: var(--Green-main);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-link:hover {
    color: var(--Grey-main);
}
