/* Restore Hopes Orphanage - Homepage Styles */

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

:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --danger: #ef4444;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

/* Modern Responsive Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

/* Brand */
.navbar-brand {
    z-index: 1001;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.3s;
}

.brand-link:hover {
    transform: scale(1.02);
}

.logo-wrapper {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    border: 2px solid var(--primary-color);
    padding: 2px;
}

.logo-icon {
    color: var(--white);
    font-size: 20px;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 2px;
}

.brand-tagline {
    font-size: 0.625rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Mobile Menu Toggle - Modern Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: var(--bg-light);
    border-radius: 8px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation Menu Wrapper */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.nav-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-link:hover i {
    opacity: 1;
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.1);
}

.nav-link.active i {
    opacity: 1;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-actions .btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-actions .btn i {
    font-size: 0.75rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0 50px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/orphanage/images/hero-bg.svg') center/cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(59, 130, 246, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

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

.hero-stats {
    position: relative;
    z-index: 2;
    margin-top: 60px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
}

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

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

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

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

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

.btn-white:hover {
    background: var(--bg-light);
}

.btn-secondary {
    background: var(--text-dark);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--text-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Section Styles */
section {
    padding: 40px 0;
}

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

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

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

.section-subtitle {
    font-size: 0.9375rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
    border-color: var(--secondary-color);
}

.about-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.25rem;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.badge-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.badge-text {
    font-size: 0.75rem;
    opacity: 0.9;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: var(--bg-light);
    border-radius: 6px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

/* Children Section */
.children-section {
    background: var(--bg-light);
}

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

.child-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.child-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.child-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.child-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.child-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
}

.child-info {
    padding: 1rem;
}

.child-name {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.child-details {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.child-details span {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.child-story {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.btn-sponsor {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.btn-sponsor:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.no-children {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-children i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Programs Section */
.programs-section {
    background: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.program-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s;
}

.program-card:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.program-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.program-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--text-light);
}

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

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.help-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.help-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.help-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.help-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.help-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.help-link:hover {
    gap: 0.75rem;
}

/* News Section */
.news-section {
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.date-month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-link:hover {
    gap: 0.75rem;
}

.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-news i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info-wrapper {
    display: grid;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-info-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 50px 0;
}

.cta-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

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

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Design - Content Sections */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-badge {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image img {
        border-width: 2px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .children-grid,
    .programs-grid,
    .help-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Navigation Button Styles */
.btn-login {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-login:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

.btn-register:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

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

.btn-dashboard:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

.btn-logout:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

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

.btn-donate:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Responsive Navigation - Tablet & Mobile */
/* Laptop and small desktop responsive - keep all menu items visible */
@media (min-width: 1025px) and (max-width: 1366px) {
    .nav-container {
        height: 58px;
        padding: 0 15px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .brand-tagline {
        font-size: 0.5625rem;
    }
    
    .logo-wrapper {
        width: 36px;
        height: 36px;
    }
    
    .logo-icon {
        font-size: 18px;
    }
    
    .nav-menu {
        gap: 0.15rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        gap: 4px;
    }
    
    .nav-link i {
        font-size: 0.6875rem;
    }
    
    .nav-actions {
        gap: 0.4rem;
    }
    
    .nav-actions .btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.6875rem;
        gap: 4px;
    }
    
    .nav-actions .btn i {
        font-size: 0.6875rem;
    }
    
    .nav-menu-wrapper {
        gap: 0.75rem;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        height: 60px;
    }
    
    .nav-menu {
        gap: 0.2rem;
    }
    
    .nav-link {
        padding: 0.45rem 0.65rem;
        font-size: 0.75rem;
    }
    
    .nav-link i {
        font-size: 0.6875rem;
    }
    
    .nav-actions .btn {
        padding: 0.45rem 0.8rem;
        font-size: 0.6875rem;
    }
    
    .nav-menu-wrapper {
        gap: 0.8rem;
    }
}

@media (max-width: 992px) {
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 0.5rem;
        width: 36px;
        height: 36px;
        justify-content: center;
    }
    
    .nav-link i {
        font-size: 1rem;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 60px;
        padding: 0 15px;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .brand-tagline {
        font-size: 0.65rem;
    }
    
    .logo-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .logo-icon {
        font-size: 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu-wrapper {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu-wrapper.active {
        transform: translateX(0);
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
        justify-content: flex-start;
    }
    
    .nav-link span {
        display: inline;
    }
    
    .nav-link i {
        width: 24px;
        text-align: center;
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e2e8f0;
    }
    
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }
    
    .brand-name {
        font-size: 1.125rem;
    }
    
    .brand-tagline {
        font-size: 0.6rem;
    }
    
    .logo-wrapper {
        width: 36px;
        height: 36px;
    }
    
    .logo-icon {
        font-size: 18px;
    }
}

/* Authentication Pages */
.auth-section {
    min-height: auto;
    padding: 40px 0 20px;
    background: var(--bg-light);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    max-width: 900px;
    margin: 0 auto;
}

.auth-image {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/orphanage/images/auth-bg.svg') center/cover;
    opacity: 0.1;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(59, 130, 246, 0.9));
}

.auth-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
}

.auth-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-content p {
    font-size: 0.875rem;
    opacity: 0.95;
}

.auth-form-wrapper {
    padding: 1.5rem 2rem;
}

.auth-header {
    margin-bottom: 1rem;
}

.auth-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.auth-header p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.auth-form .form-group {
    margin-bottom: 0.75rem;
}

.auth-form label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-dark);
}

.auth-form label i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form input[type="password"],
.auth-form select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.auth-footer p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8125rem;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.75rem;
}

.back-home:hover {
    color: var(--text-dark);
}

/* Messages/Alerts */
.messages {
    margin-bottom: 0.75rem;
}

.alert {
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.alert i {
    font-size: 1rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-left: 3px solid var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    border-left: 3px solid var(--secondary-color);
}

/* Success Message Box */
.auth-message-box {
    background: var(--white);
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.success-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.success-icon i {
    font-size: 2rem;
    color: var(--white);
}

.auth-message-box h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.auth-message-box p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-size: 0.875rem;
}

.auth-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Responsive Auth Pages */
@media (max-width: 768px) {
    .auth-section {
        padding: 20px 0 10px;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
        margin: 0 10px;
    }
    
    .auth-image {
        padding: 1rem;
        min-height: 120px;
    }
    
    .auth-content h2 {
        font-size: 1.25rem;
    }
    
    .auth-content p {
        font-size: 0.75rem;
    }
    
    .auth-form-wrapper {
        padding: 1.25rem 1rem;
    }
    
    .auth-header h1 {
        font-size: 1.25rem;
    }
    
    .auth-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-form .form-group {
        margin-bottom: 0.6rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
    
    .auth-actions {
        flex-direction: column;
    }
    
    .auth-actions .btn {
        width: 100%;
    }
    
    .auth-message-box {
        padding: 1.5rem 1rem;
        margin: 0 10px;
    }
}

/* Gallery Carousel */
.gallery-carousel-section {
    background: var(--bg-light);
    padding: 50px 0;
}

.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-image-wrapper {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-image-wrapper img,
.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-video {
    display: block;
}

.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--danger);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.video-badge i {
    font-size: 1rem;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 2rem;
    color: var(--white);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.carousel-image-wrapper:hover .carousel-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
}

.carousel-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.carousel-content p {
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.carousel-category {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--primary-color);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.carousel-category i {
    font-size: 0.6875rem;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control i {
    font-size: 1.125rem;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.carousel-indicator.active,
.carousel-indicator:hover {
    background: var(--primary-color);
    opacity: 1;
    transform: scale(1.3);
}

/* Gallery Page */
.gallery-section {
    padding: 50px 0;
    background: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.media-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.media-type-badge i {
    font-size: 0.875rem;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.25rem;
    color: var(--white);
    transform: translateY(60%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-title {
    font-size: 1.125rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.gallery-item-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    opacity: 0.9;
}

.gallery-item-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0 40px;
    }
    
    .carousel-image-wrapper {
        height: 350px;
    }
    
    .carousel-content h3 {
        font-size: 1.125rem;
    }
    
    .carousel-content p {
        font-size: 0.8125rem;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
    }
    
    .carousel-control i {
        font-size: 0.875rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        padding: 0 30px;
    }
    
    .carousel-image-wrapper {
        height: 280px;
    }
    
    .carousel-overlay {
        padding: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Hero */
.gallery-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 100px 0 50px;
    text-align: center;
    margin-top: 0;
}

.gallery-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.gallery-hero-content p {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* Gallery CTA */
.gallery-cta {
    background: var(--bg-light);
    padding: 50px 0;
}

/* Empty State */
.no-gallery-images {
    padding: 80px 0;
    text-align: center;
}

.empty-state {
    max-width: 500px;
    margin: 0 auto;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Gallery Detail Page */
.gallery-detail-section {
    padding: 100px 0 50px;
    margin-top: 0;
}

.gallery-detail-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-detail-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 3px solid var(--primary-color);
}

.gallery-detail-image img,
.gallery-video {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-video {
    background: #000;
}

.gallery-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-header {
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.detail-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.detail-category {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.detail-category i {
    font-size: 0.75rem;
}

.detail-description h3,
.detail-meta h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-description h3 i,
.detail-meta h3 i {
    color: var(--primary-color);
    font-size: 1rem;
}

.detail-description p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.meta-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.meta-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
    width: 20px;
    flex-shrink: 0;
}

.meta-item strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.8125rem;
    margin-bottom: 0.15rem;
}

.meta-item p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

.detail-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.detail-actions .btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

/* Related Images */
.related-images-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.related-images-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.related-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}

/* Gallery Responsive */
@media (max-width: 992px) {
    .gallery-detail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .gallery-hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        padding: 80px 0 40px;
        margin-top: 0;
    }
    
    .gallery-detail-section {
        padding: 80px 0 40px;
    }
    
    .gallery-hero-content h1 {
        font-size: 1.75rem;
    }
    
    .gallery-hero-content p {
        font-size: 1rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }
    
    .related-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .detail-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .related-images-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
}

/* Supporters Pages */
.supporters-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.supporters-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.supporters-hero-content p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.supporters-section {
    padding: 80px 0;
    background: var(--white);
}

.supporters-section.funders-section {
    background: var(--bg-light);
}

.supporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.supporter-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.supporter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.supporter-card.funder-card {
    border-top: 4px solid var(--secondary-color);
}

.supporter-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.supporter-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.avatar-placeholder.donor-avatar {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.avatar-placeholder.funder-avatar {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.supporter-info {
    margin-bottom: 1.5rem;
}

.supporter-name {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.supporter-type {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.supporter-type.donor-type {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.supporter-type.funder-type {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.supporter-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0.25rem;
}

.supporter-badge.recurring {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
}

.supporter-badge.projects {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
}

.view-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.view-profile-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.no-supporters {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-supporters i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.no-supporters p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Profile Pages */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 0;
}

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
}

.avatar-placeholder-large.donor-avatar {
    background: rgba(255, 255, 255, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.avatar-placeholder-large.funder-avatar {
    background: rgba(255, 255, 255, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.profile-header-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.profile-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.profile-content-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.profile-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-card h2,
.profile-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-card h2 i,
.profile-card h3 i {
    color: var(--primary-color);
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.detail-item strong {
    color: var(--text-dark);
}

.detail-item span {
    color: var(--text-light);
}

.impact-message {
    color: var(--text-light);
    line-height: 1.8;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.timeline-content h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    margin: 0;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.cta-card h3 {
    color: var(--white);
}

.cta-card h3 i {
    color: var(--white);
}

.cta-card p {
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 0.75rem;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.625rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.quick-links a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.quick-links i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

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

.text-muted {
    color: var(--text-light);
}

/* Responsive - Supporters & Profiles */
@media (max-width: 992px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    
    .supporters-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .supporters-hero {
        padding: 60px 0 40px;
    }
    
    .supporters-hero-content h1 {
        font-size: 2rem;
    }
    
    .supporters-hero-content p {
        font-size: 1rem;
    }
    
    .profile-header {
        padding: 40px 0;
    }
    
    .profile-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-header-info h1 {
        font-size: 2rem;
    }
    
    .profile-meta {
        justify-content: center;
    }
    
    .profile-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .supporters-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-avatar-large {
        width: 120px;
        height: 120px;
    }
    
    .avatar-placeholder-large {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .profile-header-info h1 {
        font-size: 1.75rem;
    }
    
    .profile-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

