/* css/main.css - Shared styles for AQUVIA Development Works */

:root {
    --brand-1: #003F5C;
    --brand-2: #366E8A;
    --brand-3: #6B9DB3;
}

html, body {
    font-family: 'Montserrat', sans-serif;
}

.brand-1 {
    color: var(--brand-1);
}
.bg-brand-1 {
    background: var(--brand-1);
}
.bg-brand-2 {
    background: var(--brand-2);
}
.bg-brand-3 {
    background: var(--brand-3);
}
.text-brand-2 {
    color: var(--brand-2);
}
.text-brand-3 {
    color: var(--brand-3);
}

.focus-outline:focus {
    outline: 3px solid rgba(0, 63, 92, .15);
    outline-offset: 3px;
}

/* Hero background placeholder */
.hero-bg {
    background-image: linear-gradient(rgba(0, 63, 92, 0.68), rgba(0, 63, 92, 0.45)), url('/images/hero-background.png');
    background-size: cover;
    background-position: center;
}

/* Hide interactive parts on print */
@media print {
    .no-print {
        display: none;
    }
}

/* ============================================================
   NAVBAR — Frosted Glass with Scroll Transition
   ============================================================ */

/* Base state: frosted glass */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 63, 92, 0.08);
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Scrolled state: solid white, deeper shadow */
#site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 63, 92, 0.10);
    border-bottom-color: rgba(0, 63, 92, 0.12);
}

/* Inner layout */
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

/* ---- Logo ---- */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nav-logo-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-1);
    letter-spacing: -0.01em;
}

.nav-logo-tagline {
    font-size: 0.65rem;
    color: #6B7280;
    letter-spacing: 0.03em;
    font-weight: 500;
}

/* ---- Desktop links ---- */
.nav-links {
    display: none;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a,
.nav-links > li > button {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover {
    color: var(--brand-1);
    background: rgba(0, 63, 92, 0.06);
}

.nav-links > li > a.nav-active {
    color: var(--brand-1);
    background: rgba(0, 63, 92, 0.08);
}

/* Dropdown chevron */
.nav-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.nav-dropdown-trigger[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
}

/* ---- Dropdown panel ---- */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
    background: #fff;
    border: 1px solid rgba(0, 63, 92, 0.10);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 63, 92, 0.12), 0 2px 8px rgba(0,0,0,0.06);
    padding: 0.45rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
    z-index: 200;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 63, 92, 0.10);
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

/* Open state */
.nav-links > li.open > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown a {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown a:hover {
    background: rgba(0, 63, 92, 0.07);
    color: var(--brand-1);
}

.nav-dropdown a.nav-active {
    background: rgba(0, 63, 92, 0.09);
    color: var(--brand-1);
    font-weight: 600;
}

.nav-dropdown-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9CA3AF;
    padding: 0.55rem 0.85rem 0.25rem;
}

.nav-dropdown-divider {
    height: 1px;
    background: rgba(0, 63, 92, 0.07);
    margin: 0.35rem 0.5rem;
}

/* ---- CTA Button ---- */
.nav-cta {
    display: none;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: flex;
    }
}

.nav-cta-btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand-1);
    border-radius: 999px;
    text-decoration: none;
    letter-spacing: 0.01em;
    border: 2px solid var(--brand-1);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta-btn:hover {
    background: var(--brand-2);
    border-color: var(--brand-2);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 63, 92, 0.25);
}

/* ---- Mobile hamburger ---- */
.nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 8px;
    color: #374151;
    transition: background 0.2s ease, color 0.2s ease;
    padding: 0;
}

.nav-mobile-toggle:hover {
    background: rgba(0, 63, 92, 0.07);
    color: var(--brand-1);
}

@media (min-width: 1024px) {
    .nav-mobile-toggle {
        display: none;
    }
}

/* Hamburger bars */
.nav-hamburger {
    width: 22px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.nav-hamburger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

/* Open hamburger → X */
.nav-mobile-toggle[aria-expanded="true"] .nav-hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-mobile-toggle[aria-expanded="true"] .nav-hamburger span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.nav-mobile-toggle[aria-expanded="true"] .nav-hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---- Mobile drawer ---- */
#mobile-drawer {
    display: none;
    background: #fff;
    border-top: 1px solid rgba(0, 63, 92, 0.08);
    padding: 1rem 1.25rem 1.5rem;
    overflow: hidden;
}

