/*
Theme Name: DigitalParenta
Theme URI: https://digitalparenta.com
Author: DigitalParenta
Description: WordPress theme for DigitalParenta - Empowering Parents for a Digital Future
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitalparenta
Tags: education, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
*/

:root {
    --bg-base: #FFFFFF;
    --bg-surface: #F4F5F7;
    --bg-surface-alt: #E2E8F0;
    --dark-bg: #050B14;
    --dark-surface: #0F172A;
    --dark-border: rgba(255, 255, 255, 0.08);
    --accent-primary: #9DFF2B;
    --accent-primary-hover: #8AEE22;
    --accent-dark: #0A2518;
    --text-main: #0B1120;
    --text-muted: #475569;
    --text-dark-main: #FFFFFF;
    --text-dark-muted: #94A3B8;
    --border-light: #E2E8F0;
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .brand-logo {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- Header & Navigation --- */
nav#site-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(5, 11, 20, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--dark-border);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
    border-radius: 100px;
    padding: 12px 24px;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
    color: var(--text-dark-main);
    font-family: 'Outfit', sans-serif;
}

.brand-logo i {
    color: var(--dark-bg);
    background: var(--accent-primary);
    padding: 6px;
    border-radius: 10px;
    font-size: 1.2rem;
}

.brand-logo img {
    width: auto;
    display: block;
}

/* WordPress nav menu reset */
#site-nav .nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#site-nav .nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark-muted);
    transition: var(--transition);
}

#site-nav .nav-menu a:hover,
#site-nav .nav-menu .current-menu-item > a {
    color: var(--text-dark-main);
}

/* --- Nav dropdown (sub-menu) --- */
#site-nav .nav-menu > li {
    position: relative;
}

#site-nav .nav-menu .sub-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: rgba(5, 11, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: 200;
}

/* Invisible bridge fills the gap so hover isn't lost moving to the dropdown */
#site-nav .nav-menu .menu-item-has-children::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

#site-nav .nav-menu li:hover > .sub-menu,
#site-nav .nav-menu li:focus-within > .sub-menu {
    display: flex;
}

#site-nav .nav-menu .sub-menu a {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

#site-nav .nav-menu .sub-menu a:hover {
    color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Caret on items with children */
#site-nav .nav-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

#site-nav .nav-menu .menu-item-has-children:hover > a::after,
#site-nav .nav-menu .menu-item-has-children:focus-within > a::after {
    transform: rotate(180deg);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

/* Mobile CTA injected into nav menu — hidden on desktop */
.mobile-cta-item { display: none; }

/* --- Buttons --- */
.btn {
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--accent-dark);
    box-shadow: 0 8px 24px -6px rgba(157, 255, 43, 0.3);
}

.btn-primary:hover {
    background: var(--accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px rgba(157, 255, 43, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--text-main);
    background: var(--bg-surface);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark-main);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-dark:hover {
    border-color: var(--text-dark-main);
    background: rgba(255, 255, 255, 0.1);
}

/* --- Hero Section --- */
.hero {
    padding: 180px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--dark-bg);
    background: radial-gradient(circle at top right, var(--dark-surface) 0%, var(--dark-bg) 50%);
    position: relative;
    overflow: hidden;
    color: var(--text-dark-main);
}

.hero h1 { color: var(--text-dark-main); }
.hero p { color: var(--text-dark-muted); }

.hero-shape {
    position: absolute;
    right: -10%;
    top: 10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(157, 255, 43, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 4.5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.text-highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
    color: var(--text-dark-main);
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--accent-primary);
    z-index: -1;
    border-radius: 4px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.5);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: #FFFFFF;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 6s ease-in-out infinite;
    color: var(--text-main);
}

@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    background: #F0FDF4;
    color: #16A34A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tagline {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #16A34A;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: block;
}

.dark-section .section-tagline {
    color: var(--accent-primary);
}

.section-header h2 {
    font-size: 2.8rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.dark-section .section-header h2 {
    color: var(--text-dark-main);
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.about-images {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.15), 0 20px 30px -10px rgba(0,0,0,0.05);
    min-height: 480px;
}

.img-main {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.about-content > p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.bullet-list {
    list-style: none;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.bullet-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    padding: 7px 14px 7px 8px;
    border-radius: 100px;
}

.bullet-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 0.7rem;
}

/* --- Mandate Section --- */
.mandate-section {
    padding: 100px 0;
    background: var(--dark-bg);
    color: var(--text-dark-main);
}

.mandate-section .section-header h2 {
    color: var(--text-dark-main);
}

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

.bento-card {
    background: var(--dark-surface);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: var(--transition);
    border: 1px solid var(--dark-border);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.bento-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-dark-main);
}

