/* ============================================================
   HOPE FOR HUMANITY - BRAND CSS
   Based on Logo: Blue #123F8C, Red #F7941D, Yellow #F4B400
   Responsive + Interactive Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Primary Brand Colors */
    --brand-navy: #0B1F4B;
    --brand-royal-blue: #123F8C;
    --brand-deep-blue: #062A63;
    
    /* Secondary Accents */
    --brand-yellow: #F4B400;
    --brand-gold: #FFC928;
    --brand-leaf-green: #3FAE2A;
    --brand-deep-green: #198A24;
    --brand-warm-orange: #F7941D;
    --brand-soft-orange: #FFB347;

    /* Utility Colors */
    --white: #ffffff;
    --off-white: #F8FAFC;
    --light-blue: #EAF3FF;
    --light-green: #EEF9E9;
    --text-dark: #0f172a;
    --text-muted: #1e293b;
    --border-color: #D9E2EF;
    
    /* Shadows */
    --shadow-sm: 0 4px 15px rgba(11, 31, 75, 0.1);
    --shadow-md: 0 10px 35px rgba(11, 31, 75, 0.15);
    --shadow-lg: 0 20px 60px rgba(11, 31, 75, 0.2);

    /* Transition */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Border Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
.section-subtitle {
    color: var(--brand-warm-orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-royal-blue), var(--brand-warm-orange));
    border-radius: 10px;
    margin: 15px auto;
}

/* ===== HERO BANNER ===== */
.page-hero {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-royal-blue) 60%, var(--brand-royal-blue) 100%);
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(244, 208, 63, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(247, 148, 29, 0.08) 0%, transparent 50%);
    animation: heroShimmer 8s ease-in-out infinite alternate;
}

@keyframes heroShimmer {
    0% { transform: translateX(-5%) translateY(-5%); }
    100% { transform: translateX(5%) translateY(5%); }
}

.page-hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb-nav {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb-nav a {
    color: var(--brand-yellow);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.page-hero .breadcrumb-nav span {
    color: rgba(255,255,255,0.6);
    margin: 0 8px;
    font-size: 14px;
}

/* ===== CARDS ===== */
.brand-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-royal-blue), var(--brand-warm-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.brand-card:hover::before { transform: scaleX(1); }

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-royal-blue);
}

/* ===== BUTTONS ===== */
.btn-brand-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--brand-royal-blue), var(--brand-navy));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(18, 63, 140, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-brand-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-warm-orange), var(--brand-soft-orange));
    opacity: 0;
    transition: var(--transition);
}

.btn-brand-primary:hover::after { opacity: 1; }
.btn-brand-primary span, .btn-brand-primary i { position: relative; z-index: 1; }
.btn-brand-primary:hover { transform: scale(1.05); box-shadow: 0 12px 30px rgba(192,57,43,0.35); color: var(--white); }

.btn-brand-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: transparent;
    color: var(--brand-royal-blue);
    border: 2px solid var(--brand-royal-blue);
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-brand-outline:hover {
    background: var(--brand-royal-blue);
    color: var(--white);
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

/* ===== ICON BOX ===== */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-royal-blue), var(--brand-navy));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: var(--transition);
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(18, 63, 140, 0.3);
}

.brand-card:hover .icon-circle {
    background: linear-gradient(135deg, var(--brand-warm-orange), var(--brand-soft-orange));
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(247, 148, 29, 0.3);
}

/* ===== STAT COUNTER ===== */
.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    color: var(--brand-royal-blue);
    line-height: 1;
}

.stat-item p {
    color: var(--brand-warm-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    margin-top: 5px;
}

/* ===== FORM ELEMENTS ===== */
.brand-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.brand-input:focus {
    outline: none;
    border-color: var(--brand-royal-blue);
    box-shadow: 0 0 0 4px rgba(18, 63, 140, 0.1);
}

/* ===== BADGE ===== */
.brand-badge {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, var(--brand-royal-blue), var(--brand-royal-blue));
    color: var(--white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== RESPONSIVE HELPERS ===== */
@media (max-width: 992px) {
    .section-title { font-size: 32px; }
    .page-hero h1 { font-size: 38px; }
}

@media (max-width: 768px) {
    .section-title { font-size: 26px; }
    .page-hero h1 { font-size: 28px; }
    .page-hero { padding: 90px 20px 60px; }
    .page-hero p { font-size: 15px; }
}

@media (max-width: 480px) {
    .section-title { font-size: 22px; }
    .page-hero h1 { font-size: 24px; }
}


/* ===== AMAZING INTERACTIVE EFFECTS & GREEN ACCENTS ===== */

.brand-card.interactive-card {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
}

.brand-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(63, 174, 42, 0.2), 0 10px 20px rgba(11, 31, 75, 0.15);
    border-bottom: 4px solid var(--brand-leaf-green);
}

.brand-card:hover .icon-circle {
    background: linear-gradient(135deg, var(--brand-leaf-green), var(--brand-deep-green));
    box-shadow: 0 10px 30px rgba(63, 174, 42, 0.4);
    transform: rotateY(180deg);
}

.btn-brand-primary:hover {
    background: linear-gradient(135deg, var(--brand-leaf-green), var(--brand-deep-green));
    box-shadow: 0 15px 35px rgba(63, 174, 42, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.section-title span {
    color: var(--brand-leaf-green);
    position: relative;
    display: inline-block;
}

.section-title span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    bottom: 2px;
    left: 0;
    background: rgba(63, 174, 42, 0.3);
    border-radius: 4px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.section-title:hover span::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--brand-leaf-green);
    border-radius: 50%;
    animation: bounceNav 0.5s ease infinite alternate;
}

@keyframes bounceNav {
    0% { transform: translate(-50%, 0); }
    100% { transform: translate(-50%, -4px); }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(11, 31, 75, 0.1);
}

.pulse-green {
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(63, 174, 42, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(63, 174, 42, 0); }
    100% { box-shadow: 0 0 0 0 rgba(63, 174, 42, 0); }
}

/* ===== GLOBAL HIGH-CONTRAST BOLD TYPOGRAPHY FOR ALL PAGES ===== */
p, .card-text, .sec-desc, .text-muted, .accordion-body, .description p, .journey-card p {
    color: #0f172a !important;
    font-weight: 600 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800 !important;
}

.text-white p, .footer p, .faq-hero p, .about-page-hero p, .help-box p {
    color: #ffffff !important;
    font-weight: 600 !important;
}
