/* ========================================
   HOPE FOUNDATION - PROFESSIONAL CSS
   Colors: Orange #E05A2A | Blue #1E5AA3
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fefcf8;
    color: #1e2a3e;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== TYPOGRAPHY (GLOBAL - CHAIRMAN PAGE STYLE) ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #0a2a3b; /* Dark Blue Brand Color */
}

h1 { 
    font-size: 2.8rem; 
    font-weight: 800; 
    margin-bottom: 20px; 
    line-height: 1.2;
}

h2 { 
    font-size: 1.8rem; 
    font-weight: 700; 
    margin-bottom: 20px; 
    color: #0a2a3b; 
    text-align: center;
}

h3 { 
    font-size: 1.3rem; 
    font-weight: 600; 
    margin-bottom: 15px; 
    color: #1e5aa3; 
}

p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 15px;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-block;
    background: #e05a2a;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: #c24418;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #e05a2a;
    color: #e05a2a;
}

.btn-outline:hover {
    background: #e05a2a;
    color: white;
}

/* ========== USER PORTAL BUTTON ========== */
.portal-btn {
    background: #e05a2a;
    color: white !important;
    padding: 10px 25px;
    border-radius: 40px;
    transition: 0.3s;
}

.portal-btn:hover {
    background: #c24418;
    color: white !important;
    transform: translateY(-2px);
}
.portal-btn-right {
    background: #e05a2a;
    color: white;
    padding: 10px 18px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
    transition: 0.3s;
    margin-left: auto;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    line-height: 1.2;
}

.portal-btn-right:hover {
    background: #c24418;
    transform: translateY(-2px);
}

/* ========== HEADER ========== */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-wrap: wrap;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e5aa3, #e05a2a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-tagline {
    font-size: 0.62rem;
    color: #e05a2a;
    background: rgba(224, 90, 42, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 500;
}

.logo img {
    height: 45px;
    width: auto;
    max-height: 45px;
    object-fit: contain;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #1e5aa3;
    background: none;
    border: none;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
    transition: 0.2s;
    padding: 8px 0;
}

.nav-links a:hover {
    color: #e05a2a;
}

/* ========== DASHBOARD HEADER ========== */
.dashboard-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.dashboard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.dashboard-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.dashboard-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 7px 12px;
    border-radius: 25px;
    transition: 0.2s;
}

.dashboard-menu a:hover {
    background: #f0f0f0;
    color: #e05a2a;
}

