{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #333;
    background-color: #fff;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 60px;
    margin-right: 15px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #173f33d3;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #E6A400;
}

/* HERO SECTION */
.hero {
    background: url('image/images/sisters.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffffa1;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-text {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.5s ease-out;
}

.hero-text h2 {
    font-size: 3em;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    background-color: #00563F;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background-color: #E6A400;
}

/* ABOUT SECTION */
.about {
    padding: 80px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about img {
    width: 1000px;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.about-text {
    max-width: 600px;
    
}

.about-text h2 {
    color: #00563F;
    margin-bottom: 20px;
}

/* MISSION SECTION */
.mission {
    padding: 80px 10%;
    text-align: center;
}

.mission h2 {
    color: #00563F;
    margin-bottom: 10px;
}

.mission p {
    margin-bottom: 40px;
}


.mission-cards {
    display: grid;
    /* Creates 3 equal columns */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    /* Remove the fixed 300px width so cards stretch/shrink to fit the columns */
    width: 100%; 
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    /* Prevent cards from stretching too wide on massive screens */
    max-width: 400px; 
    /* Keep them centered if the container is wider than 3 max-width cards */
    justify-self: center; 
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Mobile Responsiveness: Stack them into 1 column on smaller screens */
@media (max-width: 768px) {
    .mission-cards {
        grid-template-columns: 1fr;
    }
}

/* PROGRAMS SECTION */
.programs {
    padding: 80px 10%;
    background-color: #f9f9f9;
    text-align: center;
}

.programs h2 {
    color: #00563F;
    margin-bottom: 30px;
}

.program-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.program {
    /* REMOVED: width: 300px; (Let Bootstrap columns handle the width!) */
    width: 100%; /* Ensures the card fills the Bootstrap column space */
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    
    /* OPTIONAL: This ensures that the images inside don't break the rounded corners */
    overflow: hidden; 
}

/* Optional: Clean styling for the images inside your program cards */
.program img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Keeps images from stretching or squeezing */
    border-radius: 4px; /* Optional: slightly rounds image corners to match the card */
}

/* CTA SECTION */
.cta {
    background-color: #00563F;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta .btn {
    background-color: #E6A400;
    margin-top: 20px;
}

/* CONTACT SECTION */
.contact-section {
  padding: 3em 0;
  background: #f4f1fa;
}

.contact-header {
  text-align: center;
  margin-bottom: 2em;
}

.animated-title {
  font-size: 2em;
  color: #00563F;
  animation: pulseText 3s infinite alternate;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  width: 90%;
  margin: auto;
}

/* FOOTER */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 70px;
}

.footer-links a {
    color: #E6A400;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    .about-content {
        flex-direction: column;
    }
    .mission-cards, .program-list {
        flex-direction: column;
    }
}
