/*
   Little Lights Girls Foundation - Professional Website
   Main Stylesheet - Industry Standard Design
   Brand Colors: Blue (#00AEEF), Dark Blue (#0066A3), Orange (#FF9900), Green (#66CC33)
*/

:root {
    --primary-blue: #00AEEF;
    --dark-blue: #0066A3;
    --secondary-orange: #f59e0b;
    --accent-green: #66CC33;
    --white: #FFFFFF;
    --text-color: #333333;
    --border-color: #E8E8E8;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.12);
    --hero-overlay: rgba(0, 0, 0, 0.5);
    --light-gray: #F9F9F9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    padding-top: 90px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
   background-color: var(--white) !important;
    border-bottom: 5px solid var(--primary-blue);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .navbar {
    padding: 0.75rem 0;
    background-color: var(--white) !important;
}

/* Logo */
.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
    border-bottom-color: var(--primary-blue);
}

.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
    border-bottom-color: var(--primary-blue);
    font-weight: 600;
}

/* Donate Button */
.btn-donate {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 153, 0, 0.2);
}

.btn-donate:hover {
    background-color: var(--secondary-orange) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 163, 0.3);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-orange);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--secondary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--secondary-orange);
}

.btn-secondary {
    background-color: var(--accent-green);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== SECTIONS ===== */
.section {
    padding: 3rem 20px;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-blue);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ===== CARDS ===== */
.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 174, 239, 0.15);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1.5px solid rgba(0, 174, 239, 0.4);
}

.card:hover {
    box-shadow: 0 12px 40px rgba(0, 174, 239, 0.25);
    transform: translateY(-4px);
    border-color: rgba(0, 174, 239, 0.6);
    background: rgba(255, 255, 255, 0.9);
}

.card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
    background: #f8f9fa;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
}

.program-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef0f2;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 102, 163, 0.2);
    border-color: var(--primary-blue);
}

.program-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.program-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 102, 163, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.program-card:hover .program-card-img::after {
    opacity: 1;
}

.program-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.program-card:hover .program-card-img img {
    transform: scale(1.08);
}

.program-card-body {
    padding: 0.9rem 1rem 1.1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-top: 3px solid transparent;
    transition: border-color 0.35s ease;
}

.program-card:hover .program-card-body {
    border-top-color: var(--primary-blue);
}

.program-code {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.program-card h3 {
    color: var(--dark-blue);
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.program-card p {
    color: #666;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0.2rem 0 0.4rem;
    flex-grow: 1;
}

.program-focus {
    margin-top: 0.5rem;
}

.focus-label {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
}

.focus-list {
    margin: 0;
    padding-left: 1rem;
    color: #555;
    font-size: 0.78rem;
    line-height: 1.5;
}

.focus-list li {
    margin-bottom: 0.15rem;
}

.program-tag {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
}

.program-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.program-link:hover {
    color: var(--secondary-orange);
    letter-spacing: 0.03em;
}

@media (max-width: 991px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .program-card-img {
        height: 180px;
    }
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    background: var(--white);
    color: var(--text-color);
}

.impact-section h2 {
    color: var(--dark-blue);
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.metric {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 153, 0, 0.08);
    border-radius: 16px;
    border: 2px solid rgba(255, 153, 0, 0.3);
    box-shadow: 0 4px 16px rgba(255, 153, 0, 0.1);
    transition: all 0.3s ease;
}

.metric:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(255, 153, 0, 0.2);
    border-color: var(--secondary-orange);
    background: rgba(255, 153, 0, 0.12);
}

.metric h3 {
    font-size: 2.5rem;
    color: var(--secondary-orange) !important;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.metric p {
    color: var(--text-color);
    font-size: 1rem;
    margin: 0;
}

.impact-section h2 {
    color: var(--dark-blue);
}

.stat-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 153, 0, 0.2);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 153, 0, 0.25);
    border-color: var(--secondary-orange);
    background: rgba(255, 255, 255, 1);
}

