/* ============================================================
   condition.css  —  Condition Detail Page Styles
   ============================================================ */

/* Reset body background for this page */
html {
    background: #111111;
    margin: 0;
    padding: 0;
}
body {
    background: #FEFBF6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Utility */
.text-center { text-align: center; }

/* ── Breadcrumb ─────────────────────────────────────────── */
.cd-breadcrumb {
    background: #F5EFE4;
    padding: 14px 0;
    border-bottom: 1px solid #EBE0CC;
}
.cd-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #888;
}
.cd-breadcrumb a { color: #888; transition: color 0.2s; }
.cd-breadcrumb a:hover { color: var(--primary-color); }
.cd-sep { font-size: 10px; color: #ccc; }
.cd-current { color: var(--primary-color); font-weight: 600; }

/* ── Hero ───────────────────────────────────────────────── */
.cd-hero {
    background: linear-gradient(135deg, #1a1008 0%, #2d1f08 60%, #1a1008 100%);
    padding: 70px 0 0;
    overflow: hidden;
    position: relative;
}
.cd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(201,133,22,0.12) 0%, transparent 70%);
}
.cd-hero-inner {
    display: flex;
    align-items: flex-end;
    gap: 60px;
    position: relative;
    z-index: 2;
}
.cd-hero-text { flex: 1; padding-bottom: 70px; }
.cd-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.cd-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 90px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.05;
    margin-bottom: 24px;
}
.cd-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 580px;
}
.cd-book-btn { font-size: 17px; padding: 16px 38px; }

.cd-hero-img {
    flex: 0 0 460px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transform: translateY(-40px);
}
.cd-img-glow {
    position: absolute;
    bottom: -20px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(201,133,22,0.35) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
}
.cd-hero-img img {
    width: 420px;
    height: 420px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(201,133,22,0.3));
}

/* ── Shared section labels ──────────────────────────────── */
.cd-section-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.cd-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 54px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}
.cd-body {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    color: #666;
    line-height: 1.9;
}

/* ── Overview ───────────────────────────────────────────── */
.cd-overview {
    background: #fff;
    padding: 80px 0;
}
.cd-overview-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}
.cd-overview-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}
.cd-stat-box {
    background: #FEFBF6;
    border: 1.5px solid #E8DECA;
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 4px solid var(--primary-color);
}
.cd-stat-val {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1;
}
.cd-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: #888;
}

/* ── Symptoms + Causes ──────────────────────────────────── */
.cd-sc-section {
    background: #FEFBF6;
    padding: 80px 0;
}
.cd-sc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.cd-causes-col {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.cd-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cd-list li {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    line-height: 1.6;
}
.cd-list li i.fa-circle-check { color: #22c55e; font-size: 19px; flex-shrink: 0; margin-top: 2px; }
.cd-list li i.fa-triangle-exclamation { color: var(--primary-color); font-size: 18px; flex-shrink: 0; margin-top: 2px; }

/* ── Treatment ──────────────────────────────────────────── */
.cd-treatment {
    background: #fff;
    padding: 80px 0;
}
.cd-treatment .cd-section-tag,
.cd-treatment .cd-section-title { margin-bottom: 14px; }
.cd-treatment .cd-section-title { margin-bottom: 50px; }

.cd-treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.cd-treat-card {
    background: #FEFBF6;
    border: 1.5px solid #E8DECA;
    border-radius: 20px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.cd-treat-card:hover {
    box-shadow: 0 12px 40px rgba(201,133,22,0.15);
    transform: translateY(-4px);
}
.cd-treat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #C98516 0%, #e8a82a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}
.cd-treat-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}
.cd-treat-card p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: #777;
    line-height: 1.8;
    margin: 0;
}

/* ── CTA Banner ─────────────────────────────────────────── */
.cd-cta {
    background: linear-gradient(135deg, #1a1008 0%, #2d1f08 100%);
    padding: 60px 0;
}
.cd-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.cd-cta-inner h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 50px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}
.cd-cta-inner p {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}
.cd-cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}
.cd-cta-actions .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
.cd-cta-actions .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── Related Conditions ─────────────────────────────────── */
.cd-related {
    background: #FEFBF6;
    padding: 70px 0 70px;
}
.cd-related .cd-section-title { margin-bottom: 40px; }
.cd-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cd-related-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1.5px solid #E8DECA;
    border-radius: 16px;
    padding: 20px 22px;
    text-decoration: none;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.cd-related-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(201,133,22,0.12);
    transform: translateY(-3px);
}
.cd-related-card img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    flex-shrink: 0;
}
.cd-related-card span:not(.cd-related-arrow) {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}
.cd-related-arrow {
    width: 32px;
    height: 32px;
    border: 1.5px solid #E8DECA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 13px;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}
.cd-related-card:hover .cd-related-arrow {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
    background: #1a1008; /* Dark brown from the original book appointment box */
    color: #ffffff;
    padding: 70px 0 0;
    font-family: 'Inter', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .custom-logo {
    height: 85px;
    margin-bottom: 18px;
    filter: none;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 260px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.footer-col h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item i {
    color: var(--primary-color); /* Highly visible gold icons */
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--primary-color); }

/* ============================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE SHIFT)
   ============================================================ */

/* Large Tablets / Small Laptops */
@media (max-width: 992px) {
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* Detail Hero */
    .cd-hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    .cd-hero-text {
        padding-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cd-hero-img {
        flex: none;
        width: 100%;
        max-width: 340px;
        transform: translateY(0);
        margin-bottom: 40px;
    }
    .cd-hero-img img {
        width: 100%;
        height: auto;
        max-width: 300px;
    }
    .cd-img-glow {
        width: 300px;
        height: 300px;
        left: 50%;
        transform: translateX(-50%);
    }
    .cd-title {
        font-size: 60px;
        line-height: 1.1;
    }
    .cd-tagline {
        font-size: 18px;
    }

    /* Grids & Columns */
    .cd-overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cd-section-title {
        font-size: 40px;
    }
    .cd-treatment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .cd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium Tablets */
@media (max-width: 768px) {
    .cd-sc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cd-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    .cd-cta-inner h3 {
        font-size: 38px;
    }
    .cd-cta-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Viewports */
@media (max-width: 500px) {
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    /* Detail Hero */
    .cd-title {
        font-size: 44px;
    }
    .cd-tagline {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    .cd-hero-img img {
        max-width: 240px;
    }

    /* Overview Stats */
    .cd-overview {
        padding: 50px 0;
    }
    .cd-stat-box {
        padding: 20px;
    }
    .cd-stat-val {
        font-size: 40px;
    }
    .cd-stat-label {
        font-size: 15px;
    }

    /* Symptoms & Causes */
    .cd-sc-section {
        padding: 50px 0;
    }
    .cd-causes-col {
        padding: 25px 20px;
    }
    .cd-list li {
        font-size: 16px;
    }

    /* Treatment */
    .cd-treatment {
        padding: 50px 0;
    }
    .cd-treatment-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .cd-treat-card {
        padding: 28px 20px;
        align-items: center;
        text-align: center;
    }

    /* CTA Banner */
    .cd-cta {
        padding: 45px 0;
    }
    .cd-cta-inner h3 {
        font-size: 32px;
    }
    .cd-cta-inner p {
        font-size: 16px;
    }
    .cd-cta-actions {
        flex-direction: column;
        gap: 12px;
    }
    .cd-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Related Grid */
    .cd-related {
        padding: 50px 0;
    }
    .cd-related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
