: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%;
    margin: 0 auto;
    background-color: #ffffff; /* белый фон для навбара */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* мягкая тень */
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.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);
}

    .nav-links a {
        padding: 0.5rem 0;
    }

.hero {
    position: relative;
    padding: 6rem 5%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 39vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    z-index: 1;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-color);
}
.hero p {
    font-size: 1.2rem; /* Increased font size for the paragraph */
    font-weight: 500;
    color: var(--text-color);
    margin-top: 1rem; /* Adjusted margin */
}
.contact-form {
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

form label {
    font-weight: 700;
    font-size: 1.2rem;
}

form input, form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

form textarea {
    resize: vertical;
}

button {
    padding: 1.25rem 2rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 1.2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
}

.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: 3.5rem;
    margin-bottom: 2.5rem;
}

.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: 55px;
    height: 55px;
}
