/* ========================================
   CSS VARIABLES - COLOR PALETTE
   ======================================== */
:root {
    --coral: #F2918C;
    --peach: #F7C6A3;
    --mint: #A8DCD1;
    --sky: #9DCFEA;
    --lavender: #C4B5D4;
    --lavender-dark: #9B8EC4;
    --soft-yellow: #FCEABB;
    --teal: #5ABEAF;
    --teal-dark: #4EA99C;
    --teal-hover: #4A9E91;
    --dark: #2D3436;
    --text: #4A4A4A;
    --text-light: #6B7280;
    --bg-light: #F0F7FA;
    --bg-warm: #FFF9F5;
    --white: #ffffff;
    --peach-warm: #E8A87C;
}

/* ========================================
   BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4 {
    font-family: 'Baloo 2', cursive;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: box-shadow 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 52px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
}

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

.nav-links a {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--teal);
    font-weight: 700;
}

.nav-links a.active::after {
    display: none;
}

/* Contact CTA Button in Nav */
.nav-cta {
    background-color: var(--teal) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background-color: var(--teal-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(90, 190, 175, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.dropdown-toggle .arrow {
    font-size: 0.6rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: var(--white);
    min-width: 260px;
    padding: 0.75rem 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    list-style: none;
    z-index: 1001;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--teal);
    padding-left: 1.75rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: linear-gradient(180deg, var(--bg-warm) 0%, var(--white) 50%, var(--bg-light) 100%);
    padding: 140px 2rem 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative floating shapes - soft atmospheric color washes */
.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #F2918C;
    opacity: 0.12;
    filter: blur(40px);
    top: 0%;
    left: -5%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #9DCFEA;
    opacity: 0.12;
    filter: blur(40px);
    bottom: 5%;
    right: -3%;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Badge */
.hero-badge {
    display: inline-block;
    background: transparent;
    border: 1.5px solid rgba(90, 190, 175, 0.5);
    color: #5A7A73;
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hero-banner {
    max-width: 500px;
    width: 100%;
    margin: 0 auto 28px;
}

.hero-banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-statement {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    color: var(--teal);
    margin-bottom: 16px;
}

.hero-tagline {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    max-width: 650px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

/* CTA Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--teal);
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--teal);
}

.btn-primary:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(90, 190, 175, 0.3);
}

.btn-secondary {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    background-color: transparent;
    color: var(--teal);
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--teal);
}

.btn-secondary:hover {
    background-color: rgba(90, 190, 175, 0.06);
    transform: translateY(-2px);
}

/* ========================================
   MISSION SECTION
   ======================================== */
.mission-section {
    background-color: var(--bg-light);
    padding: 5rem 2rem;
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: block;
}

.mission-section h2 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.mission-section p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 1.25rem;
}

/* Highlight Callout Box */
.highlight-callout {
    background: linear-gradient(135deg, rgba(90, 190, 175, 0.07), rgba(157, 207, 234, 0.07));
    border-left: 4px solid var(--teal);
    padding: 24px 32px;
    margin-top: 36px;
    text-align: left;
    border-radius: 0 16px 16px 0;
}

.highlight-callout p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0;
    font-weight: 500;
}

/* ========================================
   PILLARS / FRAMEWORK SECTION
   ======================================== */
.pillars-section {
    background-color: var(--white);
    padding: 5rem 2rem;
}

.pillars-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.pillars-header h2 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.pillars-header p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Program Boxes */
.program-boxes {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.program-box {
    background: var(--white);
    padding: 40px 28px 32px;
    border-radius: 24px;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Color-coded top borders */
.program-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: height 0.35s ease;
}

.program-box:nth-child(1)::before { background-color: var(--coral); }
.program-box:nth-child(2)::before { background-color: var(--teal); }
.program-box:nth-child(3)::before { background-color: var(--peach-warm); }
.program-box:nth-child(4)::before { background-color: var(--lavender-dark); }

.program-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.program-box:hover::before {
    height: 6px;
}

.program-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 20px;
}

.program-icon img {
    width: 180px;
    height: auto;
}

.program-icon h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

.program-description {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Color-coded learn more links */
.learn-more {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0;
    border: none;
    background: none;
}

.learn-more::after {
    content: '→';
    transition: margin-left 0.3s ease;
    margin-left: 0;
}

.learn-more:hover::after {
    margin-left: 4px;
}

.program-box:nth-child(1) .learn-more { color: var(--coral); }
.program-box:nth-child(2) .learn-more { color: var(--teal); }
.program-box:nth-child(3) .learn-more { color: var(--peach-warm); }
.program-box:nth-child(4) .learn-more { color: var(--lavender-dark); }

.program-box:nth-child(1) .learn-more:hover { color: #E07A75; }
.program-box:nth-child(2) .learn-more:hover { color: var(--teal-dark); }
.program-box:nth-child(3) .learn-more:hover { color: #D4915F; }
.program-box:nth-child(4) .learn-more:hover { color: #8A7DB3; }

/* ========================================
   THE PROBLEM SECTION
   ======================================== */
.problem-section {
    background-color: var(--white);
    padding: 5rem 2rem 2.5rem;
}

.problem-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.problem-section h2 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0;
    line-height: 1.3;
    position: relative;
}

.problem-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #5ABEAF, #9DCFEA);
    border-radius: 2px;
    margin: 28px auto 36px auto;
}

.problem-section p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text);
    text-align: left;
    margin-bottom: 28px;
}

.emotional-callout {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #5ABEAF;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
}

/* ========================================
   WHAT WE DO SECTION
   ======================================== */
.what-we-do-section {
    padding: 60px 0 60px 0;
    position: relative;
    overflow: hidden;
    /* Clean cool white background */
    background: #FFFFFF;
}

/* SVG wave divider at top of section */
.what-we-do-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath fill='%23EDF5F3' d='M0,0 C240,40 480,50 720,40 C960,30 1200,45 1440,35 L1440,50 L0,50 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 1;
}

.what-we-do-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.what-we-do-section .section-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.what-we-do-section .section-label .label-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.what-we-do-section .section-header h2 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    white-space: nowrap;
}

.what-we-do-section .section-header p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 620px;
    margin: 0 auto;
}

