html {
    overflow-x: clip;
}

body {
    font-family: "Roboto Slab", serif;
    overflow-x: hidden;
}
.upper-nav {
    background-color: rgb(208, 208, 208) !important;
    width: 100%;
}

.navbar {
    background-color: rgb(233, 233, 233) !important;
    padding: 0 !important;
}

.nav-link {
    color: green !important;
    transition: color 0.2s ease, background-color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    background-color: green;
    transform: translateY(-3px);
}

.dropdown-menu {
    border-radius: 10px;
}

.dropdown-item:hover {
    background-color: green;
    color: white;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.hero-section {
    background: linear-gradient(135deg, #e9f5ec, #f7fbf8);
    box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.05);
}



#about-section {
    background: linear-gradient(135deg, #e9f5ec, #f7fbf8);
}

.about-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.18);
}

.about-card h2 {
    font-weight: 700;
    color: #2f6f3e;
}

.abtext {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
}

.about-img {
    height: 350px;
    object-fit: cover;
}

.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.pozeleni {
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.5s ease;
}

.pozeleni:hover {
    color: green !important;
    transform: translateY(-10px) ;
}

.hero-section p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s forwards;
    animation-delay: 1.2s;
    transition: transform 0.3s ease, color 0.5s ease;
}

.hero-section p.pozeleni:hover {
    color: green !important;
    transform: translateY(10px); 
}

h1 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s forwards;
}

h1 span:nth-child(1) { animation-delay: 0s; }
h1 span:nth-child(2) { animation-delay: 0.2s; }
h1 span:nth-child(3) { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

