* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* ----------------------------------------------- Navbar start ------------------------------------------------------------------- */
/* Existing Navbar Styles */
.navbar {
    background: #fff;
    height: 6.25rem; /* 100px */
    display: flex;
    font-size: 2rem;
    z-index: 1000; /* Ensure navbar is above submenu */
    position: fixed;
    top: 0;
    width: 100%; /* Full width */
}

.navbar_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6.25rem;
    width: 100%;
    padding: 0 1rem; /* Padding for smaller screens */
}

#pms_logo {
    height: 3rem;
    width: auto;
    margin: 0;
    margin-left: 112%;
    margin-top: 6%;
}

.navbar_menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin-right: 6%;
    margin-bottom: 1%;
}

.navbar_item {
    display: flex;
    align-items: center;
    position: relative; /* For absolute positioning of submenu */
}

.navbar_button {
    border: none;
    background-color: #fff;
    margin: 0 1.25rem;
    font-size: 1rem;
    color: #00A651;
    cursor: pointer;
    padding: 0;
    position: relative;
    letter-spacing: 1px;
    margin-top: 3rem;
    display: flex;
    align-items: center;
}

/* Underline Effect on Hover for Navbar Button */
.navbar_item .navbar_button::after {
    content: "";
    background-color: #00A651;
    height: 3px;
    position: absolute;
    width: 0; 
    left: 0;
    bottom: -0.35rem;
    opacity: 0;
    transition: all 0.6s;
    pointer-events: none;
}

.services-toggle:hover .navbar_button::after {
    opacity: 1;
    width: 100%; 
}

/* Navbar Links Styling */
.navbar_menu .navbar_links {
    color: #00A651;
    display: flex;
    position: relative;
    text-decoration: none;
    margin: 0 1.25rem;
    font-size: 1rem;
    margin-top: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    align-items: center;
}

.navbar_menu .navbar_links::after {
    content: "";
    background-color: #00A651;
    height: 3px;
    width: 0%;
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    opacity: 0;
    transition: all 0.6s;
    pointer-events: none;
}

.navbar_menu .navbar_links:hover::after {
    opacity: 1;
    width: 100%;
}

/* Language Switcher Button Styling */
.navbar_lang {
    border: none;
    background-color: #fff;
    color: #9e9b9b;
    display: flex;
    position: relative;
    text-decoration: none;
    margin: 0 1.25rem;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 1rem;
    cursor: pointer;
}

/* Sticky Navbar Styling */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    height: 6.25rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensure navbar is above submenu */
}

.content-wrapper {
    padding-top: 6.25rem; 
}

/* Hover-Based Submenu Display */
.services-toggle {
    position: relative;
}

/* Hover-Maintaining Div Styling */
.hover-maintain {
    height: 2rem; /* Increased height from 1rem to 2rem */
    width: 100%; /* Span the full width */
    /* No box-shadow or background */
}

/* Submenu Styling */
.services-slide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* Slight upward movement for animation */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: 105.5%;
    left: -2.7rem;
    background: #fff;
    border: none;
    z-index: 999; /* Below navbar */
    width: 17rem; /* 1rem margin on both sides */
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    list-style-type: none;
}

.services-toggle.active .services-slide {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Move to original position */
}

/* Submenu Links Styling */
.serv-nav-item {
    display: block;
    text-decoration: none;
    color: #00A651;
    padding: 1rem 0.75rem;
    font-size: 1rem;
    text-align: left;
    padding-left: 4rem;
    letter-spacing: 1px;
}

.services-slide .serv-nav-item {
    justify-content: center;
}

.serv-nav-item:hover {
    color: #9e9b9b;
}

.en-slide.show-lang-slide {
    display: block;
}

.toggle-slide {
    display: none;
    position: absolute;
    top: 6.2rem;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    text-align: center;
}

#fiala {
    margin-top: 1%;
}

/* Show the submenu when active */
.services-toggle.active .services-slide {
    display: block;
}

/* Disable transitions when no-transition class is present */
.services-toggle.no-transition .services-slide {
    transition: none;
}

.language-switcher-container {
    position: relative;
    display: inline-block;
}

.language-toggle {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
}

#language-toggle-button {
    font-size: 1rem;
    margin-top: 3rem;
    border: none;
    color: #9e9b9b;
}

.language-dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 120px;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.1);
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-dropdown li {
    width: 100%;
}

.language-dropdown li button {
    width: 100%;
    padding: 1.2rem 0.75rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    color: #9e9b9b;
    font-size: 1rem;
}

.language-dropdown li button:hover {
    color: #00A651;
}

#anchor_nav {
    color: #00A651;
    margin-left: -1rem !important;
    margin-right: 0.9rem;
    padding: 0;
    font-size: 1rem;
    margin-top: 1rem;
}


/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) { 

    .navbar_container {
        display: flex;
        justify-content: space-between;
        margin-left: 0;
    }

    .navbar_menu,
    .services-slide,
    .en-slide {
        display: none;
    }

    .navbar.sticky {
        position: fixed;
        top: 0;
        width: 100%;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    #mobile_dash_menu {
        margin-right: 3rem;
        cursor: pointer;
        display: block;
    }

    #mobile_dash_menu .bar {
        display: block;
        width: 1.9rem;
        height: 3px;
        background-color: #00A651;
        margin: 0.4rem 0;
    } 

    #pms_logo {
        height: 3rem;
        width: auto;
        margin: 0; /* Remove margin to center it better */
        margin-left: 44%;
        margin-top: 7%;
    }

    /* Styling the toggle-slide */
    .toggle-slide {
        display: none;
        position: absolute;
        top: 6.2rem;
        width: 100%;
        background-color: #fff;
        z-index: 999;
        text-align: center;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
        left: 0;
        right: 0;
    }

    .toggle-slide.show-toggle-slide {
        display: block;
    }

    /* Show the toggle sublists */
    .toggle-slide .show-sublist {
        display: block !important;
    }

    /* Ensure the navbar links are styled correctly for mobile */
    .toggle-slide a {
        display: block;
        padding: 3vh;
        text-decoration: none;
        color: #00A651;
        margin: 0;
        font-size: 2.6vw;
    }

    .navbar_links::after {
        display: none;
    }

    /* Styling the sublists */
    .sub-services {
        padding-left: 0;
        display: none; /* Hidden by default */
        transition: max-height 0.5s ease, opacity 0.5s ease;
    }

    .sub-services a {
        display: block;
        text-decoration: none;
        color: #fff !important;
        text-align: center;
        margin-right: 0;
        background-color: #00A651 !important;
        padding: 3vh;
        width: 100%;
        margin-left: 0 !important;
        font-size: 2.6vw;
    }

    .toggle-slide #language-toggle-button {
        padding: 0;
        margin: 0;
    }

    #language-toggle-button .navbar_lang {
        display: block;        /* Make it cover the full width */
        width: 100%;           /* Ensure the button takes up the full width */
        height: 8vh;
        padding: 0;
        text-align: center;      /* Align the text to the left */
        cursor: pointer;       /* Ensure the pointer cursor is shown */
        background-color: transparent; /* No background */
        border: none;          /* Remove button border */
        color: #9e9b9b;        /* Button text color */
        margin: 0;
        font-size: 2.6vw;
    }
    
    #language-toggle-button .navbar_lang:hover {
        background-color: #f0f0f0; /* Optional: Background change on hover */
        color: #007f45;            /* Optional: Text color change on hover */
    }

    .services-container {
        display: flex;
        justify-content: center;
        gap: 1.5rem; /* Adjust as needed */
        align-items: first baseline;
        margin-right: 1rem;
    }

    #toggle-services {
        padding-right: 0;
    }

    #toggle-services,
    #anchor_nav {
        display: inline-block;
    }

    #anchor_nav {
        font-size: 2.6vw;
    }
    
    #language-toggle-button-toggle {
        width: 100vw;
        border: none;
        padding: 3vh;
        font-size: 2.4vw;
        color: #9e9b9b;
        align-items: center;
        margin-left: 1%;
    }

    #language-dropdown-toggle {
        width: 100vw;
    }

    .language-btn {
        font-size: 2.4vw !important; /* Ensure the font-size is applied to language buttons */
        color: #9e9b9b;
        background-color: transparent;
        border: none;
        width: 100%;
        text-align: center !important;
        padding: 3vh !important;
    }
}

