/* ==========================================
   Hanumat Kripa Foundation - Volunteer Page
========================================== */

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

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    overflow-x: clip;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
}

a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.center { text-align: center; }

/* Header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(8,44,94,.94);
    backdrop-filter: blur(10px);
    transition: .3s;
}

.header.sticky {
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    gap: 20px;
}

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

.logo img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 12px;
}

.logo h2 { font-size: 21px; line-height: 1.2; }
.logo span { font-size: 11px; opacity: .8; }

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 22px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
}

nav a:hover,
nav a.active { color: #ffd54f; }

.donate-btn {
    background: #ff9800;
    color: #fff;
    text-decoration: none;
    padding: 11px 21px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: .3s;
}

.donate-btn:hover {
    background: #ffb300;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* Hero */

.page-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    background: url("../images/hero.jpg") center center / cover no-repeat;
    padding: 130px 0 80px;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0,50,110,.88), rgba(0,0,0,.55));
}

.page-hero-content {
    position: relative;
    color: #fff;
    max-width: 850px;
}

.eyebrow {
    color: #ffd54f;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-hero h1 {
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-hero h1 span { color: #ffd54f; }

.page-hero p:not(.eyebrow) {
    max-width: 780px;
    font-size: 18px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* General */

.section { padding: 85px 0; }

.section-label {
    color: #0b5cab;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.title {
    color: #082d52;
    text-align: center;
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 45px;
}

.section-intro {
    max-width: 800px;
    margin: -25px auto 20px;
    text-align: center;
    color: #666;
}

.intro-block { max-width: 1000px; }

.intro-note {
    max-width: 820px;
    margin: 20px auto 0;
    padding: 17px 20px;
    border-left: 4px solid #ff9800;
    background: #f5f8fc;
    color: #555;
}

.light-section { background: #f5f8fc; }

/* Roles */

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

.role-card {
    background: #fff;
    border: 1px solid #e7edf3;
    border-radius: 12px;
    padding: 28px 22px;
    box-shadow: 0 5px 18px rgba(0,0,0,.05);
    transition: .3s;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 27px rgba(0,0,0,.09);
}

.role-number {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0b5cab;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.role-card h3 {
    color: #082d52;
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 9px;
}

.role-card p {
    color: #666;
    font-size: 13px;
}

/* Values */

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

.value-card {
    padding: 30px 22px;
    border: 1px solid #e7edf3;
    border-radius: 12px;
    text-align: center;
}

.value-card span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ff9800;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.value-card h3 {
    color: #082d52;
    font-size: 19px;
    margin-bottom: 7px;
}

.value-card p {
    color: #666;
    font-size: 13px;
}

/* Process */

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.process-card {
    padding: 25px 18px;
    background: #fff;
    border: 1px solid #e6edf3;
    border-radius: 10px;
    text-align: center;
}

.process-card span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #0b5cab;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-card h3 {
    color: #082d52;
    font-size: 17px;
    margin-bottom: 7px;
}

.process-card p {
    color: #666;
    font-size: 12px;
}

/* Form */

.form-section {
    background: #fff;
}

.form-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 65px;
    align-items: start;
}

.form-intro {
    padding-top: 10px;
}

.form-intro h2 {
    color: #082d52;
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.form-intro > p {
    color: #555;
    margin-bottom: 25px;
}

.form-side-note {
    padding: 20px;
    background: #f5f8fc;
    border-left: 4px solid #0b5cab;
    border-radius: 0 8px 8px 0;
}

.form-side-note strong {
    color: #082d52;
    display: block;
    margin-bottom: 5px;
}

.form-side-note p {
    color: #666;
    font-size: 13px;
}

.volunteer-form {
    padding: 32px;
    background: #f5f8fc;
    border: 1px solid #e5edf4;
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

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

.form-group label {
    display: block;
    color: #082d52;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #d8e2eb;
    background: #fff;
    color: #333;
    border-radius: 7px;
    padding: 12px 13px;
    font-size: 13px;
    outline: none;
    transition: .2s;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0b5cab;
    box-shadow: 0 0 0 3px rgba(11,92,171,.08);
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 5px 0 20px;
    color: #666;
    font-size: 11px;
}

.consent input {
    margin-top: 4px;
    accent-color: #0b5cab;
}

.submit-btn {
    border: 0;
    cursor: pointer;
}

.form-note {
    color: #888;
    font-size: 10px;
    margin-top: 13px;
}

/* Buttons */

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 13px 27px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
}

.btn-primary {
    background: #ff9800;
    color: #fff;
}

.btn-primary:hover {
    background: #ffb300;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #0b3f7f;
}

/* CTA */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(120deg, #082d52, #0b5cab);
    color: #fff;
    text-align: center;
}

.cta-section .section-label { color: #ffd54f; }

.cta-section h2 {
    font-size: 34px;
    line-height: 1.35;
    margin-bottom: 15px;
}

.cta-section > .container > p:not(.section-label) {
    max-width: 760px;
    margin: 0 auto 28px;
    opacity: .92;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Footer */

.footer {
    background: #061f38;
    color: #fff;
    padding-top: 55px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.footer h4 { margin-bottom: 15px; }

.footer p {
    color: #c7d3df;
    max-width: 430px;
    font-size: 14px;
}

.footer a {
    display: block;
    color: #c7d3df;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer a:hover { color: #ffd54f; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    padding: 18px 20px;
    color: #b7c5d3;
    font-size: 13px;
}

/* Scroll Top */

#topBtn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #ff9800;
    color: #fff;
    font-size: 21px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 1000;
}

#topBtn.show {
    opacity: 1;
    visibility: visible;
}

/* Animation */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* Responsive */

@media (max-width:1100px) {
    nav ul { gap: 14px; }
    nav a { font-size: 13px; }
    .donate-btn { padding: 10px 17px; }
    .page-hero h1 { font-size: 45px; }

    .roles-grid,
    .values-grid {
        grid-template-columns: repeat(2,1fr);
    }

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

@media (max-width:900px) {
    nav { display:none; }
    .menu-toggle { display:block; }
    .donate-btn { display:none; }

    #navbar.show {
        display:block;
        position:absolute;
        top:75px;
        left:0;
        width:100%;
        background:#0b3f7f;
        padding:20px;
        box-shadow:0 10px 20px rgba(0,0,0,.15);
    }

    #navbar.show ul {
        flex-direction:column;
        gap:0;
    }

    #navbar.show li {
        margin:0;
        border-bottom:1px solid rgba(255,255,255,.12);
    }

    #navbar.show a {
        display:block;
        padding:12px 5px;
    }

    .page-hero { min-height:60vh; }
    .page-hero h1 { font-size:40px; }

    .form-layout {
        grid-template-columns:1fr;
        gap:35px;
    }

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

@media (max-width:600px) {
    .container { width:92%; }

    .logo img {
        width:45px;
        height:45px;
    }

    .logo h2 { font-size:16px; }
    .logo span { font-size:9px; }

    .page-hero {
        min-height:68vh;
        padding-top:110px;
    }

    .page-hero h1 { font-size:33px; }

    .page-hero p:not(.eyebrow) { font-size:16px; }

    .hero-buttons,
    .cta-buttons {
        flex-direction:column;
        align-items:stretch;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        text-align:center;
    }

    .section { padding:65px 0; }

    .title {
        font-size:29px;
        margin-bottom:32px;
    }

    .roles-grid,
    .values-grid,
    .process-grid,
    .form-row {
        grid-template-columns:1fr;
    }

    .volunteer-form {
        padding:24px 18px;
    }

    .cta-section h2 { font-size:27px; }

    .footer-grid {
        grid-template-columns:1fr;
        gap:30px;
    }

    #topBtn {
        right:18px;
        bottom:18px;
    }
}


/* =========================================================
   STATIC ACTION PANELS - GitHub Pages friendly replacement
   ========================================================= */
.contact-action-panel,
.donation-action-panel,
.volunteer-action-panel {
    background: #ffffff;
    border: 1px solid #e4eaf0;
    border-radius: 12px;
    padding: 34px 34px 32px;
    min-height: 610px;
    box-shadow: 0 12px 35px rgba(20, 45, 70, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff3df;
    color: #e67e22;
    font-size: 22px;
    margin-bottom: 20px;
}

.action-kicker {
    color: #0b5cab;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.contact-action-panel h3,
.donation-action-panel h3,
.volunteer-action-panel h3 {
    color: #082d52;
    font-size: 25px;
    line-height: 1.35;
    margin-bottom: 13px;
}

.contact-action-panel > p:not(.action-kicker),
.donation-action-panel > p:not(.action-kicker),
.volunteer-action-panel > p:not(.action-kicker) {
    color: #667789;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.action-list {
    border-top: 1px solid #e8edf2;
    margin-bottom: 25px;
}

.action-list > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid #e8edf2;
}

.action-list > div > span {
    color: #0b5cab;
    font-size: 12px;
    font-weight: 700;
    padding-top: 2px;
}

.action-list strong {
    display: block;
    color: #26364a;
    font-size: 14px;
    margin-bottom: 2px;
}

.action-list small {
    display: block;
    color: #718092;
    font-size: 12px;
    line-height: 1.55;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.action-buttons .btn {
    text-align: center;
}

.action-buttons .btn-secondary {
    background: transparent;
    border: 2px solid #0b5cab;
    color: #0b5cab;
}

.action-buttons .btn-secondary:hover {
    background: #0b5cab;
    color: #fff;
}

@media (max-width: 600px) {
    .contact-action-panel,
    .donation-action-panel,
    .volunteer-action-panel {
        min-height: 0;
        padding: 28px 20px;
    }

    .contact-action-panel h3,
    .donation-action-panel h3,
    .volunteer-action-panel h3 {
        font-size: 22px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }
}
