/* Wider Containers */
.pg-library-tips-section .container, .pg-bottom-banners .container { max-width: 1600px !important; }

/* PATIENT GUIDE CUSTOM STYLES */

/* Hero Section */
.pg-hero {
    padding: 40px 0 30px;
    background: linear-gradient(135deg, #fdfbf7 0%, #f4eee2 100%);
    position: relative;
    overflow: hidden;
}
.pg-hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}
.pg-hero-content {
    flex: 1;
}
.pg-hero-content h4 {
    color: var(--primary-gold);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.pg-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 25px;
}
.pg-hero-content h1 span {
    color: var(--primary-gold);
}
.pg-hero-content p {
    font-size: 20px;
    color: #555;
    margin-bottom: 40px;
    max-width: 450px;
}
.pg-hero-features {
    display: flex;
    gap: 30px;
}
.pg-feature {
    text-align: center;
    max-width: 130px;
}
.pg-feature-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(201, 133, 22, 0.1);
    margin: 0 auto 15px;
    color: var(--primary-gold);
    font-size: 24px;
    transition: all 0.3s ease;
}
.pg-feature:hover .pg-feature-icon {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 133, 22, 0.2);
}
.pg-feature-icon img {
    width: 48px;
    height: auto;
}

.pg-feature span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    line-height: 1.4;
}
.pg-hero-image {
    flex: 1;
    text-align: right;
}
.pg-hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* Start Journey Grid */
.pg-journey-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}
.pg-section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.pg-section-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 50px;
}
.pg-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    text-align: left;
}
.pg-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
}
.pg-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    border-color: transparent;
}
.pg-card-icon {
    font-size: 40px;
    color: var(--primary-gold);
    margin-bottom: 20px;
}
.pg-card-icon img {
    width: 65px;
    height: auto;
}

.pg-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.pg-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}
.pg-card-link {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}
.pg-card-link:hover {
    gap: 12px;
}

/* Care Journey Timeline */
.pg-timeline-section {
    padding: 80px 0;
    background: #fdfbf7;
    text-align: center;
}
.pg-timeline-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 60px auto 0;
    display: flex;
    justify-content: space-between;
}
.pg-timeline-line {
    position: absolute;
    top: 45px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: repeating-linear-gradient(90deg, #e0d5c1, #e0d5c1 5px, transparent 5px, transparent 10px);
    z-index: 1;
}
.pg-timeline-step {
    position: relative;
    z-index: 2;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pg-step-icon {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-gold);
    border: 2px solid #e0d5c1;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.pg-step-num {
    position: absolute;
    bottom: -10px;
    background: var(--primary-gold);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid #fff;
}
.pg-step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}
.pg-step-desc {
    font-size: 20px;
    color: #777;
    line-height: 1.5;
}

