/* Koru Kalp Merkezi - Ana CSS */
:root {
    --primary: #0a1628;
    --primary-light: #1a2d4a;
    --secondary: #c41e3a;
    --secondary-light: #e63950;
    --accent: #00a8e8;
    --accent-glow: rgba(0, 168, 232, 0.3);
    --gold: #d4af37;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark: #1a1a2e;
    --bg-light: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-light);
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: var(--primary);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 0.75rem 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text);
    margin-left: 15%;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--secondary);
    padding-left: 25px;
}

.nav-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 50%, #1a3a5c 100%);
    padding: 140px 5% 60px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>') repeat;
    background-size: 100px 100px;
    pointer-events: none;
}

.page-header .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* ==================== CONTENT SECTIONS ==================== */
.section {
    padding: 80px 5%;
}

.section-dark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 30, 58, 0.1);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-dark .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title .highlight {
    color: var(--secondary);
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-description {
    color: var(--text-muted);
}

/* ==================== CARDS ==================== */
.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
}

.card-content {
    padding: 30px;
}

.card-category {
    display: inline-block;
    background: rgba(196, 30, 58, 0.1);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 600;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 15px;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* ==================== ARTICLE CONTENT ==================== */
.article-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.2rem;
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: #444;
}

.article-content img {
    border-radius: 10px;
    margin: 1.5rem 0;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #eee;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
}

.sidebar-cta h3 {
    color: white;
    border-bottom-color: rgba(255,255,255,0.2);
}

.sidebar-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Exo', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--secondary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}

.btn-block {
    width: 100%;
}

/* ==================== FORMS ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Exo', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, #0a1020 100%);
    color: var(--text);
    padding: 80px 5% 30px;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-brand .logo-img {
    height: 60px;
}

.footer-brand p {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.7rem;
    color: var(--secondary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 4%;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .page-header {
        padding: 120px 5% 50px;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .article-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 45px;
    }

    .section {
        padding: 60px 4%;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ==================== SERVICE BOX (for index.php) ==================== */
