/* General styles */
:root {
    --primary-color: #1a4d2e; /* Темно-зеленый, природный */
    --secondary-color: #f5f5f5; /* Светлый фон */
    --text-color: #333;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif; /* Можно заменить на Lato или другой, если хотите */
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden; /* Предотвращаем горизонтальный скролл */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 700;
}

/* Header styles */
.navbar {
    padding: 1rem 0; /* Немного уменьшил вертикальный отступ шапки */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Легкая тень для шапки */
    background-color: white !important; /* Гарантируем белый фон */
}

.navbar-brand {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.8rem; /* Крупный шрифт для лого/названия */
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-right: 10px;
    height: 40px; /* Высота логотипа */
}

.navbar-nav .nav-link {
    font-family: var(--heading-font);
    font-weight: 400;
    font-size: 1.1rem;
    margin-right: 15px;
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
    text-transform: uppercase; /* Заглавные буквы для пунктов меню */
    letter-spacing: 0.05em;
}

.navbar-nav .nav-link:hover {
    color: #4CAF50 !important; /* Чуть светлее зеленый при наведении */
}

.navbar-nav .dropdown-toggle::after {
    display: inline-block;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    margin-left: 0.5em;
    color: var(--primary-color); /* Цвет стрелочки */
}

.dropdown-menu {
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    border-radius: 0.3rem;
}

.dropdown-item {
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
    position: relative; /* Для возможности позиционирования псевдоэлементов */
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

/* Button styles */
.btn-custom-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-custom-primary:hover {
    background-color: #4CAF50; /* Более светлый зеленый */
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4); /* Тень при наведении */
    color: white;
}

/* Card styles */
.card {
    border: none;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    padding: 25px; /* Увеличил внутренний отступ */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
}

.card-text {
    font-size: 1.1rem;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4CAF50; /* Акцентный зеленый */
    border-radius: 2px;
}

/* Footer styles */
.footer {
    background-color: #2c3e50; /* Более темный, солидный, но не черный */
    color: #ecf0f1; /* Светлый текст */
    padding: 50px 0;
    font-size: 0.95rem;
    border-top: 5px solid #4CAF50; /* Акцентная полоса */
}

.footer a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #4CAF50;
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-family: var(--heading-font);
    color: #4CAF50; /* Акцентный зеленый */
    letter-spacing: 0.05em;
}

.contact-info i {
    margin-right: 12px;
    color: #4CAF50;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer hr {
    border-color: #34495e;
}

/* Specific adjustments for layout */
.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-white {
    color: white;
}

.text-light {
    color: #f8f9fa;
}

.align-items-center {
    align-items: center;
}

.rounded {
    border-radius: 0.375rem !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .card {
        padding: 20px;
    }
    .footer {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    .hero-section {
        padding: 60px 0;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .card-title {
        font-size: 1.5rem;
    }
    .footer-title {
        font-size: 1.2rem;
    }
    .footer-title, .footer-title::after {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
    }
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .card {
        padding: 15px;
    }
    .card-title {
        font-size: 1.3rem;
    }
}



