/* 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: linear-gradient(135deg, #2d2a4f 0%, #b91343 100%);
    border-radius: 50%;
    padding: 10px;
}

#formPopup {
    display: none;
    position: fixed;
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #2d2a4f 0%, #b91343 100%);
    color: var(--bs-white);
    border-radius: 8px;
    z-index: 1000;
    text-align: center;
    box-shadow: 0px 0px 100px rgba(255, 255, 255, 0.3);
}

/* 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-primary);
    background-clip: padding-box;
    border: none;
    border-radius: 10px;
    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;
}

/* pricing */
.pricing-card {
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pricing-header {
    padding: 2rem;
    color: #fff;
}

.pricing-body {
    padding: 2rem;
    background-color: #fff;
}

.pricing-price {
    font-size: 2rem;
    font-weight: bold;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
}

/* reviews */
.review-header {
    border-bottom-left-radius: 30px;
    position: relative;
}

.review-header-bottom {
    position: absolute;
    right: 0;
    top: 99%;
}

.review-footer {
    border-top-right-radius: 30px;
    font-size: 19px;
    z-index: 20;
}

.btn-white {
    background-color: #fff;
}

.text-black {
    color: #000000;
}

.review-card {
    max-width: 350px;
    border-radius: 20px;
}

.review-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

/* side */
.rounded-50 {
    border-radius: 50%;
}

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

/* about block */
.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: var(--bs-dark);
    font-size: 18px;
    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 block */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

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

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

