/* ===================================================
   A Nurse's Diary - Light Theme Stylesheet
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

@media (min-width: 1201px) {
    .mobile-only-nav {
        display: none !important;
    }
}

:root {
    /* Color Palette */
    --primary: #0f4a3b;
    /* Dark Emerald Green */
    --primary-light: #e9f5ee;
    /* Light Mint Green */
    --primary-hover: #135c49;
    --text-main: #1a202c;
    /* Dark Charcoal */
    --text-muted: #4a5568;
    /* Slate Gray */
    --bg-page: #f9fafb;
    /* Off-white background */
    --bg-card: #ffffff;
    /* White cards */

    /* Typography */
    --font-serif: 'Playfair Display', 'Noto Serif Sinhala', serif;
    --font-sans: 'Plus Jakarta Sans', 'Noto Sans Sinhala', sans-serif;
    --font-article: 'Nunito', 'Noto Sans Sinhala', sans-serif;
    --font-modal-header: 'Nunito', 'Noto Serif Sinhala', sans-serif;

    /* Shadows & Radii */
    --shadow-sm: 0 2px 4px rgba(15, 74, 59, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 74, 59, 0.08);
    --shadow-lg: 0 10px 25px rgba(15, 74, 59, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}



/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 74, 59, 0.1);
}

.nav-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.brand-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.support-btn {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
}

.support-btn:hover {
    background: var(--primary-hover);
    color: white;
}

/* Language Dropdown */
.lang-switcher-dropdown {
    position: relative;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--text-main);
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 4px;
    background: white;
    min-width: 130px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm, 8px);
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}

@media (min-width: 769px) {
    .lang-switcher-dropdown:hover .lang-dropdown-content {
        display: flex;
    }
}

.lang-switcher-dropdown.active .lang-dropdown-content {
    display: flex;
}

.lang-dropdown-content .lang-btn {
    background: none;
    border: none;
    padding: 10px 15px;
    text-align: left;
    cursor: pointer;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-weight: 500;
}

.lang-dropdown-content .lang-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.hamburger {
    display: none;
}

/* Show on mobile */

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('uploads/header_bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-immersive-container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding-bottom: 70px;
}

.hero-title-area {
    flex: 1;
    padding-right: 40px;
}

