/* Fonts */
.zain-extralight {
  font-family: "Zain", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.zain-light {
  font-family: "Zain", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.zain-regular {
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zain-bold {
  font-family: "Zain", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.zain-extrabold {
  font-family: "Zain", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.zain-black {
  font-family: "Zain", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.zain-light-italic {
  font-family: "Zain", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.zain-regular-italic {
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-style: italic;
}


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

:root {
    --primary-color: #48B5FB;
    --secondary-color: #6CDEE5;
    --accent-color: #F17532;
    --accent-yellow: #F7C762;
    --bg-beige: #E8DEBC;
    --text-dark: #1A202C;
    --text-light: #718096;
    --bg-light: #F7FAFC;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Zain', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1 {
    font-family: "Zain", sans-serif;
    font-weight: 800;
    font-style: normal;
}

h2 {
    font-family: "Zain", sans-serif;
    font-weight: 800;
    font-style: normal;
}

p {
    font-family: "Zain", sans-serif;
    font-weight: 400;
    font-style: normal;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.logo-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.donate-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(241, 117, 50, 0.3);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 117, 50, 0.4);
    background: #d6652a;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    font-family: 'Zain', sans-serif;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #2a9de8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: #5bc7cd;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-support {
    background: #F17532;
    color: var(--white);
}

.btn-support:hover {
    background: #d96a2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


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

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Mission Section */
.mission {
    background: white;
    color: var(--text-light);
    padding: 60px 20px;
    text-align: center;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.donate-section-header {
    
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--white);
}

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

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
    background: linear-gradient(160deg, var(--accent-color) 0%, var(--accent-yellow) 100%);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 1.5rem;
    color: white;
    font-weight: 500;
}

/* Initiatives Section */
.initiatives {
    padding: 100px 20px;
    background: var(--bg-beige);
}

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

.initiative-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

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

.initiative-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.initiative-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.initiative-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Impact Section */
.impact {
    padding: 100px 20px;
    background: var(--bg-beige);
}

.impact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.impact-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.impact-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.impact-content {
    padding: 30px;
}

.impact-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* Programs Section */
.programs {
    padding: 100px 20px;
    background: var(--white);
}

.calendar-section {
    margin-bottom: 80px;
    text-align: center;
}

.calendar-section h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.calendar-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.calendar-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.calendar-instructions {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 25px;
    background: var(--bg-beige);
    border-radius: 8px;
    text-align: left;
    border-left: 4px solid var(--accent-yellow);
}

.calendar-instructions p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.calendar-instructions ol {
    margin-left: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.calendar-instructions ol li {
    margin-bottom: 8px;
}

.calendar-instructions a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Upcoming Programs */
.upcoming-programs {

}

.upcoming-programs h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

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

.program-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.program-flyer {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.program-flyer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-flyer img {
    transform: scale(1.05);
}

.program-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.program-details {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-details h4 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.program-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.program-meta span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.program-details p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.program-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.program-highlights span {
    background: var(--bg-beige);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

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

/* Ongoing Programs */
.ongoing-programs h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

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

.ongoing-card {
    display: flex;
    flex-direction: column;
    min-height: 200px; /* Optional: set a minimum height if cards vary */

    background: var(--bg-beige);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ongoing-card > button.register-btn {
    margin-top: auto;
  align-self: stretch; /* Optional: makes button full-width */
}

.ongoing-card:hover {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: var(--shadow);
}

.ongoing-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.ongoing-card h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.ongoing-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.ongoing-status {
    display: inline-block;
    background: #D4EDDA;
    color: #155724;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Registration Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-close {
    color: var(--text-light);
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--text-dark);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2rem;
}

.modal-program-name {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 30px;
    display: block;
}

.checkbox-group label {
    display: flex;
    align-items: start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Get Involved Section */
.get-involved {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.involvement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.involvement-card {
    display: flex;
    flex-direction: column;
    min-height: 200px; /* Optional: set a minimum height if cards vary */

    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.involvement-card > a.btn {
  margin-top: auto;
  align-self: stretch; /* Optional: makes button full-width */
}

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

.involvement-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.involvement-card-icon {
    font-size: 4rem;
    margin-bottom: 25px;
}

.involvement-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.involvement-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Donate Section */
.donate {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.donate-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.donate h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.donate p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.donation-amounts {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.amount-btn {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    border-radius: 8px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.donation-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.donation-form form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

.donation-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: start;
}

.contact-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
}

.contact-form-wrapper {
    background: var(--bg-beige);
    padding: 40px;
    border-radius: 12px;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--accent-yellow);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

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

.social-links {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

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

.footer-bottom p {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .ongoing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 10% auto;
    }

    .calendar-wrapper iframe {
        height: 500px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .donate-btn {
        display: none;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats {
        flex-direction: column;
    }

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

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

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

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

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

    .section-header h2,
    .mission h2,
    .impact h2 {
        font-size: 2rem;
        
    }

    .donation-amounts {
        flex-direction: column;
    }

    .amount-btn {
        width: 100%;
    }

    .logo-name {
        font-size: 0.95rem;
    }
}