/* ===================================================
   SERVICES PAGE — services.css
   =================================================== */

/* ── Hero Banner ───────────────────────────────── */
.services-hero {
    position: relative;
    height: 240px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
    overflow: hidden;
}

/* The hexagon medical icons photo */
.services-hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/18-Medical-Devices-banner-Background.jpg') center center / cover no-repeat;
    z-index: 0;
}

/* Dark blue overlay (matches the screenshot tone) */
.services-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 45, 72, 0.58);
    z-index: 1;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.3px;
}

/* ── Content Section ───────────────────────────── */
.services-content {
    padding: 64px 0 48px;
    background: #ffffff;
}

.services-content-inner {
    max-width: 820px;
}

.services-intro {
    font-size: 15.5px;
    color: #5a6a7e;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 680px;
}

.services-list-title {
    font-size: 19px;
    font-weight: 700;
    color: #1e3451;
    margin-bottom: 24px;
}

/* 2-column grid of service items */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #edf5fb;
    border: 1px solid #d4e8f5;
    border-radius: 10px;
    padding: 18px 20px;
    transition: background 0.2s, box-shadow 0.2s;
}

.service-item:hover {
    background: #dff0fa;
    box-shadow: 0 4px 14px rgba(30,52,81,0.08);
}

/* The last item spans both columns if it's alone */
.service-item:last-child:nth-child(odd) {
    grid-column: 1 / 2;
}

.service-icon {
    flex-shrink: 0;
    color: #4a80a4;
    margin-top: 1px;
}

.service-item span {
    font-size: 14.5px;
    color: #2d4a6e;
    line-height: 1.55;
    font-weight: 400;
}

/* ── Second Opinion Card ───────────────────────── */
.services-second-opinion-wrap {
    padding: 40px 0 80px;
    background: #ffffff;
}

.services-second-opinion-card {
    background: #2d4a6e;
    border-radius: 16px;
    padding: 44px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 780px;
    margin: 0 auto;
}

.sso-text { flex: 1; }

.sso-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.sso-desc {
    font-size: 14.5px;
    color: rgba(255,255,255,0.82);
    line-height: 1.65;
    max-width: 360px;
}

.sso-btn {
    flex-shrink: 0;
    background: #7bb8d8;
    color: #1e3451;
    border: none;
    border-radius: 10px;
    padding: 13px 28px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}

.sso-btn:hover {
    background: #9bcde8;
    transform: translateY(-2px);
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 768px) {
    .services-hero { height: 180px; padding-bottom: 28px; }
    .services-hero-title { font-size: 28px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-item:last-child:nth-child(odd) { grid-column: auto; }

    .services-second-opinion-card {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }

    .sso-desc { max-width: 100%; }
    .sso-btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .services-hero { height: 140px; }
    .services-hero-title { font-size: 24px; }
    .services-content { padding: 40px 0 32px; }
}