/* Large Mobile Phones (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {

    .navbar_menu,
    .services-slide,
    .en-slide {
        display: none;
    }

    .navbar_container {
        display: flex;
        justify-content: space-between; /* Space out the logo and the menu icon */
        align-items: center; /* Vertically center the items */
        height: 6.25rem; /* Ensure the height is consistent */
        padding: 0 1rem; /* Add padding to the sides */
    }

    #mobile_dash_menu {
        cursor: pointer;
        display: block;
        margin-right: 5%;
    }

    #mobile_dash_menu .bar {
        display: block;
        width: 1.9rem;
        height: 3px;
        background-color: #00A651;
        margin: 0.4rem 0;
    } 

    .toggle-slide {
        display: none; /* Initially hidden */
        position: absolute;
        top: 6.2rem;
        width: 100%;
        background-color: #fff;
        z-index: 999;
        text-align: center;
        left: 0;
        right: 0;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    }
    
    .toggle-slide.show-toggle-slide {
        display: block; /* This will make it visible */
        
    }

    .sub-services a,
    .sub-lang a {
        display: block;
        text-decoration: none;
        color: #fff !important;
        text-align: center;
        margin-right: 1.5rem;
        background-color: #00A651 !important;
        padding: 3.2vh;
        font-size: 3.6vw;
    }

    .toggle-slide a {
        display: block;
        padding: 3.2vh;
        text-decoration: none;
        color: #00A651;
        margin: 0;
        font-size: 3.6vw;
    }

    .navbar_links::after {
        display: none;
    }

    #pms_logo {
        margin-left: 11%;
        margin-top: 7%;
    }

    .toggle-slide #language-toggle-button {
        padding: 0;
        margin: 0;
    }
    
    .services-container {
        display: flex;
        justify-content: center;
        gap: 1.5rem; /* Adjust as needed */
        align-items: first baseline;
        margin-right: 1rem;
    }

    #toggle-services {
        padding-right: 0;
    }

    #toggle-services,
    #anchor_nav {
        display: inline-block;
    }

    #anchor_nav {
        font-size: 3.6vw;
    }
    
    #language-toggle-button-toggle {
        width: 100vw;
        border: none;
        padding: 3vh;
        font-size: 3.6vw;
        color: #9e9b9b;
        align-items: center;
        margin-left: 1%;
    }

    #language-dropdown-toggle {
        width: 100vw;
    }

    .language-btn {
        font-size: 3.6vw !important; /* Ensure the font-size is applied to language buttons */
        color: #9e9b9b;
        background-color: transparent;
        border: none;
        width: 100%;
        text-align: center !important;
        padding: 3vh !important;
    }
}


/* For phones */
@media (max-width: 479px) {

    .navbar_menu,
    .services-slide,
    .en-slide {
        display: none;
    }

    .navbar_container {
        display: flex;
        justify-content: space-between; /* Space out the logo and the menu icon */
        align-items: center; /* Vertically center the items */
        height: 6.25rem; /* Ensure the height is consistent */
        padding: 0 1rem; /* Add padding to the sides */
    }

    #mobile_dash_menu {
        cursor: pointer;
        display: block;
        margin-right: 5%;
    }

    #mobile_dash_menu .bar {
        display: block;
        width: 1.9rem;
        height: 3px;
        background-color: #00A651;
        margin: 0.4rem 0;
    } 

    .toggle-slide {
        display: none; /* Initially hidden */
        position: absolute;
        top: 6.2rem;
        width: 100%;
        background-color: #fff;
        z-index: 999;
        text-align: center;
        left: 0;
        right: 0;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    }
    
    .toggle-slide.show-toggle-slide {
        display: block; /* This will make it visible */
        
    }

    .sub-services a,
    .sub-lang a {
        display: block;
        text-decoration: none;
        color: #fff !important;
        text-align: center;
        margin-right: 1.5rem;
        background-color: #00A651 !important;
        padding: 3.2vh;
        font-size: 4.6vw;
    }

    .toggle-slide a {
        display: block;
        padding: 3.2vh;
        text-decoration: none;
        color: #00A651;
        margin: 0;
        font-size: 4.6vw;
    }

    .navbar_links::after {
        display: none;
    }

    #pms_logo {
        margin-left: 11%;
        margin-top: 7%;
    }

    .toggle-slide #language-toggle-button {
        padding: 0;
        margin: 0;
    }
    
    .services-container {
        display: flex;
        justify-content: center;
        gap: 1.5rem; /* Adjust as needed */
        align-items: first baseline;
        margin-right: 1rem;
    }

    #toggle-services {
        padding-right: 0;
    }

    #toggle-services,
    #anchor_nav {
        display: inline-block;
    }

    #anchor_nav {
        font-size: 4.6vw;
    }
    
    #language-toggle-button-toggle {
        width: 100vw;
        border: none;
        padding: 3vh;
        font-size: 4.6vw;
        color: #9e9b9b;
        align-items: center;
        margin-left: 1%;
    }

    #language-dropdown-toggle {
        width: 100vw;
    }

    .language-btn {
        font-size: 4.6vw !important; /* Ensure the font-size is applied to language buttons */
        color: #9e9b9b;
        background-color: transparent;
        border: none;
        width: 100%;
        text-align: center !important;
        padding: 3vh !important;
    }
}

@media (min-width: 1920px) {
    
    .navbar_button {
        border: none;
        background-color: #fff;
        margin: 0 1.25rem;
        font-size: 1.2rem;
        color: #00A651;
        cursor: pointer;
        padding: 0;
        position: relative;
        letter-spacing: 1px;
        margin-top: 3rem;
        display: flex;
        align-items: center;
    }

    /* Navbar Links Styling */
    .navbar_menu .navbar_links {
        color: #00A651;
        display: flex;
        position: relative;
        text-decoration: none;
        margin: 0 1.25rem;
        font-size: 1.2rem;
        margin-top: 1rem;
        letter-spacing: 1px;
        cursor: pointer;
        align-items: center;
    }

    #language-toggle-button {
        font-size: 1.2rem;
        margin-top: 3.2rem;
        border: none;
        color: #9e9b9b;
    }

    .language-dropdown li button {
        width: 100%;
        padding: 1.2rem 0.75rem;
        border: none;
        background: none;
        text-align: left;
        cursor: pointer;
        color: #9e9b9b;
        font-size: 1.2rem;
    }

    #anchor_nav {
        color: #00A651;
        margin-left: -1rem !important;
        margin-right: 0.9rem;
        padding: 0;
        font-size: 1.2rem;
        margin-top: 1rem;
    }

    .serv-nav-item {
        display: block;
        text-decoration: none;
        color: #00A651;
        padding: 1rem 0.75rem;
        font-size: 1.2rem;
        text-align: left;
        padding-left: 4rem;
        letter-spacing: 1px;
    }
}


/* ----------------------------------------------- Slider start ------------------------------------------------------------------- */

.slide_container {
    position: relative;
    width: 100%;
    height: 90vh; /* Ensure it fills the viewport height */
    overflow: hidden; /* Hide any overflow from child elements */
}

.img_slider {
    position: relative;
    width: 100%;
    max-width: 90rem; 
}

.img_slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Fill the height of .slide_container */
    opacity: 0;
    visibility: hidden;
    transition: ease-in-out;
    z-index: 1;
}

.img_slider .slide.active {
    opacity: 1; 
    visibility: visible; 
}
  

.img_slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Scale the image to cover the slide */
}

.img_slider .slide .info {
    position: absolute;
    bottom: 25%;
    margin-left: 10.2%;

}

.img_slider .slide .info h2 {
    color: #fff;
    font-size: 3.4rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0,125rem;
    width: 70%;
}

.img_slider .slide .info .main {
    position: absolute;
    background-color: #00A651;
    color: #fff;
    border: none;
    padding: 0.8rem 1.3rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    cursor: pointer;
    margin-top: 1rem;
    overflow: hidden;
    z-index: 1; 
    border-bottom-left-radius: 1.1rem 0.9rem;
    
}

.img_slider .slide .info .main::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #fff;
    transition: height 0.3s ease-in-out;
    z-index: -1;
}

.img_slider .slide .info .main:hover::before {
    height: 100%; 
}

