/* ==========================================================================
   1. GLOBAL STYLES & VARIABLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #1a202c;
    line-height: 1.6;
}

/* Common Button Rules */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: #259cb9;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1d7e96;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #259cb9;
}

.text-blue {
    color: #259cb9;
}

/* Common Section Typography Rules */
.section-subtitle {
    color: #718096;
    font-size: 1rem;
    margin-top: 5px;
    margin-bottom: 40px;
}

/* ==========================================================================
   2. NAVIGATION BAR & LOGO FINE-TUNING
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #259cb9;
}

.nav-logo-img {
    display: inline-block !important;
    height: 32px !important;
    width: auto !important;
    max-width: 120px !important;
    object-fit: contain !important;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #259cb9;
}

/* ==========================================================================
   3. HERO BANNER LAYOUTS
   ========================================================================== */
.hero {
    height: 80vh;
    display: flex;
    align-items: flex-end;    
    justify-content: flex-start; 
    background: url('images/unifyall1.jpg') no-repeat center center/cover; /* 👈 Pointing cleanly to your background file */
    padding: 60px 80px; 
}

.shop-hero {
    height: 50vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: #1a202c;
}

.shop-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.shop-hero p {
    max-width: 700px;
    font-size: 1.1rem;
    color: #4a5568;
}

.hero-text-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 8px;
    max-width: 550px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-text-card h1 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-text-card p {
    color: #4a5568;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-buttons .btn-secondary {
    color: #259cb9;
    border-color: #259cb9;
}

.hero-buttons .btn-secondary:hover {
    background-color: #259cb9;
    color: #ffffff;
}

/* ==========================================================================
   4. HOME PAGE IMPACT & PROGRESS INITIATIVES
   ========================================================================== */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 50px 20px;
    background-color: #f7fafc;
    text-align: center;
}

.stat-box h2 {
    font-size: 3rem;
    color: #259cb9;
    margin-bottom: 5px;
}

.stat-box p {
    font-weight: 600;
    color: #718096;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.fundraising-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.fundraising-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.goal-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.goal-container h3 {
    font-size: 1.3rem;
    color: #1a202c;
}

.progress-bar-bg {
    width: 100%;
    height: 16px;
    background-color: #edf2f7;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    background-color: #259cb9;
    border-radius: 10px;
}

.goal-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #4a5568;
}

/* ==========================================================================
   5. VOICE OF THE TEAM (RESTRUCTURED TO FIX OVERLAPS)
   ========================================================================== */
.quotes-section {
    background-color: #f7fafc;
    padding: 80px 20px;
    text-align: center;
}

.quotes-section h2 {
    font-size: 2rem;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.quote-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    text-align: left;
}

.clean-quote-layout {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
    padding: 25px !important;
}

.quote-icon-container {
    font-size: 1.5rem;
    color: #259cb9;
    opacity: 0.25;
    padding-top: 5px;
}

.quote-content-block {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quote-content-block .quote-text {
    font-style: italic;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 20px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.anonymous-avatar {
    width: 40px;
    height: 40px;
    background-color: #edf2f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-size: 1.1rem;
}

.author-details h4 {
    font-size: 0.95rem;
    color: #1a202c;
}

.author-details p {
    font-size: 0.8rem;
    color: #718096;
}

/* ==========================================================================
   6. INTERACTIVE MEDIA GALLERY GRID (TEXT PERMANENTLY VISIBLE FIX)
   ========================================================================== */
.gallery-section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-section h2 {
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    background-color: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.85;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100__);
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 2;
}

.gallery-overlay p {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.gallery-item:hover img {
    transform: scale(1.04);
    opacity: 0.75;
}

/* ==========================================================================
   7. SHOP & DONATION COMMERCE PLATFORMS
   ========================================================================== */
.shop-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.06);
}

.donate-hero-bg {
    background-color: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.donation-card h2 {
    font-size: 2.5rem;
    color: #259cb9;
    margin-bottom: 10px;
}

.donation-desc {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    min-height: 50px;
}

.stripe-placeholder {
    margin-top: 15px;
}

/* ==========================================================================
   8. INPUT & FOOTER CONTACT SYSTEM
   ========================================================================== */
.contact-section {
    background-color: #1a202c;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 5px;
    border: 1px solid #4a5568;
    background-color: #2d3748;
    color: #ffffff;
    font-size: 0.95rem;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #a0aec0;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #259cb9;
}

/* ==========================================================================
   9. DEVICE MEDIA QUERY RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 20px 30px;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        padding: 40px 20px;
        height: auto;
        min-height: 60vh;
        align-items: center;
    }
    
    .stats-section {
        gap: 40px;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .clean-quote-layout {
        flex-direction: column;
    }
    .quote-icon-container {
        padding-top: 0;
    }
}

/* ==========================================================================
   10. FOOTER & COPYRIGHT STYLING
   ========================================================================== */
.main-footer {
    background-color: #111622; /* Slightly darker than the contact section for depth */
    color: #a0aec0;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #2d3748;
}

.footer-content p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-subtext {
    font-size: 0.8rem !important;
    color: #718096;
}