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



/* Hide mobile navigation elements by default */
.mobile-donate,
.mobile-social {
    display: none;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: none;
}

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

.nav-container > * {
    flex: 1;
}

.nav-container .nav-logo {
    flex: 0 0 auto;
}

.nav-logo a {
    text-decoration: none;
    display: block;
}

.nav-container .nav-menu {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 2rem;
}

.header-logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #41b6e6;
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: #cc0000;
    background-color: #fff5f5;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
}

.btn-donate {
    background: #41b6e6;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-donate:hover {
    background: #2a9fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(65, 182, 230, 0.3);
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 120px;
}

.social-icon {
    color: #41b6e6;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icon:hover {
    color: #cc0000;
    background: #fff5f5;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 20px;
    justify-content: space-between;
}

.bar {
    width: 30px;
    height: 4px;
    background-color: #41b6e6;
    margin: 0;
    transition: 0.3s;
    border-radius: 2px;
}

.bar:nth-child(2) {
    background: transparent;
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 8px;
    font-size: 7px;
    color: #cc0000;
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1;
    width: 30px;
}

/* Hero Section */
.hero {
    background: white;
    color: #4a5568;
    padding: 20px 0 20px;
    margin-top: 0;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.hero-content {
    padding: 0 20px 0 90px;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #41b6e6;
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #4a5568;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-signup-form {
    max-width: 400px;
}

.priorities-inline {
    margin-top: 3rem;
    padding-top: 2rem;
}

.priorities-inline .hero-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #41b6e6;
}

.priorities-inline .priorities-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.priorities-inline .priority-item {
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: white;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.priorities-inline .priority-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.priority-content {
    flex: 1;
}

.priority-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.priority-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #666;
}

.see-more-priorities {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border: 2px solid #41b6e6;
    border-radius: 8px;
    color: #41b6e6;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.see-more-priorities:hover {
    background: #41b6e6;
    color: white;
    transform: translateY(-1px);
}

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

.hero-signup-form .form-group {
    margin-bottom: 0;
}

.hero-signup-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #41b6e6;
    border-radius: 8px;
    font-size: 1rem;
    background: transparent;
    color: #4a5568;
    transition: all 0.3s ease;
}

.hero-signup-form input::placeholder {
    color: rgba(74, 85, 104, 0.6);
}

.hero-signup-form input:focus {
    outline: none;
    border-color: #41b6e6;
    background: rgba(65, 182, 230, 0.1);
}

.consent-text {
    font-size: 0.6rem;
    color: rgba(74, 85, 104, 0.8);
    margin: 1.5rem 0;
    line-height: 1.4;
}

/* Field validation styles */
.field-error {
    color: #e53e3e;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
    width: 100%;
    line-height: 1.2;
    clear: both;
}

.error-field {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 1px #e53e3e !important;
}

/* Ensure form groups have proper spacing for error messages */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Make sure error messages don't break layout */
.form-row .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* Ensure form rows stack properly */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Make sure each form group in a row takes full width for error messages */
.form-row .form-group {
    display: flex;
    flex-direction: column;
}

.btn-signup {
    background: #41b6e6;
    color: white;
    padding: 14px 32px;
    border: 2px solid #41b6e6;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
}

.btn-signup:hover {
    background: #2a9fd8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.family-picture {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto;
    transform: translateX(50px);
    opacity: 0;
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}

.family-picture.slide-in {
    transform: translateX(0);
    opacity: 1;
}

/* Ensure the hero-image container doesn't hide the photo */
.hero-image {
    overflow: visible;
    width: 100%;
    position: relative;
}

/* Make sure the hero section allows overflow */
.hero {
    overflow: visible;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: #cc0000;
}

.btn-primary:hover {
    background: #f8f9fa;
    color: #cc0000;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #41b6e6;
    border: 2px solid #41b6e6;
}

.btn-secondary:hover {
    background: #41b6e6;
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* About Section */
.about {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: visible;
    padding-top: 0px;
}

.about-background {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    z-index: 1;
}

.about-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}


