/* 
   CAM CARES FOUNDATION - OFFICIAL STYLESHEET
   Colors: Premium Royal Purple, Lavender, Deep Purple-Black, and Amber Gold accents.
*/

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

:root {
    --cls-bg: #090514;
    --cls-bg-rgb: 9, 5, 20;
    --cls-card: rgba(20, 14, 34, 0.75);
    --cls-card-border: rgba(124, 58, 237, 0.2);
    --cls-primary: #8b5cf6; /* Royal Purple */
    --cls-primary-rgb: 139, 92, 246;
    --cls-primary-dark: #6d28d9; /* Deep Purple */
    --cls-primary-light: #c084fc; /* Lavender */
    --cls-accent: #f59e0b; /* Amber Gold */
    --cls-accent-rgb: 245, 158, 11;
    --cls-text: #f8fafc;
    --cls-text-muted: #94a3b8;
    --cls-text-dark: #1e1b4b;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.25);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--cls-bg);
    color: var(--cls-text);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(109, 40, 217, 0.15) 0%, rgba(9, 5, 20, 0) 50%),
                radial-gradient(circle at 10% 50%, rgba(139, 92, 246, 0.05) 0%, rgba(9, 5, 20, 0) 30%),
                radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.03) 0%, rgba(9, 5, 20, 0) 40%),
                var(--cls-bg);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, var(--cls-text) 30%, var(--cls-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-accent {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.25rem 0;
}

header.sticky {
    padding: 0.75rem 0;
    background: rgba(9, 5, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cls-primary);
    transition: var(--transition-smooth);
}

.logo-link:hover .logo-img {
    transform: scale(1.08);
    box-shadow: var(--shadow-glow);
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.nav-item a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    color: var(--cls-text-muted);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cls-primary), var(--cls-primary-light));
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-item a:hover {
    color: var(--cls-text);
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.nav-item.active a {
    color: var(--cls-text);
}

/* Primary buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--cls-primary) 0%, var(--cls-primary-dark) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5), var(--shadow-glow);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--cls-text);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--cls-primary-border, rgba(139, 92, 246, 0.4));
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--cls-primary);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--cls-accent) 0%, #d97706 100%);
    color: #0f172a;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--cls-text);
    transition: var(--transition-smooth);
    transform-origin: left center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 5rem 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero_bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0.45;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--cls-bg) 0%, transparent 100%);
    z-index: -1;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-tag {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cls-primary-light);
    width: fit-content;
}

.hero-tag-glow {
    width: 8px;
    height: 8px;
    background-color: var(--cls-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cls-accent);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--cls-text-muted);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
}

.hero-badge-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.hero-badge {
    display: flex;
    flex-direction: column;
}

.hero-badge-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--cls-accent);
}

.hero-badge-label {
    font-size: 0.8rem;
    color: var(--cls-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Glassmorphism Visual Container for Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-card {
    background: var(--cls-card);
    border: 1px solid var(--cls-card-border);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.hero-visual-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    border: 4px solid var(--cls-primary);
    padding: 4px;
    background: var(--cls-bg);
    box-shadow: var(--shadow-glow);
}

.hero-visual-logo img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual-info {
    text-align: center;
}

.hero-visual-name {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.hero-visual-sub {
    font-size: 0.85rem;
    color: var(--cls-text-muted);
    margin-bottom: 1.25rem;
}

.hero-visual-stat {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hero-visual-stat-item h4 {
    color: var(--cls-accent);
    font-size: 1.2rem;
}

.hero-visual-stat-item p {
    font-size: 0.75rem;
    color: var(--cls-text-muted);
}

.hero-visual-bg-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(20px);
}

/* Sections Base */
section {
    padding: 7rem 2rem;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cls-primary-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.section-desc {
    color: var(--cls-text-muted);
    font-size: 1.05rem;
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: center;
}

.about-img-container {
    position: relative;
}

.about-img-frame {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 2;
}

.about-img-frame img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-frame:hover img {
    transform: scale(1.04);
}

.about-img-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--cls-card);
    border: 1px solid var(--cls-card-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.25rem;
    z-index: 3;
    max-width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-img-badge h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.about-img-badge p {
    font-size: 0.8rem;
    color: var(--cls-text-muted);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.about-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cls-text);
}

.about-bio {
    color: var(--cls-text-muted);
    font-size: 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quote-block {
    border-left: 4px solid var(--cls-accent);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--cls-text);
    font-size: 1.1rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.value-card {
    background: var(--cls-card);
    border: 1px solid var(--cls-card-border);
    backdrop-filter: blur(8px);
    padding: 2.25rem 2rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.15), var(--shadow-premium);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cls-primary-light);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.value-card:hover .value-icon {
    background: var(--cls-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.value-desc {
    color: var(--cls-text-muted);
    font-size: 0.95rem;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.program-card {
    background: var(--cls-card);
    border: 1px solid var(--cls-card-border);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.2);
}

.program-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(245, 158, 11, 0.9);
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 10;
}

.program-img-container {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--cls-card-border);
}

.program-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(9, 5, 20, 0.9) 0%, transparent 100%);
}

.program-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover .program-img-container img {
    transform: scale(1.05);
}

.program-body {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.program-title {
    font-size: 1.6rem;
    font-weight: 700;
}

.program-desc {
    color: var(--cls-text-muted);
    font-size: 1rem;
    flex-grow: 1;
}

.program-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
    margin-top: 0.75rem;
}

