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

:root {
    --primary-color: #2ECC71;
    --primary-dark: #27AE60;
    --secondary-color: #3498DB;
    --accent-color: #E74C3C;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --text-muted: #7f8c8d;
    --border-color: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

.text-highlight {
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-donate)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-donate):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-donate {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-donate:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%), 
                url('community-building.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(46, 204, 113, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.3) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
    animation: mouseScroll 2s infinite;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: mouseWheel 2s infinite;
}

@keyframes mouseScroll {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes mouseWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 10px); opacity: 0; }
}

/* Quote Section */
.quote-section {
    padding: 5rem 0;
    background: var(--dark-bg);
    color: var(--text-light);
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
    display: block !important;
}

.quote-section *,
.quote-section *::before,
.quote-section *::after {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    display: inherit !important;
}

.quote-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.quote-icon {
    margin-bottom: 2rem;
    color: var(--primary-color);
    opacity: 1 !important;
    visibility: visible !important;
}

.quote-icon svg {
    opacity: 1 !important;
    visibility: visible !important;
}

.quote-text {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-style: italic;
    opacity: 1 !important;
    visibility: visible !important;
}

.quote-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Vision Section */
.vision-section {
    padding: 6rem 0;
    background: white;
}

/* Building Showcase */
.building-showcase {
    margin: 3rem 0;
    text-align: center;
}

.building-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.building-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.image-caption {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

.vision-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.vision-card {
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vision-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.vision-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.milestone-announcement {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.milestone-badge {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.milestone-announcement h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.milestone-announcement p {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Urgency Section */
.urgency-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.urgency-content {
    max-width: 1000px;
    margin: 0 auto;
}

.urgency-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.urgency-message {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.urgency-message p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.highlight-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.125rem;
}

/* Story Section */
.story-section {
    padding: 6rem 0;
    background: white;
}

.story-content {
    max-width: 1100px;
    margin: 0 auto;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.challenge-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: white;
}

.challenge-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.challenge-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.challenge-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Comparison Section */
.comparison-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.comparison-section .section-title {
    color: white;
    margin-bottom: 4rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
}

.comparison-card h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.comparison-card.current h3 {
    color: var(--text-muted);
}

.comparison-card.future h3 {
    color: var(--primary-color);
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparison-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.comparison-label {
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-value {
    font-weight: 700;
    color: var(--primary-color);
}

.comparison-issue {
    padding: 1rem;
    background: rgba(231, 76, 60, 0.1);
    border-left: 3px solid var(--accent-color);
    margin-top: 1rem;
    border-radius: 5px;
}

.comparison-benefit {
    padding: 1rem;
    background: rgba(46, 204, 113, 0.1);
    border-left: 3px solid var(--primary-color);
    margin-top: 0.5rem;
    border-radius: 5px;
}

.comparison-arrow {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: white;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Help Section */
.help-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.brick-sponsor {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 4rem;
}

.brick-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.brick-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.brick-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.brick-recognition {
    background: rgba(46, 204, 113, 0.1);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    margin-bottom: 2rem;
}

.brick-counter {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
}

.counter-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.counter-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
}

.brick-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brick-grid-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem;
}

.brick {
    width: 80px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: brickFloat 3s ease-in-out infinite;
}

.brick:nth-child(2n) {
    animation-delay: 0.3s;
}

.brick:nth-child(3n) {
    animation-delay: 0.6s;
}

@keyframes brickFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.donation-options {
    margin-top: 4rem;
}

.donation-options h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.donation-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.donation-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.donation-card.featured .donation-amount {
    color: white;
}

.donation-amount {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.donation-card p {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.4;
}

.donation-card.featured p {
    color: white;
}

/* Donate CTA Section */
.donate-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.donate-cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.donate-cta .btn-primary:hover {
    background: var(--light-bg);
}

.donate-cta .btn-secondary {
    border-color: white;
    color: white;
}

.donate-cta .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.timeline {
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 3px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1;
}

.timeline-item.completed .timeline-marker {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.timeline-item.active .timeline-marker {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: white;
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.footer-section p {
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .comparison-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .brick-sponsor {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .donation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .donation-card {
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .lead-text {
        font-size: 1.125rem;
    }

    .vision-grid,
    .challenges-grid,
    .features-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .donation-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .donation-card {
        padding: 1.5rem 1rem;
        min-height: 150px;
    }
    
    .donation-card.featured {
        transform: scale(1);
    }

    .urgency-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .brick-visual {
        display: none;
    }

    .arabic-text {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Hide decorative SVGs on mobile */
    .decorative-svg {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .vision-card,
    .challenge-card,
    .feature-card,
    .faq-item {
        padding: 1.5rem;
    }

    .brick-sponsor {
        padding: 2rem;
    }

    .counter-number {
        font-size: 3rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* Updates & Announcements Section */
.updates-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.last-updated {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.update-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.update-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.update-card[data-category="milestone"] {
    border-left-color: #2ECC71;
}

.update-card[data-category="fundraising"] {
    border-left-color: #4CAF50;
}

.update-card[data-category="event"] {
    border-left-color: #2196F3;
}

.update-card[data-category="announcement"] {
    border-left-color: #FF9800;
}

.update-icon {
    margin-bottom: 1rem;
}

.update-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.update-category.milestone {
    background: rgba(46, 204, 113, 0.1);
    color: #2ECC71;
}

.update-category.fundraising {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.update-category.event {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.update-category.announcement {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.update-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.update-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.update-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.update-read-more {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.update-read-more:hover {
    background: var(--primary-color);
    color: white;
}

.updates-load-more {
    text-align: center;
    margin-top: 3rem;
}

.updates-subscribe {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: var(--shadow);
}

.updates-subscribe h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.updates-subscribe p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.subscribe-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.subscribe-form button {
    white-space: nowrap;
}

/* Decorative SVGs */
.decorative-svg {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.decorative-svg-1 {
    top: 10%;
    right: 5%;
    animation: float 20s ease-in-out infinite;
}

.decorative-svg-2 {
    top: 20%;
    left: -5%;
    animation: float 25s ease-in-out infinite reverse;
}

.decorative-svg-3 {
    top: 30%;
    right: -5%;
    animation: rotate-slow 40s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

@keyframes rotate-slow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .decorative-svg {
        animation: none !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-top,
    .hero-buttons,
    .cta-buttons {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section-title {
        page-break-after: avoid;
    }
}


.video-embed {
  width: 100%;
  display: flex;
  justify-content: center;
}

.video-embed .video-wrapper {
  width: min(1120px, 100%); /* as wide as possible, up to 1120 */
  aspect-ratio: 16 / 9;
  position: relative;
  margin: 0 auto; /* extra safety */
}

.video-embed .video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
