/* side */
.circle-small {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* form success POPup */
.bg-dark-custom {
    background-color: rgb(50, 50, 50);
}

#btn-close-popup {
    font-size: 25px;
}

#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-light {
    border-radius: 50%;
    box-shadow: 0px 10px 30px #ffffff;
}

.svg-background {
    background-color: var(--bs-primary);
    border-radius: 50%;
    padding: 10px;
}

#formPopup {
    box-shadow: 0px 0px 100px #ffffff;
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    color: var(--bs-light);
    z-index: 1000;
    text-align: center;
    border-top: 2px solid var(--bs-light);
}

@media (max-width: 700px) {
    #formPopup {
        width: 90%;
    }
}

/* contact form */
.form-check-label {
    cursor: pointer;
}

.form-check-input {
    width: 25px;
    height: 25px;
}

.form-check-input:checked {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
}

.form-control-custom {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--bs-white);
    appearance: none;
    background-color: var(--bs-secondary);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-custom::placeholder {
    color: var(--bs-white);
}

.form-control-custom:focus {
    outline: 0;
}

/* reviews */
.testimonial-card {
    background-color: var(--bs-secondary);
    border-radius: 15px;
    padding: 1.5rem;
}

.testimonial-text {
    font-size: 0.95rem;
}

.testimonial-name {
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.testimonial-image {
    aspect-ratio: 1/1;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* hero */
.hero-section img {
    position: relative;
    z-index: 100;
}

.square-color {
    height: 500px;
    width: 500px;
    position: absolute;
    transform: rotate(20deg);
    top: -250px;
    right: -250px;
}

@media (max-width: 768px) {
    .square-color {
        transform: rotate(60deg);
        top: 0;
        height: 500px;
        width: 400px;
    }
}

/* header */
header {
    background-color: var(--bs-primary);
    position: relative;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    padding: 1rem;
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    margin-left: auto;
    padding: 0 20px 0 0;
    color: white;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* Burger menu hidden checkbox */
#menu-toggle {
    display: none;
}

.menu-icon {
    width: 30px;
    height: 20px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1001;
}

.menu-icon span {
    display: block;
    height: 4px;
    background: var(--bs-white);
    border-radius: 2px;
}

/* Media query for mobile */
@media (max-width: 991px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        position: absolute;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background-color: var(--bs-primary);
        width: 100%;
        padding: 0 0 0 20px;
        transition: left 0.3s ease;
    }

    .menu-icon {
        display: flex;
    }

    /* When checkbox is checked, show menu */
    #menu-toggle:checked ~ nav ul {
        left: 0;
    }
}