.hero-welcome-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.hero-title-massive {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.title-dark {
    color: #07192a;
}

/* Very dark blue for "A Nurse's" */
.title-green {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions-modern {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: var(--radius-full);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary-hover);
}

.btn-modern-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    padding: 12px 30px;
    border-radius: var(--radius-full);
    border: 2px solid var(--primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-modern-outline:hover {
    background: var(--primary-light);
}

.hero-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: white;
    transition: var(--transition);
    background: var(--primary);
    /* fallback */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border: none;
    font-size: 1.2rem;
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.tiktok {
    background: #000000;
}

.social-icon.youtube {
    background: #FF0000;
}

.social-icon.linkedin {
    background: #0077b5;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

.hero-author-center {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.author-immersive-img {
    max-width: 100%;
    height: auto;
    z-index: 2;
    border-radius: 0 0 200px 200px;
}

/* Floating Cards on Hero */
.floating-metric {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
}

.floating-metric.left {
    left: -30px;
    top: 30%;
}

.floating-metric.right {
    right: -30px;
    top: 60%;
}

.metric-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.metric-text {
    display: flex;
    flex-direction: column;
}

.metric-title {
    font-weight: 700;
    color: var(--text-main);
}

.metric-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Bottom Cards (Quick Links) */
.hero-bottom-bar {
    width: 90%;
    max-width: 1200px;
    margin: -50px auto 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    z-index: 10;
}

.bottom-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.bottom-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.item-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.item-info {
    display: flex;
    flex-direction: column;
}

.item-number {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.item-label {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 5px;
}

/* --- Categories Section --- */
.categories-section {
    padding: 40px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Leaf SVG Patterns */
.categories-section::before,
.categories-section::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 200px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 150"><path fill="%234ade80" opacity="0.6" d="M10,140 C-10,90 20,40 50,20 C80,0 110,40 90,90 C70,140 30,190 10,140 Z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}

.categories-section::before {
    left: -50px;
    bottom: 10%;
    transform: rotate(15deg);
}

.categories-section::after {
    right: -50px;
    bottom: 20%;
    transform: rotate(-15deg) scaleX(-1);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.01);
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cat-card-bg {
    display: none;
}

/* hide old bg */
.cat-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--cat-color) 15%, transparent);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cat-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: #07192a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.cat-count {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

/* --- Articles Section --- */
.articles-section {
    padding: 60px 0;
}

.filter-bar {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border-radius: var(--radius-md);
    height: 56px;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    background: white;
    box-shadow: var(--shadow-sm);
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.filter-btn {
    background: white;
    color: var(--text-muted);
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

.article-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
    position: relative;
    height: 200px;
    width: 100%;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.card-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.tag-icon {
    font-size: 1rem;
}

.card-author-avatar {
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    transform: translateY(30%);
    box-shadow: var(--shadow-sm);
    object-fit: cover;
    background: white;
}

.card-body {
    padding: 30px 20px 20px;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #07192a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-excerpt {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.card-date {
    font-size: 0.85rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-read-more svg {
    transition: transform 0.3s;
}

.article-card:hover .card-read-more svg {
    transform: translateX(3px);
}

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.no-results.hidden {
    display: none;
}

.no-results-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover {
    background: var(--primary-light);
}

/* --- Support Section --- */
.cta-section {
    padding: 80px 0;
}

.cta-card-premium {
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.cta-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--primary-light) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.cta-content-wrapper {
    position: relative;
    z-index: 2;
}

.cta-icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.cta-headline span {
    color: var(--primary);
}

.cta-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-button-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.cta-button-premium:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

/* --- About Section --- */
.about-section {
    padding: 80px 0;
}

.about-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
}

.about-image-area {
    flex: 0 0 300px;
    text-align: center;
}

.about-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid var(--primary-light);
    margin-bottom: 20px;
}

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

.about-content {
    flex: 1;
}

.about-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 25px;
}

.about-intro {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.about-socials {
    display: flex;
    /* Align child links side-by-side */
    justify-content: center;
    /* Center icons horizontally */
    align-items: center;
    /* Center icons vertically */
    gap: 16px;
    /* Space between Facebook and LinkedIn */
    width: 100%;
    /* Take up full container width to properly center */
    margin-top: 16px;
    /* Distance from profile picture above */
}

/* Ensure icons display properly without block breaking */
.about-socials .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* --- Footer --- */
.footer {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    margin-top: 60px;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.footer-cats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.article-modal {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translate(-50%, -10px);
    width: 90%;
    max-width: 800px;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    /* Modern browsers */
    overflow-y: auto;
    background: white;
    border-radius: var(--radius-lg);
    z-index: 2001;
    display: none;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active {
    display: block;
    opacity: 1;
}

.article-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, 0);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    color: #07192a;
    transition: var(--transition);
}

.modal-close:hover {
    background: white;
    transform: scale(1.1);
}

.modal-image-container {
    width: 100%;
    height: 350px;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 40px;
    background-color: #fbf8f4;
    box-shadow: inset 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.modal-title {
    font-family: var(--font-modal-header);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.article-lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.article-lang-switcher .lang-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.article-lang-dropdown-wrapper {
    position: relative;
}

.article-lang-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--text-main);
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

.article-lang-trigger:hover {
    background: #f1f5f9;
}

.article-lang-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    min-width: 130px;
    z-index: 2500;
    overflow: hidden;
}

.article-lang-menu.active {
    display: flex;
}

.article-lang-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    transition: 0.2s;
}

.article-lang-menu button:hover {
    background: #f8fafc;
}

.article-lang-menu button.active {
    background: #f1f5f9;
    font-weight: 600;
}

.modal-content {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-family: var(--font-article);
}

.modal-content * {
    background-color: transparent !important;
}

.modal-content p {
    margin-bottom: 17px;
}

.modal-content p:empty,
.modal-content p:has(> br:only-child) {
    display: none;
}

.modal-content h1,
.modal-content h2,
.modal-content h3,
.modal-content h4,
.modal-content h5,
.modal-content h6 {
    margin-top: 45px;
    margin-bottom: 45px;
    font-family: var(--font-modal-header);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
}

.modal-content ul,
.modal-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.modal-content li {
    margin-bottom: 26px;
    padding-left: 12px;
}

.modal-share {
    margin-top: 40px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    transition: transform 0.2s;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.copy-link {
    background: #64748b;
}

.share-btn.linkedin {
    background: #0A66C2;
}

.share-btn.tiktok {
    background: #000000;
}

.share-btn:hover {
    transform: scale(1.1);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-immersive-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title-area {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-actions-modern {
        justify-content: center;
    }

    .hero-socials {
        justify-content: center;
    }

    .floating-metric {
        display: none;
    }

    /* Hide floating metrics on mobile for simplicity */
    .hero-bottom-bar {
        grid-template-columns: repeat(2, 1fr);
        margin: 20px auto;
    }

    .about-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px;
    }

    .about-divider {}
}

/* Mobile Menu Elements (Hidden on Desktop) */
.nav-icon {
    display: none;
}

.mobile-nav-divider {
    display: none;
}

.mobile-lang-label {
    display: none;
}

.translate-icon {
    display: none;
}


@media (max-width: 1200px) {
    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        display: none;
        gap: 5px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px;
        border-radius: 12px;
        color: #475569;
        font-weight: 500;
        font-family: var(--font-sans);
        transition: 0.2s;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(15, 74, 59, 0.05);
        color: var(--primary);
    }

    .nav-icon {
        display: block;
        color: #64748b;
    }

    .nav-link.active .nav-icon {
        color: var(--primary);
    }

    .mobile-nav-divider {
        display: block;
        border: 0;
        border-top: 1px solid #f1f5f9;
        margin: 10px 15px;
    }

    .nav-link.support-btn {
        background: var(--primary);
        color: white;
        border-radius: 30px;
        justify-content: center;
        margin: 10px 15px;
        padding: 15px;
    }

    .nav-link.support-btn .nav-icon {
        color: white;
    }

    .lang-switcher-dropdown {
        display: flex;
        flex-direction: column;
        margin-top: 5px;
    }

    .lang-dropdown-btn {
        display: none;
    }

    .mobile-lang-label {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #475569;
        font-weight: 600;
        margin: 10px 15px 15px;
        justify-content: center;
    }

    .lang-dropdown-content {
        position: relative;
        display: flex;
        flex-direction: row;
        box-shadow: none;
        padding: 0;
        gap: 10px;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        border: none;
        min-width: auto;
        top: auto;
        right: auto;
        margin: 0 15px;
        background: transparent;
    }

    .lang-btn {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 12px 5px;
        background: transparent;
        font-size: 0.9rem;
        color: #475569;
        font-weight: 500;
        white-space: nowrap;
    }

    .lang-btn.active {
        background: rgba(15, 74, 59, 0.05);
        color: var(--primary);
        border-color: var(--primary);
    }

    .lang-btn .translate-icon {
        display: block;
    }


    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 4px;
        z-index: 1001;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--text-main);
        border-radius: 3px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title-massive {
        font-size: 3rem;
    }

    .hero-bottom-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        /* Optional: adjust gap for mobile if needed */
    }

    .cta-card-premium {
        padding: 40px 20px;
    }

    .cta-headline {
        font-size: 2rem;
    }
}

/* Force all headings to use a single color */
h1,
h2,
h3,
h4,
h5,
h6,
.article-title,
.entry-title {
    color: #1a1a1a !important;
    /* Replace #1a1a1a with your desired hex color */
}

/* Forces override on elements with inline styles */
[style*="color"] {
    color: #1a1a1a !important;
}

/* Ensure all images fit inside the screen/container */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Medical Tools --- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tool-card h3 {
    font-family: var(--font-serif);
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.tool-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tool-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.tool-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    outline: none;
}

.tool-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 74, 59, 0.1);
}

