* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(180deg, #a1ce98, #ffffff);
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2ecc71;
    padding: 0.25rem 1rem;
    color: white;
}

header .logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.navBar {
    transition: background-color 0.25s;
    border-radius: 8px;
    padding: 5px 8px;
}

.navBar:hover {
    background-color: #279117;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #fff;
}

.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: limegreen;
    background: rgba(0, 0, 0, 0.527);
    padding: 1rem;
    border-radius: 10px; 
    border: 2px solid rgba(0, 0, 0, 0.377); 

    transition: box-shadow 0.45s;
}

.hero:hover{
    box-shadow: 0 8px 16px #0d7c3b;
}


.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    color: white;
    background-color: #2ecc71;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #36ca22;
}

/* Carousel Animation */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dots .dot.active {
    background-color: #2ecc71;
}

footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 1rem;
    margin: 0;
}

.about-us {
    background: linear-gradient(180deg, #a1ce98, #ffffff);
    padding: 3rem 2rem;
}

.about-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    background: #9edaa1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    transition: box-shadow 0.3s ease-in-out;
}

.about-block:hover {
    box-shadow: 0 8px 16px rgba(22, 138, 68, 0.788);
}

.about-block.left {
    justify-content: flex-end;
}

.about-text {
    flex: 1;
    padding: 1rem;
}

.about-text h2 {
    color: #2ecc71;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.about-image img {
    max-height: 100%;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#warning {
    color: gray;
    font-size: 0.6em;
    margin-top: 0;
}