.program-cards {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.program-card {
    flex: 1;
    max-width: 340px;
    /* Frosted glass effect */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 44px 28px 36px;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

.program-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.program-card-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.program-card:hover .program-card-img {
    transform: scale(1.05);
}

.program-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.program-card:hover h3 {
    color: var(--teal);
}

.program-card p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
}

.program-cta {
    text-align: center;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

/* Resource Cards - Two card layout */
.resource-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.resource-card {
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 20px;
    padding: 36px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.resource-card h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2D3436;
    margin: 0;
}

.resource-card p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6B7280;
    margin: 12px 0 0 0;
}

.resource-card .learn-more-link {
    display: inline-block;
    font-size: 0.9rem;
    margin-top: 16px;
}

/* Learn more link - used on subpages */
.learn-more-link {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.learn-more-link::after {
    content: '→';
    transition: margin-left 0.3s ease;
}

.learn-more-link:hover {
    color: var(--teal-dark);
}

.learn-more-link:hover::after {
    margin-left: 4px;
}

/* ========================================
   MEET DYLAN SECTION
   ======================================== */
.meet-dylan-section {
    background-color: var(--white);
    padding: 2.5rem 2rem 40px;
}

.meet-dylan-content {
    display: flex;
    align-items: flex-start;
    gap: 4%;
    max-width: 1000px;
    margin: 0 auto;
}

.dylan-image {
    flex-shrink: 0;
    width: 38%;
}

.dylan-image img {
    width: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.dylan-caption {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-style: italic;
    color: #9CA3AF;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}

.dylan-text {
    flex: 1;
}

.dylan-text h2 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.dylan-text p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1rem;
}

.dylan-text .btn-secondary {
    margin-top: 0.5rem;
}

.dylan-callout {
    background: linear-gradient(135deg, rgba(90, 190, 175, 0.07), rgba(157, 207, 234, 0.07));
    border-left: 4px solid var(--teal);
    padding: 20px 24px;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
}

.dylan-callout p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0;
}

/* ========================================
   COMING SOON: THE SERIES SECTION
   ======================================== */
.series-section {
    background-color: #FFFFFF;
    padding: 2rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.series-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(173, 216, 230, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.series-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(173, 216, 230, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.series-content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.series-content::before { display: none; }
.series-content::after { display: none; }

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

.series-header .section-label.light {
    color: var(--teal);
}

.series-header h2 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 1rem;
}

.series-header p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4A4A4A;
    max-width: 700px;
    margin: 0 auto;
}

.series-episodes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

/* More color blobs */
.series-episodes::before { display: none; }
.series-episodes::after { display: none; }

.episode-card {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.episode-number {
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2D3436;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.episode-card h4 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2D3436;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.episode-card p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6B7280;
}

.series-season-info {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: #9CA3AF;
    text-align: center;
    margin-bottom: 2rem;
}

.series-cta {
    text-align: center;
}

.series-cta p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    color: #2D3436;
    margin-bottom: 1.25rem;
}

.notify-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.notify-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    background-color: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    color: var(--dark);
    outline: none;
    transition: all 0.3s;
}

.notify-form input::placeholder {
    color: #9CA3AF;
}

.notify-form input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(90, 190, 175, 0.2);
}

.notify-form button {
    padding: 1rem 2rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    background-color: #A8D5D3;
    color: var(--dark);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.notify-form button:hover {
    background-color: #8EC8C6;
    transform: translateY(-2px);
}

/* ========================================
   FROM THE BLOG SECTION
   ======================================== */
.blog-preview-section {
    background-color: var(--white);
    padding: 30px 2rem 40px;
}

.blog-preview-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-preview-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.blog-preview-header .section-label {
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.blog-preview-header h2 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-top: 0.5rem;
}

.blog-preview-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.blog-preview-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.blog-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 20px 20px 0 0;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-date {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9CA3AF;
}

.blog-card-title {
    font-family: 'Baloo 2', cursive;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2D3436;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.3;
}

.blog-card-preview {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.6;
    margin-top: 8px;
    margin-bottom: 0;
}

.blog-card-link {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal);
    display: inline-block;
    margin-top: 12px;
}

.blog-preview-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.visit-blog-link {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.visit-blog-link:hover {
    color: #4B5563;
}

/* ========================================
   TAKE THE FIRST STEP SECTION
   ======================================== */
.first-step-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--mint) 100%);
    padding: 60px 2rem 5rem;
    text-align: center;
}

