/* ===== Base Styling ===== */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    color: #0f4c75;
}

.section-title h2 {
    font-weight: 700;
    color: #0f4c75;
}

.section-title p {
    color: #6c757d;
    max-width: 650px;
    margin: 0 auto;
}

/* ===== Hero Section ===== */
.medication-hero {
    background: linear-gradient(135deg, #1abc9c, #16a085),
        url('https://images.unsplash.com/photo-1580281657527-47e2b6b2e48c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 150px 0 90px;
    color: #fff;
}

.medication-hero h1 {
    font-size: 48px;
    font-weight: 800;
}

.medication-hero p {
    font-size: 18px;
    max-width: 720px;
    margin: 15px auto 0;
}

/* ===== Overview Cards ===== */
.medication-overview {
    padding: 80px 0;
}

.med-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.med-card i {
    font-size: 42px;
    color: #16a085;
    margin-bottom: 15px;
}

.med-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.med-card p {
    font-size: 15px;
    color: #6c757d;
}

.med-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 45px rgba(26, 188, 156, 0.35);
}

/* ===== Medication Types ===== */
.medication-types {
    background-color: #f1f5f9;
    padding: 80px 0;
}

.med-type-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 22px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1abc9c, #16a085);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.icon-circle i {
    color: #fff;
    font-size: 28px;
}

.med-type-card h6 {
    font-weight: 600;
    margin-bottom: 8px;
}

.med-type-card p {
    font-size: 14.5px;
    color: #6c757d;
}

.med-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(26, 188, 156, 0.35);
}

/* ===== Medical Process ===== */
.medication-process {
    padding: 80px 0;
}

.process-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.process-card span {
    font-size: 36px;
    font-weight: 800;
    color: #16a085;
    display: block;
    margin-bottom: 10px;
}

.process-card h6 {
    font-weight: 600;
    margin-bottom: 10px;
}

.process-card p {
    font-size: 14.5px;
    color: #6c757d;
}

.process-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(135deg, #1abc9c, #16a085);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.process-card:hover::after {
    transform: scaleX(1);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(26, 188, 156, 0.35);
}

/* ===== CTA Section (White Background Version) ===== */
.medication-cta {
    background: #ffffff;
    padding: 80px 0;
    color: #0f4c75;
}

.cta-box {
    background: #f1f5f9;
    border-radius: 25px;
    padding: 50px 30px;
    box-shadow: 0 15px 40px rgba(26, 188, 156, 0.2);
}

.cta-box h3 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f4c75;
}

.cta-box p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 25px;
    color: #6c757d;
}

/* ===== Buttons (CTA matched) ===== */
.btn-primary-custom {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #16a085, #1abc9c);
    color: #fff;
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.45);
}

.btn-outline-light-custom {
    border: 2px solid #1abc9c;
    color: #1abc9c;
    background: transparent;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    color: #fff;
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.4);
}