.stat-number {
    color: var(--secondary-orange) !important;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-label {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* Impact Section Metrics */
.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.metric {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.metric:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 153, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.metric h3 {
    font-size: 2.5rem;
    color: var(--secondary-orange);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.metric p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

/* ===== CTA SECTION - GLASSMORPHISM ===== */
.cta-section {
    background: linear-gradient(135deg, #00AEEF 0%, #0066A3 40%, #003d7a 100%);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    top: -200px;
    left: -150px;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100,200,255,0.25) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    pointer-events: none;
}

.cta-glass-panel {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 4.5rem 8rem;
    width: 100%;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(255,255,255,0.15);
}

.cta-heading {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.cta-subheading {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-orange {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    background: linear-gradient(135deg, #ffffff, #fff0e0);
    color: var(--secondary-orange);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(255, 120, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.btn-cta-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 120, 0, 0.6);
    color: var(--secondary-orange);
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-cta-teal {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 180, 220, 0.2), inset 0 1px 0 rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.btn-cta-teal:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 28px rgba(0, 180, 220, 0.3);
    color: #ffffff;
}

@media (max-width: 768px) {
    .cta-glass-panel {
        padding: 3rem 2rem;
    }
    .cta-heading {
        font-size: 2rem;
    }
    .cta-subheading {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-glass-panel {
        padding: 2.5rem 1.25rem;
    }
    .cta-heading {
        font-size: 1.7rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-cta-orange,
    .btn-cta-teal {
        width: 100%;
        text-align: center;
    }
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem 20px;
    margin-top: 3rem;
}

footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        margin: 0 !important;
    }

    .navbar-nav .nav-link.active {
        border-bottom-color: transparent;
    }

    .btn-donate {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }

    .logo-wrapper {
        width: 60px;
        height: 60px;
    }

    .brand-title {
        font-size: 1.2rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    body {
        padding-top: 85px;
    }

    /* Slider responsive */
    .hero-slider {
        height: 500px;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 80px;
    }

    .logo-wrapper {
        width: 55px;
        height: 55px;
    }

    .brand-title {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .section {
        padding: 2rem 15px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .metric h3 {
        font-size: 2rem;
    }

    /* Slider mobile */
    .hero-slider {
        height: 450px;
    }

    .slide-content h1 {
        font-size: 1.6rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slide-content .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .slider-arrow {
        display: none;
    }

    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* ===== ABOUT SECTION - NEW DESIGN ===== */
.about-section {
    background: var(--white);
    padding: 4rem 20px;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-badge {
    display: inline-block;
    background-color: var(--secondary-orange);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-subtitle {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.4;
}

.highlight-text {
    background: linear-gradient(120deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-orange), var(--accent-green));
    border-radius: 2px;
    opacity: 0.7;
    transform: scaleX(0.8);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.highlight-text:hover::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .about-subtitle {
        font-size: 1.5rem;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-text {
    padding: 0 2rem;
}

.foundation-name {
    color: var(--dark-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.foundation-description {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 2rem 0;
}

.foundation-mission {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.read-more-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--secondary-orange);
}

/* About Section Responsive */
@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding: 0;
        text-align: center;
    }

    .divider {
        margin: 2rem auto;
    }

    .about-badge {
        font-size: 0.8rem;
    }

    .about-subtitle {
        font-size: 1.8rem;
    }

    .foundation-name {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 3rem 15px;
    }

    .about-header {
        margin-bottom: 2rem;
    }

    .about-subtitle {
        font-size: 1.5rem;
    }

    .foundation-name {
        font-size: 1.4rem;
    }

    .foundation-description,
    .foundation-mission {
        font-size: 1rem;
    }
}

/* ===== FOOTER - NEW DESIGN ===== */
.main-footer {
    background-color: #d7d5d6;
    color: var(--dark-blue);
    padding: 3rem 0 2rem;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Logo and Description Section */
.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.footer-title {
    color: var(--dark-blue);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Section Headings */
.footer-heading {
    color: var(--dark-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a,
.contact-item span {
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-blue);
}

/* Footer Bottom */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Social Media */
.social-media {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark-blue);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Copyright */
.copyright {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.copyright p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary-blue);
}

.legal-links span {
    color: #999;
    font-size: 0.8rem;
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-section:first-child {
        grid-column: span 2;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 1rem;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .social-media {
        align-items: center;
    }

    .copyright {
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section:first-child {
        grid-column: span 1;
    }

    .footer-section {
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 1rem;
    }

    .footer-heading {
        text-align: center;
    }

    .contact-item {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-logo img {
        width: 60px;
        height: 60px;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-heading {
        font-size: 1rem;
    }

    .footer-links a,
    .contact-item a,
    .contact-item span {
        font-size: 0.85rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .copyright p {
        font-size: 0.8rem;
    }

    .legal-links a,
    .legal-links span {
        font-size: 0.75rem;
    }
}

/* ===== HERO SECTION - NEW DESIGN ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 90px);
    min-height: 520px;
    overflow: hidden;
    margin-top: 0;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Foundation name + Since 2015 row */
.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hero-foundation-name {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-since {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 90vw;
    height: 44px;
    padding: 0 1.5rem;
    border-radius: 22px;
    background: rgba(255, 153, 0, 0.25);
    color: #FFD080;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 200, 100, 0.5);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
}


.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.15;
}

.hero-subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
}

.btn-hero-primary,
.btn-hero-outline {
    padding: 0.6rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #FF9900, #FF6600);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 153, 0, 0.4);
}

.btn-hero-primary:hover {
    background: #e68900;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 153, 0, 0.5);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-impact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin: 0;
    padding: 0.75rem 2rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-orange);
}

.impact-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-down {
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    color: var(--secondary-orange);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Hero Section Responsive */
@media (max-width: 991px) {
    .hero-section {
        height: calc(100vh - 85px);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: calc(100vh - 85px);
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-since {
        height: 40px;
        font-size: 0.82rem;
        padding: 0 1.2rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: calc(100vh - 80px);
        min-height: 480px;
    }

    .hero-content {
        gap: 0.5rem;
    }

    .hero-foundation-name {
        font-size: 0.8rem;
    }

    .hero-since {
        height: 36px;
        font-size: 0.75rem;
        padding: 0 1rem;
        border-radius: 18px;
    }

    .hero-title {
        font-size: 1.55rem;
    }

    .hero-subtext {
        font-size: 0.9rem;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        padding: 0.55rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .impact-number {
        font-size: 1.8rem;
    }

    .impact-text {
        font-size: 0.85rem;
    }
}

/* ===== INNER PAGE HERO (about, impact, team, contact pages) ===== */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #004D7A 100%);
    padding: 5rem 0 4rem;
    text-align: center;
    color: var(--white);
}

.hero .hero-content h1 {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin: 0;
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem 3rem;
    }
    .hero .hero-content h1 {
        font-size: 2rem;
    }
    .hero .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero .hero-content h1 {
        font-size: 1.6rem;
    }
}

/* ===== VALUE CARDS & VALUES GRID ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 174, 239, 0.12);
    border: 1.5px solid rgba(0, 174, 239, 0.3);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 174, 239, 0.22);
    border-color: rgba(0, 174, 239, 0.55);
}

.value-card h3 {
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.value-card p {
    color: #555;
    font-size: 0.97rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== EQUAL HEIGHT CARDS IN BOOTSTRAP ROWS ===== */
.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row.equal-height > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.row.equal-height > [class*="col-"] .card,
.row.equal-height > [class*="col-"] .value-card {
    flex: 1;
}

/* Bootstrap row card gutters fix */
.row > [class*="col-"] .card,
.row > [class*="col-"] .value-card {
    height: 100%;
}

/* ===== PROGRAMS GRID — EQUAL HEIGHT ===== */
.programs-grid {
    align-items: stretch;
}

.program-card {
    height: 100%;
}

/* ===== IMPACT METRICS — MOBILE FIX ===== */
@media (max-width: 576px) {
    .impact-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .metric {
        padding: 1.25rem 1rem;
    }

    .metric h3 {
        font-size: 1.8rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SECTION CONTAINER PADDING FIX ===== */
.section .container,
.about-section .container,
.impact-section .container,
.cta-section .container,
.programs-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ===== BOOTSTRAP ROW GUTTER FIX FOR MOBILE ===== */
@media (max-width: 768px) {
    .row > [class*="col-"] {
        margin-bottom: 1.5rem;
    }

    .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
}

/* ===== CTA SECTION BUTTON TEXT FIX ===== */
.cta-section .btn {
    color: var(--white) !important;
}

/* ===== GENERAL TEXT VISIBILITY FIXES ===== */
.section h2,
.section h3 {
    color: var(--dark-blue);
}

.section p {
    color: #555;
}

/* Ensure section-subtitle is always visible */
.section-subtitle {
    color: #666 !important;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== NAVBAR MOBILE — DONATE BUTTON FULL WIDTH FIX ===== */
@media (max-width: 991px) {
    .navbar .btn-donate {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0.75rem 0 0;
    }
}

/* ===== FOOTER MOBILE FULL RESPONSIVENESS ===== */
@media (max-width: 480px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .copyright {
        text-align: center;
    }
}

/* ===== PROGRAM CARDS ENTRANCE ANIMATION ===== */
@keyframes cardFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-card {
    animation: cardFadeUp 0.5s ease both;
}

.program-card:nth-child(1) { animation-delay: 0.1s; }
.program-card:nth-child(2) { animation-delay: 0.2s; }
.program-card:nth-child(3) { animation-delay: 0.3s; }
.program-card:nth-child(4) { animation-delay: 0.4s; }

/* ===== FOOTER REGISTRATION BADGE ===== */
.footer-reg {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.4rem;
}

.footer-reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 102, 163, 0.12);
    color: var(--dark-blue);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 163, 0.2);
}

.footer-reg-link {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-reg-link:hover {
    color: var(--secondary-orange);
}

/* ===== PARTNERS PAGE ===== */
.partners-section {
    padding-top: 4rem;
}

.partners-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.partners-intro h2 {
    margin: 0.5rem 0 0.75rem;
}

.partners-intro .section-subtitle {
    margin-bottom: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.partner-feature,
.partner-profile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partner-mark {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 24px rgba(0, 102, 163, 0.18);
    flex-shrink: 0;
}

.partner-header h3 {
    margin-bottom: 0.25rem;
}

.partner-link {
    margin: 0;
    font-size: 0.95rem;
}

.partner-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-top: -0.4rem;
}

.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: auto;
}

.partner-tags span {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 174, 239, 0.09);
    color: var(--dark-blue);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 174, 239, 0.18);
}

@media (max-width: 991px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .partner-header {
        align-items: flex-start;
    }

    .partner-mark {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }
}