.dashboard-menu a:last-child:hover {
    background: #fee;
    color: #d32f2f;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(rgba(30, 90, 163, 0.75), rgba(224, 90, 42, 0.7)), url('../images/hero-bg.jpg?v=2');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.hero p {
    color: white;
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== STATS SECTION ========== */
.stats {
    padding: 40px 0;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-card {
    background: #f5f7fa;
    padding: 20px 15px;
    border-radius: 16px;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2rem;
    color: #e05a2a;
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e5aa3;
    margin-bottom: 5px;
}

.stat-card p {
    color: #555;
    font-weight: 500;
    font-size: 0.85rem;
}

/* ========== DONATION SECTION ========== */
.donation-section {
    padding: 40px 0;
    background: #f8f9fc;
}

.donation-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.donation-card {
    background: white;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    width: 260px;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.donation-card i {
    font-size: 2rem;
    color: #e05a2a;
    margin-bottom: 12px;
}

.donation-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.donation-card p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

/* ========== FEATURED PROJECTS ========== */
.featured-projects {
    padding: 40px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-card {
    background: #f8f9fc;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.project-card i {
    font-size: 2rem;
    color: #e05a2a;
    margin-bottom: 12px;
}

.project-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.project-card p {
    color: #666;
    font-size: 0.85rem;
}

/* ========== CHAIRMAN PREVIEW ========== */
.chairman-preview {
    padding: 40px 0;
    background: #f0f4f8;
}

.chairman-box {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.chairman-box i {
    font-size: 2rem;
    color: #e05a2a;
    margin-bottom: 15px;
    opacity: 0.7;
}

.chairman-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
}

.chairman-box h4 {
    margin-top: 15px;
    color: #1e5aa3;
    font-size: 0.9rem;
}

/* ========== CTA SECTION ========== */
.cta {
    background: #1e5aa3;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.cta h2 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.cta p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: #1e5aa3;
}

.cta .btn-primary:hover {
    background: #e05a2a;
    color: white;
}

/* ========== FOOTER ========== */
footer {
    background: #0a2a3b;
    color: #ccc;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 25px;
}

.footer-col h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-col p, .footer-col li {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #bbb;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: #e05a2a;
}

.social-links {
    display: flex;
    gap: 12px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.2s;
}

.social-links a:hover {
    background: #e05a2a;
    transform: translateY(-2px);
}

.channel-link {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: 0.2s;
}

.channel-link:hover {
    background: #128C7E;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.7rem;
}

/* ========== UTILITY ========== */
.text-center {
    text-align: center;
}

/* ========== TOP BAR ========== */
.top-header {
    background: #0a2a3b;
    padding: 6px 0;
    border-bottom: 1px solid #1e3a4b;
}

.top-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.top-header-left a,
.top-header-center a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}

.top-header-left a:hover,
.top-header-center a:hover {
    color: #e05a2a;
}

.whatsapp-subscribe {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 211, 102, 0.12);
    padding: 3px 10px;
    border-radius: 30px;
}

.whatsapp-subscribe i {
    color: #25D366;
    font-size: 0.8rem;
}

.whatsapp-subscribe span {
    color: #cbd5e0;
    font-size: 0.7rem;
}

.whatsapp-subscribe form {
    display: inline-flex;
    gap: 4px;
}

.whatsapp-subscribe input {
    padding: 3px 8px;
    border: none;
    border-radius: 30px;
    font-size: 0.65rem;
    width: 110px;
    outline: none;
    background: white;
}

.whatsapp-subscribe button {
    background: #25D366;
    color: white;
    border: none;
    padding: 3px 10px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.65rem;
    transition: 0.2s;
}

.whatsapp-subscribe button:hover {
    background: #128c7e;
}

/* ========================================
   ABOUT PAGES - PROFESSIONAL DESIGN
   Chairman, Privacy, Refund, Terms
   ======================================== */

.hf-page-container {
    background: #f8f9fc;
    padding: 60px 20px;
    min-height: 100vh;
}
.hf-page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}
.hf-page-header {
    margin-bottom: 40px;
    text-align: center;
    animation: hfFadeInUp 0.6s ease-out;
}
.hf-page-label {
    color: #e05a2a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hf-page-title {
    color: #0a2a3b;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
}
.hf-page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: #e05a2a;
    border-radius: 3px;
}
.hf-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 35px;
    align-items: start;
}
.hf-profile {
    background: #f0f5ff;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    animation: hfFadeInUp 0.6s ease-out 0.1s backwards;
}
.hf-profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 30px rgba(30, 90, 163, 0.15);
    margin: 0 auto 25px;
    display: block;
    transition: transform 0.4s ease;
}
.hf-profile-photo:hover {
    transform: scale(1.05);
}
.hf-profile-signature {
    font-family: 'Great Vibes', 'Brush Script MT', cursive;
    font-size: 42px;
    color: #0a2a3b;
    margin: 0 0 15px 0;
    line-height: 1.2;
    font-weight: 400;
}
.hf-profile-name {
    color: #1e5aa3;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.4;
}
.hf-profile-title {
    color: #e05a2a;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}
.hf-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    animation: hfFadeInUp 0.6s ease-out 0.2s backwards;
}
.hf-content h2 {
    color: #0a2a3b;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 25px 0;
    padding-left: 20px;
    border-left: 5px solid #1e5aa3;
    text-align: left;
    line-height: 1.3;
}
.hf-content h3 {
    color: #0a2a3b;
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px 0;
    text-align: left;
}
.hf-content p {
    color: #334155;
    font-size: 15.5px;
    line-height: 1.85;
    margin: 0 0 20px 0;
}
.hf-content strong {
    color: #0a2a3b;
    font-weight: 700;
}
.hf-content ul, .hf-content ol {
    color: #334155;
    font-size: 15.5px;
    line-height: 1.85;
    margin: 0 0 20px 0;
    padding-left: 25px;
}
.hf-content li {
    margin-bottom: 8px;
}
.hf-highlight {
    background: #fff7f0;
    border-left: 4px solid #e05a2a;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    font-style: italic;
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
    font-family: Georgia, 'Times New Roman', serif;
    animation: hfFadeInUp 0.5s ease-out 0.4s backwards;
}
.hf-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    color: #e05a2a;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}
.hf-back-btn:hover {
    gap: 12px;
    color: #c44a1a;
}
@keyframes hfFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hf-grid { grid-template-columns: 1fr; }
    .hf-page-title { font-size: 38px; }
    .hf-content { padding: 30px 25px; }
    .hf-content h2 { font-size: 22px; }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 0 10px;
        border-top: 1px solid #eee;
        margin-top: 10px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .dashboard-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 55px;
        left: 0;
        padding: 15px 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 99;
    }
    
    .dashboard-menu.active {
        display: flex;
    }
    
    .dashboard-nav {
        padding: 10px 15px;
        position: relative;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero {
        padding: 60px 20px;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .chairman-box {
        padding: 25px 20px;
    }
    
    .chairman-box p {
        font-size: 0.9rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .top-header-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .whatsapp-subscribe {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .portal-btn-right {
        margin-left: 0;
        text-align: center;
        display: inline-block;
        width: auto;
    }
}

@media (max-width: 500px) {
    .hf-page-container {
        padding: 40px 15px;
    }
    .hf-page-title {
        font-size: 30px;
    }
    .hf-profile-photo {
        width: 140px;
        height: 140px;
    }
    .hf-profile-signature {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-tagline {
        font-size: 0.52rem;
    }
    
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .stat-card h3 {
        font-size: 1.3rem;
    }
}
/* ========== MOBILE SLIDE-IN MENU ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    position: relative;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #1e5aa3;
    z-index: 100;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.mobile-overlay.active {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 999;
    transition: right 0.3s ease;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.close-menu {
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.mobile-nav-links a:hover {
    color: #e05a2a;
}

.portal-btn-mobile {
    background: #e05a2a;
    color: white !important;
    padding: 10px !important;
    text-align: center;
    border-radius: 40px;
    margin-top: 10px;
}

.portal-btn-mobile:hover {
    background: #c24418;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #e05a2a;
}

.portal-btn-right {
    background: #e05a2a;
    color: white;
    padding: 6px 18px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: block;
    }
}