.img_slider .slide .info .main:hover {
    color: #00A651; 
    transition: all 0.1s ease-in-out;
}

.img_slider .nav_slider {
    z-index: 1;
    position: absolute;
    display: flex;
    transform: translate(-50%);
    bottom: 2rem;
    left: 50%;
}

.nav_slider .nav_btn {
    background: rgba(255, 255, 255, 0.5);
    width: 0.75rem;
    height: 0.75rem;
    margin: 0.9rem;
    border-radius: 50%;
    cursor: pointer;
}

.img_slider .nav_slider .nav_btn.active {
    background: #00A651;
}

.img_slider .nav_slider .nav_btn:hover {
    background: #00A651;
    transition: 0.4s;
}


/* Responsive adjustments for tablets */
@media (min-width: 768px) and (max-width: 1024px) { 
    .slide_container {
        height: 72vh;
    }

    .img_slider {
        max-width: 100%;
    }

    .img_slider .slide .info {
        bottom: 20%;
        margin-left: 8.3%;
    }

    .img_slider .slide .info h2 {
        font-size: 3.2rem;
        width: 75%;
    }

    .img_slider .slide .info .main {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .img_slider .nav_slider {
        bottom: 1.5rem;
    }

    .nav_slider .nav_btn {
        width: 0.6rem;
        height: 0.6rem;
        margin: 0.5rem;
    }

    .img_slider .slide .info .main {
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }
}

/* Media query for mobile devices */
@media (min-width: 480px) and (max-width: 767px) {

    .slide_container {
        height: 72vh;
    }

    .img_slider .slide .info {
        padding: 15% 3%;
        bottom: 15%;
        margin-left: 6%;
    }

    .img_slider .slide .info h2 {
        font-size: 1.6rem;
        width: 85%;
    }

    .img_slider .slide .info .main {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
        margin-left: 0;
    }

    .img_slider .nav_slider {
        bottom: 1rem;
    }

    .nav_slider .nav_btn {
        width: 0.5rem;
        height: 0.5rem;
        margin: 0.3rem;
    }

    .img_slider .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Scale the image to cover the slide */
        padding: 0;
    }
}

/* For phones */
@media (max-width: 479px) {
    .slide_container {
        height: 72vh;
    }

    .img_slider .slide .info {
        padding: 15% 3%;
        bottom: 10%;
        margin-left: 6%;
    }

    .img_slider .slide .info h2 {
        font-size: 1.6rem;
        width: 90%;
    }

    .img_slider .slide .info .main {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
        margin-left: 0;
    }

    .img_slider .nav_slider {
        bottom: 1rem;
    }

    .nav_slider .nav_btn {
        width: 0.5rem;
        height: 0.5rem;
        margin: 0.3rem;
    }

    .img_slider .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Scale the image to cover the slide */
        padding: 0;
    }
}

@media (min-width: 1920px) {
    .slide_container {
        height: 92vh; /* Zvýšení výšky pro větší obrazovky */
    }

    .img_slider {
        max-width: 120rem; /* Přizpůsobte šířku */
    }

    .img_slider .slide .info {
        bottom: 30%;
        margin-left: 12%;
    }

    .img_slider .slide .info h2 {
        font-size: 4rem; /* Zvýšení velikosti textu */
        width: 65%;
    }

    .img_slider .slide .info .main {
        padding: 1rem 1.8rem;
        font-size: 1.3rem;
    }

    .img_slider .nav_slider {
        bottom: 2.5rem;
    }

    .nav_slider .nav_btn {
        width: 1rem;
        height: 1rem;
        margin: 1rem;
    }
}

/* Slider end */

/* ----------------------------------------------- 2nd slide start ------------------------------------------------------------------- */

.scnd_slide {
    position: relative;
    height: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 20px; /* added padding for small screens */
}

.scnd_slide h3 {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 7%;
    margin-left: 9.2%;
    position: relative;
}

h3::before {
    content: '';
    position: absolute;
    top: 0.3vw; 
    left: -7.8%; 
    width: 4rem; 
    height: 2px; 
    background-color: #00A651; 
}

.scnd_slide h2 {
    font-size: 2.3rem;
    font-weight: 600;
    margin-top: 0.8rem;
    margin-left: 9.2%;
}

.scnd_slide .a p {
    font-size: 1.1em;
    font-weight: 300;
    margin-top: 6%;
    width: 73%;
    margin-left: 9.2%;
}

.scnd_slide .b p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: 2.2rem;
    width: 80%;
    margin-left: 9.2%;
}

.scnd_slide .b #last {
    padding-bottom: 7%;
}

/* Getting rid of the green line soon */
@media (max-width: 1300px) {
    .scnd_slide h3::before {
        display: none;
    }
}

/* Responsive adjustments for tablets */
@media (min-width: 768px) and (max-width: 1024px) { 

    .scnd_slide h3 {
        font-size: 1rem;
        margin-left: 6.7%;
    }

    .scnd_slide h2 {
        font-size: 2rem;
        margin-left: 6.7%;
    }

    .scnd_slide .a p, .scnd_slide .b p {
        font-size: 1rem;
        width: 82%;
        margin-left: 6.7%;
    }

    .scnd_slide .b #last {
        padding-bottom: 7%;
    }

    .scnd_slide h3::before {
        display: none;
    }
}

/* Media query for mobile devices */
@media (min-width: 480px) and (max-width: 767px) {
    .scnd_slide h3 {
        font-size: 1.1rem;
        margin-top: 6%;
        margin-left: 9%;
    }

    .scnd_slide h2 {
        font-size: 1.5rem;
        margin-left: 9%;
    }

    .scnd_slide .a p, .scnd_slide .b p {
        font-size: 1rem;
        width: 89%;
        margin-left: 9%;
    }

    .scnd_slide .b #last {
        padding-bottom: 7%;
        width: 89%;
    }

    .scnd_slide h3::before {
        display: none;
    }
}

/* For phones */
@media (max-width: 479px) {

    .scnd_slide .a p, .scnd_slide .b p {
        font-size: 1.1rem;
        width: 89%;
        margin-left: 5%;
    }

    .scnd_slide #last {
        width: 89%;
    }

    .scnd_slide h3 {
        margin-left: 5%;
    }

    .scnd_slide h2 {
        margin-left: 4.7%;
    }

}

@media (min-width: 1920px) {
    
    h3::before {
        content: '';
        position: absolute;
        top: 0.2vw; 
        left: -5.8%; 
        width: 4rem; 
        height: 2px; 
        background-color: #00A651; 
    }

    .scnd_slide h3 {
        font-size: 1.2rem;
        font-weight: 300;
        letter-spacing: 1px;
        margin-top: 7%;
        margin-left: 9.2%;
        position: relative;
    }
   
    .scnd_slide h2 {
        font-size: 2.5rem;
        font-weight: 600;
        margin-top: 0.8rem;
        margin-left: 9.2%;
    }
    
    .scnd_slide .a p {
        font-size: 1.2em;
        font-weight: 300;
        margin-top: 6%;
        width: 73%;
        margin-left: 9.2%;
    }
    
    .scnd_slide .b p {
        font-size: 1.2rem;
        font-weight: 300;
        margin-top: 2.2rem;
        width: 80%;
        margin-left: 9.2%;
    }
}

/* ----------------------------------------------- 3rd slide start ------------------------------------------------------------------- */

.third_slide {
    width: 100%;
    height: auto;
    background-color: #36383e;
    position: relative;
}

.content_container {
    display: flex;
    flex-direction: row;
}

.maps {
    flex: 1;
    order: 1;
    margin-left: 8.1%;
    margin-top: 0rem;
}

.parametr {
    flex: 1;
    order: 2; 
    margin-left: 10%; 
    margin-top: 0rem;
   
}

.num1,
.num2,
.num3 {
    width: 95%;
}

.third_slide h3 {
    font-size: 1rem;
    font-weight: 200;
    letter-spacing: 1px;
    padding-top: 8%;
    margin-left: 10.3%;
    color: #fff;
    position: relative;
}

.third_slide h3::before {
    content: '';
    position: absolute;
    top: 89.5%; 
    left: -6.2rem; 
    width: 4rem;
    height: 2px; 
    background-color: #fff; 
}

