/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');




/* Introduction Section */
.introduction {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px; /* Adjust padding as needed */
  }
  
  .introduction .container {
    max-width: 900px; /* Optional: Adjust based on your design */
    width: 100%;
  }
  
  .introduction h2 {
    margin-bottom: 20px;
  }
  
  .introduction p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .introduction .cta-button {
    padding: 10px 20px;
    background-color: #007bff; /* Change button color as needed */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .introduction .cta-button:hover {
    background-color: #0056b3; /* Change hover color as needed */
  }
  
.fam_home{
    background: linear-gradient(rgba(27, 42, 78, 0.7), rgba(27, 42, 78, 0.7)), url('/static/images/famplan.png') no-repeat center center/cover;
}
/* Hero Section */
#home {
    background: linear-gradient(rgba(27, 42, 78, 0.7), rgba(27, 42, 78, 0.7)), url('/static/images/mom-child.png') no-repeat center center/cover;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

#home h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

#home p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 20px;
}





/* Sections */
.section {
    padding: 80px 0;
    text-align: center;
    background: white;
}

.section h2 {
    font-size: 2.5rem;
    color: #1b2a4e;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.value-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.2);
}

.value-card h3 {
    color: #004080;
    font-size: 1.6rem;
    margin-bottom: 10px;
}


/* Our Impact Section */
#our-impact {
    background: #f9f9f9;
    padding: 80px 20px;
}

#our-impact .container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

#our-impact h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1b2a4e;
    margin-bottom: 20px;
}

#our-impact p {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Two-Column Grid */
#impact-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    margin-top: 30px;
}

#impact-columns div {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#impact-columns div:hover {
    transform: translateY(-5px);
}

#impact-columns h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Styled List Items */
#impact-columns ul {
    list-style: none;
    padding: 0;
}

#impact-columns ul li {
    font-size: 1.2rem;
    padding: 12px 20px;
    border-left: 5px solid #004080;
    border-radius: 8px;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    #impact-columns {
        grid-template-columns: 1fr;
    }
}

/* Programs Section */
#programs {
    background: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

#programs .content {
    max-width: 1100px;
    margin: 0 auto;
}

#programs h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1b2a4e;
    margin-bottom: 20px;
}

#programs p {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Program Grid Layout */
.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

/* Program Card Styles */
.program-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: left;
}

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

.program-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Styled Bullet Points */
.program-card ul {
    list-style: none;
    padding: 0;
}

.program-card ul li {
    font-size: 1.2rem;
    padding: 12px 20px;
    border-left: 5px solid #004080;
    border-radius: 8px;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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



/* Join Options Grid */


.section-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px;
}
.join-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 30px;
}

/* Option Cards */
.option {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

/* Option Icons */
.icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Option Titles */
.option h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin-bottom: 10px;
}

/* Option Text */
.option p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

/* Call-to-Action Buttons */
.cta-button {
    display: inline-block;
    background: #2980b9;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #1f618d;
}

/* WhatsApp Button */
.whatsapp-button {
    display: inline-block;
    font-size: 1rem;
    background: #054c8f;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.whatsapp-button:hover {
    background: #054c8f;
}



/* Resource Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Resource Cards */
.resource-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

/* Card Icon */
.card-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Card Title */
.resource-card h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin-bottom: 10px;
}

/* Card Description */
.resource-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

/* Read More Button */
.read-more {
    display: inline-block;
    font-size: 0.9rem;
    color: #2980b9;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1f618d;
}
/* General Section Styling */


/* General Section Styling */
#contact {
    padding: 60px 0;
    background-color: #f9f9f9;
}

#contact .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

#contact h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

#contact p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* Contact Container */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Contact Form Styling */
.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f8f8f8;
    color: #333;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    padding: 12px;
    background-color: #5c9e2e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #4b7a1f;
}

/* Responsive Design */
@media (max-width: 768px) {
    #contact h2 {
        font-size: 28px;
    }

    #contact p {
        font-size: 16px;
    }

    .contact-container {
        justify-content: center;
    }

    .contact-form {
        padding: 20px;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    #home h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 50px 20px;
    }

    .navbar-nav {
        text-align: center;
    }
}


/* Centering & Styling the Section */
#family-planning-impact {
    background: #f8f9fa;
    padding: 50px 20px;
    text-align: center;
    color: #2c3e50;
    max-width: 900px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Section Headers */
#family-planning-impact h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2980b9;
    margin-bottom: 10px;
}

#family-planning-impact p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 750px;
}

/* Impact Section */
.impact-section {
    margin-top: 30px;
    text-align: center;
    width: 100%;
}

.impact-section h3 {
    font-size: 1.4rem;
    color: #27ae60;
    margin-bottom: 15px;
}

.impact-section ul {
    list-style: none;
    padding: 0;
    text-align: center;
    max-width: 750px;
    margin: auto;
}

.impact-section li {
    background: #ffffff;
    padding: 15px 18px;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    color: #444;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Call-to-Action */
.call-to-action {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.call-to-action h3 {
    font-size: 1.4rem;
    color: #d35400;
}


/* Responsive Design */
@media (max-width: 768px) {
    #family-planning-impact h2 {
        font-size: 1.6rem;
    }

    .impact-section h3,
    .call-to-action h3 {
        font-size: 1.2rem;
    }

    .impact-section li {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .cta-button {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
}