/* Primary Color Palette */
:root {
    /* Primary Colors */
    --primary-orange: #f97316;
    --primary-orange-dark: #ea580c;
    --primary-orange-light: #fb923c;
    --primary-blue: #1e3a8a;
    --primary-blue-dark: #1e40af;
    --primary-green: #16a34a;
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-soft: #F8FAFC;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-soft);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-orange);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--primary-orange);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    color: var(--text-secondary);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, var(--primary-orange-dark), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Background Text */
.hero-bg-text {
    font-size: 12vw;
    line-height: 0.8;
    font-weight: 900;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    color: rgba(37, 99, 235, 0.05);
    white-space: nowrap;
    pointer-events: none;
}

/* Navbar Styles */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-orange);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    display: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.btn-donate {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 9999px;
    background: var(--primary-orange);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.2);
    transition: all 0.3s;
}

.btn-donate:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Footer Styles */
footer {
    background: var(--primary-blue);
    color: white;
    padding: 5rem 1.5rem 2.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-section h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
}

.footer-newsletter input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem 0 0 0.375rem;
    color: white;
    font-size: 0.875rem;
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter button {
    padding: 0.75rem 1rem;
    background: var(--primary-orange);
    border: none;
    border-radius: 0 0.375rem 0.375rem 0;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.footer-newsletter button:hover {
    background: var(--primary-orange-dark);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.float {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .btn-login {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Card Styles */
.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Button Styles */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.2);
}

.btn-primary:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f1f5f9;
}

/* Form Styles */
input, textarea, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-orange);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 999;
    padding: 2rem;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    color: var(--primary-orange);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange-dark);
}

/* Bloom Editor Content Styles */
.bloom-editor, .bloom-editer {
    color: #475569;
    line-height: 1.8;
}

.bloom-editor ul, .bloom-editer ul {
    list-style: none !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1.5rem;
}

.bloom-editor ul li, .bloom-editer ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.bloom-editor ul li::before, .bloom-editer ul li::before {
    content: "•";
    color: #8B2635; /* Brand Maroon */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1.5rem;
    position: absolute;
}

.bloom-editor ol, .bloom-editer ol {
    list-style-type: decimal;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.bloom-editor blockquote, .bloom-editer blockquote {
    border-left: 4px solid #8B2635;
    padding-left: 1.5rem;
    font-style: italic;
    color: #64748b;
    margin: 2rem 0;
}

.bloom-editor table, .bloom-editer table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.bloom-editor table th, .bloom-editor table td,
.bloom-editer table th, .bloom-editer table td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    text-align: left;
}

.bloom-editor table th, .bloom-editer table th {
    background-color: #f8fafc;
    color: #8B2635;
    font-weight: 700;
}

.bloom-editor h1, .bloom-editor h2, .bloom-editor h3,
.bloom-editer h1, .bloom-editer h2, .bloom-editer h3 {
    color: #1e3a8a; /* Brand Blue */
    margin-top: 2rem;
    margin-bottom: 1rem;
}
