/* ==================
repair-form
======================= */
.single-services .cta-btn {
    margin: 0px 0 20px 0;
}

.repair-form {
    background: var(--color-primary);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 15px 40px rgba(0,0,0,.25);

    backdrop-filter: blur(10px);
}

.repair-form .form-group {
    margin-bottom: 20px;
}

.repair-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.repair-form input,
.repair-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
    color: #fff;
    transition: all .3s ease;
}

.repair-form input::placeholder,
.repair-form textarea::placeholder {
    color: rgba(255,255,255,.5);
}

.repair-form input:hover,
.repair-form textarea:hover {
    border-color: rgba(37,205,199,.5);
}

.repair-form input:focus,
.repair-form textarea:focus {
    outline: none;

    border-color: var(--color-accent);

    background: rgba(255,255,255,.08);

    box-shadow:
        0 0 0 3px rgba(37,205,199,.15),
        0 0 15px rgba(37,205,199,.2);

    transform: translateY(-1px);
}

.repair-form textarea {
    min-height: 150px;
    resize: vertical;
}

.repair-form input[type="file"] {
    padding: 12px;
    cursor: pointer;
}

.repair-form input[type="file"]::-webkit-file-upload-button {
    background: var(--color-accent);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 8px 15px;
    cursor: pointer;
    margin-left: 10px;
}

.repair-form small {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.7);
}

.repair-form button {
    width: 100%;
    border: 0;
    cursor: pointer;

    padding: 16px;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 700;

    background: var(--color-secondary);

    color: var(--color-primary);

    position: relative;
    overflow: hidden;

    transition: all .3s ease;
}

.repair-form button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(255,255,0,.25);
}

.repair-form button:active {
    transform: translateY(0);
}

.repair-form button::before {
    content: '';

    position: absolute;

    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.5),
        transparent
    );

    transition: .7s;
}

.repair-form button:hover::before {
    left: 150%;
}

.alert-success {
    background: var(--color-accent);
    color: #fff;

    padding: 15px 20px;

    border-radius: 12px;

    margin-bottom: 20px;

    font-weight: 600;
}

@media (min-width: 768px) {

    .repair-form {

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 20px;
    }

    .repair-form .form-group:nth-child(5),
    .repair-form .form-group:nth-child(6),
    .repair-form .form-group:nth-child(7) {
        grid-column: 1 / -1;
    }

    .repair-form button {
        grid-column: 1 / -1;
    }
}
.how-fixed .how-fix-img img {
    max-width: 100px;
}


.how-fixed {
    text-align: center;
    margin: 50px 0;
}
.portfolio.single-service-portfolio {
    max-height: 100%;
}
.how-fixed .how-fix-title {
    padding: 20px 0;
}

.how-fixed {
    background: var(--color-accent);
    color: var(--color-white);
}
div#form-repair form {
    max-width: 800px;
    margin: 50px auto;
}

.content-first-part .cta-btn {
    display: flex;
    justify-content: center;
}

.content-first-part .cta-btn.btn-primary a {
    text-decoration: none;
    color: #fff;
}
.content-first-part .cta-btn.btn-primary {
     margin:0 auto; 
    width: 200px;
}
/* ==============================
   Portfolio Section
============================== */
.content-first-part {
    padding: 20px 0;
}
.single-services.container {
    /* margin: 0px 0; */
}
.portfolio {
    position: relative;
}

.portfolio .swiper {
    padding: 10px;
}

.portfolio .swiper-slide {
    background-color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    border: 1px solid #ff6b2d63;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.34);
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
    backdrop-filter: blur(11.8px);
    -webkit-backdrop-filter: blur(11.8px);
    margin: 0px 0;
    height: auto;
}

.portfolio .portfolio-holder {
    width: 100%;
    height: 100%;
}

.portfolio .portfolio-holder > div {
    position: relative;
}

.portfolio .portfolio-before,
.portfolio .portfolio-after {
    position: relative;
    padding: 10px;
}

.portfolio img {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 10px !important;
    max-height: 350px;
}

