* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    margin-top: auto; 
}

header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .logo h2 {
    color: #2e7d32;
}

.menu-btn {
    display: none; 
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #2e7d32;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #2e7d32;
}

.btn-nav {
    background-color: #2e7d32;
    color: white !important;
    padding: 8px 15px;
    border-radius: 5px;
}

.btn-nav:hover {
    background-color: #1b5e20;
}

.hero {
    background-color: #e8f5e9;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    color: #1b5e20;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-main {
    text-decoration: none;
    background-color: #2e7d32;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-main:hover {
    background-color: #1b5e20;
}

.content-section {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.content-section h2 {
    margin-bottom: 20px;
    color: #2e7d32;
}

.content-section p {
    max-width: 800px;
    margin: 0 auto 15px auto;
}

.content-section h3 {
    margin: 30px 0 15px 0;
    color: #1b5e20;
}

.content-section ul {
    text-align: left;
    max-width: 700px;
    margin: 20px auto;
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 10px;
}

.bg-light {
    background-color: #f9f9f9;
}

.bg-green {
    background-color: #c8e6c9;
}

.hidden-text {
    display: none;
}

.hidden-text.show {
    display: block;
}

.btn-see-more {
    background: none;
    border: none;
    color: #2e7d32;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    padding: 5px 0;
    text-decoration: underline;
    margin-top: 15px;
}

.btn-download {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    background-color: #1b5e20;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
}

.category-title {
    text-align: left;
    color: #1b5e20;
    font-size: 1.8rem;
    margin: 40px 0 5px 0;
    border-bottom: 3px solid #c8e6c9;
    padding-bottom: 5px;
    width: 100%;
}

.category-subtitle {
    text-align: left;
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.grid-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

/* Изравнени по размер картички с подреден дизайн */
.card {
    background: white;
    padding: 0 0 10px 0; 
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Бута текста и заглавието нагоре, а дъното остава равно */
    height: 100%; /* Прави всички картички в един ред абсолютно еднакво високи */
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(46, 125, 50, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-top: 0;
}

.card h3 {
    margin: 8px 10px 2px 10px; 
    color: #2e7d32;
    font-size: 1.2rem;
    text-align: center;
}

.card p {
    margin: 0 10px 5px 10px; 
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 5px rgba(0,0,0,0.1);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }
}