/* text-shadow */
.text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

/* footer */
footer {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-dark));
}

#footer-bottomline {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

/* form */
.form-check-input-custom {
    --bs-form-check-bg: var(--bs-body-bg);
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    appearance: none;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid var(--bs-border-color);
    print-color-adjust: exact;
}

.form-check-input-custom[type=checkbox] {
    border-radius: 0.25em;
}

.form-check-input-custom:checked {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.form-check .form-check-input-custom {
    float: left;
    margin-left: -1.5em;
}

.form-check-input-custom:checked[type=checkbox] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

/* 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-card:hover {
    transform: scale(1.03);
}

.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 */
.bg-primary-custom {
    background-color: var(--bs-white);
}

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

/* info block */
.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-white);
}

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

/* 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: var(--bs-white);
    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-white);
    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;
    }
}

/* 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: 99%;
        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 ~ header nav ul {
        left: 0;
    }
}

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

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