.portfolio .portfolio-holder .btn-primary {
    position: absolute;
    left: 15px;
    bottom: 15px;
    z-index: 2;
}

/* ==============================
   Portfolio Swiper Pagination
============================== */

.portfolio .swiper-pagination {
    position: relative;
    margin-top: 10px;
}

.portfolio span.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 1;
    border: 1px solid var(--color-secondary);
    height: 8px !important;
    width: 8px !important;
    transform: unset !important;
}

.portfolio span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 25px !important;
    height: 8px !important;
    border-radius: 4px !important;
    border: 1px solid #fff !important;
    background: var(--color-secondary) !important;
}

/* ==============================
   Portfolio Swiper Navigation
============================== */

.portfolio .swiper-button-prev.btn-secondary,
.portfolio .swiper-button-next.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.34);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11.8px);
    -webkit-backdrop-filter: blur(11.8px);
    top: unset !important;
    left: 0 !important;
    right: unset !important;
    bottom: 0 !important;
}

.portfolio .swiper-button-next.btn-secondary {
    transform: translate(90%, -50%);
}

.portfolio .swiper-button-prev.btn-secondary {
    transform: translate(200%, -50%);
}

.portfolio .swiper-button-prev.btn-secondary svg,
.portfolio .swiper-button-next.btn-secondary svg {
    display: none;
}

.portfolio .swiper-button-prev.btn-secondary::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 15px solid var(--color-accent);
    border-bottom: 10px solid transparent;
}

.portfolio .swiper-button-next.btn-secondary::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-right: 15px solid var(--color-accent);
    border-bottom: 10px solid transparent;
}

/* ==============================
   Home Portfolio Lightbox / Modal
============================== */

.home-portfolio-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.home-portfolio-lightbox.is-active,
.home-portfolio-lightbox[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-portfolio-lightbox-box {
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    transform: scale(0.92);
    transition: all 0.3s ease;
}

.home-portfolio-lightbox.is-active .home-portfolio-lightbox-box,
.home-portfolio-lightbox[aria-hidden="false"] .home-portfolio-lightbox-box {
    transform: scale(1);
}

.home-portfolio-lightbox-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.home-portfolio-lightbox-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #fff;
}

.home-portfolio-lightbox-title strong {
    font-size: 20px;
    font-weight: 700;
}

.home-portfolio-lightbox-title span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.home-portfolio-lightbox-close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.home-portfolio-lightbox-close:hover {
    transform: rotate(180deg);
    background: var(--color-primary);
}

.home-portfolio-lightbox-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.home-portfolio-lightbox-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.home-portfolio-lightbox-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-portfolio-lightbox-image img {
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    display: block;
    border-radius: 14px;
}

.home-portfolio-lightbox-image .btn-primary {
    position: absolute;
    left: 15px;
    bottom: 15px;
    z-index: 2;
}

/* ==============================
   Mobile
============================== */

@media only screen and (max-width: 768px) {
    .portfolio .swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
        position: absolute;
        top: 30px;
        height: auto;
        bottom: unset;
    }

    .home-portfolio-lightbox-box {
        width: 94%;
        max-height: 92vh;
        border-radius: 14px;
    }

    .home-portfolio-lightbox-head {
        padding: 14px;
    }

    .home-portfolio-lightbox-title strong {
        font-size: 17px;
    }

    .home-portfolio-lightbox-title span {
        font-size: 13px;
    }

    .home-portfolio-lightbox-close {
        width: 36px;
        height: 36px;
        font-size: 26px;
    }

    .home-portfolio-lightbox-body {
        padding: 14px;
    }

    .home-portfolio-lightbox-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home-portfolio-lightbox-image img {
        max-height: 70vh;
    }
}
.content-part-description-2 .cta-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.content-part-img-2 img {
    border-radius: 10px;
}
.whats-your-problem-section {
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    
    color: var(--color-white);
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.whats-your-problem-section:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('/wp-content/themes/tehransafkarcom/assets/img/services-bg.png');
    opacity: 0.3;
    z-index: 1;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}


.whats-your-problem-section {
    position: relative;
}

.whats-your-problem {
    position: relative;
    z-index: 2;
}