.bento-card p {
    color: var(--text-dark-muted);
    line-height: 1.6;
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

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

.service-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 24px 48px -12px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.service-img-container {
    position: relative;
    height: 240px;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlap-icon {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    background: var(--bg-surface);
    border: 4px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #3B82F6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-content {
    padding: 48px 32px 32px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.read-more {
    color: var(--text-main);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.read-more i {
    transition: transform 0.3s;
    color: #16A34A;
}

.service-card:hover .read-more i {
    transform: translateX(4px);
}

/* --- Footer --- */
footer#site-footer {
    background: var(--dark-bg);
    padding: 80px 0 0;
    color: var(--text-dark-main);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--accent-primary);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    color: var(--accent-dark);
}

.contact-card .brand-logo {
    color: var(--accent-dark);
    margin-bottom: 32px;
    font-size: 1.5rem;
}

.contact-card .brand-logo i {
    background: var(--accent-dark);
    color: var(--accent-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.footer-col h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-dark-main);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col ul a {
    color: var(--text-dark-muted);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--accent-primary);
}

/* WordPress widget menu in footer */
.footer-col .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col .menu li {
    margin-bottom: 16px;
}

.footer-col .menu a {
    color: var(--text-dark-muted);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-col .menu a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark-main);
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent-primary);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--dark-border);
    color: var(--text-dark-muted);
    font-size: 0.9rem;
}

/* --- Inner Page Hero (service / inner pages) --- */
.inner-hero {
    padding: 220px 0 120px;
    background: var(--dark-bg);
    background: radial-gradient(circle at top right, var(--dark-surface) 0%, var(--dark-bg) 60%);
    color: var(--text-dark-main);
    position: relative;
    overflow: hidden;
}