/* Resources Section */
.pg-resources-section {
    padding: 80px 0;
    background: #fff;
}
.pg-resources-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}
.pg-res-left .pg-section-title {
    text-align: left;
}
.pg-res-left .pg-section-subtitle {
    text-align: left;
    margin-bottom: 40px;
}
.pg-res-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pg-res-card {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 15px;
}
.pg-res-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: #e0d5c1;
}
.pg-res-icon {
    font-size: 32px;
    color: var(--primary-gold);
}
.pg-res-content h4 {
    color: var(--text-dark);
    font-size: 20px;
    margin-bottom: 5px;
}
.pg-res-content p {
    color: #777;
    font-size: 20px;
    line-height: 1.5;
    margin: 0;
}
.pg-res-arrow {
    margin-left: auto;
    color: #ccc;
    font-size: 19px;
    transition: color 0.3s ease;
    align-self: center;
}
.pg-res-card:hover .pg-res-arrow {
    color: var(--primary-gold);
}
.pg-res-right {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: url('assets/images/clinic_reception.png') center/cover;
    display: flex;
    align-items: center;
    padding: 50px;
}
.pg-res-right::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
    z-index: 1;
}
.pg-need-help {
    position: relative;
    z-index: 2;
    max-width: 300px;
}
.pg-need-help h3 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.pg-need-help p {
    color: #444;
    font-size: 19px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Stats Quote Banner */
.pg-stats-banner {
    background: #fdfbf7;
    padding: 60px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.pg-stats-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.pg-quote {
    flex: 1;
    border-left: 4px solid var(--primary-gold);
    padding-left: 30px;
}
.pg-quote p {
    font-size: 24px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}
.pg-quote span {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 19px;
}
.pg-stats-grid {
    flex: 2;
    display: flex;
    justify-content: space-between;
}
.pg-stat-item {
    text-align: center;
}
.pg-stat-icon {
    font-size: 36px;
    color: var(--primary-gold);
    margin-bottom: 15px;
}
.pg-stat-item h4 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.pg-stat-item p {
    font-size: 20px;
    color: #777;
}

/* Responsive */
@media (max-width: 991px) {
    .pg-hero-container { flex-direction: column; text-align: center; }
    .pg-hero-image { text-align: center; margin-top: 40px; }
    .pg-hero-content p { margin: 0 auto 30px; }
    .pg-hero-features { justify-content: center; flex-wrap: wrap; }
    .pg-grid { grid-template-columns: repeat(2, 1fr); }
    .pg-timeline-line { display: none; }
    .pg-timeline-wrapper { flex-direction: column; align-items: center; gap: 40px; }
    .pg-timeline-step { width: 100%; max-width: 300px; }
    .pg-resources-grid { grid-template-columns: 1fr; }
    .pg-res-right { padding: 40px 30px; min-height: 350px; }
    .pg-stats-container { flex-direction: column; gap: 40px; }
    .pg-quote { border-left: none; padding-left: 0; text-align: center; }
}
@media (max-width: 768px) {
    .pg-grid { grid-template-columns: 1fr; }
    .pg-res-cards { grid-template-columns: 1fr; }
    .pg-stats-grid { flex-wrap: wrap; justify-content: center; gap: 30px; }
    .pg-stat-item { width: 45%; }
}

.pg-step-icon img {
    width: 55px;
    height: auto;
    max-height: 55px;
    object-fit: contain;
}


/* BOTTOM BANNERS */
.pg-bottom-banners {
    padding: 60px 0 0;
    background: #fdfbf7;
}

/* Quote & Stats Box */
.pg-combo-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    padding: 40px;
    margin-bottom: 0px;
    border: 1px solid #f0e6d6;
}
.pg-quote-col {
    flex: 0 0 35%;
    display: flex;
    gap: 20px;
    padding-right: 30px;
}
.pg-quote-icon {
    font-size: 44px;
    color: var(--primary-gold, #cfa86e);
    margin-top: 5px;
}
.pg-quote-text p {
    font-size: 20px;
    font-weight: 500;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}
.pg-quote-text span {
    color: var(--primary-gold, #cfa86e);
    font-weight: 700;
    font-size: 18px;
}
.pg-divider {
    width: 1px;
    height: 80px;
    background: #eee;
    margin: 0 20px;
}
.pg-stats-col {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.pg-stat-item {
    text-align: center;
}
.pg-stat-item .pg-stat-icon i {
    font-size: 36px;
    color: var(--primary-gold, #cfa86e);
    margin-bottom: 12px;
}
.pg-stat-item h4 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 5px;
}
.pg-stat-item p {
    font-size: 16px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* CTA Banner */
.pg-cta-box-full {
    background: linear-gradient(135deg, #b07e2a 0%, #cfa86e 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    margin-top: 40px; /* Add gap between library and CTA */
}
.pg-cta-box-full .pg-cta-bg-img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 180%;
    opacity: 0.9;
    z-index: 1;
}
.pg-cta-box-full .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}
.pg-cta-box-full .pg-cta-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.pg-cta-content {
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.pg-cta-content {
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}
.pg-cta-text {
    flex: 1;
}
.pg-cta-text h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}
.pg-cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.5;
}
.pg-cta-buttons {
    display: flex;
    gap: 15px;
}
.btn-cta-primary {
    background: #fff;
    color: #a87b2b;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 19px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-cta-primary:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}
.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.6);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 19px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-cta-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .pg-combo-box {
        flex-direction: column;
    }
    .pg-quote-col {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .pg-divider {
        width: 100%;
        height: 1px;
        margin: 0 0 30px 0;
    }
    .pg-stats-col {
        width: 100%;
        flex-wrap: wrap;
        gap: 30px;
    }
    .pg-cta-box-full .container {
        justify-content: center;
    }
    .pg-cta-box-full .pg-cta-content {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }
    .pg-cta-buttons {
        justify-content: center;
    }
}


/* LIVER CONDITION LIBRARY & DAILY CARE TIPS */
.pg-library-tips-section {
    padding: 60px 0;
    background: #fdfbf7;
}
.pg-lib-tips-wrapper {
    display: flex;
    gap: 30px;
}
.pg-lib-card-wrapper {
    flex: 0 0 65%;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f0e6d6;
}
.pg-tips-card-wrapper {
    flex: 0 0 32%;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f0e6d6;
}

/* Library Grid Styles */
.pg-lib-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}
.pg-lib-titles h2 {
    font-size: 30px;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 5px;
    font-weight: 700;
}
.pg-lib-titles p {
    color: #666;
    font-size: 19px;
}
.pg-lib-link {
    color: #a87b2b;
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.pg-lib-link:hover {
    color: #8c6420;
    text-decoration: underline;
}
.pg-lib-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pg-lib-item {
    background: #fffafa; /* very light pinkish warm tint from screenshot */
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid #fae6e6; /* subtle pinkish border */
    transition: all 0.3s ease;
}
.pg-lib-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.pg-lib-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}
.pg-lib-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}
.pg-lib-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
}

/* Tips List Styles */
.pg-tips-card-wrapper h2 {
    font-size: 28px;
    color: var(--text-dark, #2c3e50);
    margin-bottom: 5px;
    font-weight: 700;
}
.pg-tips-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
}
.pg-tips-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.pg-tip-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.pg-tip-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.bg-blue { background: #eef5fc; }
.text-blue { color: #3b82f6; }
.bg-green { background: #f0f9f4; }
.text-green { color: #10b981; }
.bg-red { background: #fee2e2; }
.text-red { color: #ef4444; }
.bg-yellow { background: #fef9c3; }
.text-yellow { color: #eab308; }
.bg-orange { background: #ffedd5; }
.text-orange { color: #f97316; }

.pg-tip-text h4 {
    font-size: 19px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}
.pg-tip-text p {
    font-size: 17px;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .pg-lib-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 992px) {
    .pg-lib-tips-wrapper {
        flex-direction: column;
    }
    .pg-lib-card-wrapper, .pg-tips-card-wrapper {
        flex: 1 1 100%;
        width: 100%;
    }
    .pg-lib-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .pg-lib-grid {
        grid-template-columns: 1fr;
    }
    .pg-lib-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