.third_slide h2 {
    font-size: 2.3rem;
    font-weight: 600;
    margin-top: 2%;
    margin-left: 10.3%;
    color: #fff;
    position: relative;
    width: 40%;
}

.third_slide h4 {
    font-size: 7vw;
    font-weight: 500;
    padding-top: 80px;
    color: #00A651;
    position: relative;
}
 
.third_slide h5 {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    color: #fff;
    position: relative;
    margin-top: 1%;
}

.third_slide p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: -42px;
    margin-left: 58%;
    color: #fff;
    position: relative;
    width: 40%;
    line-height: 150%;
}

.nav_slider2 {
    display: flex;
    list-style: none;
    padding: 0;
}

.slider2_item {
    height: 80px;
    padding-top: 25px;
    margin-left: 4%;
}

.slider2_links {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    margin-top: 17px;
    letter-spacing: 1px;
    cursor: pointer;
}

.slider2_links::after {
    content: "";
    color: #00A651;
    background-color: #00A651;
    height: 3px;
    width: 0%;
    position: absolute;
    left: 0;
    bottom: -5px;
    opacity: 0;
    transition: all 0.6s;
    pointer-events: none;
}

.slider2_links:hover::after {
    opacity: 1;
    width: 100%;
}

.slider2_links.active {
    color: #00A651; 
    text-decoration: none; 
    position: relative; 
}

.slider2_links.active::after {
    content: ''; 
    position: absolute;
    left: 0;
    bottom: -5px; 
    width: 100%;
    height: 3px;
    background-color: #00A651; 
    opacity: 1;
    transition: all 0.6s;
    pointer-events: none;
}

/* 2nd slider start */

.scnd_slider {
    width: 100%;
    max-width: 800px;
    height: auto;  
    margin-top: 8%;
    overflow: hidden;
    margin-bottom: 5rem;
}

.slides {
    width: 500%;
    height: auto;
    display: flex;
}

.slides input {
    display: none;
}

.slide {
    width: 20%;
    transition: 0.01s;
}

.slide img {
    object-fit: cover;
}

.navigation_manual {
    position: absolute;
    margin-top: 50px;
    display: flex;

}

#word1:checked ~ .first {
    margin-left: 0;
}

#word2:checked ~ .first {
    margin-left: -20%;
}

#word3:checked ~ .first {
    margin-left: -40%;
}


/* Getting rid of the green line soon */
@media screen and (max-width: 1250px) {

    .third_slide h4 {
        font-size: 6.25rem;
        font-weight: 500;
        padding-top: 50px;
        color: #00A651;
        position: relative;
    }

    .num1,
    .num2,
    .num3 {
        width: 100%;
        text-align: center;
        margin: auto;
    }


    .third_slide h3::before {
        display: none;
    }

    .content_container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .third_slide {
        height: auto; /* Allow height to adjust based on content */
        padding: 0 2rem; /* Add some padding to prevent content from touching the edges */
    }

    .third_slide h3 {
        margin-left: 5.6%;
        font-size: 1rem;
    }

    .third_slide h2 {
        font-size: 2rem;
        margin-left: 5.6%;;
        width: 90%; /* Ensure the text takes the full width */
    }
    
    .nav_slider2 {
        justify-content: center;
    }

    .third_slide p {
        margin-left: 5.6%;
        font-size: 1.1rem;
        margin-top: 4%;
        width: 90%;
    }

    .parametr {
        display: flex; /* Make .parametr a flex container */
        flex-direction: row; /* Ensure items are laid out in a row */
        flex-wrap: wrap; /* Allows items to wrap to the next line if they overflow */
        justify-content: space-between; /* Adjust spacing between items */
        align-items: center; /* Align items vertically in the center */
        margin-left: 0;
        margin-bottom: 6rem;
        width: 90%;
    }
    
    .slide img {
        width: 80%;
        height: auto;
        display: block;
        margin: auto;
    }

    .maps {
        margin-left: 0;
        margin-top: 3%;
        justify-content: center;
        width: 60%;
    }

    .scnd_slider {
        margin-left: 0;
        margin-bottom: 0;
    }
}

/* Responsive adjustments for tablets */
@media (min-width: 768px) and (max-width: 1024px) { 

    .third_slide h4 {
        padding-top: 30px;
    }

    .num1,
    .num2,
    .num3 {
        width: 100%;
        text-align: center;
        margin: auto;
    }

    .content_container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .third_slide {
        height: auto; /* Allow height to adjust based on content */
        padding: 0 2rem; /* Add some padding to prevent content from touching the edges */
    }

    .third_slide h3 {
        margin-left: 5.6%;
        font-size: 1rem;
    }

    .third_slide h2 {
        font-size: 2rem;
        margin-left: 5.6%;;
        width: 90%; /* Ensure the text takes the full width */
    }
    
    .nav_slider2 {
        justify-content: center;
    }

    .third_slide p {
        margin-left: 5.6%;
        font-size: 1.1rem;
        margin-top: 4%;
        width: 90%;
    }

    .parametr {
        display: flex; /* Make .parametr a flex container */
        flex-direction: row; /* Ensure items are laid out in a row */
        flex-wrap: wrap; /* Allows items to wrap to the next line if they overflow */
        justify-content: space-between; /* Adjust spacing between items */
        align-items: center; /* Align items vertically in the center */
        margin-left: 0;
        margin-bottom: 6rem;
        width: 90%;
    }
    
    .slide img {
        width: 80%;
        height: auto;
        display: block;
        margin: auto;
    }

    .maps {
        margin-left: 0;
        margin-top: 3%;
        justify-content: center;
        width: 80%;
    }

    .scnd_slider {
        margin-left: 0;
        margin-bottom: 0;
    }
}

@media (min-width: 480px) and (max-width: 767px) {

    .content_container {
        display: flex;
        flex-direction: column; /* Stack all elements vertically */
        justify-content: center; /* Center content horizontally */
        width: 100%; /* Ensure it takes the full width of the screen */
        margin: 0;
        padding: 0;
        height: auto;
    }

    .third_slide h3 {
        margin-left: 2%;
        font-size: 1rem;
        padding-top: 13%;
    }

    .third_slide h2 {
        font-size: 1.5rem;
        margin-left: 2%;
        margin-top: 6%;
        width: 95%;
    }

    .third_slide p {
        margin-top: 7%;
        width: 95%;
        margin-left: 2%;
        font-size: 1.1rem;
    }

    .maps {
        width: 90%; /* Set the width to 90% to make it responsive */
        margin: 0 auto; /* Center the element horizontally */
        padding: 0;
        justify-content: center; /* Center the content horizontally */

    }

    .nav_slider2 {
        justify-content: space-evenly;
        margin-left: 0;
    }

    .slider2_item {
        margin-left: 0%;
    }

    /* Modify .parametr to arrange items vertically in 1x3 layout */
    .parametr {
        display: flex;
        flex-direction: column; /* Arrange items in a vertical column */
        justify-content: center; /* Center items horizontally if needed */
        align-items: center; /* Center items vertically if needed */
        margin: 0;
        text-align: center; /* Ensure text inside parametr is centered */
    }

    .scnd_slider {
        width: 100%; /* Ensure the slider still takes full width */
        overflow: hidden; /* Prevent content overflow */
        margin-top: 5%; /* Adjust the top margin */
        height: auto;
        margin: auto;
        padding: 0;
    }

    .slide img {
        width: 80%;
        height: auto;
        display: block;
        margin: 0;
        padding: 0;
    }

    .slides {
        margin-left: 10%;
    }

    .num3 h5 {
        margin-bottom: 40%;
    }

    .parametr h5 {
        justify-items: center;
    }

    .num1
    .num2
    .num3 {
        justify-content: center;
    }

    .third_slide h4 {
        padding-top: 60px;
    }
}

