/* ============================================================
   WOODWORTH SENIOR SERVICES — Design System & Styles
   Premium NPO Website — Google Ads Grant Compliant
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
    /* Primary Colors */
    --primary: #2E6B4F;
    --primary-dark: #1E4D38;
    --primary-light: #E8F5EE;
    --primary-rgb: 46, 107, 79;

    /* Secondary Colors */
    --secondary: #D4A843;
    --secondary-dark: #B8922F;
    --secondary-light: #FFF8E7;
    --secondary-rgb: 212, 168, 67;

    /* Accent */
    --accent: #C0392B;
    --accent-light: #FDEDEC;

    /* Text Colors */
    --text-dark: #2C3E50;
    --text-medium: #5D6D7E;
    --text-light: #FFFFFF;
    --text-muted: #8E99A4;

    /* Backgrounds */
    --bg-light: #FAFBFC;
    --bg-warm: #FDF6EC;
    --bg-white: #FFFFFF;
    --bg-dark: #1A3A2A;

    /* Borders & Shadows */
    --border: #E0E6ED;
    --border-light: #F0F3F6;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-card: 0 4px 20px rgba(46, 107, 79, 0.08);
    --shadow-hover: 0 12px 36px rgba(46, 107, 79, 0.15);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Borders */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Header */
    --header-height: 80px;
    --utility-height: 40px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--utility-height) + 20px);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
}

.section--warm {
    background-color: var(--bg-warm);
}

.section--light {
    background-color: var(--bg-light);
}

.section--green {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
}

.section--green h2,
.section--green h3,
.section--green p {
    color: var(--text-light);
}

.section--green h2::after {
    background: linear-gradient(90deg, var(--secondary), #F0C75E);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-dark);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--text-light);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--text-light);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   UTILITY BAR (Top bar)
   ============================================================ */
.utility-bar {
    background: var(--primary-dark);
    color: var(--text-light);
    font-size: 0.82rem;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.utility-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.utility-info a,
.utility-info span {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.utility-info a:hover {
    color: var(--secondary);
}

.utility-info i {
    font-size: 0.75rem;
    color: var(--secondary);
}

.utility-registry {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    white-space: nowrap;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 16px;
    flex-wrap: nowrap;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-brand img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.header-brand h1 {
    font-size: clamp(0.85rem, 1.3vw, 1.15rem);
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    line-height: 1.2;
}

.header-brand h1 span {
    display: block;
    font-size: 0.65em;
    font-weight: 500;
    color: var(--text-medium);
    letter-spacing: 0.5px;
}

/* Nav Wrapper — keeps nav + CTA on one row */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.main-nav a {
    padding: 8px 12px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.main-nav a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

.main-nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.header-cta {
    flex-shrink: 0;
}

.header-cta .btn {
    padding: 9px 18px;
    font-size: 0.82rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 77, 56, 0.88) 0%, rgba(46, 107, 79, 0.75) 50%, rgba(26, 58, 42, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 700px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    color: var(--text-light);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-content .btn-group {
    margin-top: 8px;
}

/* Page Hero (inner pages) */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.08);
}

.page-hero h1 {
    color: var(--text-light);
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    color: var(--secondary);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-light), rgba(46, 107, 79, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.card-link:hover {
    gap: 10px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cards-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* New Program Badge */
.badge-new {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), #F0C75E);
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Program Section Variants */
.program-section--ongoing {
    border-left: 4px solid var(--primary);
    padding-left: 24px;
    margin-bottom: 24px;
}

.program-section--new {
    border-left: 4px solid var(--secondary);
    padding-left: 24px;
    margin-bottom: 24px;
    background: var(--secondary-light);
    padding: 28px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ============================================================
   ABOUT / CONTENT SECTIONS
   ============================================================ */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-split--reverse {
    direction: rtl;
}

.content-split--reverse>* {
    direction: ltr;
}

.content-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.content-image:hover img {
    transform: scale(1.03);
}

.content-text h2 {
    margin-bottom: 20px;
}

.content-text h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin-top: 12px;
    border-radius: 2px;
}

.content-text p {
    margin-bottom: 16px;
}

/* Values List */
.values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.values-list li i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Mission / Vision Cards */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.mission-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--primary);
}

.mission-card.accent {
    border-top-color: var(--secondary);
}

.mission-card h3 {
    margin: 16px 0 12px;
}

.mission-card-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

/* ============================================================
   STATISTICS / COUNTERS
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 32px 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-detailed .card {
    padding: 0;
    overflow: hidden;
}

.services-detailed .card-body {
    padding: 28px;
}

.services-detailed .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.service-features li i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item::after {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--text-light);
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 2;
    opacity: 0;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 77, 56, 0.5);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 10000;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    padding: 16px 20px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--accent);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235D6D7E'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 22px;
    padding-right: 44px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid var(--primary);
    display: block;
}

.form-message.error {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid var(--accent);
    display: block;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.contact-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--primary);
}

.contact-card h4 {
    margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

.contact-form-wrapper h3 {
    margin-bottom: 24px;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.1);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-banner h2 {
    color: var(--text-light);
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
}

.cta-banner .btn-group {
    justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.footer-brand h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    white-space: nowrap;
}

.footer-about p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.footer-heading {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact li i {
    color: var(--secondary);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact li a:hover {
    color: var(--secondary);
}

/* Newsletter */
.footer-newsletter {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.newsletter-form button {
    padding: 12px 28px;
    background: var(--secondary);
    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--secondary-dark);
    color: var(--text-light);
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--secondary);
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
}

/* ============================================================
   PRIVACY / ACCESSIBILITY PAGE
   ============================================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 1.6rem;
}

.legal-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 12px 0 20px 24px;
    list-style: disc;
}

.legal-content ul li {
    margin-bottom: 8px;
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ============================================================
   ACCESSIBILITY FEATURES
   ============================================================ */
.accessibility-info {
    background: var(--primary-light);
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    margin: 24px 0;
}

.accessibility-info h4 {
    margin-bottom: 8px;
    color: var(--primary);
}

/* ============================================================
   VOLUNTEER CARDS
   ============================================================ */
.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.volunteer-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition);
}

.volunteer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.volunteer-card-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-light), rgba(46, 107, 79, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
}

.volunteer-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.volunteer-card p {
    font-size: 0.9rem;
}

/* ============================================================
   VERIFY PAGE
   ============================================================ */
.verify-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 0;
}