.program-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--cls-text-muted);
}

.program-meta-item svg {
    color: var(--cls-primary-light);
}

/* Interactive Donation Calculator Section */
.donation-box {
    background: var(--cls-card);
    border: 1px solid var(--cls-card-border);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 3.5rem;
    box-shadow: var(--shadow-premium);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.calculator-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calculator-left h3 {
    font-size: 2.2rem;
}

.calculator-slider-container {
    margin: 2rem 0;
}

.slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.slider-min, .slider-max {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cls-text-muted);
}

.slider-val-bubble {
    background: var(--cls-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-glow);
    font-size: 1.1rem;
}

/* Custom Slider styling */
.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: background 0.3s;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cls-accent);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
    border: 2px solid white;
    transition: var(--transition-smooth);
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.9);
}

.donation-presets {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.preset-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cls-text);
    padding: 0.6rem 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
}

.preset-btn:hover, .preset-btn.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--cls-primary);
    color: var(--cls-primary-light);
}

.calculator-right {
    background: rgba(15, 10, 26, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.calculator-right::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.calculator-right * {
    position: relative;
    z-index: 2;
}

.impact-visual-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cls-accent);
    font-size: 2.2rem;
}

.impact-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cls-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.impact-amount-display {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--cls-text);
    line-height: 1;
}

.impact-desc {
    font-size: 1.15rem;
    color: var(--cls-text);
    min-height: 72px; /* Prevent layout shifting */
    max-width: 320px;
}

/* Facebook Feed Section */
.feed-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
}

.feed-left-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feed-left-info h3 {
    font-size: 2.2rem;
}

.feed-instructions {
    color: var(--cls-text-muted);
    font-size: 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fb-cta-card {
    background: rgba(24, 119, 242, 0.1);
    border: 1px solid rgba(24, 119, 242, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fb-cta-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1877f2;
    font-weight: 700;
    font-size: 1.2rem;
}

.fb-cta-text {
    font-size: 0.95rem;
    color: var(--cls-text-muted);
}

.btn-fb {
    background: #1877f2;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    width: fit-content;
}

.btn-fb:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

/* Facebook Live Widget and Fallback cards */
.fb-widget-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    background: var(--cls-card);
    border: 1px solid var(--cls-card-border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    position: relative;
    min-height: 550px;
}

/* Loading/Fallback styles */
.fb-fallback-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.fb-fallback-post {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.fb-fallback-post:hover {
    border-color: rgba(139, 92, 246, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.fb-post-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fb-post-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--cls-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
}

.fb-post-meta {
    display: flex;
    flex-direction: column;
}

.fb-post-author {
    font-weight: 700;
    font-size: 0.85rem;
}

.fb-post-date {
    font-size: 0.75rem;
    color: var(--cls-text-muted);
}

.fb-post-content {
    font-size: 0.88rem;
    color: var(--cls-text);
}

.fb-post-tag {
    color: var(--cls-primary-light);
    font-weight: 600;
}

/* Get Involved & Footer Info */
.involvement-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(9, 5, 20, 0.4) 100%);
    border: 1px solid rgba(124, 58, 237, 0.25);
    backdrop-filter: blur(16px);
    border-radius: 32px;
    padding: 4.5rem;
    text-align: center;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.involvement-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(30px);
}

.involvement-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.involvement-title {
    font-size: 2.8rem;
    font-weight: 800;
}

.involvement-desc {
    font-size: 1.15rem;
    color: var(--cls-text-muted);
    margin-bottom: 1.5rem;
}

.email-cta-box {
    background: rgba(20, 14, 34, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 1.25rem 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition-smooth);
}

.email-cta-box:hover {
    border-color: var(--cls-primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.email-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.email-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cls-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.email-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
}

/* Footer styling */
footer {
    background-color: #05030b;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    padding: 5rem 2rem 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 1px solid var(--cls-primary);
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.footer-desc {
    color: var(--cls-text-muted);
    font-size: 0.95rem;
}

.footer-tax-badge {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--cls-accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--cls-text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--cls-primary-light);
    padding-left: 4px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--cls-text-muted);
    font-size: 0.95rem;
}

.footer-contact-item svg {
    color: var(--cls-primary-light);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact-item a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--cls-text-muted);
    font-size: 0.85rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 5, 20, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--cls-card);
    border: 1px solid var(--cls-card-border);
    border-radius: 28px;
    width: 100%;
    max-width: 550px;
    padding: 3rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), var(--shadow-glow);
    position: relative;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    overflow-y: auto;
    max-height: 90vh;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cls-text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-desc {
    color: var(--cls-text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cls-text);
}

.form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--cls-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.6; }
}

/* Scroll Animation Hooks */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Queries */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-img-container {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .donation-box {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }
    
    .feed-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .fb-widget-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(9, 5, 20, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(124, 58, 237, 0.2);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        padding: 2rem;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-tag {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-badge-container {
        justify-content: center;
    }
    
    .hero-visual-card {
        margin: 0 auto;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .involvement-box {
        padding: 2.5rem 1.5rem;
    }
    
    .involvement-title {
        font-size: 2rem;
    }
    
    .email-cta-box {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
        text-align: center;
    }
    
    .email-info {
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .modal-card {
        padding: 2rem 1.5rem;
    }
}
