/* Enhanced styles for SPAW website */


/* Additional styles for founder.html and index.html */

/* Hero buttons */
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.9) 0%, rgba(30, 64, 175, 0.95) 100%);
    color: white;
    padding: 4rem 0;
    margin: 3rem 0;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* Founder page specific styles */
.founder-subtitle {
    font-size: 1.5rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.founder-quote {
    background-color: rgba(29, 78, 216, 0.05);
    border-left: 4px solid #1d4ed8;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    display: flex;
    align-items: center;
    border-radius: 0.5rem;
}

.founder-quote svg {
    color: #1d4ed8;
    margin-right: 1rem;
    min-width: 24px;
}

.founder-quote p {
    font-size: 1.5rem;
    font-style: italic;
    color: #1e40af;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.founder-card {
    background-color: white;
}

.founder-vision {
    margin: 3rem 0;
}

.vision-statement {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.vision-statement p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-content {
        padding: 0 1rem;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .founder-quote {
        padding: 1rem;
    }
    
    .founder-quote p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}



/* Typography */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

/* Page banner */
.page-banner {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.9) 0%, rgba(30, 64, 175, 0.95) 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease-out;
}

.page-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out;
}

/* Section headers with dividers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #1d4ed8;
}

.section-divider {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, #1d4ed8, #e11d48);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Active navigation styles */
.nav-list a.active {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Improved card styling */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.card-content {
    padding: 2rem;
}

.card-title {
    color: #1d4ed8;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.card-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(29, 78, 216, 0.1);
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    z-index: 0;
}

/* Mission and focus cards */
.mission-card, .focus-card {
    position: relative;
    z-index: 1;
}

.mission-card .card-content, .focus-card .card-content {
    position: relative;
    z-index: 2;
}

/* Image container styling */
.image-container {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.image-container img {
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

/* Reveal animations */
.reveal-left {
    animation: slideInLeft 1s ease-out;
}

.reveal-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

/* About cards */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.about-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.about-card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(29, 78, 216, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.about-card-icon svg {
    color: #1d4ed8;
    width: 30px;
    height: 30px;
}

.about-card h3 {
    color: #1d4ed8;
    margin-bottom: 1rem;
}

/* Better list styling */
.goals-list {
    padding-left: 0;
    list-style-type: none;
}

.goals-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.goals-list li::before {
    content: "✓";
    color: #1d4ed8;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Button container for better spacing */
.btn-container, .contact-btn-container {
    margin-top: 1.5rem;
    text-align: center;
}

/* About intro paragraph */
.about-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Stats section */
.stats-section {
    background-color: #f8fafc;
    padding: 4rem 0;
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
}

/* Values and Vision section */
.values-vision-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.values-card, .vision-card {
    height: 100%;
}

.vision-image {
    margin-top: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.vision-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

/* Enhanced footer */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    padding: 4rem 0 2rem;
}

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

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

.footer-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid white;
    padding: 2px;
    background-color: white;
}

.footer-logo h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

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

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #1d4ed8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #1e40af;
    transform: translateY(-5px);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

/* Donate button styles */
.donate-btn {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

/* Contact cards */
.contact-card {
    text-align: center;
    padding: 2rem;
}

.contact-card h3 {
    margin-bottom: 1.5rem;
    color: #1d4ed8;
}

.contact-card p {
    margin-bottom: 1.5rem;
}

/* Modal improvements */
.modal-content {
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
}

.modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: #1d4ed8;
}

.close-btn {
    font-size: 1.5rem;
    color: #64748b;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #1d4ed8;
}

/* Form styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #334155;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

/* Improved responsive styles */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .image-container {
        height: 250px;
    }
    
    .about-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .goals-list li {
        margin-bottom: 0.5rem;
    }
    
    /* Fix dropdown on mobile */
    .dropdown-content.show {
        background-color: rgba(29, 78, 216, 0.95);
        padding: 0.75rem;
        border-radius: 0.5rem;
    }
    
    /* Improve spacing in contact section */
    .contact-content > div {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .footer-content {
        text-align: center;
    }
}

/* Fix for very small screens */
@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .image-container {
        height: 200px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .about-card-icon {
        width: 50px;
        height: 50px;
    }
    
    .about-card-icon svg {
        width: 25px;
        height: 25px;
    }
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Improved focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #1d4ed8;
    outline-offset: 2px;
}