/* =============================================
   TUTOR FOR ALL — SHARED STYLESHEET
   ============================================= */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --banner-height: 40px;
    --navbar-height: 82px;
    --nav-offset: 122px;
    --bg: #FFE5CC;
    --accent: #D4A574;
    --accent-dark: #B98C63;
    --grad: linear-gradient(135deg, #F8D6B8, #B98C63);
    --green: linear-gradient(135deg, #48bb78, #38a169);
    --text: #1a202c;
    --text-muted: #4a5568;
    --border: rgba(212, 165, 116, 0.3);
    --card-bg: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(45, 55, 72, 0.03));
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
}

img {
    max-width: 100%;
}

/* =============================================
   BANNER
   ============================================= */
.banner {
    background: linear-gradient(135deg, #D4A574, #C49664);
    color: white;
    text-align: center;
    padding: 0 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    height: var(--banner-height);
    line-height: var(--banner-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.banner a:hover {
    color: #FFE5CC;
    text-decoration: none;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    background: rgba(238, 227, 227, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 2rem;
    position: fixed;
    top: var(--banner-height);
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
    position: relative;
}

.logo-link {
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo {
    height: 72px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}

.logo:hover {
    transform: scale(1.05) rotate(1deg);
}

/* Nav menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-menu li {
    list-style: none;
}

.nav-item {
    display: block;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(43, 39, 34, 0.18);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    background: var(--grad);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

/* Right-side actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.btn-donate-nav {
    background: var(--green);
    color: white;
    padding: 0.45rem 1.2rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 3px 10px rgba(72, 187, 120, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.btn-donate-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.5);
}

.instagram-icon {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(188, 24, 136, 0.3);
    text-decoration: none;
    flex-shrink: 0;
}

.instagram-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.5);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
    z-index: 1006;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

/* =============================================
   MOBILE MENU OVERLAY
   ============================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #22272e;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    cursor: pointer;
}

.mobile-menu-backdrop.active {
    display: block;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu-header .logo {
    height: 38px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
}

.mobile-menu-close:hover {
    color: white;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1rem 2rem;
    gap: 0.5rem;
}

.mobile-menu-item {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: background 0.2s;
    display: block;
}

.mobile-menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.mobile-menu-donate {
    background: rgba(72, 187, 120, 0.25);
    border-color: rgba(72, 187, 120, 0.4);
    color: white;
    text-align: center;
    font-weight: 600;
}

.mobile-menu-instagram {
    background: rgba(188, 24, 136, 0.2);
    border-color: rgba(188, 24, 136, 0.35);
    color: white;
    text-align: center;
    font-weight: 600;
}

/* Mobile-only elements (hidden by default on desktop) */
.mobile-only {
    display: none !important;
}

/* =============================================
   CONTENT WRAPPER
   ============================================= */
.content {
    margin-top: var(--nav-offset);
    min-height: calc(100vh - var(--nav-offset));
}

/* =============================================
   PAGE HEADER (inner pages)
   ============================================= */
.page-header {
    background: var(--card-bg);
    padding: 3.5rem 2rem 3rem;
    text-align: center;
    border-bottom: 2px solid var(--border);
}

.page-header h1 {
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    background: var(--grad);
    color: white;
    padding: 0.9rem 2.4rem;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.5);
}

.btn-green {
    background: var(--green);
    color: white;
    padding: 0.9rem 2.4rem;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.btn-green:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(72, 187, 120, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--accent-dark);
    padding: 0.9rem 2.4rem;
    border: 2px solid var(--accent-dark);
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--grad);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

/* =============================================
   HERO SECTION (Homepage)
   ============================================= */
.hero {
    padding: 4rem 2rem 2rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 1.1rem;
    line-height: 1.2;
}

.hero-highlight {
    color: var(--accent-dark);
}

.hero p.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* =============================================
   IMPACT STRIP
   ============================================= */
.impact-strip {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 820px;
    margin: 0 auto 1rem;
    flex-wrap: wrap;
}

.impact-stat {
    text-align: center;
    flex: 1;
    min-width: 130px;
    padding: 0.5rem 1rem;
    position: relative;
}

.impact-stat + .impact-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
}

.impact-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--accent-dark);
    display: block;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.impact-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================
   SECTIONS / LAYOUT
   ============================================= */
.section {
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.9rem;
    font-weight: bold;
    text-align: center;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 2.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section-divider {
    border: none;
    border-top: 2px solid var(--border);
    max-width: 1100px;
    margin: 0 auto;
}

/* =============================================
   FEATURE CARDS
   ============================================= */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem 1.75rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.65rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* =============================================
   ANIMATED STAT CIRCLES (Homepage)
   ============================================= */
.problem-section {
    padding: 3rem 2rem;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.problem-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 2.5rem;
}

.stats-circles {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    overflow: visible;
}

.stat-circle {
    flex: 1;
    max-width: 320px;
    min-width: 230px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

.circle-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.25rem;
    overflow: visible;
}

.circle-svg {
    width: 180px;
    height: 180px;
    transform: rotate(-90deg);
    overflow: visible;
}

.circle-background {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: #d4a574;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 502.65;
    stroke-dashoffset: 502.65;
    transition: stroke-dashoffset 2s ease;
}

.circle-progress.animated {
    stroke-dashoffset: calc(502.65 - (502.65 * var(--percentage) / 100));
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: #d4a574;
    display: flex;
    align-items: baseline;
    pointer-events: none;
}

.circle-number { font-size: 2.2rem; line-height: 1; }
.circle-symbol { font-size: 1.2rem; line-height: 1; margin-left: 0.1em; }

.stat-description {
    font-size: 0.97rem;
    color: var(--text);
    line-height: 1.65;
    padding: 0 0.5rem;
}

/* =============================================
   GRADE CARDS
   ============================================= */
.grade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.grade-card {
    background: white;
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grade-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.grade-icon {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    display: block;
}

.grade-card h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.grade-card ul {
    list-style: none;
    padding: 0;
}

.grade-card ul li {
    padding: 0.2rem 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.grade-card ul li::before {
    content: "✓ ";
    color: var(--accent-dark);
    font-weight: bold;
}

/* =============================================
   REQUIREMENTS BOX
   ============================================= */
.requirements-box {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.18), rgba(185, 140, 99, 0.08));
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 720px;
}

.requirements-box h3 {
    font-size: 1.35rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 1.1rem;
    text-align: center;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.98rem;
    color: var(--text);
    line-height: 1.6;
}

.requirements-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.req-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* =============================================
   PROCESS STEPS
   ============================================= */
.process-steps {
    max-width: 720px;
    margin: 2rem auto;
}

.process-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.process-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    background: var(--grad);
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.35);
}

.step-content h3 {
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* =============================================
   FORMS
   ============================================= */
.form-section {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.form-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.form-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form-card-subtitle {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #2d3748;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-label .req {
    color: #e53e3e;
    margin-left: 3px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.72rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: Arial, sans-serif;
    color: var(--text);
    background: #fafafa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
    background: white;
}

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

.form-hint {
    font-size: 0.78rem;
    color: #718096;
    margin-top: 0.3rem;
    display: block;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.3rem;
}

.checkbox-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    font-size: 0.93rem;
    color: #2d3748;
    padding: 0.3rem 0;
}

.checkbox-item input[type="checkbox"],
.checkbox-item input[type="radio"] {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.form-divider {
    border: none;
    border-top: 2px solid var(--border);
    margin: 2rem 0;
}

/* Eligibility subsection inside form */
.eligibility-section {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(185, 140, 99, 0.04));
    border: 2px solid rgba(212, 165, 116, 0.35);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.eligibility-section h4 {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.eligibility-section .elig-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* Submit button */
.form-submit-btn {
    background: var(--green);
    color: white;
    padding: 0.95rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
    margin-top: 0.75rem;
    font-family: Arial, sans-serif;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(72, 187, 120, 0.5);
}

.form-submit-btn.orange {
    background: var(--grad);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.form-submit-btn.orange:hover {
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.5);
}

/* Success message after submit */
.success-message {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: #f0fff4;
    border-radius: 15px;
    border: 2px solid #68d391;
}

.success-message .success-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #276749;
    margin-bottom: 0.75rem;
}

.success-message p {
    color: #2f855a;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* =============================================
   NOTICE / ALERT BOXES
   ============================================= */
.notice-box {
    background: #fff7ed;
    border-left: 5px solid var(--accent);
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem auto;
    max-width: 820px;
}

.notice-box h4 {
    font-size: 0.98rem;
    font-weight: bold;
    color: #92400e;
    margin-bottom: 0.4rem;
}

.notice-box p {
    color: #78350f;
    font-size: 0.92rem;
    line-height: 1.6;
}

.safety-box {
    background: #f0fff4;
    border-left: 5px solid #68d391;
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem auto;
    max-width: 820px;
}

.safety-box h4 {
    font-size: 0.98rem;
    font-weight: bold;
    color: #276749;
    margin-bottom: 0.4rem;
}

.safety-box p,
.safety-box ul {
    color: #2f855a;
    font-size: 0.92rem;
    line-height: 1.65;
}

.safety-box ul {
    padding-left: 1.4rem;
    margin-top: 0.5rem;
}

/* =============================================
   STATS GRID (Impact / About)
   ============================================= */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 900px;
}

.stat-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--accent-dark);
    display: block;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
}

/* =============================================
   MISSION SECTION (About)
   ============================================= */
.mission-section {
    display: flex;
    gap: 3rem;
    align-items: center;
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.mission-text {
    flex: 1;
}

.mission-text h2 {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.mission-text p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mission-image {
    flex: 1;
    max-width: 420px;
}

.mission-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =============================================
   DONATION CARDS
   ============================================= */
.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 2rem auto;
}

.donation-card {
    background: white;
    border-radius: 20px;
    padding: 2.25rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.donation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.donation-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.donation-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, #D4A574, #B98C63);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.cta-section h2 {
    font-size: 1.9rem;
    font-weight: bold;
    margin-bottom: 0.9rem;
}

.cta-section p {
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto 2rem;
    opacity: 0.93;
    line-height: 1.75;
}

.btn-white {
    background: white;
    color: var(--accent-dark);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin: 0.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-white-green {
    background: white;
    color: #276749;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin: 0.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-white-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* =============================================
   WHAT HAPPENS NEXT
   ============================================= */
.next-steps-box {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 2.25rem;
    margin: 2rem auto;
    max-width: 850px;
    border: 1px solid var(--border);
}

.next-steps-box h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 1.25rem;
    text-align: center;
}

/* =============================================
   PHOTO CAROUSEL
   ============================================= */
.photo-carousel {
    margin: 2rem auto;
    max-width: 750px;
}

.carousel-container {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.carousel-image {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: none;
    background: #f8f9fa;
}

.carousel-image.active { display: block; }

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 165, 116, 0.85);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover { background: var(--accent); transform: translateY(-50%) scale(1.1); }
.carousel-prev { left: 15px; }
.carousel-next { right: 15px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
}

.carousel-dot.active { background: var(--accent); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    padding: 3rem 2rem 1.5rem;
    margin-top: 3rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #F8D6B8;
    margin-bottom: 0.65rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: bold;
    color: #F8D6B8;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #F8D6B8;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    line-height: 1.8;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-col a:hover {
    color: #F8D6B8;
}

.footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
}

/* =============================================
   PROGRESS BAR (Donate page)
   ============================================= */
.progress-bar-wrap {
    background: #e0e0e0;
    height: 18px;
    border-radius: 9px;
    overflow: hidden;
    margin: 0.75rem 0;
}

.progress-bar-fill {
    background: var(--grad);
    height: 100%;
    border-radius: 9px;
    transition: width 2s ease;
}

/* =============================================
   HIGHLIGHT CALLOUT
   ============================================= */
.highlight-callout {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(185, 140, 99, 0.1));
    border: 2px solid var(--accent);
    border-radius: 18px;
    padding: 2rem 2.5rem;
    margin: 2rem auto;
    max-width: 820px;
    text-align: center;
}

.highlight-callout h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.highlight-callout p {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.7;
}

/* =============================================
   RESPONSIVE — TABLET / MOBILE
   ============================================= */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --banner-height: 32px;
        --navbar-height: 72px;
        --nav-offset: 104px;
    }

    .banner {
        font-size: 0.78rem;
    }

    /* Show hamburger, hide desktop nav actions */
    .hamburger { display: flex; }
    .nav-actions { display: none; }

    /* Hide desktop nav on mobile — dedicated .mobile-menu handles navigation */
    .nav-menu { display: none !important; }

    body.menu-open { overflow: hidden; }

    .content {
        margin-top: var(--nav-offset);
    }

    /* Responsive layouts */
    .hero h1 { font-size: 1.9rem; }
    .hero p.hero-sub { font-size: 1rem; }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group a {
        text-align: center;
    }

    .impact-strip {
        gap: 0;
        flex-direction: column;
    }

    .impact-stat + .impact-stat::before { display: none; }
    .impact-stat { padding: 0.75rem 1rem; border-top: 1px solid var(--border); }
    .impact-stat:first-child { border-top: none; }

    .section-title { font-size: 1.6rem; }
    .problem-title { font-size: 1.6rem; }
    .page-header h1 { font-size: 1.8rem; }

    .stats-circles {
        flex-direction: column;
        align-items: center;
    }

    .stat-circle { max-width: 100%; width: 100%; }

    .mission-section {
        flex-direction: column;
        text-align: center;
    }

    .mission-image { max-width: 100%; }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-section h2 { font-size: 1.5rem; }

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

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .btn-primary, .btn-green { padding: 0.85rem 1.8rem; font-size: 0.98rem; }
    .form-card { padding: 1.75rem 1.25rem; }
}