#mobile-drawer.open {
    display: block;
    animation: drawerSlide 0.25s ease;
}

@keyframes drawerSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-section {
    margin-bottom: 0.25rem;
}

.mobile-nav-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #9CA3AF;
    padding: 0.9rem 0.5rem 0.35rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.65rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.nav-active {
    background: rgba(0, 63, 92, 0.07);
    color: var(--brand-1);
}

.mobile-nav-sub {
    padding-left: 0.85rem;
    border-left: 2px solid rgba(0, 63, 92, 0.12);
    margin: 0.15rem 0 0.15rem 0.5rem;
}

.mobile-nav-sub .mobile-nav-link {
    font-size: 0.82rem;
    color: #4B5563;
    padding: 0.5rem 0.5rem;
}

.mobile-cta-wrap {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 63, 92, 0.08);
}

.mobile-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand-1);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.mobile-cta-btn:hover {
    background: var(--brand-2);
}

/* ---- Legacy overrides: remove old header rules ---- */
/* Active Navigation States */
nav a.active {
    color: var(--brand-1);
    font-weight: 600;
}

/* Ensure proper z-index for mobile menu */
header {
    z-index: 1000;
}

#mobileMenu {
    z-index: 999;
}

/* 3D Card Flip styles */
.card-container {
    perspective: 1000px;
}

.card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    text-align: center;
}

.card-front {
    background-color: white;
    z-index: 2;
}

.card-back {
    background-color: var(--brand-1);
    color: white;
    transform: rotateY(180deg);
    z-index: 1;
}

/* Hide icon on card-back for readability */
.card-back svg {
    display: none;
}

/* Flip on hover for desktop */
.card-container:hover .card {
    transform: rotateY(180deg);
}

/* Flip on click for mobile */
.card.flipped {
    transform: rotateY(180deg);
}

/* Services tabbed content styles */
.service-tab {
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-tab.active {
    border-bottom: 4px solid var(--brand-2);
    color: var(--brand-2);
    font-weight: 600;
}

.service-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.service-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Padlet embed iframe styles */
.padlet-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.padlet-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-image-container {
    width: 100%;
    padding-top: 66.66%; /* 3:2 Aspect Ratio */
    position: relative;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

/* Partners section styles */
.partner-logo {
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.8;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Marquee styles */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.partner-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.partner-logo-item img {
    transition: transform 0.3s ease;
}

.partner-logo-item:hover img {
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Enhanced mobile menu styles - handled by new navbar */

/* Active Navigation States */
nav a.active {
    color: var(--brand-1);
    font-weight: 600;
}

/* Ensure proper z-index for mobile menu */
header {
    z-index: 1000;
}

#mobileMenu {
    z-index: 999;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
    background: #128C7E;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* WhatsApp Tooltip */
.whatsapp-float::before {
    content: 'Chat with us on WhatsApp';
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Pulsing animation */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    
    .whatsapp-float::before {
        font-size: 12px;
        padding: 6px 10px;
        right: 65px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================================
   PAGE HERO — used across all interior pages
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, #003F5C 0%, #2A526B 50%, #4A7690 100%);
    position: relative;
    overflow: hidden;
}

/* ============================================================
   SHARED SITE FOOTER
   ============================================================ */
.site-footer, footer.footer {
    background: #111827; /* gray-900 */
    color: #fff;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}
.social-icon:hover {
    background: var(--brand-2);
    transform: translateY(-2px);
}

/* ============================================================
   PREMIUM CARD — blog cards, sidebar cards
   ============================================================ */
.premium-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,63,92,0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,63,92,0.14);
}

/* ============================================================
   PREMIUM BUTTON
   ============================================================ */
.premium-btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--brand-1);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    letter-spacing: 0.01em;
}
.premium-btn:hover {
    background: var(--brand-2);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,63,92,0.25);
}

/* ============================================================
   BLOG-SPECIFIC COMPONENTS
   ============================================================ */

/* Category badge */
.blog-category {
    display: inline-block;
    background: rgba(0,63,92,0.08);
    color: var(--brand-1);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

/* Featured badge */
.featured-post {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

/* Section heading with accent underline */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--brand-2);
    border-radius: 2px;
}

/* Blog card image */
.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-video {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

/* Author avatar */
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0,63,92,0.15);
}