.first-step-content {
    max-width: 700px;
    margin: 0 auto;
}

.first-step-content h2 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.first-step-content p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 2rem;
}

.first-step-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SHARED SERIES-STYLE FOOTER
   ======================================== */
.series-footer {
    padding: 3rem 2.5rem;
    text-align: center;
    border-top: 1px solid #E5E7EB;
    background: #FBF9F5;
}

.series-footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.series-footer-links a {
    color: #706B63;
    font-size: 0.85rem;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    transition: color 0.2s;
}

.series-footer-links a:hover { color: #5BB5A2; }

.series-footer > p {
    font-size: 0.78rem;
    color: #9A958D;
    font-family: 'Nunito', sans-serif;
    margin: 0;
}

@media (max-width: 640px) {
    .series-footer-links { flex-direction: column; gap: 0.75rem; }
}

/* ========================================
   SITE FOOTER
   ======================================== */
.site-footer {
    position: relative;
    background: var(--bg-light);
    padding: 0;
    text-align: center;
    overflow: hidden;
}

/* Wave divider at top */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M0,60 C360,20 720,0 1080,30 C1260,45 1380,55 1440,50 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 1;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 2rem 20px;
    position: relative;
    z-index: 2;
}

.site-footer h2 {
    font-family: 'Baloo 2', cursive;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 1.25rem;
}

/* Contact Links */
.footer-contact-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link svg {
    fill: var(--teal);
    transition: fill 0.3s ease;
}

.footer-link:hover {
    color: var(--teal);
}

.footer-link:hover svg {
    fill: var(--teal-dark);
}

.footer-divider {
    color: var(--teal);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Footer Signup */
.footer-signup {
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.footer-signup-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-form {
    display: flex;
    gap: 0.75rem;
}

.footer-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    color: var(--dark);
    outline: none;
    transition: all 0.3s;
}

.footer-form input[type="email"]::placeholder {
    color: #9CA3AF;
}

.footer-form input[type="email"]:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(90, 190, 175, 0.2);
}

.footer-form button {
    padding: 1rem 2rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    background-color: #5BB5A2;
    color: var(--dark);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-form button:hover {
    background-color: #7BBFDE;
    transform: translateY(-2px);
}

/* Footer Tagline */
.footer-tagline {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--teal);
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 1.5rem 2rem;
}

.footer-bottom p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: #888882;
    margin: 0;
}

/* ========================================
   FOCUS STATES (Accessibility)
   ======================================== */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

/* ========================================
   ABOUT ME SECTION
   ======================================== */
.about-me-section {
    background-color: var(--bg-light);
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-content: start;
    padding: 5rem 0;
}