/* For phones */
@media (max-width: 479px) {

    .content_container {
        display: flex;
        flex-direction: column; /* Stack all elements vertically */
        justify-content: center; /* Center content horizontally */
        width: 100%; /* Ensure it takes the full width of the screen */
        margin: 0;
        padding: 0;
    }

    .third_slide h3 {
        margin-left: 2%;
        font-size: 1rem;
        padding-top: 13%;
    }

    .third_slide h2 {
        font-size: 1.5rem;
        margin-left: 2%;
        margin-top: 6%;
        width: 95%;
    }

    .third_slide p {
        margin-top: 7%;
        width: 95%;
        margin-left: 2%;
    }

    .maps {
        width: 100%; /* Set the width to 90% to make it responsive */
        margin: 0 auto; /* Center the element horizontally */
        padding: 0;
        justify-content: center; /* Center the content horizontally */
    }

    .nav_slider2 {
        justify-content: space-evenly;
        margin-left: 0;
    }

    .slider2_item {
        margin-left: 0%;
    }

    /* Modify .parametr to arrange items vertically in 1x3 layout */
    .parametr {
        display: flex;
        flex-direction: column; /* Arrange items in a vertical column */
        justify-content: center; /* Center items horizontally if needed */
        align-items: center; /* Center items vertically if needed */
        margin: 0;
        text-align: center; /* Ensure text inside parametr is centered */
    }

    .scnd_slider {
        width: 100%; /* Ensure the slider still takes full width */
        overflow: hidden; /* Prevent content overflow */
        height: auto;
        margin: auto;
        padding: 0;
    }

    .slide img {
        width: 80%;
        height: auto;
        display: block;
        margin: 0;
        padding: 0;
        padding-top: 10%; /* Adjust the top margin */
    }

    .slides {
        margin-left: 10%;
    }

    .num3 h5 {
        margin-bottom: 40%;
    }

    .parametr h5 {
        justify-items: center;
    }

    .num1
    .num2
    .num3 {
        justify-content: center;
    }

    .third_slide h4 {
        padding-top: 60px;
    }
}

@media (min-width: 1920px) {
    
    .third_slide h3 {
        font-size: 1.2rem;
        font-weight: 200;
        letter-spacing: 1px;
        padding-top: 8%;
        margin-left: 10.3%;
        color: #fff;
        position: relative;
    }
    
    .third_slide h3::before {
        content: '';
        position: absolute;
        top: 90.5%; 
        left: -6.2rem; 
        width: 4rem;
        height: 2px; 
        background-color: #fff; 
    }

    .third_slide h2 {
        font-size: 2.5rem;
        font-weight: 600;
        margin-top: 1%;
        margin-left: 10.3%;
        color: #fff;
        position: relative;
        width: 40%;
    }

    .third_slide p {
        font-size: 1.2rem;
        font-weight: 300;
        margin-top: -42px;
        margin-left: 58%;
        color: #fff;
        position: relative;
        width: 35%;
        line-height: 150%;
    }

    .maps {
        flex: 1;
        order: 1;
        margin-left: 8.6%;
        margin-top: 0rem;
    }

    .parametr {
        flex: 1;
        order: 2; 
        margin-left: 25%; 
        margin-top: 0rem;
       
    }

    .scnd_slider {
        width: 100%;
        max-width: 800px;
        height: auto;  
        margin-top: 8%;
        overflow: hidden;
        margin-bottom: 15rem;
    }
}

/* 2nd slider end */

/* 3rd slide end */

/* ----------------------------------------------- 4th slide start ------------------------------------------------------------------- */

.fourth_slide {
    width: 100%;
    height: auto;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.column {
    /* Remove float */
    flex: 1 1 26%; /* Flex-grow, flex-shrink, flex-basis */
    max-width: 26%; /* Ensure columns don't exceed 26% */
    box-sizing: border-box; /* Include padding and border in width */
    position: relative;
    margin-top: 10%;
    margin-bottom: 10%;
    cursor: pointer;
    padding: 0 0; /* Adjust padding instead of margin */
}

.row {
    display: flex; /* Make row a flex container */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    width: 100%;
    margin: 0 auto; /* Center the row if necessary */
}

.column img {
    width: 100%;
    height: auto;
    display: block;
}

/* static part start */

.static-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10.5%;
    background-color: rgba(0, 166, 81, 0.85);
    display: flex;
    overflow: hidden;
}

.static-content a {
    color: #fff;
    font-size: 1.2vw;
    text-decoration: none;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin: 0;
    margin-left: 8%;
    padding-top: 2%;
    transition: text-decoration 0.3s ease;
    position: relative;
    cursor: pointer;
}

.static-content .learn-more {
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

/* static part end */

/* moving part start */

.overlay {
    position: absolute;
    bottom: 10.5%;
    left: 0;
    right: 0;
    background-color: rgba(0, 166, 81, 0.85);
    overflow: hidden;
    width: 100%;
    height: 20%;
    transition: 0.3s ease;
}

.overlay p {
    opacity: 0;
    color: #fff;
    font-size: 1.2vw;
    margin-left: 8%;
    margin-top: 1rem;
    transition: opacity 0.8s ease;
    width: 81%;
    line-height: 130%;
    font-weight: 400;
}

.overlay h3 {
    color: #fff;
    font-size: 2.3vw;
    margin-left: 8%;
    margin-top: 6%;
    text-decoration: none;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.column:hover .overlay {
    height: 51%;
}

.column:not(:hover) .overlay {
    transition: 0.3s ease 0.6s;
}

.column:hover .overlay p {
    opacity: 1;
    transition: 1.5s ease;
}

.column:not(:hover) .overlay:hover p {
    opacity: 1; 
    transition: opacity 1.5s ease;
}

.static-content .learn-more:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.3px;
    text-underline-offset: .15rem;
}

.static-content h4 span:first-child {
    display: inline-block;
    margin-right: 5px; 
}

/* moving part end */

/* columns padding start */

#col_first {
    margin-left: 0;
}

.arrow {
    font-size: 1rem;
}


#col_third {
    margin-right: 0;
}
/* columns padding end */

/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {

    .column {
        flex: 1 1 33.3%; /* Two columns per row */
        max-width: 33.3%;
        margin: 0;
        padding: 0;
    }

    .column:hover .overlay {
        height: 58%;
    }
    

    .overlay p {
        opacity: 0;
        color: #fff;
        font-size: 1.58vw;
        margin-left: 8%;
        margin-top: 1rem;
        transition: opacity 0.8s ease;
        width: 81%;
        line-height: 130%;
        font-weight: 400;
    }

    .overlay h3 {
        color: #fff;
        font-size: 3.3vw;
        margin-left: 8%;
        margin-top: 6%;
        text-decoration: none;
        letter-spacing: 0.5px;
        font-weight: 600;
    }

}


/* Large Mobile Phones (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {

    .column {
        flex: 1 1 100%; /* One column per row */
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }

    .column:hover .overlay {
        height: 48%;
    }

    .overlay p {
        opacity: 0;
        color: #fff;
        font-size: 1.1rem;
        margin-left: 8%;
        margin-top: 1rem;
        transition: opacity 0.8s ease;
        width: 81%;
        line-height: 130%;
        font-weight: 400;
    }

    .overlay h3 {
        color: #fff;
        font-size: 2.3rem;
    }

    .static-content a {
        color: #fff;
        font-size: 1.1rem;
    }
}

/* For phones */
@media (max-width: 479px) {

    .column {
        flex: 1 1 100%; /* One column per row */
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }

    .column:hover .overlay {
        height: 48%;
    }

    .overlay p {
        opacity: 0;
        color: #fff;
        font-size: 1.1rem;
        margin-left: 8%;
        margin-top: 1rem;
        transition: opacity 0.8s ease;
        width: 81%;
        line-height: 130%;
        font-weight: 400;
    }

    .overlay h3 {
        color: #fff;
        font-size: 2.3rem;
    }

    .static-content a {
        color: #fff;
        font-size: 1.1rem;
    }
}

/* ----------------------------------------------- seda ------------------------------------------------------------------- */

.seda {
    width: 100%;
    height: auto;
    background-color: #fff;
    position: relative;
}

.seda h3 {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-top: 7%;
    margin-left: 10.3%;
    position: relative;
}

.seda h3::before {
    content: '';
    position: absolute;
    top: 15%; 
    left: -6.2rem;
    width: 4rem;
    height: 2px; 
    background-color: #00A651; 
}

.seda p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: 3rem;
    width: 80%;
    margin-left: 10.3%;
}

.seda #nej {
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: 4rem;
    width: 80%;
    margin-left: 10.3%;
}

#notnej {
    margin-bottom: 7%;
}