.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.about-content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.about-title-right {
    text-align: left;
    max-width: 400px;
    position: absolute !important;
    bottom: 0px !important;
    right: 50px !important;
    z-index: 1000;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.about-title-right.slide-in {
    transform: translateX(0);
    opacity: 1;
}


.about-text h2 {
    font-size: 5rem;
    color: white;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-text h2.hero-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-title-right .section-title {
    font-size: 2.1rem;
    color: #dc2626;
    font-weight: 600;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.about-title-right .hero-title {
    font-size: 7rem;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.campaign-logo-text {
    text-align: center;
    background: transparent;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.logo-stars {
    color: #dc2626;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    text-shadow: none;
}

.logo-name {
    color: #41b6e6;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: none;
    line-height: 1;
}

.logo-title {
    color: #dc2626;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0.2rem;
    text-shadow: none;
}

.about-signup-form {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.93);
    padding: 1.5rem;
    border-radius: 8px 8px 0 0;
    max-width: 400px;
}

/* Scale down about form for smaller screens */
@media (max-height: 700px) {
    .about-signup-form {
        transform: scale(0.9);
        transform-origin: center bottom;
    }
}

@media (max-height: 600px) {
    .about-signup-form {
        transform: scale(0.8);
        transform-origin: center bottom;
    }
}

@media (max-height: 500px) {
    .about-signup-form {
        transform: scale(0.7);
        transform-origin: center bottom;
    }
}

.signup-tagline {
    color: #333;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Ensure button and input field are vertically aligned */
.form-row .form-group {
    display: flex;
    align-items: center;
}

.form-row .form-group button {
    height: 48px;
    margin: 0;
}

/* Modern notification system */
.modern-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
}

.modern-notification-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.modern-notification-success {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
}

.modern-notification-info {
    background: #eef;
    border: 1px solid #ccf;
    color: #33c;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 8px;
}

.notification-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    opacity: 1;
}

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

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Joe's Story Section */
.joe-story {
    background: white;
    color: #4a5568;
    padding: 80px 0;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.story-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.7;
    font-weight: 400;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(65, 182, 230, 0.2);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #cc0000;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #4a5568;
    font-size: 1rem;
    font-weight: 500;
}

.profile-picture {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    object-fit: cover;
    display: block;
    margin: 0 auto;
    margin-top: 6rem;
}

/* Campaign Logo */
.campaign-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}





/* Priorities Section */
.priorities {
    padding: 80px 0;
}

.priorities h2 {
    text-align: center;
    font-size: 2rem;
    color: #41b6e6;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.priorities h2.hero-title {
    color: #41b6e6;
}

.priorities-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.priority-item {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.priority-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.priority-icon {
    width: 50px;
    height: 50px;
    background: #fff5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #cc0000;
    flex-shrink: 0;
}

.priority-item h3 {
    color: #41b6e6;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    margin: 0;
}

.priority-link {
    color: #41b6e6;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.priority-link:hover {
    color: #cc0000;
}

/* Page Header */
.page-header {
    background: #41b6e6;
    color: white;
    padding: 120px 0 60px;
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Issues Section */
.issues {
    padding: 80px 0;
    background: #f7fafc;
}

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

.issue-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.issue-header {
    background: #41b6e6;
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 120px;
}

.issue-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.issue-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}

.issue-content {
    padding: 2rem;
}

.issue-content h3 {
    color: #41b6e6;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.issue-content h4 {
    color: #cc0000;
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
}

.issue-content p {
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.issue-content ul {
    list-style: none;
    padding-left: 0;
}

.issue-content li {
    color: #4a5568;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.issue-content li:before {
    content: "•";
    color: #cc0000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Volunteer Form Section */
.volunteer-form-section {
    padding: 80px 0;
    background: #f7fafc;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.form-intro h2 {
    color: #41b6e6;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.form-intro p {
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.volunteer-opportunities h3 {
    color: #41b6e6;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-transform: uppercase;
}

.volunteer-opportunities ul {
    list-style: none;
    padding-left: 0;
}

.volunteer-opportunities li {
    color: #4a5568;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.volunteer-opportunities li i {
    color: #41b6e6;
    position: absolute;
    left: 0;
    width: 1rem;
}

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

.volunteer-form h3 {
    color: #41b6e6;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    text-transform: uppercase;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #41b6e6;
    font-weight: 500;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #41b6e6;
}

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

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
}

.checkbox-item label {
    margin-bottom: 0;
    font-weight: 400;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    margin: 0 20px;
}

.success-content i {
    font-size: 3rem;
    color: #48bb78;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-content p {
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Call to Action */
.cta {
    background: #cc0000;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

/* Footer */
.footer {
    background: #41b6e6;
    color: white;
    padding: 60px 0 20px;
}

.footer .container {
    padding: 0 40px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: white;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-section p a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: #ffffff;
}

.footer-section .btn-donate {
    display: inline-block;
    background: #ffffff;
    color: #41b6e6;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.footer-section .btn-donate:hover {
    background: #f7fafc;
    transform: translateY(-1px);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    column-gap: 1rem;
    row-gap: 0.2rem;
    margin-top: 1rem;
    justify-items: start;
    width: fit-content;
    margin-left: 0;
    padding-left: 0;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #41b6e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #2a9fd8;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
    color: white;
}

/* Digital Postcard Section */
.postcard-section {
    position: absolute;
    right: 100px;
    top: 80%;
    width: 400px;
    z-index: 5;
    margin-top: 10px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.postcard-container {
    position: relative;
    width: 100%;
}

.postcard-question {
    text-align: center;
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.3;
    max-width: 500px;
}

.postcard {
    background: white;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    transform: rotate(-2deg);
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.postcard:hover {
    transform: rotate(-1deg) translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.25), 0 8px 20px rgba(0,0,0,0.15);
}

.postcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #41b6e6 0%, #2a9fd8 50%, #41b6e6 100%);
    border-radius: 8px 8px 0 0;
}

.postcard::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: #e2e8f0;
    border-radius: 50%;
    border: 2px solid #cbd5e0;
}

.postcard-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}


.postcard-header h4 {
    color: #41b6e6;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

.postcard-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.postcard-field {
    position: relative;
}

.postcard-field input,
.postcard-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: 'Courier New', monospace;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.postcard-field input:focus,
.postcard-field textarea:focus {
    outline: none;
    border-color: #41b6e6;
    background: white;
    box-shadow: 0 0 0 3px rgba(65, 182, 230, 0.1);
}

.postcard-field textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.postcard-send-btn {
    background: linear-gradient(135deg, #41b6e6 0%, #2a9fd8 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.postcard-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65, 182, 230, 0.3);
}

.postcard-send-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.postcard-send-btn:hover .btn-icon {
    transform: scale(1.2);
}


/* Animation states */
.postcard.sending {
    animation: float-to-mailbox 2s ease-in-out forwards;
}

@keyframes float-to-mailbox {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateX(200px) translateY(-50px) rotate(10deg);
        opacity: 0.8;
    }
    100% {
        transform: translateX(300px) translateY(-100px) rotate(20deg);
        opacity: 0;
    }
}

.mailbox.receiving {
    animation: mailbox-bounce 1s ease-in-out;
    opacity: 1;
}

@keyframes mailbox-bounce {
    0%, 100% { transform: translateY(-50%) scale(1); }
    25% { transform: translateY(-60%) scale(1.1); }
    50% { transform: translateY(-40%) scale(1.2); }
    75% { transform: translateY(-55%) scale(1.05); }
}

.success-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 20;
    max-width: 400px;
    border: 3px solid #10b981;
}

.success-message.show {
    opacity: 1;
    visibility: visible;
    animation: success-pop 0.6s ease-out;
}

@keyframes success-pop {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.success-content {
    position: relative;
}

/* Donation Popup Styles */
.donation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.donation-popup.show {
    opacity: 1;
    visibility: visible;
}

.donation-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.donation-popup.show .donation-content {
    transform: scale(1);
}

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

.hearts-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.hearts-row i {
    font-size: 1.5rem;
    color: #cc0000;
}

.donation-header h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin: 0;
}

.donation-message {
    color: #4b5563;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.donation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-donate-amount {
    background: #cc0000;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-donate-amount:hover {
    background: #b30000;
    color: white;
}

.donation-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-donate-custom {
    background: #41b6e6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-donate-custom:hover {
    background: #2a9fd8;
    color: white;
}

.btn-secondary {
    background: #6b7280;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: #4b5563;
    color: white;
}

/* Mobile responsiveness for donation popup */
@media (max-width: 768px) {
    .donation-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .donation-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-donate-amount {
        width: 100%;
        padding: 1rem;
    }
    
    .donation-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-donate-custom,
    .btn-secondary {
        width: 100%;
        padding: 1rem;
    }
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: success-bounce 0.8s ease-out;
}

@keyframes success-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.success-content h4 {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.success-content p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .postcard-section {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 2rem;
        padding: 0 20px;
    }
    
    .postcard-question {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    
    .postcard {
        margin: 0 auto;
        padding: 1.5rem;
        max-width: 400px;
    }
    
    .mailbox {
        display: none;
    }
    
    .postcard.sending {
        animation: float-to-mailbox-mobile 2s ease-in-out forwards;
    }
    
    @keyframes float-to-mailbox-mobile {
        0% {
            transform: translateX(0) translateY(0) rotate(0deg);
            opacity: 1;
        }
        50% {
            transform: translateX(100px) translateY(-30px) rotate(5deg);
            opacity: 0.8;
        }
        100% {
            transform: translateX(200px) translateY(-60px) rotate(10deg);
            opacity: 0;
        }
    }
}

/* Mobile/Desktop visibility controls */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* Mobile screens - photo embedded in text */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .about-content {
        display: block;
        max-width: 95%;
        margin: 0 auto;
    }
    
    .about-text .profile-picture {
        margin: 1.5rem auto;
        display: block;
        max-width: 450px;
    }
}

/* Medium screens - desktop layout with photo on right */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
    
    .about-content {
        display: grid;
        grid-template-columns: 1fr 0.8fr;
        gap: 3rem;
        align-items: start;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
    
    .profile-picture {
        max-width: 450px;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        margin-left: 0;
        overflow-x: hidden;
        transform: translateX(100%);
        left: 0;
    }
    
    .nav-menu .mobile-donate {
        margin: 1.5rem 0;
    }
    
    .nav-menu .mobile-donate .btn-donate {
        background: #41b6e6;
        color: white;
        padding: 12px 24px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        display: inline-block;
        transition: background-color 0.3s ease;
    }
    
    .nav-menu .mobile-donate .btn-donate:hover {
        background: #3590b3;
    }
    
    .nav-menu .mobile-social {
        margin: 1.5rem 0;
        list-style: none;
        padding: 0;
        text-align: center;
    }
    
    .nav-menu .mobile-social .social-icons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-top: 1rem;
        width: 100%;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
        justify-items: center;
        justify-content: center;
        padding: 0 2rem;
        box-sizing: border-box;
    }
    
    .nav-menu .mobile-social .social-icon {
        color: #41b6e6;
        font-size: 1.2rem;
        text-decoration: none;
        transition: color 0.3s ease;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    
    .nav-menu .mobile-social .social-icon:hover {
        color: #cc0000;
        background: #fff5f5;
    }
    


    .nav-menu.active {
        right: 0;
        left: 0;
        overflow-x: visible;
        transform: translateX(0);
        width: 100vw;
        min-width: 100vw;
        right: -50px;
    }
    
    .nav-menu.active .mobile-donate,
    .nav-menu.active .mobile-social {
        display: block;
    }

    .nav-actions {
        display: none;
    }
    
    .nav-container {
        justify-content: space-between;
        position: relative;
    }
    
    .nav-logo {
        order: 1;
    }
    
    .nav-menu {
        order: 2;
    }

    .social-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
        width: 100px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
        padding: 0 20px;
    }

    .hero-signup-form {
        max-width: 100%;
    }

    .hero-signup-form .form-row {
        grid-template-columns: 1fr;
    }

    .family-picture {
        max-width: 80%;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 95%;
        margin: 0 auto;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .priorities-list {
        gap: 0.8rem;
        margin-top: 2rem;
    }
    
    .priority-item {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }
    
    .priority-item h3 {
        font-size: 1rem;
    }

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

    .form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .page-header h1 {
        font-size: 2rem;
    }

    .about-text h2,
    .priorities h2,
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Mobile form section - hidden by default */
.mobile-form-section {
    display: none;
}

/* Mobile layout - photo on top, form below */
@media (max-width: 765px) {
    .about {
        min-height: auto;
        padding: 0px;
        display: block;
    }
    
    .about-background {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 50vh;
        z-index: 1;
        margin-top: 70px;
    }
    
    .about-bg-image {
        object-position: center top;
        height: 100%;
        width: 100%;
        display: block;
    }
    
    .about-overlay {
        display: none;
    }
    
    .mobile-form-section {
        display: block !important;
        background: white;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-top: 0;
        text-align: center;
        position: relative;
        z-index: 2;
    }
    
    
    .mobile-form-section .campaign-logo-text {
        margin-bottom: 1.5rem;
    }
    
    .mobile-form-section .signup-tagline {
        color: #333;
        font-size: 1rem;
        margin-bottom: 1rem;
        text-align: center;
        font-weight: 500;
    }
}

/* CRITICAL: Responsive adjustments for about section background - must be at end */
@media (max-width: 1024px) {
    .about {
        padding-top: 0px !important;
    }
    
    .about-title-right {
        right: 50px !important;
        bottom: 0px !important;
    }
}

@media (max-width: 768px) and (min-width: 766px) {
    .about {
        padding-top: 0px !important;
    }
    
    .about-title-right {
        right: 50px !important;
        bottom: 0px !important;
    }
}


@media (max-width: 480px) and (min-width: 766px) {
    .about {
        padding-top: 0px !important;
    }
    
    .about-title-right {
        right: 50px !important;
        bottom: 0px !important;
    }
}

@media (max-width: 360px) and (min-width: 766px) {
    .about {
        padding-top: 0px !important;
    }
    
    .about-title-right {
        right: 50px !important;
        bottom: 0px !important;
    }
} 