.tool-submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.tool-submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.tool-result {
    margin-top: 25px;
}

.result-box {
    border: 2px solid;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}


/* Fix Navbar Squishing */
.nav-brand {
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    gap: 15px !important;
}

.nav-link {
    white-space: nowrap;
}

.support-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.lang-switcher-dropdown {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Mobile Categories 2-by-2 */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 15px 10px;
    }

    .cat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .category-card h3 {
        font-size: 0.95rem;
    }
}


/* Mobile Hero Bottom Cards Fix */
@media (max-width: 768px) {
    .bottom-item {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }

    .item-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .item-label {
        font-size: 0.95rem;
        word-break: break-word;
    }

    .item-desc {
        font-size: 0.8rem;
    }
}


/* Custom Category Dropdown */
.custom-category-dropdown {
    position: relative;
    width: 100%;
    max-width: 500px;
    z-index: 100;

}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 56px;
    box-sizing: border-box;
}

.dropdown-header:hover {
    border-color: var(--primary);
}

.dropdown-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 50%;
    font-size: 1rem;
    color: var(--primary);
}

.dropdown-label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.custom-category-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-category-dropdown.open .dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8fafc;
}

.dropdown-item.active {
    background: rgba(5, 150, 105, 0.05);
}

.dropdown-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-check {
    opacity: 0;
    transition: opacity 0.2s;
}

