/* team */
.custom-aspect-1x1 {
    aspect-ratio: 1/1;
}

.team-img {
    object-fit: cover;
    object-position: top;
}

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

.svg-background {
    background-color: var(--bs-white);
    border-radius: 50%;
    padding: 10px;
    color: rgb(57, 54, 54);
}

.btn-white {
    background-color: #fff;
    text-decoration: none;
    font-size: 20px;
    color: rgb(57, 54, 54);
    cursor: pointer;
}

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

/* contact form */
.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: 0;
    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 {
    background-color: var(--bs-dark);
    color: white;
    border-radius: 10px;
    padding: 2rem 1rem 1rem;
    margin-top: 3rem;
    position: relative;
}

.testimonial .client-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--bs-primary);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.quote-icon {
    font-size: 2rem;
    color: var(--bs-primary);
}

.client-name {
    color: var(--bs-primary);
    font-weight: bold;
}

/* services block */
.product-card {
    overflow: hidden;
    background: linear-gradient(135deg, #eaa03f, #bc2041);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.product-price {
    font-weight: bold;
    color: #1f8a70;
}

/* information */
.services-section {
    padding: 100px 0;
}

.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-top: 5px solid transparent;
}

.service-icon-wrapper {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.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);
}

.border-color {
    border-top-color: var(--bs-dark);
}

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

/* about */
.about-img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.about-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.about-title {
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.about-title::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 4px;
    background: linear-gradient(to right, var(--bs-primary), var(--bs-secondary));
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.about-text {
    color: #34495e;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.img-container {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .about-content {
        padding: 1.5rem;
    }

    .about-title {
        font-size: 1.8rem;
    }
}

/* hero */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.btn-translucent {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s;
}

.btn-translucent:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* 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;
    }
}
