
:root {
    --primary-color:#52A102;
    --text-color: #000000;
    --background-gradient: linear-gradient(to bottom right, #d1ebfe, #ffffff);
    --font-family: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--background-gradient);
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.5;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1440px;
    margin: 0 auto;
}

.logo {
    flex: 1;
}

.logo img {
    height: 190px;
    width: 190px;
}

.nav-links {
    flex: 1;
    display: flex;
    justify-content: space-between;
    padding-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.44rem;
    font-weight: 700;
    transition: color 0.3s ease;
    padding: 0.75rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}


.hero {
    position: relative;
    padding: 6rem 5%;
    background-image: url('backpage1.png');
    background-size: 100% 100%;  /* Растягиваем фон, чтобы он точно заполнил */
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.language-selector {
    display: flex;
    gap: 0.5rem; /* Меньшее расстояние между языками */
    margin-left: auto; /* Выравнивание вправо */
    font-size: 1.2rem; /* Размер шрифта, соответствующий остальному тексту */
    font-weight: 700; /* Жирный шрифт */
    margin-left: 10rem; /* Отступ слева от Contacts, чтобы отдалить */
}


.language-selector a {
    text-decoration: none;
    color: var(--text-color);
}

.language-selector a:hover {
    color: var(--primary-color);
}


.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.2;
    font-weight: 700;
}

/* Button styles */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
     font-size: 1.2rem;
}

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

.btn-secondary {
    background-color: transparent; /* или white */
    color: #52A102;
    border: 1px solid #52A102;
}

.btn:hover {
    transform: translateY(-2px);
}

.decorative-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.curve-element {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-color: #E8F5FF;
    clip-path: ellipse(50% 50% at 50% 100%);
}

.sparkle-elements {
    position: absolute;
    right: 10%;
    top: 20%;
}

.features {
    position: relative;
    padding: 6rem 5%;
    background-image: url('backpage2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.features-content {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-text {
    max-width: 600px;
}

.features-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
   font-size: 1.4rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.features-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Why Choose section */
.why-choose { 
    padding: 6rem 5%;
    background: var(--background-gradient);
    position: relative;
    overflow: hidden;
}

.why-choose h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 4rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-card {
    background-color: #B9D999;
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
    transition: transform 0.3s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    margin-top: 120px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.feature-card p {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 1.5rem;
}

.arrow-icon {
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 96px;
    color: #000000;
    font-weight: bold;
    line-height: 1;
}

.feature-card h3 {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000000;
}

.feature-card:hover {
    transform: translateY(-10px);
}


/* Decorative elements */
.zigzag {
    position: absolute;
    left: 2rem;
    bottom: 4rem;
    width: 100px;
    height: 100px;
    background-color: #DCEB96;
    clip-path: polygon(0 0, 100% 0, 100% 20%, 60% 20%, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 80%, 100% 80%, 100% 100%, 0 100%);
    opacity: 0.5;
}

.dot {
    position: absolute;
    right: 3rem;
    top: 4rem;
    width: 20px;
    height: 20px;
    background-color: #DCEB96;
    border-radius: 50%;
    opacity: 0.5;
}

.why-urgent {
    background-color: #76C3CC;
    padding: 6rem 5%;
    border-radius: 2rem;
    margin: 4rem auto;
    max-width: 1100px;
    text-align: center;
}

.key-challenges {
    color: #000000;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem; /* Уменьшено расстояние */
}

.why-urgent h2 {
    color: #000000;
    font-size: clamp(3rem, 6vw, 4.5rem); /* Больше размер */
    margin-bottom: 3rem; /* Уменьшено расстояние */
    position: relative;
}

/*.why-urgent h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 8px;
    background-color: #F7F7A6;
    border-radius: 4px;
}*/

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.challenge-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    color: #000000;
    transition: transform 0.3s ease; /* Добавляем плавность для перемещения */
}

.challenge-item:hover {
    transform: translateY(-10px); /* Поднимаем элемент вверх */
}

.challenge-item .icon {
    margin-bottom: 1.5rem;
}

.challenge-item h4 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: #F7F7A6;
}

.challenge-item p {
    font-size: 1.3rem;
    opacity: 0.95;
}


.footer {
    position: relative;
    padding: 10rem 5%; /* Увеличил верхний и нижний отступы */
    margin-top: auto;
    background: transparent;
    background: linear-gradient(to top, #4A7A80 0%, transparent 100%);
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer h2,
.footer p,
.footer a {
    color: #000000;
}

.footer-tagline {
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #000000;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-link {
    color: #000000;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0.8;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    opacity: 1;
}

.social-link svg, .social-link img {
    width: 33px;  /* Устанавливаем ширину */
    height: 33px; /* Устанавливаем высоту */
}