/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {

    .seda h3::before {
        display: none;
    }

    .seda h3 {
        margin-left: 8.3%;
        margin-top: 8%;
    }

    #notnej {
        margin-bottom: 5rem;
    }

    .seda p {
        margin-left: 8.3%;
        width: 84%;
        font-size: 1rem;
    }

    .seda #nej {
        margin-left: 8.3%;
        width: 84%;
        margin-top: 3rem;
        font-size: 1rem;
    }
}

/* Large Mobile Phones (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {

    .seda h3 {
        margin-left: 9%;
        margin-top: 13%;
    }

    .seda p {
        margin-left: 9%;
        width: 82%;
        font-size: 1.1rem;
    }

    .seda #nej {
        margin-left: 9%;
        width: 82%;
        margin-top: 10%;
    }

    #notnej {
        margin-bottom: 12%;
    }

    .seda h3::before {
        display: none;
    }
}

/* For phones */
@media (max-width: 479px) {

    .seda h3 {
        margin-left: 9%;
        margin-top: 13%;
    }

    .seda p {
        margin-left: 9%;
        width: 82%;
        font-size: 1.1rem;
    }

    .seda #nej {
        margin-left: 9%;
        width: 82%;
        margin-top: 10%;
        font-size: 1.1rem;
    }

    #notnej {
        margin-bottom: 12%;
        font-size: 1.1rem;
    }

    .seda h3::before {
        display: none;
    }
}

@media (min-width: 1920px) {
    
    .seda h3 {
        font-size: 1.2rem;
        font-weight: 300;
        letter-spacing: 1px;
        margin-top: 7%;
        margin-left: 10.3%;
        position: relative;
    }
    
    .seda p {
        font-size: 1.2rem;
        font-weight: 300;
        margin-top: 3rem;
        width: 80%;
        margin-left: 10.3%;
    }
    
    .seda #nej {
        font-size: 1.2rem;
        font-weight: 300;
        margin-top: 4rem;
        width: 80%;
        margin-left: 10.3%;
    }
  
}

/* ----------------------------------------------------- founder start--------------------------------------------------------------- */

.founder {
    position: relative;
    width: 100%;
    height: auto;
}

.founder h3 {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-left: 10.1%;
    position: relative;
    margin-top: 6%;
}

.founder h3::before {
    content: '';
    position: absolute;
    left: -6.2rem;
    top: 20.7%;
    width: 4rem;
    height: 2px; 
    background-color: #00A651; 
}

.rozdeleni {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

.leftie h4 {
    font-size: 2.5rem;
    margin-left: 32%;
    width: 110%;
}

.rightie p {
    margin-left: 30%;
    max-width: 58%;
    line-height: 150%;
    font-size: 1.1rem;
    font-weight: 300;
}

.left {
    background-color: #f9f9f9;
    max-width: 50%;
    max-height: 500px;
    margin-top: 6rem;
}

.left h2 {
    margin-left: 20.5%;
    padding-top: 10%;
    font-size: 2.2rem;
}

.left h6 {
    margin-left: 20.5%;
    padding-top: 1.5%;
    font-size: 1.1rem;
    font-weight: 400;
    color: #000;
}

.left h6:hover {
    text-decoration: none;
    text-underline-position: none;
    cursor: text;
}

.left p {
    color: #000;
    width: 61%;
    font-size: 1.1rem;
    padding-top: 2rem;
    margin-left: 20.5%;
    word-wrap: break-word;
    font-weight: 100;
    line-height: 140%;
}

.founder_container {
    display: flex;
    height: 590px;  
}

.founder_container .right {
    width: 27%;          
    margin-top: 6rem;
    background-image: url('../images/founder.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#founder_btn {
    position: relative;
    background-color: #00A651;
    color: #fff;
    border: none;
    padding: 0.7rem 1rem;
    margin-top: 6%;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    font-weight: 400;
    cursor: pointer;
    margin-left: 20.5%;
    overflow: hidden;
    z-index: 1;
}

#founder_btn::before {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    height: 0;
    background-color: #04753b;
    transition: height 0.3s ease-in-out; 
    z-index: -1;
}

#founder_btn:hover::before {
    height: 100%; /* Slide up on hover by increasing height */
}

.arrow {
    font-size: 1.1rem;
}

