/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url(bg.png), linear-gradient(rgb(48,82,117) 0%, rgb(48,82,117) 100%);
}

#container {
    background: white;
    margin: 0 auto;
    max-width: 1200px;
}

/* Фиксированное меню */
.sticky-menu {
    position: sticky;      /* или position: fixed; если нужен полный фикс */
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;      /* белый фон */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;          /* поверх всего контента */
    padding: 1rem 0;
}

/* Центрирование ссылок */
.sticky-menu nav ul {
    list-style: none;
    display: flex;
    justify-content: center;   /* горизонтальное центрирование */
    gap: 3rem;                 /* расстояние между пунктами */
    margin: 0;
    padding: 0;
}

.sticky-menu nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.sticky-menu nav a:hover {
    color: #007bff;
}

/* Логотип/название слева (по желанию) */
.logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1.4rem;
    color: #000;
}

/* Hero / Background section */
.hero {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3em;
    margin-bottom: 3em;
}
.hero > div:first-child {
    padding: 1em;
    color: rgba(26, 26, 26, 0.6);
}
.hero > div:last-child {
    padding: 1em;    
}
.hero > div:last-child a {
    color: rgb(53, 86, 120);
    font-style: italic;
    font-weight: 500;
}
.hero-content {
    text-align: center;
    background-image: linear-gradient(rgb(43, 151, 129) 0%, rgb(53, 86, 120) 100%);
}
.hero-content h2 {
    font-size: 2em;
    color: white;    
}
.hero-content h3 {
    color: rgb(40, 219, 148);
    font-style: italic;
}
.hero-content img {
    width: 8em;
    padding-top: 1em;
}

.hero-bottom {
  width: 100%;
  height: 60px;                    /* adjust height here (60–100px usually looks good) */
}

.hero-bottom svg {
  width: 100%;
  display: block;
}

/* Section with money and clock image */
.money {
    background: url("money.jpg") no-repeat center;
    min-height: 284px;
    display: flex;                     /* center child vertically + horizontally */
    justify-content: center;
    align-items: center;
}

.money h1 {
    text-align: center;
    background: rgba(255,255,252,0.8);
    padding: 0.4em 0.8em;
    font-size: 1.5em;
    color: black;
}

/* Features section with three icons */
.features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.feature {
    text-align: center;
    max-width: 300px;
    flex: 1;
    min-width: 250px;
}
.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #000;
}
.feature p {
    color: #666;
}
.feature > div {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background-image: linear-gradient(rgb(43, 151, 129) 0%, rgb(53, 86, 120) 100%);
    width: 6em;
    height: 6em;
    margin: 1em auto;
}
h3.we-offer {
    color: #666;
    font-size: 1.3em;
}

/* Green Contact Form Styles */
.contact-form-section {
  background-color: #f8f9fa; /* Light background for section */
  padding: 2rem 1rem;
}

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

.form-title {
  text-align: center;
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.green-form {
  background: linear-gradient(135deg, #28a745, #20c997); /* Green gradient background */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  color: #fff;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.green-form input,
.green-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
}

.submit-btn {
  width: 100%;
  background-color: #fff;
  color: #28a745;
  border: none;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 1em;
}

.submit-btn:hover {
  background-color: #f8f9fa;
}

.consent input {
    width: auto;
}

.green-form label {    
    color: white;    
    margin: 1rem 0;
    cursor: pointer;
    align-items: flex-start;
}

/* Footer / Contacts section */
.site-footer {
    background: rgb(53, 86, 120);
    padding: 2rem;
    margin-top: 3rem;
    color: lightgray;    
}
.site-footer hr {
    margin: 0 20em 2em;
    height: 1px;
}
.site-footer h1 {
    color: white;
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 1em;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.footer-contacts p {
    margin-bottom: 1rem;
    line-height: 1.5;
}
.footer-form h3 {
    margin-bottom: 1rem;
    color: #000;
}
.footer-form form {
    display: grid;
    gap: 1rem;
}
.footer-form label {
    display: block;
    font-weight: bold;
}
.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.footer-form button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}
.footer-form button:hover {
    background: #0056b3;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .features {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .site-footer hr {
        margin: 0 2em 2em;    
    }
    .green-form {
    padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 300px;
    }
    .hero h2 {
        font-size: 1.5rem;
    }
    .features {
        padding: 2rem 0.5rem;
    }
    .feature {
        min-width: auto;
    }
    .site-footer hr {
        margin: 0 2em 2em;    
    }
    #container {
        margin
    }
}