/* form popup */
.bg-dark-custom {
    background-color: rgb(255, 255, 255);
}

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

.popup-light {
    box-shadow: 0px 10px 30px rgba(255, 255, 255, 0.1);
}

.svg-background {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bs-primary);
    border-radius: 50%;
    padding: 10px;
    border: 5px solid var(--bs-secondary);
}

#formPopup {
    display: none;
    border: 5px solid var(--bs-secondary);
    position: fixed;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bs-secondary);
    border-radius: 8px;
    z-index: 1000;
    text-align: center;
}

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

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

.form-check-input {
    border: var(--bs-border-width) solid #000;
}

.form-check-input:checked {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !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-dark);
    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-black);
}

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

.button-send {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
}

/* price list */
.pricing-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 1rem;
    padding-top: 2rem;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: scale(1.05);
    z-index: 2;
}

.price {
    font-size: 3rem;
    font-weight: 900;
}

.background-gradient-3x {
    background: linear-gradient(217deg, var(--bs-primary), var(--bs-light)),
    linear-gradient(127deg, var(--bs-light), var(--bs-secondary)),
    linear-gradient(336deg, var(--bs-secondary), var(--bs-primary));
}

.card-top {
    max-width: 200px;
    border-radius: 50%;
    aspect-ratio: 1/1;
    padding: 1.5rem;
    color: white;
    font-weight: bold;
    text-align: center;
}

.btn-buy {
    border-radius: 999px;
    font-weight: bold;
    width: 100%;
}

.feature-list {
    margin: 1rem 0;
}

@media (max-width: 767px) {
    .price {
        font-size: 2.2rem;
    }
}

/* Smart Home Use Cases Block */
.aspect-1x1 {
    aspect-ratio: 1/1;
}

/* advantages block */
.float-left {
    float: left;
    font-size: 40px;
    font-weight: bold;
    line-height: 30px;
}

/* benefits */
.service-card {
    background-color: var(--bs-primary);
    border-radius: 12px;
    padding: 30px 20px 60px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    border-right: 5px solid var(--bs-dark);
    border-top: 5px solid var(--bs-dark);
}

.service-icon-wrapper {
    position: absolute;
    top: -30px;
    right: -10px;
    background: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    font-size: 28px;
    color: #fff;
}

.service-header {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-body {
    color: var(--bs-white);
}

.icon-color {
    background-color: var(--bs-dark);
    color: var(--bs-white);
}

/* hero */
.hero-secondary-img {
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 50%;
    z-index: 100;
}

/* header */
.toggler-btn-custom {
    all: unset;
    display: none;
    padding: 4px 7px 4px 7px;
}

.toggler-btn-custom svg {
    color: var(--bs-white);
}

@media (max-width: 991px) {
    .toggler-btn-custom {
        display: inline-block;
    }
}