/* services.css */

.page-hero-services {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(rgba(13, 27, 75, 0.8), rgba(13, 27, 75, 0.85)), url('../img/11.webp') center/cover no-repeat;
    text-align: center;
    color: #fff;
    z-index: 1;
}

/* Individual Service Section with Wave Transitions */
.service-item-section {
    padding: 110px 0;
    position: relative;
}

.service-detail-img-wrap {
    border-radius: 14px;
    position: relative;
    z-index: 1;
    padding: 18px; /* space for the decorative frame */
}

.service-detail-img-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.service-detail-img-wrap:hover img {
    transform: scale(1.02);
}

/* White Section Frame Styles */
.service-item-section.wave-white .service-detail-img-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 75%;
    border: 3px solid rgba(201, 168, 76, 0.55);
    border-radius: 14px;
    z-index: -1;
    transition: transform 0.5s ease;
}

.service-item-section.wave-white .service-detail-img-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 65%;
    background-color: rgba(13, 27, 75, 0.08);
    border-radius: 14px;
    z-index: -1;
    transition: transform 0.5s ease;
}

/* Navy Section Frame Styles */
.service-item-section.wave-navy .service-detail-img-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 75%;
    border: 3px solid rgba(201, 168, 76, 0.75);
    border-radius: 14px;
    z-index: -1;
    transition: transform 0.5s ease;
}

.service-item-section.wave-navy .service-detail-img-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 65%;
    background-color: rgba(201, 168, 76, 0.12);
    border-radius: 14px;
    z-index: -1;
    transition: transform 0.5s ease;
}

.service-detail-img-wrap:hover::before {
    transform: translate(-10px, -10px);
}
.service-detail-img-wrap:hover::after {
    transform: translate(10px, 10px);
}

.service-detail-content {
    padding: 20px 40px;
}

.service-detail-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 22px;
}

.service-item-section.wave-white .service-detail-content h2 {
    color: #0D1B4B;
}

.service-item-section.wave-navy .service-detail-content h2 {
    color: #ffffff;
}

.service-detail-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-item-section.wave-white .service-detail-content p {
    color: #4a4a4a;
}

.service-item-section.wave-navy .service-detail-content p {
    color: rgba(255, 255, 255, 0.82);
}

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

.service-feature-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 500;
}

.service-item-section.wave-white .service-feature-list li {
    color: #2b2b36;
}

.service-item-section.wave-navy .service-feature-list li {
    color: rgba(255, 255, 255, 0.9);
}

.service-feature-list li::before {
    content: "\F26A"; /* bootstrap check-circle-fill */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    color: #C9A84C;
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .service-item-section {
        padding: 70px 0;
    }
    .service-detail-content {
        padding: 35px 0 0 0;
    }
    .service-detail-img-wrap {
        padding: 12px;
    }
    .service-detail-img-wrap img {
        height: 300px;
    }
    .service-detail-content h2 {
        font-size: 2.1rem;
    }
}
