/* reviews */
.testimonial-card {
    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;
}

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

.svg-background {
    border-radius: 50%;
    padding: 10px;
}

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

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

form textarea {
    min-height: 200px;
}

.text-black {
    color: #000;
}

.form-control-custom {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.5;
    appearance: none;
    background-clip: padding-box;
    border: none;
    border-bottom: 1px solid #000;
    outline: none;
    border-radius: 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-custom::placeholder {
    color: rgb(105, 105, 105);
}

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

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

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

.card-top {
    clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
    height: 200px;
    color: white;
    font-weight: bold;
    text-align: center;
}

/* working proces */
.timeline-step {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
}

.timeline-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0.6rem;
    height: 100%;
    width: 2px;
    background: var(--bs-primary);
}

.timeline-step::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.2rem;
    height: 1.2rem;
    background: var(--bs-primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--bs-primary);
}

.timeline-content {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .timeline-step {
        padding-left: 3rem;
    }

    .timeline-step::before {
        left: 1rem;
    }

    .timeline-step::after {
        left: 0.4rem;
    }
}

/* services */
.service-card {
    max-width: 350px;
}

.shape {
    overflow: hidden;
    object-fit: cover;
    width: 90%;
    height: 230px;
    background: var(--bs-primary);
    clip-path: polygon(
    20% 0%,   /* верхняя левая "впадина" */
    80% 0%,   /* верхняя правая "впадина" */
    100% 50%, /* правая вершина */
    80% 100%, /* нижняя правая */
    20% 100%, /* нижняя левая */
    0% 50%    /* левая вершина */
  );
}

/* hero block */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/6214908/pexels-photo-6214908.jpeg') no-repeat center center;
    background-size: cover;
    color: white;
    min-height: 100vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn-transparent {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 30px;
    border-radius: 0;
    transition: all 0.3s;
}

.btn-transparent:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }
}

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

.navbar {
    box-shadow: none;
}

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

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

/* arrow */
.arrow {
    display: inline-block;
    transform: scale(1.3);
    transform-origin: center;
}

/* Hidden checkbox */
.dropdown-toggle {
    display: none;
}

/* Label acts like a link */
.dropdown-label {
    cursor: pointer;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 150px;
    z-index: 100;
}

.dropdown-menu li {
    margin: 0.5rem 0;
}

.dropdown-menu li a {
    color: black;
    text-decoration: none;
}

/* Show dropdown when checkbox is checked */
.dropdown-toggle:checked + .dropdown-label + .dropdown-menu {
    display: block;
}

/* font-size for large headings */
.fs-custom {
    font-size: clamp(19px,5vw, 30px);
}
