* {
    margin: 0;
    padding: 0;
    font-family: "Gabarito", sans-serif;
    color: hsl(144, 50%, 16%);
}

/* .navbar {
    display: flex;
    justify-content: space-between;
    margin: 10px;
    font-weight: 15px;
}*/

.logo {
    width: 40px;
}

.navbar-s2,
.navbar-s3 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
}


.navbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-around;
    background-color: white;
    padding-top: 20px;
    padding-bottom: 15px;
    z-index: 1;
    -webkit-box-shadow: -0.3px 8.8px 12.1px 2.5px rgba(137.19000778198244, 111.75269356650114, 111.75269356650114, 0.5);
    box-shadow: -0.3px 8.8px 12.1px 2.5px rgba(137.19000778198244, 111.75269356650114, 111.75269356650114, 0.5);

}

.navbar-s1 {
    display: flex;
    gap: 5px;
}


.navbar-s2 p:hover {
    cursor: pointer;
    transform: scale(1.078);
    transition: 0.6s;
}




.navbar-s3 button {
    background-color: #143C24;
    padding: 7px;
    border-radius: 18px;
    color: white;
    width: 90px;
}

.navbar-s3 button:hover {
    background-color: white;
    color: #143C24;
    font-weight: bold;
    cursor: pointer;
    transition: 1s;
}

.navbar-s3 p {
    padding: 8px;
    border-radius: 18px;
}

.navbar-s3 p:hover {
    background-color: #E5E5E5;
    cursor: pointer;
    padding: 7px;
}


.top-h1 {
    text-align: center;
    padding: 20px;
    font-size: 27px;
}

.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.links h3 {
    border-bottom: solid 2.7px transparent;
    font-weight: 100;
    transition: 0.3s;
}

.links h3:hover {
    border-bottom: 3.5px solid #143C24;
    cursor: pointer;
}

.search-bar {
    border: #d8d8d8 solid 0.5px;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 800px;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #F7F7F7;
}

.search-bar input {
    border: none;
    background-color: transparent;
    outline: none;
    width: 200px;
}

.search-btn button {
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #00D352;
    border: none;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
}

.front-image {
    position: relative;
    border-radius: 10px;
    background-color: #00D352;
    width: 70%;
    height: 300px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
}

.front-image img {
    width: 400px;
    height: 259px;
    object-fit: cover;
    border-radius: 10px;

}



.front-image_headings {
    position: absolute;
    width: 300px;
    right: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.front-image_btn {
    padding: 10px;
    background-color: #143C24;
    color: white;
    border-radius: 30px;
    width: 120px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}


.vertical-line {
    background-color: black;
    width: 2px;
    height: 250px;
    position: absolute;
    left: 550px;
    flex-wrap: wrap;
}

.containers_headings {
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    margin-left: 148px;
    font-size: 10px;
    margin-top: 70px;
}

.containers {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
    position: relative;
}

.containers_slide_icon {
    position: absolute;
    top: 70px;
    right: 87px;
    padding: 15px;
    border-radius: 50px;
    border: solid black 2px;
    background-color: white;
}

.box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

}

.box img {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    display: block;

}

.box img:hover {
    cursor: pointer;
    transform: scale(1.020);
    transition: 0.6s;
}

.box h1 {
    font-size: 20px;
    position: absolute;
    bottom: 10px;
    color: white;
}

.box2 img {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
}

.box2 img:hover {
    cursor: pointer;
    transform: scale(1.020);
    transition: 0.6s;
}


.box2 h2 {
    font-size: 14px;
    width: 200px;

}

.box2 p {
    font-size: 14px;

    width: 200px;
}

.front-image2 img {
    width: 900px;
    height: 500px;
    margin: 0 auto;
    display: flex;
}

.front-image2 {
    display: flex;
    position: relative;
    margin: 20px;
    gap: 20px;
}