.inner-hero-shape {
    position: absolute;
    right: 0;
    top: 20%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(157, 255, 43, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.inner-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.inner-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.inner-hero h1 {
    font-size: clamp(3rem, 4.5vw, 4.5rem);
    color: var(--text-dark-main);
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.inner-hero p {
    font-size: 1.25rem;
    color: var(--text-dark-muted);
    max-width: 800px;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

/* --- Topics / Curriculum Section --- */
.topics-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.topics-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.topic-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topic-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.topic-list li::before {
    content: '•';
    color: #16A34A;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.topic-card {
    background: #FFFFFF;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.topic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -12px rgba(0,0,0,0.08);
    border-color: #16A34A;
}

.topic-icon {
    width: 64px;
    height: 64px;
    background: #F0FDF4;
    color: #16A34A;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.topic-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.topic-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.topics-footer {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-main);
    background: #FFFFFF;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    line-height: 1.7;
}

/* --- Bullet list colour variants --- */
.light-section-list li { color: var(--text-main); }
.dark-section-list  li,
.dark-bullet-list   li {
    color: var(--text-dark-main);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 0;
    text-align: center;
    background: var(--dark-surface);
    border-top: 1px solid var(--dark-border);
}

.cta-section h2 {
    font-size: 3rem;
    color: var(--text-dark-main);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.cta-section p {
    font-size: 1.15rem;
    color: var(--text-dark-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Split Sections (About page pattern) --- */
.split-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.split-section.page-start {
    padding-top: 180px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.split-image-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    height: 100%;
    min-height: 400px;
}

.split-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.split-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.split-content p:last-of-type {
    margin-bottom: 0;
}

.dark-section {
    background: var(--dark-bg);
    color: var(--text-dark-main);
}

.dark-section .split-content h2 {
    color: var(--text-dark-main);
}

.dark-section .split-content p {
    color: var(--text-dark-muted);
}

.watermark {
    position: absolute;
    right: -15%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50vw;
    color: rgba(0, 0, 0, 0.02);
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.dark-section .watermark {
    left: -15%;
    right: auto;
    color: rgba(255, 255, 255, 0.02);
}

/* --- About Page: Dark Bullet List --- */

/* --- About Page: Stats Panel --- */
.stats-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-panel-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-dark-main);
    font-family: 'Outfit', sans-serif;
}

.impact-bar-wrap {
    margin-bottom: 30px;
}

.impact-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.impact-bar-label {
    font-weight: 600;
    color: var(--text-dark-main);
}

.impact-bar-value {
    color: var(--accent-primary);
    font-weight: 700;
}

.impact-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.impact-bar-fill {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 10px;
}

.impact-bar-desc {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    margin-top: 8px;
}

.impact-count-box {
    margin-top: 40px;
    text-align: center;
}

.impact-count-number {
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-dark-main);
}

.impact-count-label {
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-top: 4px;
}

/* --- Homepage Impact Section --- */
.impact-section {
    border-top: 1px solid var(--dark-border);
}

.impact-body {
    color: var(--text-dark-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.7;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    background: rgba(157, 255, 43, 0.08);
}

.stat-number {
    font-size: 3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-text {
    color: var(--text-dark-main);
    font-size: 0.95rem;
    font-weight: 500;
}

.stat-card:hover .stat-text {
    color: var(--accent-primary);
}

/* --- Partnerships & Collaboration Page --- */
.inner-hero .subtitle {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.approach-footer {
    margin-top: 24px;
    font-weight: 500;
    color: var(--text-main);
}

.topic-footnote {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Youth Empowerment Page --- */
.light-section {
    padding: 100px 0;
    background: var(--bg-base);
}

.dark-section {
    padding: 100px 0;
}

.trust-bar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    padding: 24px 0;
}

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

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-item i {
    color: #16A34A;
    font-size: 1.5rem;
}

.callout-box {
    background: var(--accent-primary);
    color: var(--accent-dark);
    padding: 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 60px auto 0;
    max-width: 900px;
    box-shadow: 0 20px 40px rgba(157, 255, 43, 0.15);
}

.section-intro {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-top: 20px;
    line-height: 1.7;
}

.section-subtitle {
    color: var(--text-muted);
    margin-top: 16px;
}

.subsection-label {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.audience-card {
    background: var(--bg-base);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.audience-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.audience-card > p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.audience-bullet-icon {
    background: var(--bg-surface-alt, #E2E8F0) !important;
    color: var(--text-main) !important;
}

.audience-card-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.audience-card-footer p {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 16px;
}

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

.btn-outline:hover {
    border-color: var(--text-main);
    background: var(--bg-surface);
}

.quote-box {
    background: rgba(157, 255, 43, 0.05);
    border-left: 4px solid var(--accent-primary);
    padding: 32px;
    margin-top: 40px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark-main);
}

.quote-attribution {
    font-size: 0.9rem;
    font-style: normal;
    color: var(--text-dark-muted);
    font-weight: 500;
    display: block;
    margin-top: 12px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border-light);
}

.timeline-step {
    position: relative;
    margin-bottom: 40px;
    background: var(--bg-surface);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.timeline-step:hover {
    border-color: #16A34A;
    transform: translateX(5px);
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -49px;
    top: 32px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 4px solid var(--bg-base);
    box-shadow: 0 0 0 4px var(--border-light);
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #16A34A;
    margin-bottom: 8px;
}

.timeline-step h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.timeline-step p {
    color: var(--text-muted);
    margin: 0;
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

details.accordion {
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: var(--transition);
}

details.accordion:hover {
    border-color: #16A34A;
}

details.accordion summary {
    padding: 24px;
    font-weight: 600;
    font-size: 1.15rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

details.accordion summary::-webkit-details-marker {
    display: none;
}

details.accordion summary i {
    font-size: 1.5rem;
    color: #16A34A;
    flex-shrink: 0;
    transition: transform 0.3s;
}

details.accordion[open] summary i {
    transform: rotate(180deg);
}

details.accordion .content {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.6;
}

.safeguarding-container {
    max-width: 900px;
    text-align: center;
}

.safeguarding-icon {
    font-size: 4rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
    display: inline-block;
}

.policy-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.policy-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(157, 255, 43, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(157, 255, 43, 0.3);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
}

.policy-chip i {
    font-size: 1.2rem;
}

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

.package-card {
    background: var(--bg-base);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.08);
    border-color: #16A34A;
}

.package-card.popular {
    background: var(--dark-surface);
    color: var(--text-dark-main);
    border-color: var(--dark-border);
}

.package-card.popular:hover {
    border-color: var(--accent-primary);
}

.package-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.package-card.popular h3 {
    color: var(--text-dark-main);
}

.package-card p {
    color: var(--text-muted);
    flex-grow: 1;
}

.package-card.popular p {
    color: var(--text-dark-muted);
}

.package-badge {
    color: var(--accent-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.packages-cta {
    text-align: center;
    margin-top: 48px;
}

/* --- Contact Page --- */
.contact-info-section {
    padding: 100px 0;
    background: var(--bg-base);
}

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

.info-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: #16A34A;
    background: var(--bg-base);
}

.info-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: var(--accent-primary);
    color: var(--accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.info-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.info-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.info-content a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.info-content a:hover {
    color: #16A34A;
}

.contact-form-section {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-base);
    padding: 56px;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px -12px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: #16A34A;
    background: var(--bg-base);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23475569' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 48px;
    cursor: pointer;
}

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

.submit-wrapper {
    margin-top: 40px;
    text-align: center;
}

.btn-submit {
    padding: 18px 48px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 300px;
}

.form-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 32px;
    font-weight: 500;
}

.form-notice i { font-size: 1.4rem; }

.form-notice--success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.form-notice--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* WordPress alignment classes */
.alignleft  { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0;
    position: absolute; width: 1px; word-wrap: normal !important;
}

/* --- Archive & Blog Listing --- */
.archive-hero {
    padding: 200px 0 80px;
    text-align: center;
}

.archive-hero-tagline {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.82rem;
    display: block;
    margin-bottom: 12px;
}

.archive-hero-desc {
    font-size: 1.15rem;
    color: var(--text-dark-muted);
    max-width: 640px;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.archive-hero-count {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--dark-border);
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--text-dark-muted);
    font-weight: 600;
}

.archive-section {
    padding: 80px 0 100px;
}

/* Post card grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.post-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.post-card-img-link {
    display: block;
    overflow: hidden;
}

.post-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-surface);
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

.post-card:hover .post-card-img img {
    transform: scale(1.06);
}

.post-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 11, 20, 0.4) 0%, transparent 55%);
    pointer-events: none;
}

.post-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
    background: var(--bg-surface);
}

.post-card-body {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.post-card-cat {
    background: rgba(22, 163, 74, 0.1);
    color: #16A34A;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 100px;
    text-decoration: none;
    transition: var(--transition);
}

.post-card-cat:hover {
    background: var(--accent-primary);
    color: var(--accent-dark);
}

.post-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.post-card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.post-card-title a:hover {
    color: #16A34A;
}

.post-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    flex-grow: 1;
}

/* Archive pagination */
.archive-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.archive-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--border-light);
    color: var(--text-main);
    gap: 6px;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--accent-dark);
}

.archive-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    cursor: default;
    min-width: unset;
    padding: 0 4px;
}

/* Archive empty state */
.archive-empty {
    text-align: center;
    padding: 80px 20px 40px;
}

.archive-empty > i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: block;
}

.archive-empty h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.archive-empty p {
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Single Post --- */
.single-post-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--dark-bg);
}

.single-post-hero-img {
    position: absolute;
    inset: 0;
}

.single-post-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    display: block;
}

.single-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        var(--dark-bg) 0%,
        rgba(5, 11, 20, 0.65) 45%,
        rgba(5, 11, 20, 0.25) 100%
    );
    pointer-events: none;
}

.single-post-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 60px 0 52px;
    text-align: center;
}

