:root {
    --blue: #009fe3;
    --green: #8cc63f;
    --lime: #7ac943;
    --orange: #f7931e;
    --aqua: #8ccce3;
    --cream: #fffbea;
    --dark: #333;
    --bg-grey: #f8f9fa;
    --border-grey: #cccccc;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Base Layout --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-grey);
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 3px solid var(--blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar {
    background: transparent !important;
    font-family: var(--font-head);
    padding: 0;
}

.header-container {
    max-width: 100%;
    padding: 0.75rem 2rem;
}

.navbar-brand {
    font-weight: 600;
    color: var(--blue) !important;
    font-size: 1.3rem;
}

    .navbar-brand img {
        height: 45px;
    }

@media (max-width: 991px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .nav-link:hover {
        background: var(--blue);
        color: #fff !important;
    }

    .nav-link.active {
        background: var(--green);
        color: #fff !important;
    }

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

    .dropdown-item:hover {
        background: var(--blue);
        color: #fff;
    }

/* ===================================
   HERO BANNER
   =================================== */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    padding: 120px 0 80px;
    margin-top: 70px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,60 C300,90 900,30 1200,60 L1200,0 L0,0 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-title {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-hero-primary {
    background: var(--orange);
    color: #fff;
}

    .btn-hero-primary:hover {
        background: #e68919;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(247,147,30,0.4);
    }

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

    .btn-hero-secondary:hover {
        background: #fff;
        color: var(--blue);
    }

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 991px) {
    .hero-banner {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* ===================================
   DEFINITION SECTION
   =================================== */
.definition-section {
    padding: 80px 0;
    background: #fff;
}

.definition-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
    border-radius: 20px;
    border-left: 6px solid var(--blue);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.definition-left {
    border-right: 2px solid var(--aqua);
    padding-right: 2rem;
}

.word {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.phonetic {
    font-size: 1.25rem;
    color: var(--green);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.origin {
    font-size: 1rem;
    color: #888;
    font-style: italic;
}

.part-of-speech {
    font-style: italic;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.meanings {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.meaning-item {
    display: flex;
    gap: 1rem;
}

    .meaning-item .number {
        flex-shrink: 0;
        width: 35px;
        height: 35px;
        background: var(--blue);
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-family: var(--font-head);
    }

    .meaning-item strong {
        color: var(--dark);
        font-size: 1.2rem;
        display: block;
        margin-bottom: 0.25rem;
    }

    .meaning-item p {
        color: #666;
        margin: 0;
    }

@media (max-width: 768px) {
    .definition-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .definition-left {
        border-right: none;
        border-bottom: 2px solid var(--aqua);
        padding-right: 0;
        padding-bottom: 1.5rem;
    }

    .word {
        font-size: 2rem;
    }
}

/* ===================================
   STATS BANNER
   =================================== */
.stats-banner {
    background: linear-gradient(135deg, var(--green) 0%, var(--lime) 100%);
    padding: 60px 0;
}

.stat-item {
    padding: 1.5rem;
}

    .stat-item i {
        color: rgba(255,255,255,0.9);
    }

    .stat-item h3 {
        font-family: var(--font-head);
        font-size: 2.5rem;
        font-weight: 700;
        margin: 1rem 0 0.5rem;
    }

    .stat-item p {
        font-size: 1.1rem;
        margin: 0;
        opacity: 0.95;
    }

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    padding: 80px 0;
    background: var(--bg-grey);
}

.section-header {
    margin-bottom: 3rem;
}

    .section-header h2 {
        font-family: var(--font-head);
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1.2rem;
        color: #666;
    }

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

.service-food {
    border-left-color: var(--orange);
}

    .service-food .service-icon {
        background: linear-gradient(135deg, var(--orange) 0%, #ff9f3d 100%);
    }

.service-hygiene {
    border-left-color: var(--green);
}

    .service-hygiene .service-icon {
        background: linear-gradient(135deg, var(--green) 0%, var(--lime) 100%);
    }

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

    .service-icon i {
        font-size: 2.5rem;
        color: #fff;
    }

.service-content h3 {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    padding: 0;
}

    .service-list li {
        padding: 0.5rem 0;
        padding-left: 2rem;
        position: relative;
        color: #555;
    }

        .service-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--green);
            font-weight: 700;
            font-size: 1.2rem;
        }

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue) 0%, var(--aqua) 100%);
}

.cta-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.cta-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.cta-note {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

.btn-cta {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

    .btn-cta:hover {
        background: #e68919;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(247,147,30,0.4);
        color: #fff;
    }

.contact-info {
    font-size: 0.95rem;
    color: #555;
}

    .contact-info i {
        color: var(--blue);
    }

/* ===================================
   DONATE SECTION
   =================================== */
.donate-section {
    padding: 80px 0;
    background: #fff;
}

.donate-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .donate-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

.donate-header {
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.donate-food .donate-header {
    background: linear-gradient(135deg, var(--orange) 0%, #ff9f3d 100%);
}

.donate-hygiene .donate-header {
    background: linear-gradient(135deg, var(--green) 0%, var(--lime) 100%);
}

.donate-money .donate-header {
    background: linear-gradient(135deg, var(--blue) 0%, var(--aqua) 100%);
}

.donate-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.donate-header h3 {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.donate-body {
    padding: 2rem;
    flex-grow: 1;
}

    .donate-body p {
        color: #666;
        margin-bottom: 1.5rem;
    }

.donate-list {
    list-style: none;
    padding: 0;
}

    .donate-list li {
        padding: 0.5rem 0;
        padding-left: 2rem;
        position: relative;
        color: #555;
    }

        .donate-list li:before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--green);
            font-size: 1.5rem;
            line-height: 1;
        }

.bank-details {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--blue);
}

    .bank-details p {
        margin: 0.5rem 0;
        color: var(--dark);
    }

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    padding: 80px 0;
    background: var(--cream);
}

.about-card {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

    .about-card h2 {
        font-family: var(--font-head);
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--blue);
    }

    .about-card .lead {
        font-size: 1.25rem;
        color: #555;
    }

.about-point i {
    color: var(--green);
}

.about-point h4 {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--dark);
    margin: 1rem 0;
}

.about-point p {
    color: #666;
    font-size: 0.95rem;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    font-family: var(--font-body);
    text-align: center;
    background: var(--dark);
    color: #fff;
    width: 100%;
}

.footer-inner {
    width: 100%;
    padding: 0;
}

.footer-top {
    padding: 2.5rem 2rem;
}

    .footer-top h6 {
        font-family: var(--font-head);
        font-weight: 600;
        color: var(--aqua);
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .footer-top p {
        color: rgba(255,255,255,0.9);
    }

    .footer-top a {
        color: var(--aqua);
    }

        .footer-top a:hover {
            color: var(--blue);
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 2rem;
}

    .footer-bottom p {
        margin: 0;
        opacity: 0.7;
        font-size: 0.9rem;
    }

@media (max-width: 991px) {
    .footer-top,
    .footer-bottom {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */
@media (max-width: 991px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .services-section,
    .donate-section,
    .about-section,
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }

    .cta-card {
        padding: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

/* Small screen navbar fix */
@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1rem !important;
    }

        .navbar-brand img {
            height: 40px;
        }
}

#siteHeader {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

    #siteHeader .navbar {
        /* max-width: 1200px; */
        margin: 0 auto;
        padding: 1rem 1.5rem;
    }

/* Full-width footer styling */
footer {
    width: 100%;
    background-color: #1f2937;
    color: #fff;
    margin-top: auto;
}

    footer .footer-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }

/* Main content container */
#content {
    min-height: calc(100vh - 200px);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===================================
   POLICY PAGES - INLINE ICONS
   =================================== */

.service-icon-inline {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .service-icon-inline i {
        font-size: 1.75rem;
        color: #fff;
    }

    /* Icon gradient colours per section type */
    .service-icon-inline.icon-blue {
        background: linear-gradient(135deg, var(--blue) 0%, var(--aqua) 100%);
    }

    .service-icon-inline.icon-green {
        background: linear-gradient(135deg, var(--green) 0%, var(--lime) 100%);
    }

    .service-icon-inline.icon-orange {
        background: linear-gradient(135deg, var(--orange) 0%, #ff9f3d 100%);
    }