.front-image_headings2 {
    position: absolute;
    bottom: 10px;
    left: 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.front-image_headings2 h1 {
    color: white;
    font-weight: bold;
    font-size: 40px;
}

.front-image_headings2 p {
    color: white;
    font-weight: bold;
    width: 400px;
}

.front-image_headings2 button {
    color: white;
    background-color: #143C24;
    font-weight: bold;
    width: 170px;
    border: solid 0.3px white;
    border-radius: 30px;
    height: 50px;

}

.front-image_headings2 button:hover {
    background-color: transparent;
    color: white;
    transition: 0.5s;
}


.front-image3_post img {
    width: 400px;
    height: 270px;
    border-radius: 10px;
    flex-wrap: wrap;
}

.front-image3_post {
    flex-grow: 1;
    flex-basis: 10%;
    flex-wrap: wrap;
}

.front-image3_post p {
    font-size: 15px;
    width: 400px;
    text-align: center;
}

.front-image3 {
    display: flex;
    flex-wrap: wrap;
    background-color: #F3F3F3;
    height: 450px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;

}

.front-image3_h1 {
    position: absolute;
    left: 80px;
    top: 10px;
    width: 300px;
    font-size: 20px;
}

.ta-footer {
    background-color: #f9f9f9;
    color: #333;
    font-family: sans-serif;
    padding: 40px 0;
    border-top: 1px solid #ddd;
    margin-top: 30px;
}

.ta-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 200px;
    margin: 10px;
}

.footer-column h4 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #555;
}

.footer-column ul li a:hover {
    color: #000;
}

/* Social Icons */
.footer-column.social .social-icons {
    display: flex;
    gap: 10px;
}

.footer-column.social img {
    width: 24px;
    height: 24px;
}

/* Bottom row */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 14px;
}

.country-select {
    display: flex;
    align-items: center;
}

.country-select img {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.country-select select {
    border: 1px solid #ccc;
    padding: 4px 8px;
    background: white;
}

@media(max-width: 768px) {
    .footer-links {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 10px;
    }
}


/* Tablet screens (≤1024px) */
@media (max-width: 1024px) {

    /* Navbar adjustments */
    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .navbar-s2,
    .navbar-s3 {
        justify-content: center;
        gap: 10px;
    }

    /* Search bar size */
    .search-bar {
        width: 100%;
    }

    /* Front image adjustment */
    .front-image {
        flex-direction: column;
        height: auto;
        width: 90%;
    }

    .front-image img {
        width: 100%;
        height: auto;
    }

    .front-image_headings {
        position: static;
        width: 100%;
        right: auto;
    }


}

/* Mobile screens (≤768px) */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }



    .vertical-line {
        display: none;
    }

    /* Navbar stacking */
    .navbar {
        flex-direction: row;
        align-items: center;
    }

    .navbar-s3 {
        flex-direction: row;
        gap: 5px;
    }

    .navbar-s2 {
        display: none;
    }

    .front-image {
        width: 400px;
    }

    .containers_headings {
        margin-left: 20px;
        width: 400px;
    }

    .containers {
        width: 480px;
    }

    /* Links grid to stacked */
    .links {
        flex-direction: row;
        gap: 15px;
        width: 500px;
        font-size: 10px;
    }

    /* Search bar full width */
    .search-bar {
        width: 100%;
        flex-direction: row;
        gap: 10px;
        width: 300px;
    }

    .search-bar input {
        width: 100px;
    }

    /* Front image smaller */
    .front-image2 img {
        width: 100%;
        height: auto;
    }

    .front-image2 {
        position: relative;
    }

    .front-image_headings2 {
        position: absolute;
        justify-content: center;
        align-items: center;
        left: auto;
        bottom: auto;
        top: 150px;
        gap: 10px;

    }



    .front-image_headings2 h1 {
        color: white;
        font-weight: bold;
        font-size: 20px;
    }

    .front-image_headings2 p {
        color: white;
        font-weight: bold;
        font-size: 10px;
        text-align: center;

    }

    .front-image3 {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 300px;
    }

    .front-image3_post p {
        width: 150px;


    }

    .front-image3_post img {
        width: 150px;
        height: auto;
    }

    .front-image3_h1 {
        width: 300px;
    }


    /* Footer stacking */

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;

    }

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        width: 10px;
    }


    .containers_slide_icon {
        display: none;
    }
}

/* Small mobile screens (≤480px) */
@media (max-width: 480px) {

    /* Reduce padding for small devices */
    .navbar {
        padding: 8px;
    }

    /* Front image height adjust */
    .front-image {
        padding: 10px;
    }

    /* Footer font smaller */
    .footer-column h4 {
        font-size: 14px;
    }

    .footer-column ul li {
        font-size: 13px;
    }


}