:root {
    --primary-color: #e91e63;
    --secondary-color: #c2185b;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --text-color: #555;
    --white: #fff;
    --black: #000;
    --gray: #ddd;
    --dark-gray: #777;
    --accent:#ffffff;
}
body.dark {
  --bg: #000000;
  --text: #f0f0f0;
  --accent:#000000;
  --card-bg: #1e1e1e;
  --button-bg: #353535;
  --button-text: #000000;
}
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        html {
    scroll-behavior: smooth;
}
        body {
            line-height: 1.6;
            color: var(--text);
            background-color: var(--bg);
             width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
            overflow-x: hidden; /* Предотвращает горизонтальный скролл */
        }

        .container {
          
             width: 100%;
    max-width: 1400px; /* Увеличил максимальную ширину */
    margin: 0 auto;
    padding: 0 20px;
        }

        h1, h2, h3, h4 {
            color: #c2185b;
            margin-bottom: 15px;
        }

        p {
            margin-bottom: 15px;
        }

        a {
            text-decoration: none;
            color: #c2185b;
            transition: color 0.3s;
        }

        a:hover {
            color: var(--button-bg);
        }

        .btn {
            display: inline-block;
            background-color: #c2185b;
            color: white;
            padding: 12px 25px;
            border-radius: 5px;
            font-weight: 600;
            transition: background-color 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background-color: #e91e63;
            color: #ffffff;
        }
        .cc btn{
        color: #fff;
        }
        section {
           
            padding: 80px 0;
    width: 100%;
        }

        .section-title {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        .section-title:after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background-color: #e91e63;
            margin: 15px auto;
        }

        /* Шапка */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            color: #c2185b;
            display: flex;
            align-items: center;
        }

        .logo1{
            font-size: 24px;
            font-weight: 700;
            color: #4a7c59;
            display: flex;
            align-items: center;
            width: 100px;
            height: 50px;
        }

        .logo i {
            margin-right: 10px;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 25px;
        }

        nav ul li a {
            font-weight: 500;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: #c2185b;
            cursor: pointer;
        }

        /* Герой секция */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/i.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 170px ;

        
        }

        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            color: white;
        }

        .hero p {
            font-size: 20px;
            max-width: 700px;
            margin: 0 auto 30px;
        }

        /* О нас */
        .about {
            background-color: white;
        }

        .about-content {
            display: flex;
            align-items: center;
            gap: 40px;
        }

        .about-text {
            flex: 1;
            font-size: 20px;
           
        }


        













        .about-image {
            flex: 1;
            border-radius: 10px;
            
           
        }

        .about-image img {
            width: 500px;
            height: 500px;
            display: block;
        }

        /* Популярные товары */
        .products {
            background-color: #f5f5f5;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
        }

        .product-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .product-image {
            height: 200px;
            overflow: hidden;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .product-card:hover .product-image img {
            transform: scale(1.1);
        }

        .product-info {
            padding: 20px;
        }

        .product-info h3 {
            margin-bottom: 10px;
        }

        .product-price {
            font-size: 18px;
            font-weight: 600;
            color: #c2185b;
            margin-bottom: 15px;
        }

        /* Преимущества */
        .features3 {
            background-color: white;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .feature-card {
            text-align: center;
            padding: 30px 20px;
            border-radius: 10px;
            background-color: #f9f9f9;
            transition: transform 0.3s;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            font-size: 40px;
            color: #c2185b;
            margin-bottom: 20px;
        }

        /* Отзывы */
        .testimonials {
            background-color: #f5f5f5;
        }

        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .testimonial-card {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 20px;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 15px;
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-info h4 {
            margin-bottom: 5px;
        }

        /* Контакты */
        .contact {
            background-color: white;
        }

        .contact-container {
            display: flex;
            gap: 40px;
        }

        .contact-info {
            flex: 1;
        }

        .contact-form {
            flex: 1;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
        }

        .contact-icon {
            font-size: 20px;
            color: #c2185b;
            margin-right: 15px;
            margin-top: 5px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }

        textarea.form-control {
            min-height: 150px;resize: vertical;
        }

        /* Подвал */
        footer {
            background-color: #f8bbd0;
            color: rgb(0, 0, 0);
            padding: 60px 0 20px;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col h3 {
            color: rgb(0, 0, 0);
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background-color: #c2185b;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            color: #000000;
        }


        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: background-color 0.3s;
        }

        .social-links a:hover {
            background-color: #c2185b;
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .about-content {
                flex-direction: column;
            }
            
            .contact-container {
                flex-direction: column;
            }
        }

        @media (max-width: 768px) {
            .header-container {
                flex-wrap: wrap;
            }
            
            nav {
                width: 100%;
                margin-top: 15px;
                display: none;
            }
            
            nav.active {
                display: block;
            }
            
            nav ul {
                flex-direction: column;
            }
            
            nav ul li {
                margin: 0 0 10px 0;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero h1 {
                font-size: 36px;
            }
            
            .hero p {
                font-size: 18px;
            }
        }

        @media (max-width: 576px) {
            section {
                padding: 40px 0;
            }
            
            .hero {
                padding: 80px 0;
            }
            
            .hero h1 {
                font-size: 28px;
            }
            
            .hero p {
                font-size: 16px;
            }
        }




        

        .header-content1 {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo1 {
            font-size: 1.8rem;
            font-weight: bold;
        }

       

        /* Герой секция */
        .hero1 {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('i.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 4rem 0;
        }

        .hero1 h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .hero1 p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
        }

        .btn1 {
            display: inline-block;
            background: #ff6b6b;
            color: white;
            padding: 12px 30px;
            text-decoration: none;
            border-radius: 25px;
            transition: background 0.3s;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn1:hover {
            background: #ff5252;
        }

        /* Секция с цветами */
        .flowers-section1 {
            padding: 4rem 0;
        }

        .section-title1 {
            text-align: center;
            margin-bottom: 3rem;
            font-size: 2.5rem;
            color: #333;
        }

        .flowers-grid1 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .flower-card1 {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

        .flower-card1:hover {
            transform: translateY(-5px);
        }

        .flower-image1 {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .flower-info1 {
            padding: 1.5rem;
        }

        .flower-title1 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .flower-price1 {
            font-size: 1.5rem;
            color: #ff6b6b;
            font-weight: bold;
            margin-bottom: 1rem;
        }

        /* Форма заказа */
        .order-section1 {
            background: white;
            padding: 4rem 0;
        }

        .order-form1 {
            max-width: 600px;
            margin: 0 auto;
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .form-group1 {
            margin-bottom: 1.5rem;
        }











.btn6{
    display: inline-block;
            background-color: #c2185b;
            color: white;
            padding: 12px 25px;
            border-radius: 5px;
            font-weight: 600;
            display: flex;
            border: none;
            cursor: pointer;
            justify-content: center;  
}
  .btn6:hover {
            background-color: #c2185b;
            color: #fff;
        }







.btn7{
    display: inline-block;
            background-color: #c2185b;
            color: white;
            padding: 12px 25px;
            border-radius: 5px;
            font-weight: 600;
            display: flex;
            border: none;
            cursor: pointer;
            justify-content: center;
            
}


img {
    max-width: 100%;
    height: auto;
}







.checkout-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;

     width: 100%;
    max-width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
}

.checkout-container h1{
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;

   

}

    .form-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    }

    .input-field {
    display: flex;
    flex-direction: column;
    }

    .input-field label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    }

    .input-field input, 
    .input-field textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    }

    .input-field .value {
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
    color: #666;
    }

.order-button {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 20px;
 
}

.order-button button {
  background: #c2185b;
  color: white;
  padding: 5px 40px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  margin-top: -30PX;
  margin-right: 150px;
}
.order-button1 {
    width: 300px;
    height: 40px;
    text-align: center;
    padding: 5px;
            display: inline-block;
            background-color: #c2185b;
            color: white;

            border-radius: 5px;
            font-weight: 600;
            transition: background-color 0.3s;
            border: none;
            cursor: pointer;
        }

        .order-button1:hover {
            background-color: #e91e63;
            color: #fff;
        }



        .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalopen 0.5s;
}

@keyframes modalopen {
  from {opacity: 0; transform: translateY(-50px);}
  to {opacity: 1; transform: translateY(0);}
}

.close {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: var(--text);
}

.modal h2 {
  margin-bottom: 20px;
  color: var(--button-text);
}

.modal p {
  margin-bottom: 15px;
}

.modal-btn {
  padding: 12px 25px;
  background-color: #4a7c59;
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  
  margin-top: 20px;
  width: 100%;
}

.modal-btn:hover {
  background-color: #4a7c59 ;
}

 .circle-gradient {
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: linear-gradient(45deg, #ff6b6b, #ffcfcf, #cc9292);
            padding: 10px;
            margin: 50px auto;
            margin-right: -100px;
            margin-top: -100px;
        }

        .circle-gradient-inner {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
        }

        .circle-gradient-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }




        .circle-gradient1 {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: linear-gradient(45deg, #ff6b6b, #ffcfcf, #cc9292);
            padding: 10px;
            margin: 50px auto;
            margin-top: -600px;
            margin-right: -100px;
            
        }

        .circle-gradient-inner1 {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
        }

        .circle-gradient-image1 {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        


        .circle-gradient2 {
            width: 250px;
            height: 250px;
            border-radius: 50%;
            background: linear-gradient(45deg, #ff6b6b, #ffcfcf, #cc9292);
            padding: 10px;
            margin: 50px auto;
            margin-top:  200px;
            margin-right: -150px;
            
        }

        .circle-gradient-inner2 {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
        }

        .circle-gradient-image2 {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }




          .circle-gradient3 {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: linear-gradient(45deg, #ff6b6b, #ffcfcf, #cc9292);
            padding: 10px;
            margin: 50px auto;
            margin-top:  -240px;
            margin-right: 30px;
            
        }

        .circle-gradient-inner3 {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
        }

        .circle-gradient-image3 {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }


              .circle-gradient4 {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(45deg, #ff6b6b, #ffcfcf, #cc9292);
            padding: 10px;
            margin: 50px auto;
            margin-top: 440px;
            margin-left: -200px;
            
        }

        .circle-gradient-inner4 {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
        }

        .circle-gradient-image4 {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }











        






        .triangle:hover {
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        }
        
        .triangle-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .triangle:hover .triangle-img {
            transform: scale(1.05);
        }

    .triangle-inverted {
            clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
        }





.features3 {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px;
            font-family: Arial, sans-serif;
        }

        .features3 h1 {
            text-align: center;
            font-size: 2.5em;
            margin-bottom: 50px;
            color: #2c3e50;
        }

        .features-grid3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .feature-card3 {
            text-align: center;
            padding: 40px 25px;
            border-radius: 10px;
            background: #fff;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .feature-card3:hover {
            transform: translateY(-5px);
        }

        .feature-icon3 {
            font-size: 3em;
            margin-bottom: 20px;
            display: block;
        }

        .feature-content3 p {
            color: #666;
            line-height: 1.6;
            font-size: 1em;
        }


        .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--accent);
  margin: 10% auto;
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalopen 0.5s;
}

@keyframes modalopen {
  from {opacity: 0; transform: translateY(-50px);}
  to {opacity: 1; transform: translateY(0);}
}

.close {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #c2185b;
}

.modal h2 {
  margin-bottom: 20px;
  color: var(--button-text);
}

.modal p {
  margin-bottom: 15px;
}

.modal-btn {
  padding: 12px 25px;
  background-color: #4a7c59;
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  margin-top: 20px;
  width: 100%;
}

.modal-btn:hover {
  background-color: var(--secondary-color);
}
.lk{
    width: 26px;
}
.form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(56, 161, 105, 0.15);
    overflow: hidden;
    border: 1px solid #e8f5e8;
}

.form-header {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.form-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    font-size: 16px;
    opacity: 0.9;
}

.contact-form {
    padding: 40px;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8f5e8;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fdf8;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #c2185b;
    background: white;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2327ae60' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.radio-label input {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #bdc3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27ae60;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.radio-label input:checked + .radio-custom {
    border-color: #27ae60;
}

.radio-label input:checked + .radio-custom::after {
    opacity: 1;
}

.checkbox-group {
    margin: 10px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-label input:checked + .checkbox-custom {
    background: #27ae60;
    border-color: #27ae60;
}

.checkbox-label input:checked + .checkbox-custom::after {
    opacity: 1;
}

.submit-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    min-height: 18px;
}

input.error, select.error, textarea.error {
    border-color: #e74c3c;
    background: #fdf2f2;
}

input.valid, select.valid, textarea.valid {
    border-color: #27ae60;
}

.success-message {
    text-align: center;
    padding: 50px 40px;
    background: #f8fdf8;
    border-radius: 10px;
    border: 2px solid #27ae60;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #27ae60;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.success-message h2 {
    color: #27ae60;
    margin-bottom: 15px;
    font-size: 24px;
}

.success-message p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.success-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.success-btn:hover {
    background: #219653;
}

.hidden {
    display: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
   
    .contact-form {
        padding: 30px 25px;
    }
   
    .form-header {
        padding: 30px 25px;
    }
   
    .form-header h1 {
        font-size: 26px;
    }
   
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
   
    .contact-form {
        padding: 20px 15px;
    }
   
    .form-header {
        padding: 25px 20px;
    }
}

.modal-btn1 {
  padding: 12px 25px;
  background-color: #2c5530;
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  
  margin-top: 20px;
  width: 100%;
}

.modal-btn1:hover {
  background-color: #4a7c59 ;
}



/* Сообщение об успехе */
.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 14px;
    border-left: 4px solid #2e7d32;
    text-align: center;
}

.success-message i {
    margin-right: 8px;
}


/* ===== РОЗОВОЕ МОДАЛЬНОЕ ОКНО ===== */

/* Фон затемнения */
.modal {
    background-color: rgba(233, 30, 99, 0.2);  /* розоватое затемнение */
}

/* Контент модального окна */
.modal-content {
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%);
    border-radius: 30px;
    border: 2px solid #f8bbd0;
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.2);
    padding: 40px;
    text-align: center;
}

/* Заголовок модального окна */
.modal-content h2 {
    color: #e91e63;
    font-size: 28px;
    margin-bottom: 15px;
}

/* Текст модального окна */
.modal-content p {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
}

/* Кнопка закрытия (крестик) */
.modal .close,
.modal .close-success {
    color: #e91e63;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.modal .close:hover,
.modal .close-success:hover {
    color: #c2185b;
    transform: scale(1.1);
}

/* Кнопка в модальном окне */
.modal-btn1 {
    background: linear-gradient(135deg, #e91e63, #c2185b) !important;
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: auto;
    min-width: 150px;
}

.modal-btn1:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

/* Анимация появления */
@keyframes modalopen {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content {
    animation: modalopen 0.4s ease-out;
}