.verify-content .verify-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.verify-content h2 {
    margin-bottom: 16px;
}

.verify-content p {
    margin-bottom: 12px;
}

.verify-details {
    background: var(--primary-light);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-top: 32px;
    text-align: left;
}

.verify-details li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
}

.verify-details li:last-child {
    border-bottom: none;
}

.verify-details li strong {
    min-width: 140px;
    color: var(--text-dark);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet Landscape */
@media (max-width: 1200px) {
    .main-nav a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Tablet Portrait */
@media (max-width: 992px) {
    .content-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-split--reverse {
        direction: ltr;
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .mission-cards {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .volunteer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    /* Utility Bar */
    .utility-bar {
        display: none;
    }

    /* Header */
    .site-header {
        position: sticky;
        top: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: var(--shadow-xl);
        padding: 80px 32px 32px;
        transition: var(--transition);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-wrapper.active {
        right: 0;
    }

    .main-nav {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .main-nav a:hover,
    .main-nav a.active {
        background: var(--primary-light);
    }

    .main-nav a::after {
        display: none;
    }

    .header-cta {
        margin-top: 20px;
    }

    .header-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Mobile Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 60vh;
    }

    .hero-content .btn-group {
        flex-direction: column;
    }

    .hero-content .btn {
        width: 100%;
        justify-content: center;
    }

    /* Cards */
    .cards-grid,
    .cards-grid--2,
    .cards-grid--4 {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .volunteer-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 60px 0 40px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-group .btn {
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .values-list {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .header-brand h1 {
        font-size: 0.85rem;
    }

    .header-brand img {
        height: 40px;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {

    .utility-bar,
    .site-header,
    .site-footer,
    .cta-banner,
    .menu-toggle,
    .lightbox {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }

    .hero-overlay {
        background: none;
    }

    .hero-content h1 {
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}