.dropdown-item.active .dropdown-check {
    opacity: 1;
}

/* Side-by-side Filter Bar on Desktop */
@media (min-width: 768px) {
    .articles-section {
        padding-top: 20px;
        /* Reduce gap */
    }

    .filter-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .search-box,
    .custom-category-dropdown {
        flex: 1;
        /* Stretch to fill container */
        max-width: none;
        margin-top: 30px;
    }
}


.footer-cats a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-cats a:hover {
    color: var(--primary);
}


/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #047857;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
}

.scroll-top-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Redesigned Mobile Navbar Modal */
@media (max-width: 1200px) {

    /* Overlay for modal */
    body.nav-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
        backdrop-filter: blur(4px);

    }

    .mobile-only-nav {
        display: none;
        position: fixed;
        inset: 0;
        margin: auto;
        width: 90%;
        max-width: 480px;
        height: fit-content;
        max-height: calc(100dvh - 40px);
        background: #ffffff;
        border-radius: 24px;
        padding: 24px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        z-index: 1001;
        flex-direction: column;
        gap: 12px;
        opacity: 0;
        transform: scale(0.95);
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }

    .mobile-only-nav.active {
        display: flex;
        opacity: 1;
        transform: scale(1);
    }

    .nav-mobile-header {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 8px;
    }

    .nav-close-btn {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0f172a;
        cursor: pointer;
        transition: background 0.2s;
    }

    .nav-close-btn:hover {
        background: #e2e8f0;
    }

    .nav-mobile-content {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        border-radius: 12px;
        text-decoration: none;
        color: #1e293b;
        font-weight: 600;
        font-size: 1rem;
        transition: background 0.2s;
    }

    .nav-link-left {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .nav-icon {
        color: #475569;
    }

    .nav-chevron {
        color: #94a3b8;
    }

    .nav-link.active {
        background: #ecfdf5;
        color: var(--primary);
    }

    .nav-link.active .nav-icon,
    .nav-link.active .nav-chevron {
        color: var(--primary);
    }

    .mobile-nav-divider {
        border: none;
        border-top: 1px solid #f1f5f9;
        margin: 8px 0;
    }

    /* Language Section */
    .mobile-lang-section {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 8px 0;
    }

    .mobile-lang-header {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #1e293b;
    }

    .mobile-lang-buttons {
        display: flex;
        gap: 12px;
    }

    .mobile-lang-btn {
        flex: 1;
        padding: 10px 0;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        border-radius: 12px;
        font-weight: 600;
        color: #475569;
        font-size: 0.95rem;
        cursor: pointer;
        transition: all 0.2s;
    }

    .mobile-lang-btn.active {
        background: var(--primary);
        color: #ffffff;
        border-color: var(--primary);
    }

    /* Support Card */
    .mobile-support-card {
        display: flex;
        align-items: center;
        gap: 16px;
        background: #f1f5f9;
        padding: 16px;
        border-radius: 16px;
        text-decoration: none;
        margin-top: 8px;
    }

    .support-icon-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .support-card-content h4 {
        margin: 0 0 4px 0;
        color: #0f172a;
        font-size: 1rem;
    }

    .support-card-content p {
        margin: 0;
        font-size: 0.8rem;
        color: #64748b;
        line-height: 1.3;
    }

    .support-chevron {
        color: #64748b;
        margin-left: auto;
    }

    #navLinks {
        display: none !important;
    }
}

