/* ============================================================
   Patient Access Services / Medical Billing Services Styles
   ============================================================ */

/* ── Services Grid ────────────────────────────────────────── */
.pas-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

/* ── Service Card ─────────────────────────────────────────── */
.pas-service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(2, 147, 254, 0.10);
    border: 1px solid #e8f4ff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pas-service-card:hover {
    box-shadow: 0 8px 40px rgba(2, 147, 254, 0.18);
    transform: translateY(-4px);
}

/* ── Card Image ───────────────────────────────────────────── */
.pas-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.pas-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.pas-service-card:hover .pas-card-image img {
    transform: scale(1.04);
}

.pas-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2, 147, 254, 0.10) 0%, rgba(0, 0, 0, 0.30) 100%);
    pointer-events: none;
}

/* ── Card Content ─────────────────────────────────────────── */
.pas-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 28px 24px;
}

/* ── Card Title ───────────────────────────────────────────── */
.pas-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2b4b;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* ── Card Subtitle ────────────────────────────────────────── */
.pas-card-subtitle {
    font-size: 0.95rem;
    color: #444;
}

/* ── Card Description ─────────────────────────────────────── */
.pas-card-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ── Card Features ────────────────────────────────────────── */
.pas-card-features {
    flex: 1;
    margin-bottom: 20px;
}

.pas-card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pas-card-features ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: #444;
    line-height: 1.55;
}

.pas-card-features ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0293fe;
    flex-shrink: 0;
}

/* ── Card Button Wrapper ──────────────────────────────────── */
.pas-card-btn-wrapper {
    margin-top: auto;
    padding-top: 8px;
}

/* ── Card Button ──────────────────────────────────────────── */
.pas-card-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0293fe 0%, #00b4e6 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    white-space: normal;
    line-height: 1.4;
}

.pas-card-btn:hover {
    background: linear-gradient(135deg, #007dd8 0%, #0097c4 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(2, 147, 254, 0.35);
    text-decoration: none;
}

/* ============================================================
   Get in Touch / Contact Section Overrides
   ============================================================ */

/* Section background */
#contactus.techwix-contact-section {
    background: linear-gradient(160deg, #f0f8ff 0%, #ffffff 55%, #f5faff 100%);
    border-top: 4px solid #0293fe;
}

/* Header block */
#contactus .contact-wrap {
    background-image: none !important;
}

#contactus .col-12.text-center h2.title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a2b4b;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

#contactus .col-12.text-center h2.title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0293fe, #00d4ff);
    border-radius: 2px;
    margin: 12px auto 0;
}

#contactus .col-12.text-center h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #0293fe !important;
    margin-top: 6px;
}

/* Contact info panel */
#contactus .contact-info {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(2, 147, 254, 0.10);
    border: 1px solid #e0f0ff;
    height: 100%;
}

#contactus .contact-wrap .contact-info ul {
    padding-top: 0;
    margin: 0;
}

#contactus .contact-wrap .contact-info ul li {
    margin-top: 0;
    padding: 16px 0;
    border-bottom: 1px solid #f0f4f8;
}

#contactus .contact-wrap .contact-info ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

#contactus .contact-wrap .contact-info ul li:first-child {
    padding-top: 0;
}

/* Override orange icons → blue */
#contactus .contact-info-icon i,
#contactus .contact-info-icon [class^="flaticon-"],
#contactus .contact-info-icon [class*=" flaticon-"] {
    font-size: 36px !important;
    color: #0293fe !important;
    background: #e8f4ff;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#contactus .contact-info-icon .timelogo {
    width: 28px;
    height: 28px;
    filter: invert(40%) sepia(90%) saturate(600%) hue-rotate(180deg) brightness(1.1);
    background: #e8f4ff;
    width: 56px;
    height: 56px;
    padding: 14px;
    border-radius: 12px;
    object-fit: contain;
}

#contactus .contact-info-text {
    margin-left: 16px !important;
}

#contactus .contact-info-text .title {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0293fe !important;
    line-height: 1 !important;
    margin-bottom: 4px;
}

#contactus .contact-info-text p,
#contactus .contact-info-text p a {
    font-size: 0.95rem !important;
    color: #333 !important;
    line-height: 1.5 !important;
    margin: 0;
}

#contactus .contact-info-text p a:hover {
    color: #0293fe !important;
    text-decoration: none;
}

/* Contact form panel — remove the massive inherited margin-left */
#contactus .contact-wrap .contact-form {
    margin-left: 0 !important;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(2, 147, 254, 0.10);
    border: 1px solid #e0f0ff;
    overflow: hidden;
}

#contactus .contact-wrap .contact-form .contact-form-wrap {
    padding: 32px 36px;
}

#contactus .contact-form-wrap .sub-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0293fe;
    display: block;
    margin-bottom: 6px;
}

#contactus .contact-form-wrap .title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2b4b;
    margin-bottom: 24px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
    .pas-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pas-card-image {
        height: 200px;
    }

    .pas-card-content {
        padding: 22px 20px 20px;
    }
}

@media (max-width: 575px) {
    .pas-card-image {
        height: 180px;
    }

    .pas-card-content {
        padding: 18px 16px 16px;
    }

    .pas-card-title {
        font-size: 1.05rem;
    }
}
