#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #063418;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#loading .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

body.loaded #loading {
    display: none;
}

.login-register {
    width: 55px;
    text-align: center;
    margin-top: auto;
    font-size: 14px;
    text-decoration: none;
    color: black;
    padding: 1px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3sease-in-out;
    border: 2px solid transparent;
    border: 2px solid #a6c3cc;
    background-color: transparent;
    box-shadow: 0px 0px 15px rgb(67 90 114 / 50%);
    padding: 0px 19px;
    border-radius: 10px;
}

.login-register:hover {

    border: 2px solid #a6c3cc;
    background-color: #a6c3cc;
    box-shadow: 0px 0px 15px rgb(67 90 114 / 50%);
    border-radius: 10px;
}

.back-image {
    background: url(background_homepage.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

header {
    padding: 5px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(29, 34, 28, 0.9);
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease-in-out;
}

header h1 {
    margin-left: 19px;
    font-size: 26px;
    margin: 0;
    color: #fff;
}

nav {
    display: flex;
    gap: 15px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #aaa;
}

.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 25px;
    width: 30px;
}

.menu-icon span {
    background-color: white;
    height: 4px;
    width: 100%;
    border-radius: 5px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 15px;
    background-color: #1D221C;
    padding: 10px 20px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 10;
    border-radius: 5px;
}

.mobile-menu.active {
    display: flex;
    border: 2px solid #444;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .menu-icon {
        display: flex;
    }
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
    background-color: #1D221C;
    color: #fff;
}

.hero .text {
    width: 40%;
    text-align: center;
    margin: 0 auto;
    padding: 0 5%;
}

.hero .text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    white-space: nowrap;
}

.hero .text p {
    font-size: 1.2rem;
    line-height: 2;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.hero .text p br {
    display: none;
}

.hero a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.hero a:hover {
    background-color: #333;
}

.hero img {
    width: 40%;
    max-width: 90%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

.features-section {
    padding: 40px 20px;
    text-align: center;
}

.features-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-card {
    background: none;
    border-radius: 0;
    box-shadow: none;
    width: 30%;
    text-align: center;
}

.feature-card img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.4);

}

.services-section {
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 77px;
}

.services-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.services {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border-radius: 10px;
    box-shadow: none;
    width: 30%;
    text-align: center;
    box-shadow: 0 0 35px #69a1bb77;
    animation-name: to_up;
    animation-duration: 0.8s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    transition: all 0.4sease-in-out;
}

.service-card img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.about-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 60px 20px;
}

.about-section img {
    max-width: 40%;
    height: auto;
    border-radius: 10px;
    margin-right: 5%;
    box-shadow: 0 0 35px #69a1bb77;
}

.about-section .text {
    /* max-width: 50%; */
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

footer {
    background-color: #d0d6dd;
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

.gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 7;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
}

.gallery img.active {
    opacity: 1;
}

.dots {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #18bc9c;
}

@media (max-width: 1360px) {
    .feature-card img {
        height: 250px !important;
        width: 250px !important;
        border-radius: 50% !important;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        /* aspect-ratio: 7.4 / 3; */
    }

    .about-section img {
        max-width: 40%;
        height: auto;
        border-radius: 10px;
        margin-right: 5%;
        margin-left: 15%;
        margin-left: 0px !important;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero .text {
        width: 100%;
        text-align: center;
        margin: 0 auto;
        padding: 0 !important;
    }

    .hero .text h2 {
        font-size: 5vw;
        white-space: nowrap;
        margin: 0 auto;
    }

    .hero .text p {
        font-size: 3.5vw;
        line-height: 1.5;
        white-space: nowrap;
    }

    .hero img {
        width: 85%;
        margin-top: 20px;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-section img {
        max-width: 80%;
        margin-bottom: 20px;
        margin-right: 0;

    }

    .features {
        flex-direction: column;
    }

    .services {
        flex-direction: column;
    }

    .feature-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .service-card {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    header nav {
        flex-direction: column;
    }

    .article {
        flex-direction: column;
        align-items: center;
    }
}

.logo-panel {
    height: 47px;
}

.readmore {
    margin-bottom: 6px;
    margin-top: auto;
    font-size: 14px;
    text-decoration: none;
    color: black;
    padding: 1px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3sease-in-out;
    border: 2px solid transparent;
    border: 2px solid #a6c3cc;
    background-color: transparent;
    box-shadow: 0px 0px 15px rgb(67 90 114 / 50%);
    padding: 0px 10px;
    border-radius: 10px;
}

.readmore:hover {

    border: 2px solid #a6c3cc;
    background-color: #a6c3cc;
    box-shadow: 0px 0px 15px rgb(67 90 114 / 50%);
    padding: 0px 10px;
    border-radius: 10px;
}

.feature-card h3 {
    font-size: 18px;
}

.features-section h2 {
    font-size: 25px;
}

.services-section h2 {
    font-size: 25px;
}

.services-section h3 {
    font-size: 18px;
    height: 21%;
}

.about-section h2 {
    font-size: 20px;

}

a {
    box-sizing: unset !important;
}