/* =========================================================
   SERVICES PAGE STYLES
========================================================= */


/* =========================
   BASE HERO
========================= */
.hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

/* =========================
   HERO IMAGE
========================= */
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center; /* tuned for services image */
    z-index: 0;
    animation: heroBgZoom 10s ease-in-out infinite alternate;

}

/* =========================
   HERO OVERLAY (TUNED FOR YOUR IMAGE)
========================= */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.65) 28%,
        rgba(0, 0, 0, 0.55) 48%,
        rgba(0, 0, 0, 0.30) 65%,
        rgba(0, 0, 0, 0.00) 82%
    );
    z-index: 1;
}

/* =========================
   HERO CONTENT LAYER
========================= */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* =========================
   HERO TEXT MICRO-ANIMATIONS
========================= */
.hero-title,
.hero-text,
.hero-actions {
    opacity: 0;
    transform: translateY(24px);
}

.hero-section .hero-title {
    animation: heroFadeUp 0.8s ease-out 0.2s forwards;
}

.hero-section .hero-text {
    animation: heroFadeUp 0.8s ease-out 0.45s forwards;
}

.hero-section .hero-actions {
    animation: heroFadeUp 0.8s ease-out 0.7s forwards;
}

/* =========================
   KEYFRAMES
========================= */
@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* @media (max-width: 576px) {
    .hero-img {
        object-position: 70% center;
    }
} */



/* =========================
   INTRO SECTION
========================= */

.services-intro {
    padding: 5rem 0;
    background-color: #ffffff;
}

/* =========================
   SERVICES LIST
========================= */

.services-list {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.service-block {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
}

.service-image {
    flex: 0 0 160px;
}

.service-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 0.6rem;
}

.service-content h4 {
    margin-bottom: 0.75rem;
}

.service-content p {
    margin-bottom: 0.75rem;
}

.service-content ul {
    padding-left: 1.2rem;
    margin: 0;
}

.service-content ul li {
    margin-bottom: 0.4rem;
}

/* =========================
   SERVICES CTA
========================= */

.services-cta {
    padding: 6rem 0;
    background-color: #0d6efd;
    color: #ffffff;
}

.services-cta .btn {
    font-weight: 600;
    padding: 0.8rem 2.4rem;
    transition: all 0.3s ease;
}

.services-cta .btn:hover {
    background-color: #fca311;
    color: #212529;
    transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .service-block {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
    }

    .service-image img {
        height: 220px;
    }
}

/* ---------------------------------------
   Deep-link highlight animation
--------------------------------------- */
.service-block {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.service-block.service-focus {
    box-shadow: 0 20px 45px rgba(13, 110, 253, 0.18);
    transform: translateY(-6px);
}

/* Subtle accent border */
.service-block.service-focus::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 159, 0, 0.6);
    border-radius: inherit;
    pointer-events: none;
}

