/* 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-primary);
    border-radius: 50%;
    padding: 10px;
}

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

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

/* 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-light);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

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

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

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

.ribbon {
    position: absolute;
    top: 1rem;
    left: -2.5rem;
    background: #ffc107;
    color: #fff;
    padding: 0.2rem 2rem;
    transform: rotate(-45deg);
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.ribbon.green {
    background: #28a745;
}

.ribbon.blue {
    background: #007bff;
}

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

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

.card-orange {
    background-color: #ff9800;
}

.card-green {
    background-color: #4caf50;
}

.card-blue {
    background-color: #2196f3;
}

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

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

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

/* information block */
.zigzag-block {
    padding: 2rem 0;
    display: flex;
    align-items: center;
}

.zigzag-text {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.zigzag-image {
    background-color: var(--bs-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    text-align: center;
}

@media (max-width: 767.98px) {
    .zigzag-block {
        flex-direction: column !important;
    }

    .zigzag-image {
        margin-bottom: 1.5rem;
    }
}

/* about */
:root {
    --primary-accent: var(--bs-white);
    --secondary-accent: var(--bs-secondary);
}

.about-title {
    font-weight: 900;
    font-size: 3.5rem;
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--bs-white);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-subtitle {
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-accent), var(--secondary-accent));
    bottom: -8px;
    left: 0;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bs-white);
    margin-bottom: 2rem;
}

.main-image {
    position: absolute;
    width: 70%;
    height: 60%;
    top: 0;
    right: 0;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: -20px 20px 40px rgba(0, 0, 0, 0.2);
    transform: rotate(3deg);
    transition: all 0.4s ease;
    z-index: 2;
}

.secondary-image {
    position: absolute;
    width: 50%;
    height: 40%;
    bottom: 0;
    left: 0;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.15);
    transform: rotate(-5deg);
    transition: all 0.4s ease;
    z-index: 1;
    border: 5px solid white;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 50%;
}

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

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

    .main-image {
        width: 80%;
        height: 50%;
    }

    .secondary-image {
        width: 60%;
        height: 35%;
    }
}

/* Hero */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/7698813/pexels-photo-7698813.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') 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;
    border-radius: 5px;
    border: 1px solid var(--bs-dark);
}

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

@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;
}