.single-post-no-img {
    background: var(--dark-bg);
    background: radial-gradient(circle at top right, var(--dark-surface) 0%, var(--dark-bg) 60%);
    padding: 200px 0 72px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.single-post-hero-inner {
    max-width: 820px;
}

.single-post-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 18px;
}

.single-post-cat-tag {
    background: var(--accent-primary);
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 100px;
    text-decoration: none;
    transition: var(--transition);
}

.single-post-cat-tag:hover {
    background: var(--accent-primary-hover);
}

.single-post-hero .container h1,
.single-post-no-img .container h1 {
    color: var(--text-dark-main);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.single-post-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.single-post-byline-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.single-post-byline-item i {
    color: var(--accent-primary);
}

.single-post-byline-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

/* Single post body layout */
.single-post-body {
    padding: 72px 0 100px;
    background: var(--bg-base);
}

.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 64px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Article prose */
.post-prose {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-main);
}

.post-prose > p:first-of-type::first-letter {
    float: left;
    font-size: 3.8em;
    line-height: 0.82;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #16A34A;
    margin-right: 10px;
    margin-top: 8px;
}

.post-prose h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 2em 0 0.7em;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.post-prose h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1.75em 0 0.6em;
    color: var(--text-main);
}

.post-prose p {
    margin-bottom: 1.5em;
}