/* Read-more link */
.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--brand-1);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
    gap: 0.35rem;
}
.read-more:hover {
    color: var(--brand-2);
    gap: 0.55rem;
}

/* Article preview truncation */
.article-preview {
    position: relative;
}

/* Pagination */
.pagination-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}
.pagination-btn:hover:not(.disabled) {
    transform: scale(1.08);
}
.pagination-btn.disabled {
    cursor: default;
    opacity: 0.5;
}

/* Newsletter sidebar box */
.newsletter-box {
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
    color: #fff;
    border-radius: 16px;
    padding: 2.25rem;
}
.newsletter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: none;
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
}
.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

/* Search bar */
.search-container {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    gap: 0;
}
.search-input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border-radius: 999px 0 0 999px;
    border: none;
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    color: #1e293b;
}
.search-button {
    padding: 0.85rem 1.5rem;
    background: var(--brand-2);
    color: #fff;
    border: none;
    border-radius: 0 999px 999px 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s ease;
}
.search-button:hover {
    background: #4A7690;
}

/* Donation modal */
.donation-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.donation-content {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.payment-option {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.payment-option:hover {
    border-color: var(--brand-3);
    background: rgba(0,63,92,0.03);
}
.payment-option.active {
    border-color: var(--brand-1);
    background: rgba(0,63,92,0.05);
}

/* Article detail view */
.article-detail {
    display: none;
    max-width: 780px;
    margin: 0 auto;
}
.back-to-blog {
    display: inline-flex;
    align-items: center;
    color: var(--brand-1);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: gap 0.2s ease;
    gap: 0.4rem;
}
.back-to-blog:hover {
    gap: 0.6rem;
}

/* Article content styling */
.article-content p {
    color: #374151;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}
.article-content p.first-letter::first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    float: left;
    line-height: 0.85;
    margin-right: 0.1em;
    color: var(--brand-1);
    font-family: 'Playfair Display', Georgia, serif;
}
.article-content .quote {
    border-left: 4px solid var(--brand-2);
    background: rgba(0,63,92,0.04);
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--brand-1);
    margin: 2rem 0;
}
.article-content .stat-highlight {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    font-size: 2rem;
    font-weight: 800;
    margin: 2rem 0;
}
.article-content .stat-highlight small {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 0.4rem;
}
.article-content .water-icon {
    text-align: center;
    font-size: 2.5rem;
    margin: 1.5rem 0;
}
.article-content .divider {
    height: 2px;
    background: linear-gradient(to right, var(--brand-1), transparent);
    margin: 2rem 0;
    border-radius: 2px;
}
.article-content .impact-section {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}
.article-content .impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}
.article-content .impact-item {
    text-align: center;
    padding: 1.25rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,63,92,0.07);
}
.article-content .impact-item .impact-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.article-content .impact-item h3 {
    font-weight: 700;
    color: var(--brand-1);
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}
.article-content .impact-item p {
    font-size: 0.82rem;
    color: #6B7280;
    margin-bottom: 0;
}
.article-content .future-section {
    background: #EFF6FF;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #BFDBFE;
}
.article-content .highlight {
    background: rgba(0,63,92,0.1);
    color: var(--brand-1);
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-weight: 600;
}
.article-content .aquaflow-highlight {
    color: var(--brand-1);
    font-weight: 700;
}
.article-content .conclusion {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}
.article-content .conclusion p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}
.article-content .signature {
    font-style: italic;
    opacity: 0.85;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Blog list */
.blog-list {}

/* Category filter active state (uses Tailwind for bg/text, JS toggles) */
.category-filter {
    transition: background 0.2s ease, color 0.2s ease;
    font-family: inherit;
    border: none;
    cursor: pointer;
}