/* =============================================
   WEEKLY AVAILABILITY GRID
   ============================================= */
.avail-grid-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.avail-grid {
    width: 100%;
    min-width: 560px;       /* triggers horizontal scroll on small screens */
    border-collapse: collapse;
    font-size: 0.82rem;
    table-layout: fixed;
}

.avail-grid thead th {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(185, 140, 99, 0.1));
    padding: 0.6rem 0.3rem;
    text-align: center;
    font-weight: 700;
    color: var(--text);
    border: 1px solid var(--border);
    white-space: nowrap;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.avail-grid thead th:first-child {
    width: 120px;
    text-align: left;
    padding-left: 0.75rem;
}

.avail-grid tbody td {
    border: 1px solid var(--border);
    padding: 0.4rem 0.25rem;
    text-align: center;
    vertical-align: middle;
    background: white;
}

.avail-grid tbody td:first-child {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(185, 140, 99, 0.04));
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    padding: 0.4rem 0.75rem;
    text-align: left;
    font-size: 0.8rem;
}

.avail-grid tbody tr:hover td {
    background: rgba(212, 165, 116, 0.06);
}

.avail-grid tbody tr:hover td:first-child {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.18), rgba(185, 140, 99, 0.1));
}

.avail-grid input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent);
    display: block;
    margin: 0 auto;
}

/* "Select All" row at top of tbody */
.avail-grid .select-all-row td {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.08), rgba(185, 140, 99, 0.03));
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 0.3rem 0.25rem;
}

.avail-grid .select-all-row td:first-child {
    font-style: normal;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.75rem;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.08), rgba(185, 140, 99, 0.03));
}

/* Grid legend below the table */
.avail-grid-legend {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