.post-prose ul,
.post-prose ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.post-prose li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.post-prose blockquote {
    border-left: 4px solid var(--accent-primary);
    margin: 2em 0;
    padding: 1.25em 1.75em;
    background: var(--bg-surface);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.05em;
}

.post-prose blockquote p:last-child {
    margin-bottom: 0;
}

.post-prose img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.5em 0;
    display: block;
}

.post-prose a {
    color: #16A34A;
    text-decoration: underline;
    text-decoration-color: rgba(22, 163, 74, 0.35);
    text-underline-offset: 3px;
    transition: var(--transition);
}

.post-prose a:hover {
    text-decoration-color: #16A34A;
}

.post-prose pre {
    background: var(--dark-bg);
    color: var(--text-dark-muted);
    border-radius: var(--radius-sm);
    padding: 1.5em;
    overflow-x: auto;
    font-size: 0.9em;
    line-height: 1.6;
    margin: 1.5em 0;
}

/* Post tags row */
.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.post-tags-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 4px;
}

/* Author bio box */
.single-author-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-top: 48px;
    border: 1px solid var(--border-light);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--accent-primary);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-info h4 a {
    color: var(--text-main);
    text-decoration: none;
}

.author-info h4 a:hover {
    color: #16A34A;
}

.author-role {
    font-size: 0.8rem;
    font-weight: 700;
    color: #16A34A;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.author-info > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Post prev / next nav */
.single-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}

.post-nav-link {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-nav-link:hover {
    border-color: var(--accent-primary);
    background: rgba(157, 255, 43, 0.05);
    transform: translateY(-2px);
}

.post-nav-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-nav-next .post-nav-label {
    justify-content: flex-end;
}

.post-nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
}

.post-nav-next .post-nav-title {
    text-align: right;
}

/* Sidebar */
.single-post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.sidebar-card h3 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.sidebar-meta-card {
    text-align: center;
}

.sidebar-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
    display: block;
    margin: 0 auto 12px;
}

.sidebar-author-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.sidebar-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-tag {
    background: #fff;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 100px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.sidebar-tag:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: var(--accent-dark);
}

.sidebar-cta-card {
    background: var(--dark-bg);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
}

.sidebar-cta-card > i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 14px;
}