.about-me-section h2 {
    grid-column: 2;
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-me-section .intro-with-image {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.about-me-section p {
    grid-column: 2;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1rem;
}

.about-me-section p:last-child {
    margin-bottom: 0;
}

.about-me-photo {
    width: 280px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ========================================
   CONTENT SECTION (alternating sections)
   ======================================== */
.content-section {
    background-color: var(--white);
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-content: start;
    padding: 3rem 0;
}

.content-section h2,
.content-section p {
    grid-column: 2;
    text-align: left;
}

.content-section h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.content-section p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1rem;
    max-width: 800px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* ========================================
   VIDEO LIBRARY SECTION
   ======================================== */
.video-library-section {
    background-color: var(--bg-light);
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-content: start;
    padding: 5rem 0;
}

.video-library-section h2 {
    grid-column: 2;
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
    text-align: left;
}

.video-library-section p {
    grid-column: 2;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1rem;
    text-align: left;
}

/* ========================================
   RESOURCES SECTION
   ======================================== */
.resources-section {
    background-color: var(--bg-light);
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-content: start;
    padding: 5rem 0;
}

.resources-section h2 {
    grid-column: 2;
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: left;
}

.resources-section p {
    grid-column: 2;
}

.resources-section .single-program-box {
    grid-column: 2;
}

.resources-section .blog-post-preview {
    grid-column: 2;
    margin-bottom: 1.5rem;
}

.resources-section .post-image {
    width: 140px;
    height: 170px;
}

.resources-section .post-title {
    font-size: 1.2rem;
}

.resources-section .post-excerpt {
    font-size: 0.9rem;
}

.resources-section .post-excerpt p:last-child {
    display: none;
}

/* ========================================
   SINGLE PROGRAM BOX & SKILLS LIST
   ======================================== */
.single-program-box {
    grid-column: 2;
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
}

.skills-list {
    grid-column: 2;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.skills-list li {
    margin-bottom: 0.5rem;
}

.intro-with-image {
    grid-column: 2;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.intro-with-image .page-banner {
    width: 300px;
    height: auto;
    flex-shrink: 0;
    border-radius: 16px;
}

.intro-with-image .paws-banner {
    width: 350px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 0.75rem;
}

.page-banner {
    grid-column: 2;
    width: 250px;
    height: auto;
    border-radius: 16px;
}

/* Two-column intro layout */
.two-column-intro {
    grid-column: 2;
    display: flex;
    gap: 2rem;
}

.intro-left-box {
    flex: 1;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.intro-left-box p {
    margin-bottom: 0.75rem;
}

.intro-float-image {
    float: left;
    width: 200px;
    height: auto;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.intro-right-box {
    flex: 1;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.back-link {
    font-family: 'Nunito', sans-serif;
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--teal);
    border-radius: 25px;
    transition: all 0.3s;
    display: inline-block;
}

.back-link:hover {
    background-color: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   BLOG STYLES
   ======================================== */
.blog-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-warm) 100%);
    padding: 4rem 0 3rem;
    text-align: center;
}

.blog-header h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.blog-tagline {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
}

.blog-index {
    background-color: var(--white);
    padding: 3rem 0;
    display: grid;
    grid-template-columns: 100px 1fr 100px;
}

.blog-post-preview {
    grid-column: 2;
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.blog-post-preview:hover {
    transform: translateX(5px);
}

.blog-post-preview:first-child {
    padding-top: 0;
}

.blog-post-preview:last-child {
    border-bottom: none;
}

.post-image {
    flex-shrink: 0;
    width: 180px;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transition: transform 0.3s ease;
}

.blog-post-preview:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-date {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.post-title {
    font-family: 'Baloo 2', cursive;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.post-byline {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.byline-org {
    font-style: italic;
    text-transform: none;
}

.post-excerpt {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1rem;
}

.post-excerpt p {
    margin-bottom: 0.75rem;
}

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

.continue-reading {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.continue-reading::after {
    content: '→';
    transition: transform 0.3s ease;
}

.continue-reading:hover {
    color: var(--teal-dark);
}

.continue-reading:hover::after {
    transform: translateX(5px);
}

/* Blog Article Styles */
.article-hero-banner {
    max-width: 1200px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
    background-color: var(--white);
}

.article-hero-banner {
    height: 420px;
}

.article-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
    color: var(--white);
    padding: 2rem;
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.hero-date {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-byline {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-byline .byline-org {
    font-style: italic;
    text-transform: none;
    color: #e0e0e0;
    font-size: 0.85rem;
}

.blog-article-wrapper {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    align-items: flex-start;
    background-color: var(--white);
}

.blog-article {
    flex: 1;
    min-width: 0;
    background-color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-header {
    text-align: center;
    margin-bottom: 2rem;
}

.article-date {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.article-title {
    font-family: 'Baloo 2', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-byline {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.article-featured-image {
    margin-bottom: 2rem;
    text-align: center;
}

.article-featured-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.article-body {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text);
    text-align: left;
    max-width: none;
}

.article-image-left {
    float: left;
    width: 200px;
    height: auto;
    margin: 0 2rem 1rem 0;
    border-radius: 12px;
}

.article-image-right {
    float: right;
    width: 200px;
    height: auto;
    margin: 0 0 1rem 2rem;
    border-radius: 12px;
}

.article-body p {
    margin-bottom: 1.75rem;
}

.article-body p:first-of-type {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark);
}

.article-body h2 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body .highlight-text {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    font-style: italic;
    color: #2C2C2C;
    background: transparent;
    border-left: 3px solid #4AADA8;
    border-radius: 0;
    padding: 0.5rem 0 0.5rem 1.25rem;
    line-height: 1.7;
    margin: 2rem 0;
}

.article-sources {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.article-sources h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4AADA8;
    margin-bottom: 1rem;
}

.article-sources p {
    font-size: 0.9rem !important;
    color: var(--text-light) !important;
    margin-bottom: 1rem !important;
    line-height: 1.6;
}

.article-sources a {
    color: var(--teal);
    word-break: break-all;
}

.article-sources a:hover {
    color: var(--teal-dark);
}

.article-infographic {
    display: block;
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 12px;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Recent Posts Sidebar */
.recent-posts-sidebar {
    width: 280px;
    flex-shrink: 0;
    padding-top: 0;
    position: sticky;
    top: 6rem;
}

.recent-posts-sidebar h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--teal);
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.recent-post-item:hover {
    transform: translateX(3px);
}

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

.recent-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.recent-post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recent-post-title {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 0.3rem;
    transition: color 0.3s;
}

.recent-post-item:hover .recent-post-title {
    color: var(--teal);
}

.recent-post-date {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    color: var(--text-light);
}

.blog-page {
    background-color: var(--white);
}

.blog-article-wrapper + footer,
.blog-page footer {
    background-color: var(--white);
    color: var(--text);
}

/* ========================================
   MAIN CONTENT LAYOUT
   ======================================== */
.main-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.content-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.info-section h2 {
    font-family: 'Baloo 2', cursive;
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.info-section p {
    color: var(--text);
    line-height: 1.8;
}

.cta-button {
    margin-top: 1rem;
    padding: 0.9rem 2rem;
    background-color: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: var(--teal-dark);
    transform: translateY(-2px);
}

/* Service Cards */
.service-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

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

.card h3 {
    font-family: 'Baloo 2', cursive;
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.card p {
    color: var(--text);
    margin-bottom: 1rem;
}

.plans-list {
    list-style: none;
    margin-bottom: 1rem;
}

.plans-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
}

.plans-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
}

.card-link {
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.card-link:hover {
    color: var(--teal-dark);
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .program-boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .series-episodes {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 1001;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        margin-top: 1rem;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background-color: var(--bg-light);
        border-radius: 8px;
        margin-top: 0.5rem;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* Hero */
    .hero {
        padding: 100px 1.5rem 60px;
    }

    .hero-banner {
        max-width: 350px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Sections */
    .mission-section,
    .pillars-section,
    .impact-section,
    .contact-section,
    .problem-section,
    .what-we-do-section,
    .meet-dylan-section,
    .series-section,
    .first-step-section,
    .blog-preview-section {
        padding: 4rem 1.5rem;
    }

    /* Program Cards */
    .program-cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 0 24px;
    }

    .program-card {
        max-width: 360px;
        width: 100%;
        padding: 36px 24px 32px;
    }

    .program-card-img {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }

    .program-card h3 {
        font-size: 1.25rem;
    }

    .program-card p {
        font-size: 0.9rem;
    }

    .what-we-do-section .section-header {
        margin-bottom: 40px;
    }

    .what-we-do-section .section-header h2 {
        font-size: 1.6rem;
        white-space: normal;
    }

    .what-we-do-section .section-header p {
        font-size: 0.95rem;
    }

    .what-we-do-section .section-label .label-line {
        width: 24px;
    }

    .what-we-do-section {
        padding: 40px 0 40px;
    }

    .program-cta {
        margin-top: 36px;
    }

    .resource-cards {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    .resource-card {
        padding: 28px;
    }

    .resource-card h3 {
        font-size: 1.1rem;
    }

    .resource-card p {
        font-size: 0.85rem;
    }

    /* Meet Dylan */
    .meet-dylan-content {
        flex-direction: column;
        text-align: center;
    }

    .dylan-image {
        width: 200px;
    }

    .dylan-text .btn-secondary {
        display: inline-block;
    }

    /* Notify Form */
    .notify-form {
        flex-direction: column;
    }

    .notify-form button {
        width: 100%;
    }

    /* Series Episodes - single column on mobile */
    .series-episodes {
        grid-template-columns: 1fr;
    }

    /* First Step */
    .first-step-buttons {
        flex-direction: column;
        align-items: center;
    }

    .first-step-buttons .btn-primary,
    .first-step-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Blog Preview Cards */
    .blog-preview-section {
        padding: 60px 1.5rem;
    }

    .blog-preview-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .program-boxes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .program-icon img {
        width: 160px;
    }

    /* Grid sections */
    .about-me-section,
    .content-section,
    .resources-section,
    .video-library-section {
        grid-template-columns: 1.5rem 1fr 1.5rem;
    }

    .about-me-section .intro-with-image {
        flex-direction: column;
        text-align: center;
    }

    .about-me-photo {
        width: 200px;
    }

    .intro-with-image {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .intro-with-image .page-banner,
    .intro-with-image .paws-banner {
        width: 250px;
        margin-bottom: 1rem;
    }

    .intro-text {
        text-align: left;
    }

    .two-column-intro {
        flex-direction: column;
    }

    .intro-float-image {
        float: none;
        display: block;
        margin: 0 auto 1rem auto;
        width: 200px;
    }

    .single-program-box {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .single-program-box .program-box {
        width: 100%;
        max-width: 300px;
    }

    /* Blog */
    .blog-post-preview {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .post-image {
        width: 200px;
        height: 240px;
    }

    .post-content {
        align-items: center;
    }

    .continue-reading {
        align-self: center;
    }

    .blog-index {
        grid-template-columns: 1.5rem 1fr 1.5rem;
    }

    .blog-article-wrapper {
        flex-direction: column;
        padding: 1.5rem;
    }

    .recent-posts-sidebar {
        width: 100%;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    /* Main content */
    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Highlight callout */
    .highlight-callout {
        padding: 20px 24px;
    }

    /* Footer */
    .site-footer::before {
        height: 40px;
    }

    .footer-content {
        padding: 80px 1.5rem 40px;
    }

    .footer-content h2 {
        font-size: 1.75rem;
    }

    .footer-contact-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-divider {
        display: none;
    }

    .footer-form {
        flex-direction: column;
    }

    .footer-form input[type="email"],
    .footer-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .hero {
        padding: 90px 1rem 50px;
    }

    .hero-statement {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .mission-section h2,
    .pillars-header h2 {
        font-size: 1.8rem;
    }

    .program-boxes {
        padding: 0;
    }

    .program-icon img {
        width: 140px;
    }

    /* Episode cards */
    .episode-card {
        padding: 1.5rem;
    }

    .episode-number {
        font-size: 2rem;
    }

    .email-signup {
        flex-direction: column;
    }

    .email-signup button {
        width: 100%;
    }

    /* Grid sections */
    .about-me-section,
    .content-section,
    .resources-section,
    .video-library-section,
    .blog-index {
        grid-template-columns: 1rem 1fr 1rem;
    }

    .intro-with-image .page-banner,
    .intro-with-image .paws-banner {
        width: 200px;
    }

    .post-image {
        width: 160px;
        height: 200px;
    }

    .resources-section .post-image {
        width: 140px;
        height: 170px;
    }

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

    .article-body {
        font-size: 1.05rem;
    }

    .article-image-left {
        float: none;
        display: block;
        width: 180px;
        height: 200px;
        margin: 0 auto 1.5rem auto;
    }

    /* Footer */
    .footer-content {
        padding: 70px 1rem 30px;
    }

    .footer-content h2 {
        font-size: 1.5rem;
    }

    .footer-link {
        font-size: 0.9rem;
    }

    .footer-signup-label {
        font-size: 0.9rem;
    }

    .footer-tagline {
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding: 1rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}
