/* ===================================================
   SECOND MEDICAL OPINION PAGE — second-opinion.css
   =================================================== */

/* ── Hero Banner ───────────────────────────────── */
.smo-hero {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.smo-hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/18-Medical-Devices-banner-Background.jpg') center / cover no-repeat;
    opacity: 0.15; /* Lighten the image to match the reference */
    z-index: 0;
}

/* Base background color for the hero behind the low-opacity image */
.smo-hero-base {
    position: absolute;
    inset: 0;
    background: #eef4f8;
    z-index: -1;
}

.smo-hero .container {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.smo-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--navy); /* Matches the dark navy from the main page */
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.smo-breadcrumb {
    font-size: 14px;
    color: #6b7a8d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Main Content Section ──────────────────────── */
.smo-main {
    padding: 80px 0;
    background: #ffffff;
}

.smo-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.smo-main-text h2 {
    font-size: 24px;
    color: #4b5a6c;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 30px;
}

.smo-main-text p {
    font-size: 15px;
    color: #7a8b9e;
    line-height: 1.8;
    margin-bottom: 20px;
}

.smo-main-text p:last-child {
    margin-bottom: 0;
}

.smo-main-img-wrap {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.smo-main-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Relevance Section (Gray) ──────────────────── */
.smo-relevance {
    padding: 80px 0;
    background: #f8f9fb;
    text-align: center;
}

.smo-relevance-inner {
    max-width: 900px;
    margin: 0 auto;
}

.smo-relevance h2 {
    font-size: 26px;
    font-weight: 700;
    color: #3a4a5b;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.smo-relevance p {
    font-size: 16px;
    color: #7a8b9e;
    line-height: 1.8;
    margin-bottom: 20px;
}

.smo-relevance p:last-child {
    margin-bottom: 0;
}

/* ── Prestige Section (Teal/Navy) ──────────────── */
.smo-prestige {
    padding: 80px 0;
    background: var(--navy); /* Using brand primary color instead of teal */
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}

.smo-prestige-inner {
    max-width: 900px;
    margin: 0 auto;
}

.smo-prestige h2 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.smo-prestige p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 20px;
}

.smo-prestige p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 992px) {
    .smo-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .smo-main-img-wrap {
        order: -1; /* Move image above text on mobile */
    }
}

@media (max-width: 768px) {
    .smo-hero {
        height: 260px;
    }
    .smo-hero-title {
        font-size: 26px;
    }
    .smo-main, .smo-relevance, .smo-prestige {
        padding: 60px 0;
    }
    .smo-relevance h2, .smo-prestige h2 {
        font-size: 22px;
    }
}