a.service-box {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.service-box:hover {
    transform: translateY(-5px);
}

/* ==================== CONTENT SECTION ==================== */
.content-section {
    padding: 60px 5%;
    max-width: 1900px;
    margin: 0 auto;
}

/* ==================== CATEGORY TABS ==================== */
.category-tabs {
    background: white;
    padding: 20px 5%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 12px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background: white;
    color: var(--text-dark);
    font-family: 'Exo', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.tab-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

/* ==================== TREATMENT GRID ==================== */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

a.treatment-card {
    display: block;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

a.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.treatment-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.treatment-content {
    padding: 30px;
}

.treatment-category {
    display: inline-block;
    background: rgba(196, 30, 58, 0.1);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.treatment-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.treatment-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.treatment-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
}

.treatment-link:hover {
    gap: 15px;
}

/* ==================== BLOG GRID ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

a.blog-card {
    display: block;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

a.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.blog-card.featured-post {
    grid-column: span 2;
}

.blog-card.featured-post .blog-image {
    height: 300px;
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-content {
    padding: 30px;
}

.blog-category {
    display: inline-block;
    background: rgba(196, 30, 58, 0.1);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
}

.blog-link:hover {
    gap: 15px;
}

/* ==================== NO RESULTS ==================== */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.no-results h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.page-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-link.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.page-link.prev,
.page-link.next {
    gap: 8px;
}

.page-dots {
    color: #999;
    padding: 0 5px;
}

/* Blog Section */
.blog-section {
    max-width: 1900px;
}

.blog-section .blog-grid {
    max-width: 1800px;
    margin: 0 auto;
}

/* ==================== CONTENT WRAPPER (Article with Sidebar) ==================== */
.content-wrapper {
    padding: 60px 5%;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    max-width: 1500px;
    margin: 0 auto;
}

.main-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.main-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
}

.main-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
}

.main-content p {
    margin-bottom: 1.2rem;
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.main-content ul,
.main-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.main-content li {
    margin-bottom: 0.5rem;
    color: #444;
}

/* CTA Card in Sidebar */
.cta-card {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
}

.cta-card h3 {
    color: white;
    border-bottom-color: rgba(255,255,255,0.2);
}

.cta-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.cta-phone a {
    color: white;
}

.btn-white {
    display: block;
    text-align: center;
    background: white;
    color: var(--secondary);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-white:hover {
    transform: translateY(-3px);
}

/* Related List */
.related-list {
    list-style: none;
}

.related-list li {
    border-bottom: 1px solid #eee;
}

.related-list li:last-child {
    border-bottom: none;
}

.related-list li.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: none;
    margin-top: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(26, 26, 46, 0.2);
}

.related-list li.category-header:first-child {
    margin-top: 0;
}

.related-list li.active {
    background: rgba(196, 30, 58, 0.08);
    border-radius: 5px;
}

.related-list li.active a {
    color: var(--secondary);
    font-weight: 600;
    padding-left: 15px;
}

.related-list a {
    display: block;
    padding: 10px 10px;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.related-list a:hover {
    color: var(--secondary);
    padding-left: 15px;
    background: rgba(196, 30, 58, 0.05);
}

.related-list a i {
    color: var(--secondary);
    margin-right: 8px;
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.related-list a:hover i {
    transform: translateX(3px);
}

/* All treatments card */
.all-treatments-card {
    position: sticky;
    top: 100px;
}

/* Category Badge */
.category-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.category-desc {
    color: #666;
    font-size: 0.95rem;
    margin-top: 10px;
}

.category-link {
    display: block;
    margin-top: 15px;
    color: var(--secondary);
    font-weight: 600;
}

.category-link i {
    margin-right: 5px;
}

/* ==================== STATIC PAGE CONTENT ==================== */
.static-page-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}

.static-page-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
}

.static-page-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
}

.static-page-content p {
    margin-bottom: 1.2rem;
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.static-page-content ul,
.static-page-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.static-page-content li {
    margin-bottom: 0.5rem;
    color: #444;
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.contact-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.contact-card a {
    color: var(--secondary);
}

.contact-whatsapp {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 20px;
    color: white;
    margin: 30px 0;
}

.contact-whatsapp h3 {
    margin-bottom: 10px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #25d366;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-map {
    margin-top: 40px;
}

.contact-map h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    margin-top: 40px;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Exo', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Page Meta */
.page-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.page-meta i {
    color: var(--secondary);
    margin-right: 5px;
}

/* ==================== RESPONSIVE FOR NEW SECTIONS ==================== */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-card.featured-post {
        grid-column: span 1;
    }

    .treatment-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .static-page-content,
    .main-content {
        padding: 30px 20px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== DOCTORS SECTION (Article Pages) ==================== */
.doctors-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 60px 5%;
    margin-top: 40px;
}

.doctors-container {
    max-width: 1500px;
    margin: 0 auto;
}

.doctors-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.doctors-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.doctors-header h2 span {
    color: var(--gold);
}

.doctors-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 300;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.doctor-card-sm {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: var(--transition);
}

.doctor-card-sm:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.doctor-avatar-sm {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    overflow: hidden;
}

.doctor-avatar-sm i {
    font-size: 2rem;
    color: white;
}

.doctor-avatar-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-info-sm h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.doctor-specialty-sm {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.doctor-hospital-sm {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

@media (max-width: 1200px) {
    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctors-header h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== CTA SECTION (Article Pages) ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 60px 5%;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta-primary {
    background: white;
    color: var(--secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-cta-secondary span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

.btn-cta-secondary span strong {
    font-size: 1.1rem;
}

.btn-cta i {
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }

    .btn-cta {
        justify-content: center;
    }

    .btn-cta-secondary span {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 15px 25px;
        font-size: 0.95rem;
    }
}
