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

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

html { scroll-behavior:smooth; }

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

a { color:inherit; }
button { 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;
}

.title.left {
    text-align:left;
    margin-bottom:20px;
}

.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;
}

/* Partnership Cards */

.light-section { background:#f5f8fc; }

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

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

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

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

.partnership-card h3 {
    color:#082d52;
    font-size:20px;
    line-height:1.35;
    margin-bottom:10px;
}

.partnership-card p {
    color:#666;
    font-size:13px;
    margin-bottom:17px;
}

.partnership-card ul {
    list-style:none;
    border-top:1px solid #e8edf2;
    padding-top:15px;
}

.partnership-card li {
    color:#555;
    font-size:13px;
    margin:7px 0;
    padding-left:20px;
    position:relative;
}

.partnership-card li::before {
    content:"✓";
    position:absolute;
    left:0;
    color:#137a46;
    font-weight:700;
}

/* Ways */

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

.way-card {
    padding:28px 23px;
    border:1px solid #e6edf4;
    border-radius:12px;
    background:#fff;
    text-align:center;
    transition:.3s;
}

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

.way-icon {
    width:45px;
    height:45px;
    margin:0 auto 14px;
    border-radius:50%;
    background:#ff9800;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:700;
}

.way-card h3 {
    color:#082d52;
    font-size:18px;
    margin-bottom:8px;
}

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

/* Approach */

.two-column {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.two-column > div > p {
    color:#555;
    margin-bottom:15px;
}

.principles {
    display:flex;
    flex-direction:column;
    gap:10px;
}

.principles div {
    display:grid;
    grid-template-columns:30px 1fr;
    column-gap:10px;
    background:#fff;
    border:1px solid #e6edf3;
    padding:13px 15px;
    border-radius:8px;
}

.principles span {
    color:#137a46;
    font-weight:700;
    grid-row:span 2;
}

.principles strong {
    color:#082d52;
    font-size:14px;
}

.principles small {
    color:#777;
    font-size:11px;
}

/* Process */

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

.process-card {
    position:relative;
    padding:25px 18px;
    background:#f5f8fc;
    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;
}

/* Compliance */

.compliance-section {
    padding:70px 0;
    background:#eef5fa;
    text-align:center;
}

.compliance-section h2 {
    color:#082d52;
    font-size:30px;
    margin-bottom:14px;
}

.compliance-section > .container > p:not(.section-label) {
    max-width:800px;
    margin:0 auto 18px;
    color:#666;
}

.small-note {
    font-size:12px;
}

/* 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;
}

.btn-light-outline {
    border:2px solid rgba(255,255,255,.8);
    color:#fff;
}

.btn-light-outline: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; }
    .partnership-grid,
    .ways-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; }

    .two-column {
        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;
    }

    .partnership-grid,
    .ways-grid,
    .process-grid {
        grid-template-columns:1fr;
    }

    .partnership-card,
    .way-card { padding:27px 22px; }

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

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

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