/* CSS Variables & Reset */
:root {
    --primary-color: #008080;
    /* Teal - associated with kidney awareness */
    --secondary-color: #20B2AA;
    /* Light Sea Green */
    --accent-color: #FF7F50;
    /* Coral - warm accent */
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.3);
}

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

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

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

.btn-white:hover {
    background-color: var(--light-color);
    transform: translateY(-2px);
}

.block-btn {
    width: 100%;
    text-align: center;
}

.center {
    text-align: center;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    line-height: 1;
}

.logo-sub {
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    font-weight: 400;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

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

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

.donate-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1532938911079-1b06ac7ceec7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0;
}

.page-hero {
    height: 50vh;
    min-height: 400px;
    background: url('https://images.unsplash.com/photo-1544367563-12123d8d3e66?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 80px;
    /* Offset for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.85), rgba(44, 62, 80, 0.75));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 650px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Section Common */
.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

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

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

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

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

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, var(--bg-light), #e0e0e0);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.image-placeholder i {
    font-size: 8rem;
    color: rgba(0, 128, 128, 0.1);
}

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

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

.values-list {
    margin-top: 1.5rem;
}

.values-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: start;
    gap: 10px;
}

.values-list i {
    color: var(--primary-color);
    margin-top: 5px;
}

/* Programs/Mission Section */
.programs {
    background-color: var(--bg-light);
}

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

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

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    position: relative;
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 50, 0.85);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

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

/* Donation Page Styles */
.donate-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.donate-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #eee;
}

.donate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.donate-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.donate-frequency {
    display: flex;
    background: var(--bg-light);
    padding: 4px;
    border-radius: 50px;
}

.freq-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.freq-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    padding: 15px;
    border: 2px solid #eee;
    background: var(--white);
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-color);
}

.amount-btn:hover {
    border-color: var(--primary-color);
}

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

.custom-amount {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-amount span {
    position: absolute;
    left: 15px;
    font-weight: 700;
    color: var(--text-light);
}

.custom-amount input {
    width: 100%;
    padding: 15px 15px 15px 30px;
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.custom-amount input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.impact-preview {
    background: linear-gradient(135deg, rgba(32, 178, 170, 0.1), rgba(0, 128, 128, 0.05));
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 2rem;
}

.impact-preview i {
    font-size: 2rem;
    color: var(--primary-color);
}

.impact-preview p {
    font-size: 0.95rem;
    color: var(--dark-color);
    margin-bottom: 0;
}

.payment-info h4 {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

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

.secure-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.donate-impact h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

.impact-intro {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.impact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.impact-item .impact-icon {
    width: 60px;
    height: 60px;
    background: rgba(32, 178, 170, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.impact-item .impact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.impact-details h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.impact-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.badge i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.badge span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 128, 128, 0.2);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

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

.copyright {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Animations */
.fade-in,
.fade-in-left,
.fade-in-right,
.fade-in-up {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.fade-in {
    transform: translateY(0);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.fade-in-up {
    transform: translateY(30px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 900px) {

    .about-grid,
    .contact-wrapper,
    .donate-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
        /* Hide for now, can implement slide out later */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        margin-bottom: 20px;
    }

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

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