
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}


header {
    background: url('https://images.unsplash.com/photo-1585540083814-ea6ee8af9e4f?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    padding: 1rem 0;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: #F8F9FA;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(127, 72, 81, 0.441);
}

.slogan {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #F8F9FA;
    background-color: #333;
    padding: 0 5px 0 5px;
}


nav {
    background-color: #006400;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0 1rem;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #FFD700;
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #FFD700;
    transition: width 0.3s ease, left 0.3s ease;
}

nav a:hover::after {
    width: 100%;
    left: 0;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 1rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    nav ul {
        display: block;
        flex-direction: column;
        width: 100%;
    }
    nav ul.active {
        display: flex;
    }
    nav li {
        margin: 0;
        text-align: center;
    }
}


main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.content-block {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.card {
    background: #F8F9FA;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}


form {
    max-width: 600px;
    margin: 0 auto;
}

label {
    display: block;
    margin: 1rem 0 0.5rem;
    font-weight: bold;
    color: #006400;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #228B22;
}

button {
    background: #228B22;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

button:hover {
    background: #006400;
}


footer {
    background: #006400;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: white;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}



@media (max-width: 778px) {
    header {
        min-height: 40vh;
        padding: 1rem;
    }
    .logo {
        font-size: 2rem;
    }
    main {
        padding: 1rem;
    }
    .content-block {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    .slogan {
        font-size: 1rem;
    }
}