/* ==========================================================================
   PROPERTY MANAGEMENT (Wider, more dimensional glass layout)
   ========================================================================== */
#pm-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;

    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9), rgba(32, 57, 150, 0.8)),
                url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1200") no-repeat center center/cover !important;

    min-height: 300px !important;
    padding: 160px 20px 110px !important;
    margin-top: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
}

#pm-hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(237, 242, 247, 0), #edf2f7);
    pointer-events: none;
}

.hero-content {
    max-width: 800px !important;
    margin: 0 auto !important;
    width: 100% !important;
    position: relative;
    z-index: 2;
}

#pm-hero h1 {
    font-size: 40px !important;
    color: var(--white) !important;
    margin: 0 0 12px 0 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
}

#pm-hero p {
    font-size: 18px !important;
    color: #e2e8f0 !important;
    font-weight: 400 !important;
    max-width: 650px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* ==========================================================================
   FULL-PAGE BACKDROP
   ========================================================================== */
body {
    background-color: #edf2f7;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(43, 108, 176, 0.10), transparent 40%),
        radial-gradient(circle at 90% 25%, rgba(32, 57, 221, 0.08), transparent 38%),
        radial-gradient(circle at 15% 90%, rgba(26, 54, 93, 0.08), transparent 42%),
        linear-gradient(rgba(237, 242, 247, 0.94), rgba(237, 242, 247, 0.94)),
        url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1600");
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: center, center, center, center, top center;
    background-size: auto, auto, auto, auto, cover;
    background-attachment: scroll, scroll, scroll, scroll, fixed;
}

@media (max-width: 900px) {
    body {
        background-attachment: scroll, scroll, scroll, scroll, scroll;
    }
}

/* ==========================================================================
   UNIFIED GLASS CONTAINER (wider, layered depth)
   ========================================================================== */
.service-page-container {
    position: relative;
    max-width: 1080px;
    margin: 70px auto;
    padding: 70px 80px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow:
        0 2px 4px rgba(26, 54, 93, 0.04),
        0 12px 30px rgba(26, 54, 93, 0.08),
        0 40px 70px -20px rgba(26, 54, 93, 0.18);
    box-sizing: border-box;
    overflow: visible;
    z-index: 1;
}

.service-page-container::before,
.service-page-container::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    pointer-events: none;
    animation: pmBlobDrift 12s ease-in-out infinite;
}

.service-page-container::before {
    width: 260px;
    height: 260px;
    top: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(43, 108, 176, 0.26), transparent 70%);
}

.service-page-container::after {
    width: 320px;
    height: 320px;
    bottom: -100px;
    left: -80px;
    background: radial-gradient(circle, rgba(32, 57, 221, 0.18), transparent 70%);
    animation-delay: -6s;
}

@keyframes pmBlobDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-18px, 16px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .service-page-container::before,
    .service-page-container::after {
        animation: none;
    }
}

.intro-text-section {
    margin-bottom: 45px;
}

.lead-paragraph {
    font-size: 18px;
    color: var(--dark);
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 16px;
}

.secondary-paragraph {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin: 0;
}

.pm-services-showcase {
    margin-top: 40px;
}

.pm-section-heading {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    position: relative;
}

.pm-section-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 70px;
    height: 2px;
    background: var(--accent);
}

/* Clean Professional List Grid, now as gently lifting cards */
.services-text-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px 24px;
    margin-bottom: 40px;
}

.service-text-entry {
    padding: 18px 20px;
    border-radius: 12px;
    background: rgba(247, 250, 252, 0.6);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, background 0.35s ease;
}

.service-text-entry:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 32px rgba(26, 54, 93, 0.10);
}

.service-text-entry h3 {
    font-size: 15px;
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-text-entry p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Extended Provisions Subsection */
.extended-provisions-panel {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.panel-title {
    color: var(--primary);
    font-size: 18px;
    margin: 0 0 6px 0;
    font-weight: 700;
}

.panel-subtitle {
    margin: 0 0 20px 0;
    color: var(--gray);
    font-size: 14px;
}

.minimal-provisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 20px;
}

.provision-cell {
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 8px 8px 8px 16px;
    border-radius: 6px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.provision-cell:hover {
    transform: translateX(4px);
    background: rgba(32, 57, 221, 0.05);
}

.provision-cell::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--accent);
    border-radius: 50%;
}

.pm-action-panel {
    text-align: center;
    margin-top: 50px;
}

.pm-action-panel .btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white) !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.15);
    transition: all 0.3s ease;
}

.pm-action-panel .btn:hover {
    background: var(--primary-dark, #1a365d) !important;
    box-shadow: 0 10px 24px rgba(26, 54, 93, 0.28);
    transform: translateY(-3px);
}

/* ==========================================================================
   SCROLL-TRIGGERED STAGGERED REVEAL
   ========================================================================== */
.intro-text-section,
.pm-services-showcase,
.pm-action-panel {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-page-container.is-visible .intro-text-section { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.service-page-container.is-visible .pm-services-showcase { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.service-page-container.is-visible .pm-action-panel { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
    .service-page-container {
        max-width: 92%;
    }
}

@media (max-width: 768px) {
    #pm-hero h1 {
        font-size: 28px !important;
    }
    #pm-hero p {
        font-size: 15px !important;
    }
    .service-page-container {
        padding: 40px 24px;
        margin: 40px 15px;
        border-radius: 16px;
    }
    .lead-paragraph {
        font-size: 16px;
    }
}