/* ===================================================
   Article Page Specific Styles
   =================================================== */

.single-article-container {
    display: flex;
    justify-content: center;
    max-width: 1350px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
}

.article-sidebar {
    width: 200px;
    flex-shrink: 0;
}

.article-main-body {
    flex: 1;
    max-width: 1000px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.article-hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

.article-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.article-share p {
    font-weight: 600;
    margin: 0;
}

/* Ad Placeholders */
.ad-slot {
    display: none;
    /* hidden by default until JS injects ad */
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    text-align: center;
    margin: 20px auto;
    overflow: hidden;
}

.ad-top-banner {
    max-width: 970px;
    min-height: 90px;
    margin-top: 60px;
    margin-bottom: 0px;
}

.ad-mid-article {
    max-width: 100%;
    min-height: 250px;
    margin: 30px 0;
}

.ad-bottom-banner {
    max-width: 970px;
    min-height: 90px;
    margin: 40px 0;
}

.ad-sidebar {
    width: 200px;
    min-height: 600px;
    position: sticky;
    top: 100px;
}

@media (max-width: 1024px) {
    .article-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-main-body {
        padding: 20px;
        border-radius: 12px;
    }

    .article-title {
        font-size: 1.8rem;
    }
}

/* Article Page Dropdown Layout */
.mobile-dropdown-wrapper {
    display: none;
    margin-bottom: 20px;
    width: 100%;
}

.article-page-filter {
    width: 100%;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .mobile-dropdown-wrapper {
        display: block;
    }
}

/* Article Navigation Buttons */
.article-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}

.article-nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.article-nav-btn.prev-btn {
    left: max(10px, calc(50% - 600px));
}

.article-nav-btn.next-btn {
    right: max(10px, calc(50% - 600px));
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .article-nav-btn {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.85);
    }

    .article-nav-btn svg {
        width: 18px;
        height: 18px;
    }

    .article-nav-btn.prev-btn {
        left: 5px;
    }

    .article-nav-btn.next-btn {
        right: 5px;
    }
}

/* Article Transitions */
#articleReadView {
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0);
}

#articleReadView.slide-out-left {
    opacity: 0;
    transform: translateX(-40px);
}

#articleReadView.slide-out-right {
    opacity: 0;
    transform: translateX(40px);
}

#articleReadView.slide-in-from-right {
    opacity: 0;
    transform: translateX(40px);
}

#articleReadView.slide-in-from-left {
    opacity: 0;
    transform: translateX(-40px);
}



/* =========================================
   SUPPORT PAGE STYLES
   ========================================= */

.support-section {
    padding: 40px 20px 60px;
    min-height: calc(100vh - 100px);
    background-color: var(--bg-body);
}

.support-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(2, 132, 199, 0.1);
}

.support-header-content {
    text-align: center;
    margin-bottom: 40px;
}

.support-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.support-subtitle {
    display: block;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.support-content-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.support-content-text p {
    margin-bottom: 20px;
}

.support-highlight {
    font-weight: 600;
    color: var(--primary);
    margin-top: 30px;
    font-size: 1.25rem;
}

.support-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.method-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.method-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.method-icon {
    font-size: 1.8rem;
}

.method-header h2 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin: 0;
    font-weight: 700;
}

.method-tag {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    background: rgba(2, 132, 199, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.method-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.bank-details {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    flex-grow: 1;
}

.detail-row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    width: 100px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.detail-value {
    color: var(--text-main);
    font-weight: 500;
}

.detail-value small {
    color: var(--text-muted);
    font-size: 0.85em;
}

.highlight-text {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.qr-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.qr-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #f1f5f9;
}

.qr-hint {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.support-footer-msg {
    text-align: center;
    margin-top: 20px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 600;
}

/* Responsive Support Page */
@media (max-width: 992px) {
    .support-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .support-section {
        padding: 100px 15px 40px;
    }
    .support-card {
        padding: 30px 20px;
    }
    .support-title {
        font-size: 2rem;
    }
    .detail-row {
        flex-direction: column;
    }
    .detail-label {
        margin-bottom: 5px;
    }
}
