﻿
/* =========================
   SECTION
========================= */

.service-section {
    margin-bottom: 70px;
}

/* =========================
   IMAGE
========================= */
.service-img {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    margin-bottom: 35px;
    background-size: cover; /* مهم‌ترین */
    background-position: center; /* وسط تصویر */
    background-repeat: no-repeat; /* جلوگیری از تکرار */
}

/* =========================
   TEXT
========================= */

.service-text {
    font-size: 17px;
    line-height: 2.5;
    color: #444;
}

    .service-text p {
        margin-bottom: 20px;
    }

/* =========================
   BUTTON
========================= */

.service-btn {
    margin-top: 35px;
    border: none;
    background: #5b2d90;
    color: #fff;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

    .service-btn:hover {
        background: #7c3aed;
    }

/* =========================
   CHILDREN
========================= */

.service-children {
    overflow: hidden;
    max-height: 0;
    transition: max-height .45s ease;
    margin-top: 20px;
}

    .service-children.open {
        margin-top: 30px;
    }

/* =========================
   CHILD ITEM
========================= */

.child-item {
    display: block;
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: .3s;
}

    .child-item:hover {
        background: #faf7ff;
    }

/* =========================
   CHILD TITLE
========================= */

.child-title {
    font-size: 18px;
    font-weight: 800;
    color: #5b2d90;
    margin-bottom: 8px;
}

/* =========================
   CHILD TEXT
========================= */

.child-text {
    font-size: 14px;
    line-height: 2;
    color: #666;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px) {

    .services-title {
        font-size: 28px;
    }

    .service-img {
        height: 260px;
    }

    .service-text {
        font-size: 15px;
        line-height: 2.2;
    }
}
.pn-section-head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

    .pn-section-head span {
        flex: 1;
        height: 1px;
        background: linear-gradient(to right, transparent, #ddd, transparent);
    }

    .pn-section-head h2 {
        margin: 0;
        font-size: 34px;
        font-weight: 700;
        color: #111827;
        letter-spacing: -0.8px;
    }

.service-title {
    color: #522474;
}


.pn-section-head h2 {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.8px;
    text-align: center;
}

.services-breadcrumb {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    font-size: 14px;
    color: #777;
}

    .services-breadcrumb a {
        color: #5b2d90;
        text-decoration: none;
    }

        .services-breadcrumb a:hover {
            color: #7d47c3;
        }