.sidebar-cta-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark-main);
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.sidebar-cta-card p {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Related posts */
.related-posts {
    padding: 80px 0 100px;
    background: var(--bg-surface);
}

.related-posts-grid {
    margin-top: 0;
}

/* --- Responsive --- */

@media (max-width: 1024px) {
    .hero .container,
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero { padding-top: 140px; }
    .hero-btns { justify-content: center; }
    .hero p { margin: 0 auto 40px; }
    .hero-image { height: 400px; }
    .floating-card { display: none; }
    .bento-grid, .services-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-content { padding-right: 0; align-items: center; }
    .bullet-list { justify-content: center; }
    .about-images { min-height: 360px; }
    .bullet-list li { text-align: left; }
    .info-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .packages-grid { grid-template-columns: 1fr; }
    .audience-card { padding: 32px; }

    .topics-grid,
    .topics-grid-3 { grid-template-columns: 1fr; }
    .topic-card { padding: 32px 24px; }
    .split-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .split-reverse-mobile .split-content { order: 1; }
    .split-reverse-mobile .split-image-container { order: 2; }
    .split-image-container { height: 400px; min-height: unset; }
    .watermark { display: none; }

    /* Archive / single — tablet */
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .single-post-layout { grid-template-columns: 1fr; }
    .single-post-sidebar { position: static; top: auto; }
}

@media (max-width: 768px) {
    nav#site-nav { width: 95%; padding: 12px 20px; top: 10px; }
    .menu-toggle { display: block; }

    /* Desktop CTA hidden on mobile — it lives inside the dropdown instead */
    .nav-desktop-cta { display: none !important; }

    /* Dropdown panel — floats below the nav pill */
    #site-nav .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        margin: 0;
        list-style: none;
        background: rgba(5, 11, 20, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid var(--dark-border);
        border-radius: 24px;
        box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.45);
        overflow: hidden;
    }

    #site-nav .nav-menu.is-open {
        display: flex;
        animation: navDropdown 0.22s ease forwards;
    }

    @keyframes navDropdown {
        from { opacity: 0; transform: translateY(-6px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Dividers between top-level items */
    #site-nav .nav-menu > li:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* Larger tap targets */
    #site-nav .nav-menu > li > a { padding: 14px 24px; display: block; }

    /* Mobile CTA item */
    .mobile-cta-item {
        display: block !important;
        padding: 12px 20px 16px;
        border-top: 1px solid var(--dark-border) !important;
        border-bottom: none !important;
    }

    .mobile-cta-btn {
        display: flex !important;
        width: 100%;
        justify-content: center;
        padding: 13px 24px !important;
        background: var(--accent-primary);
        color: var(--accent-dark) !important;
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.95rem;
    }

    .mobile-cta-btn:hover { background: #b8ff52; }

    /* Sub-menus: click-toggle on mobile */
    #site-nav .nav-menu li:hover > .sub-menu,
    #site-nav .nav-menu li:focus-within > .sub-menu { display: none; }
    #site-nav .nav-menu .sub-menu.is-open { display: flex !important; }
    #site-nav .nav-menu .sub-menu {
        position: static;
        transform: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        padding: 0;
        min-width: 0;
    }
    #site-nav .nav-menu .sub-menu a { padding: 10px 20px 10px 32px; }
    .hero h1, .inner-hero h1 { font-size: 2.5rem; }
    .split-content h2, .cta-section h2 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 32px 24px; }
    .section-header h2 { font-size: 2rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .form-container { padding: 32px 24px; }
    .btn-submit { max-width: 100%; }
    .trust-grid { grid-template-columns: 1fr; }
    .callout-box { font-size: 1.4rem; padding: 32px; }
    .timeline { padding-left: 24px; }

    /* Archive / single — mobile */
    .post-grid { grid-template-columns: 1fr; gap: 20px; }
    .archive-hero { padding: 160px 0 60px; }
    .single-post-hero { min-height: 420px; }
    .single-post-no-img { padding: 160px 0 60px; }
    .single-post-hero .container h1,
    .single-post-no-img .container h1 { font-size: 1.9rem; }
    .single-post-nav { grid-template-columns: 1fr; }
    .single-author-box { flex-direction: column; }
    .post-prose > p:first-of-type::first-letter { font-size: 3em; }
    .post-prose { font-size: 1rem; }
}

/* =============================================================
   Off-canvas drawer
   ============================================================= */

body.dp-offcanvas-open { overflow: hidden; }

.dp-offcanvas {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.dp-offcanvas.is-open {
    pointer-events: auto;
}

/* Semi-transparent overlay */
.dp-offcanvas-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 11, 20, 0.75);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.35s ease;
    cursor: pointer;
}

.dp-offcanvas.is-open .dp-offcanvas-overlay {
    opacity: 1;
}

/* Sliding panel */
.dp-offcanvas-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 540px;
    background: #050B14;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
}

.dp-offcanvas.is-open .dp-offcanvas-panel {
    transform: translateX(0);
}

/* Header */
.dp-offcanvas-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 32px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.dp-offcanvas-tagline {
    margin: 0 0 4px;
    color: #9DFF2B;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.dp-offcanvas-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.2;
}

.dp-offcanvas-close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: transparent;
    color: #94A3B8;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 2px;
}

.dp-offcanvas-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* Scrollable body */
.dp-offcanvas-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px 40px;
}

.dp-offcanvas-body::-webkit-scrollbar { width: 5px; }
.dp-offcanvas-body::-webkit-scrollbar-track { background: transparent; }
.dp-offcanvas-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

/* Dark form controls inside off-canvas */
.dp-offcanvas-body .form-group label {
    color: #94A3B8;
}

.dp-offcanvas-body .form-control {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.dp-offcanvas-body .form-control::placeholder { color: rgba(255, 255, 255, 0.3); }

.dp-offcanvas-body .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #9DFF2B;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(157, 255, 43, 0.15);
}

.dp-offcanvas-body select.form-control option {
    background: #0F172A;
    color: #ffffff;
}

/* Notice banners */
.dp-offcanvas-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.dp-offcanvas-notice i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.dp-offcanvas-notice--success {
    background: rgba(157, 255, 43, 0.1);
    border: 1px solid rgba(157, 255, 43, 0.3);
    color: #9DFF2B;
}

.dp-offcanvas-notice--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}

/* Mobile — full width panel */
@media ( max-width: 600px ) {
    .dp-offcanvas-panel { max-width: 100%; }
    .dp-offcanvas-header, .dp-offcanvas-body { padding-left: 20px; padding-right: 20px; }
}
