/* 
=========================================================
   SAFETY INSPECTION SERVICE PAGE
=========================================================
*/

.service-page-modern {
    padding-top: 105px !important;
}

/* Hero */
.service-modern-hero-wrap {
    padding: 0 0 10px;
}

.service-modern-hero {
    position: relative;
    height: 480px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.service-modern-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroFloat 20s ease-in-out infinite alternate;
}

.service-modern-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 75, 141, 0.92) 0%, rgba(0, 50, 94, 0.75) 33%, rgba(255, 255, 255, 0) 65%);
    z-index: 1;
}

.service-modern-hero-content {
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 720px;
}

.service-modern-hero-content h1 {
    font-size: 62px;
    color: #ffffff;
    letter-spacing: -1px;
}

/* Main Content */
.service-modern-main {
    padding: 80px 0;
}

.service-modern-grid {
    display: block !important;
}

.service-modern-content {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.service-modern-sidebar {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 130px;
    height: fit-content;
}

.service-side-link {
    display: block;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-muted);
    transition: 0.3s;
}

.service-side-link:hover,
.service-side-link.active {
    background: var(--primary);
    color: #ffffff;
}

.service-modern-text-card {
       background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);

    width: 100% !important;
    max-width: 100% !important;
}
/* Bigger Heading */
.service-modern-heading h2 {
    font-size: 40px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

/* Space below heading */
.service-modern-heading {
    margin-bottom: 40px !important;
}

.service-features-list {
    margin-top: 25px;
}
.service-features-list {
    margin-top: 25px;
}

.service-features-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.service-features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* 📞 Contact CTA Section - Handled Globally by style.css */

@media (max-width: 1100px) {
    .service-modern-grid, .contact-cta-grid { grid-template-columns: 1fr; }
    .service-modern-hero-content h1 { font-size: 42px; }
}
