:root {
    --primary-color: #055723;
    --secondary-color: #00bf63;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --dark-success: #055723;
    --text-dark: #001408;
}

body {
    background-color: var(--light-color);
}

.header-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* align-items: center; */
    /* padding: 10px 5px; */
    background-color: #00bf63a8;

    .header {
        background-color: #00bf63a8;
        backdrop-filter: blur(7px);
        padding: 15px 10px;
        margin-top: 10px;
        border-radius: 10px;
        position: fixed;
        z-index: 3;
        display: flex;
        justify-content: space-between;
        width: 100%;
        max-width: 1200px;
        box-sizing: border-box;
        box-shadow: 0px 0px 3px #000;

        .header-left {
            width: auto;
            .header-brand {
                font-weight: bold;
                user-select: none;
                color: var(--dark-color);
            }
        }

        .header-list {
            display: flex;

            .header-link {
                margin-left: 20px;
                color: var(--light-color);
                font-weight: bold;
                user-select: none;
                cursor: pointer;
                a {
                    text-decoration: none;
                    color: var(--light-color);
                }
                a.active {
                    color: var(--dark-success);
                }
            }

            .close-button {
                display: none;
            }
        }
        .header-button-right {
            display: none;
        }
    }
}

@media (width <= 768px) {
    .header-container {
        .header {
            align-items: center;
            .header-list {
                position: absolute;
                flex-direction: column;
                background-color: var(--text-dark);
                height: 100vh;
                top: 0;
                left: 0;
                opacity: 0;
                margin-left: -100%;
                z-index: -20;
                .header-link {
                    margin-top: 20px;
                    a {
                        text-decoration: none;
                        color: var(--light-color);
                    }
                    a.active {
                        color: var(--dark-success);
                    }
                }

                .close-button {
                    display: flex;
                    justify-content: flex-end;
                    padding: 10px;
                    z-index: 5;
                }

                transition: all 0.4s ease-in-out;
            }
            .header-list.active {
                opacity: 1;
                margin-left: 0;
                top: 0;
                left: 0;
                right: 0;
                z-index: 20;
            }
            .header-button-right {
                display: flex;
                z-index: 2;
            }
        }
    }
}

.img-fluid {
    width: 100%;
    height: 100%;
}

.about {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;

    .title {
        text-align: center;
        font-weight: bold;
        position: relative;

        &::after {
            content: "";
            position: absolute;
            width: 200px;
            height: 5px;
            background: var(--text-dark);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
    }

    .content {
        text-align: justify;
        letter-spacing: 0px;
        line-height: 30px;
        /* color: var(--text-dark); */
        /* font-weight: ; */
        margin-top: 20px;
    }
}

/* SERVICES */
.services {
    padding: 100px 0;
    background-color: var(--light-color);
    .title {
        color: #001408;
    }
    .sub-title {
        color: #012d11;
    }
    .service-card {
        background: white;
        border-radius: 15px;
        /* border:1px solid #008d5069; */
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0px 0px 1px var(--text-dark);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;

        &:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        }

        .service-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 20px;
            position: relative;
            transition: transform 0.5s ease;
        }

        .service-card:hover .service-icon {
            transform: rotateY(360deg);
        }
    }
}

/* CONTACT */
.contact {
    padding: 100px 0;

    .contact-form {
        background: white;
        border-radius: 15px;
        padding: 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

        .form-control {
            border-radius: 10px;
            padding: 12px;
            margin-bottom: 20px;
            border: 1px solid #ddd;
        }

        .form-control:focus {
            box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.3);
            border-color: var(--primary-color);
        }
    }

    .contact-info {
        background: white;
        border-radius: 15px;
        padding: 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        height: 100%;

        .contact-info-item {
            display: flex;
            margin-bottom: 25px;
            text-decoration: none;

            .contact-info-icon {
                width: 50px;
                height: 50px;
                background: rgba(78, 84, 200, 0.1);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-right: 15px;
                color: var(--primary-color);
                font-size: 20px;
            }

            .contact-info-text {
                h3 {
                    font-size: 1.1rem;
                    margin-bottom: 5px;
                    color: var(--dark-color);
                }
                p {
                    color: #666;
                    margin: 0;
                }
            }
        }

        .social-links {
            display: flex;
            margin-top: 30px;
            a {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                background: rgba(78, 84, 200, 0.1);
                border-radius: 50%;
                margin-right: 10px;
                color: var(--primary-color);
                font-size: 18px;
                transition: all 0.3s ease;
                text-decoration: none;
                &:hover {
                    background-color: var(--primary-color);
                    color: white;
                    transform: translateY(-5px);
                }
            }
        }
    }
}

/* FOOTER */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 50px 0 20px;

    .footer-links a {
        color: #ccc;
        text-decoration: none;
        transition: color 0.3s ease;

        &:hover {
            color: white;
        }
    }
}

.text-dark {
    color: var(--text-dark);
}

.text-dark-success {
    color: var(--dark-success);
}

.offer {
    padding: 30px 20px;
    margin-top: 20px;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    .offer-row {
        margin-top: 20px;
        max-width: 1920px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: stretch;

        .offer-card {
            width: 320px;
            color: var(--text-dark);
            margin-top: 20px;
            padding: 20px;
            box-shadow: 0px 0px 1px var(--text-dark),
                0px 0px 2px var(--dark-success),
                0px 0px 3px var(--secondary-color);
            border-radius: 10px;

            display: flex;
            flex-direction: column;
            align-items: stretch;
            justify-content: space-between;

            .offer-card-list {
                /* border-left: 1px solid var(--dark-color); */
                list-style: square;
                position: relative;
                &::after {
                    content: "";
                    width: 8px;
                    position: absolute;
                    background-color: var(--dark-success);
                    top: 0%;
                    left: 1%;
                    border-radius: 10px;
                    height: 100%;
                    transform: translateY(0);
                    transition: transform 0.7s ease-in-out,
                        height 0.7s ease-in-out;
                }

                &:hover {
                    &::after {
                        transform: translateY(50%);
                        height: 50%;
                    }
                }
            }

            .offer-card-price {
                font-size: 24px;
                color: var(--primary-color);
            }
        }
    }
}

.text-center {
    text-align: center;
}

.sample {
    .sample-container{
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .sample-card {
        margin-top: 30px;
        padding: 20px;
        background-color: var(--text-dark);
        border-radius: 20px;
        max-width: 450px;
        .sample-card-image {
            width: 100%;
            height: auto;
            border-radius: 20px;
        }

        .sample-card-body {
            padding-top: 20px;
            background-color: var(--text-dark);

            .title {
                color: var(--light-color);
            }
            .content {
                color: #00bf63;
            }
        }
    }
}

.btn-light {
    background: var(--light-color);
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.me-2 {
    margin-left: 12px;
}