.mezi {
    display: none;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .founder h3 {
        margin-top: 6%;
        margin-left: 8.4%;
    }

    .founder h3::before {
        display: none;
    }

    .leftie h4 {
        font-size: 2rem;
        margin-left: 29%;
        width: 120%;
    }

    .rightie p {
        margin-left: 30%;
        max-width: 62%;
        line-height: 150%;
        font-size: 1rem;
    }

    .left {
        max-width: 60%;
    }

    .left h2 {
        margin-left: 14%;
        font-size: 1.9rem;
    }

    .left h6 {
        margin-left: 14%;
        font-size: 1.3rem;
    }

    .left p {
        margin-left: 14%;
        width: 68%;
        font-size: 1rem;
    }

    #founder_btn {
        margin-left: 14%;
    }

    .founder_container {
        display: flex; 
    }
    
    .founder_container .right {
        width: 40vw;          
        margin-top: 6rem;
        background-image: url('../images/founder.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .mezi {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 767px) {

    .rozdeleni {
        display: block;
        margin-top: 8%;
    }

     .founder h3 {
        margin-top: 15%;
        margin-left: 8.7%;
    }

    .leftie h4 {
        font-size: 1.8rem;
        margin-left: 8.7%;
        width: 87%;
    }

    .rightie p {
        margin-left: 8.7%;
        margin-top: 8%;
        max-width: 83%;
        line-height: 150%;
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .founder_container {
        display: block;
        margin: 0;
        height: auto;
    }

    .left {
        max-width: 100%;
        margin-bottom: 0;
        margin-top: 10%;
    }

    .left h2 {
        margin-left: 9%;
        font-size: 2rem;
        margin-top: 1%;
    }
    
    .left h6 {
        margin-left: 9%;
        font-size: 1.4rem;
    }
    
    .left p {
        margin-left: 9%;
        width: 83%;
        font-size: 1.1rem;
    }

    #founder_btn {
        margin-left: 9%;
        margin-bottom: 10%;
    }

    .founder_container .right {
        width: 100%;          /* Full width */
        height: 800px;        /* Adjust the height to make it visible */
        margin: 0;       /* Add some vertical margin for spacing */
        background-image: url('../images/founder.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .founder h3::before {
        display: none;
    }

    
}

/* For phones */
@media (max-width: 479px) {

    .rozdeleni {
        display: block;
        margin-top: 8%;
    }

    .founder h3 {
        margin-top: 10%;
        margin-left: 8.7%;
    }

    .leftie h4 {
        font-size: 1.8rem;
        margin-left: 8.7%;
        width: 87%;
    }

    .rightie p {
        margin-left: 8.7%;
        margin-top: 8%;
        max-width: 83%;
        line-height: 150%;
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .founder_container {
        display: block;
        margin: 0;
        height: auto;
    }

    .left {
        max-width: 100%;
        margin-bottom: 0;
        margin-top: 10%;
    }
    
    .left h2 {
        margin-left: 9%;
        font-size: 2rem;
        margin-top: 1%;
    }
    
    .left h6 {
        margin-left: 9%;
        font-size: 1.2rem;
    }
    
    .left p {
        margin-left: 9%;
        width: 82%;
        font-size: 1.1rem;
    }

    #founder_btn {
        margin-left: 9%;
        margin-bottom: 10%;
    }

    .founder_container .right {
        width: 100%; 
        height: 550px;        /* Adjust the height to make it visible */
        margin: 0;       /* Add some vertical margin for spacing */
        background-image: url('../images/founder.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .founder h3::before {
        display: none;
    }
}

@media (min-width: 1920px) {
    
    .founder h3 {
        font-size: 1.2rem;
        font-weight: 300;
        letter-spacing: 1px;
        margin-left: 9.5%;
        position: relative;
        margin-top: 6%;
    }
    
    .rightie p {
        margin-left: 30%;
        max-width: 58%;
        line-height: 150%;
        font-size: 1.2rem;
        font-weight: 300;
    }

    .founder_container .right {
        width: 22%;          
        margin-top: 6rem;
        background-image: url('../images/founder.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
  
    .left h2 {
        margin-left: 20.5%;
        padding-top: 8%;
        font-size: 2.4rem;
    }
    
    .left h6 {
        margin-left: 20.5%;
        padding-top: 1.5%;
        font-size: 1.2rem;
        font-weight: 400;
        color: #000;
    }
    
    .left p {
        color: #000;
        width: 61%;
        font-size: 1.2rem;
        padding-top: 2rem;
        margin-left: 20.5%;
        word-wrap: break-word;
        font-weight: 100;
        line-height: 140%;
    }
}

/* founder end */
/* 4th slide end */
/* ----------------------------------------------- ekologie ------------------------------------------------------------------- */

.ekologie {
    width: 100%;
    height: auto;
}

.ekologie h3 {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-left: 10.3%;
    position: relative;
    margin-top: 9%;
}

.ekologie h3::before {
    content: '';
    position: absolute;
    left: -6.2rem;
    top: 20%;
    width: 4rem;
    height: 2px; 
    background-color: #00A651; 
}

.ekologie p {
    font-size: 1.1rem;
    margin-left: 10.3%;
    width: 80%;
    line-height: 150%;
    margin-top: 4%;
    font-weight: 300;
    margin-bottom: 9%;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .ekologie h3::before {
        display: none; 
    }

    .ekologie p {
        font-size: 1rem;
        margin-left: 8.4%;
    }

    .ekologie h3 {
        margin-left: 8.4%;

    }

}

@media (min-width: 480px) and (max-width: 767px) {

    .ekologie p {
        margin-top: 10%;
        margin-bottom: 12%;
        margin-left: 8.4%;
        font-size: 1.1rem;
        width: 83%;
    }

    .ekologie h3 {
        margin-top: 12%;
        margin-bottom: 0;
        margin-left: 8.4%;
    }

    .ekologie h3::before {
        display: none; 
    }
}

/* For phones */
@media (max-width: 479px) {

    .ekologie p {
        margin-top: 10%;
        margin-bottom: 12%;
        margin-left: 8.4%;
        font-size: 1.1rem;
        width: 83%;
    }

    .ekologie h3 {
        margin-top: 12%;
        margin-bottom: 0;
        margin-left: 8.4%;
    }

    .ekologie h3::before {
        display: none; 
    }

}

@media (min-width: 1920px) {
    
    .ekologie h3 {
        font-size: 1.2rem;
        font-weight: 300;
        letter-spacing: 1px;
        margin-left: 10.3%;
        position: relative;
        margin-top: 9%;
    }

    .ekologie p {
        font-size: 1.2rem;
        margin-left: 10.3%;
        width: 80%;
        line-height: 150%;
        margin-top: 4%;
        font-weight: 300;
        margin-bottom: 9%;
    }

}

/* ----------------------------------------------- 5th slide start ---------------------------------------------------------------- */

.fifth_slide .column1 {
    width: 25%; /* 4 columns layout */
    float: left;
    box-sizing: border-box;
    margin: 0;
}

.row_first, .row_second {
    width: 100%;
    display: flex;
    flex-wrap: wrap; /* Ensures that columns wrap correctly */
}

.fifth_slide .column1 img {
    width: 100%; /* Ensure images are responsive */
    display: block;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .fifth_slide .column1 {
        width: 25%; /* Keep 4 columns layout for this range */
        float: left;
        box-sizing: border-box;
        margin: 0;
    }

    .row_first, .row_second {
        width: 100%;
        display: flex;
        flex-wrap: wrap; /* Ensures that columns wrap correctly */
    }

    .fifth_slide .column1 img {
        width: 100%; /* Ensure images are responsive */
        display: block;
    }
}

@media (min-width: 480px) and (max-width: 767px) {

    .fifth_slide .column1 {
        width: 50%; /* 2 columns layout */
        float: left;
        box-sizing: border-box;
        margin: 0;
    }

    .row_first, .row_second {
        width: 100%;
        display: flex;
        flex-wrap: wrap; /* Ensures that columns wrap correctly */
    }

    .fifth_slide .column1 img {
        width: 100%; /* Ensure images are responsive */
        display: block;
    }

}

/* For phones */
@media (max-width: 479px) {

    .fifth_slide .column1 {
        width: 50%; /* 2 columns layout */
        float: left;
        box-sizing: border-box;
        margin: 0;
    }

    .row_first, .row_second {
        width: 100%;
        display: flex;
        flex-wrap: wrap; /* Ensures that columns wrap correctly */
    }

    .fifth_slide .column1 img {
        width: 100%; /* Ensure images are responsive */
        display: block;
    }
    
}

/*------------------------------------------------ contact start --------------------------------------------------------------------*/

.contact {
    background-image: url("../images/contact.png");
    background-repeat: no-repeat;
    background-size: cover; /* This makes the entire image fit within the container */
    background-position: center; /* Center the image */
    width: 100%;
    max-height: 72vh; /* Keep the max height as desired */
    position: relative;
}

.contact h1 {
    padding-top: 10%;
    margin-left: 10%;
    position: relative;
    color: #111;
    font-size: 3.2rem;
    font-weight: 600;
}

.contact p {
    padding-top: 2%;
    margin-left: 10.3%;
    position: relative;
    color: #111;
    font-size: 1.1rem;
    font-weight: 300;
    width: 45%;
    line-height: 1.5;
}


.con-left {
    position: relative;
    overflow: hidden;
    background-color: #00A651;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    cursor: pointer;
    margin-left: 10.3%;
    margin-top: 4%;
    z-index: 1; /* Ensure the button content stays above the pseudo-element */
    margin-bottom: 10%;
}

.con-left::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #04753b;
    transition: top 0.2s ease-in-out;
    z-index: -1; /* Position behind the button content */
}

.con-left:hover::before {
    top: 0;
}

.con-right {
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
    color: #00A651;
    border: 2px #00A651 solid;
    padding: 0.88rem 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    cursor: pointer;
    margin-left: 1%;
    margin-top: 4%;
    z-index: 1;
    transition: color 0.01s ease-in-out; /* Adding transition for text color change */
}

.con-right::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00A651;
    transition: top 0.2s ease-in-out;
    z-index: -1; /* Position behind the button content */
}

.con-right:hover::before {
    top: 0;
    transition: top 0.3s ease-in-out; /* Transition for pseudo-element on hover */
}

.con-right:hover {
    color: #fff; /* Change text color to white on hover */
}

a {
    text-decoration: none; /* Remove default underline */
}

@media (min-width: 768px) and (max-width: 1024px) {
    
    .contact h1 {
        font-size: 2.5rem;
        margin-left: 8%;
    }

    .contact p {
        font-size: 0.9rem;
        font-weight: 300;
        width: 44%;
        margin-left: 8.2%;
    }

    .con-left {
        padding: 0.8rem 1.5rem;
        font-size: 0.7rem;
        margin-left: 8.2%;
    }

    .con-right {
        padding: 0.68rem 1.5rem;
        font-size: 0.7rem;
    }
}

@media (min-width: 480px) and (max-width: 767px) {

    .contact h1 {
        font-size: 2rem;
        margin-left: 8%;
    }

    .contact p {
        margin-top: 4%;
        width: 78%;
        margin-left: 8.4%;
    }
    
    .con-left {
        padding: 0.7rem 1.2rem;
        font-size: 0.7rem;
        margin-left: 8.2%;
        margin-bottom: 0;
        margin-top: 10%;
    }

    .con-right {
        padding: 0.6rem 1.34rem;
        font-size: 0.7rem;
        margin-left: 8.2%;
        margin-top: 4%;
        margin-bottom: 15%;
    }
}

/* For phones */
@media (max-width: 479px) {

    .contact h1 {
        font-size: 2rem;
        margin-left: 8%;
    }

    .contact p {
        margin-top: 4%;
        width: 78%;
        margin-left: 8.4%;
    }
    
    .con-left {
        padding: 0.7rem 1.2rem;
        font-size: 0.7rem;
        margin-left: 8.4%;
        margin-bottom: 0;
        margin-top: 10%;
    }

    .con-right {
        padding: 0.6rem 1.34rem;
        font-size: 0.7rem;
        margin-left: 8.4%;
        margin-top: 4%;
        margin-bottom: 15%;
    }
}

@media (min-width: 1920px) {

    .contact p {
        padding-top: 2%;
        margin-left: 10.3%;
        position: relative;
        color: #111;
        font-size: 1.2rem;
        font-weight: 300;
        width: 45%;
        line-height: 1.5;
    }
    
    
    .con-left {
        position: relative;
        overflow: hidden;
        background-color: #00A651;
        color: #fff;
        border: none;
        padding: 1rem 2rem;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 400;
        cursor: pointer;
        margin-left: 10.3%;
        margin-top: 4%;
        z-index: 1; /* Ensure the button content stays above the pseudo-element */
        margin-bottom: 10%;
    }
    
    .con-right {
        position: relative;
        overflow: hidden;
        background-color: #f9f9f9;
        color: #00A651;
        border: 2px #00A651 solid;
        padding: 0.88rem 2rem;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 400;
        cursor: pointer;
        margin-left: 1%;
        margin-top: 4%;
        z-index: 1;
        transition: color 0.01s ease-in-out; /* Adding transition for text color change */
    }
}

/*------------------------------------------------ the end part --------------------------------------------------------------------*/

.end {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.end .line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items at the top */
    width: 100%;
    background-color: #36383e;
}

.logos {
    margin-right: 6.95rem;
    display: flex;
    cursor: pointer;
    margin-top: 2.5%;
}

#insta,
.fa {
    padding-right: 1rem; /* Adjust as needed */
    margin: 0;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 58%; /* Adjust the width of the .menu */
    margin-left: 10%;
    margin-bottom: 3%;
    margin-top: 3%;
}

.menu h6 {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 1rem;
}

.logo {
    margin-top: 2.5%;
    margin-left: 10%;
    margin-bottom: 2%;
    width: 34%;
}

.logo img {
    width: 22%;
}

.end .part {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #202123;
    height: auto;
}

.sentence {
    display: flex;
    margin-top: 1.8%;
    margin-left: auto;
    margin-right: 0%;
}

.sentence p {
    color: #cecdcd;
    font-weight: 300;
    font-size: 0.9rem;
    margin-bottom: 3%; /* Removes default bottom margin */
    margin-right: 6.95rem;
    width: 25.85rem;
}


/* Target only <a> elements with data-localize within .navbar_menu */
.menu a[data-localize] {
    color: #fff; /* Desired navbar link color */
    text-decoration: none; /* Remove underline */
    cursor: pointer;
}

.menu a[data-localize]:hover {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
    color: #00A651;
}

.con_block {
    display: flex;
    flex-direction: column;
    color: #fff;
    font-weight: 300;
    text-decoration: none;
}

.con_part {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    color: #cecdcd;
    margin-top: 0.5rem;
    font-weight: 200;
}

.con_part a {
    margin-top: 2%;
    color: #cecdcd;
    font-weight: 300;
}

.con_part a[data-localize] {
    color: #cecdcd;
    text-decoration: none; /* Remove underline */
    cursor: pointer;
    font-weight: 300;
    margin-top: 5%;
}


.left_end {
    text-align: left; /* Ensures the text inside <p> starts on the left */
}

@media (min-width: 768px) and (max-width: 1024px) {

    .logo {
        margin-left: 8.1%;
        margin-top: 2.5%;
        align-self: flex-end; /* Align the logo to the bottom */
        width: 25%;
    }   
    
    .end .line {
        display: flex;
        justify-content: space-between;
        align-items: flex-start; /* Align items at the top */
        width: 100%;
        background-color: #36383e; /* If needed */
    }

    .logo img {
        width: 34%;
    }

    .menu {
        width: 100%; /* Adjust the width of the .menu */
        margin-left: 8.1%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-top: 3%;
    }

    .logos {
        margin-top: 3%;
        margin-right: 3.5rem;
    }

    h6 {
        font-size: 0.8rem;
    }

    .end .part {
        display: flex;
        justify-content: space-between;
        align-items: flex-end; /* Align the logo and sentence to the bottom */
        width: 100%;
        margin-bottom: 0;
    }

    .sentence {
        display: flex;
        margin-top: 1.8%;
        margin-left: auto;
        margin-right: 0%;
    }
    
    .sentence p {
        color: #cecdcd;
        font-weight: 300;
        font-size: 0.7rem;
        margin-bottom: 5.5%; /* Removes default bottom margin */
        margin-right: 3.5rem;
        width: 20.1rem;
    }

    .con_part {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 767px) {

    .end {
        width: 100%;
        height: auto;
    }

    .menu {
        display: block;
        margin-top: 5%;
        margin-left: 9.1%;
        margin-bottom: 5%;
    }

    .logos {
        margin-top: 5%;
        margin-right: 2rem;
    }

    h6 {
        font-size: 0.7rem;
    }

    .menu a {
        display: block;
        margin-top: 3%;
        color: #fff;
    }

    .end .line {
        display: flex;
        justify-content: space-between;
        align-items: flex-start; /* Align items at the top */
        width: 100%;
        background-color: #36383e; /* If needed */
    }

    .end .part {
        display: flex;
        justify-content: space-between;
        align-items: flex-end; /* Align the logo and sentence to the bottom */
        width: 100%;
        margin-bottom: 0;
    }

    .sentence {
        display: block;
        width: 100%;
        margin-left: 8%;
        padding-left: 0;
        margin-top: 2%;
        width: 10.1rem;
        margin-right: 2rem;
    }

    .sentence p {
        color: #cecdcd;
        font-weight: 300;
        font-size: 0.5rem;
        margin-bottom: 11.5%; /* Removes default bottom margin */
        width: 10.1rem;
    }

    .logo {
        margin-left: 9.1%;
        margin-top: 4%;
        align-self: flex-end; /* Align the logo to the bottom */
        width: 100%;
        margin-bottom: 4%;
    } 

    .logo img {
        width: 5rem;
        margin-top: 2%;
    }

    .logos {
        display: flex;
        align-items: center; /* Align logos vertically at the center */
    }


    h6 {
        margin: 0;
        padding: 0;
        line-height: 1; /* Ensure no extra space around the text */
    }

    .con_part {
        display: none;
    }
}

/* For phones */
@media (max-width: 479px) {

    .end {
        width: 100%;
        height: auto;
    }

    .menu {
        display: block;
        margin-top: 5%;
        margin-left: 9.1%;
        margin-bottom: 5%;
    }

    .logos {
        margin-top: 5%;
        margin-right: 2rem;
    }

    h6 {
        font-size: 0.7rem;
    }

    .menu a {
        display: block;
        margin-top: 3%;
        color: #fff;
    }

    .end .line {
        display: flex;
        justify-content: space-between;
        align-items: flex-start; /* Align items at the top */
        width: 100%;
        background-color: #36383e; /* If needed */
    }

    .end .part {
        display: flex;
        justify-content: space-between;
        align-items: flex-end; /* Align the logo and sentence to the bottom */
        width: 100%;
        margin-bottom: 0;
    }

    .sentence {
        display: block;
        width: 100%;
        margin-left: 8%;
        padding-left: 0;
        margin-top: 2%;
        width: 10.1rem;
        margin-right: 2rem;
    }

    .sentence p {
        color: #cecdcd;
        font-weight: 300;
        font-size: 0.5rem;
        margin-bottom: 11.5%; /* Removes default bottom margin */
        width: 10.1rem;
    }

    .logo {
        margin-left: 9.1%;
        margin-top: 4%;
        align-self: flex-end; /* Align the logo to the bottom */
        width: 100%;
        margin-bottom: 4%;
    } 

    .logo img {
        width: 5rem;
        margin-top: 2%;
    }

    .logos {
        display: flex;
        align-items: center; /* Align logos vertically at the center */
    }


    h6 {
        margin: 0;
        padding: 0;
        line-height: 1; /* Ensure no extra space around the text */
    }

    .con_part {
        display: none;
    }
}

@media (min-width: 1920px) {

    .menu h6 {
        margin: 0;
        padding: 0;
        font-weight: 400;
        font-size: 1.2rem;
    }

    .sentence p {
        color: #cecdcd;
        font-weight: 300;
        font-size: 1rem;
        margin-bottom: 3%; /* Removes default bottom margin */
        margin-right: 6.95rem;
        width: 25.85rem;
    }

    .con_part {
        display: flex;
        flex-direction: column;
        font-size: 1.1rem;
        color: #cecdcd;
        margin-top: 0.5rem;
        font-weight: 200;
    }
}