/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header */
header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
    position: relative;
}

/* UPDATED LOGO STYLES */
.logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    margin-right: 10px; /* Add space between logo and text */
}

.logo .site-name {
    font-size: 1.5rem; /* Adjust size as needed */
    font-weight: bold;
    color: #551A8B; /* Match link color */
    white-space: nowrap;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav .nav-links li {
    margin-left: 20px;
}

.main-nav .nav-links a {
    text-decoration: none;
    color: #551A8B;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-nav .nav-links a:hover {
    color: #333;
}

.hamburger {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    font-size: 24px;
    color: #551A8B;
}

/* --- SLIDER STYLES --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.slide-content {
    position: relative;
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 3;
}

.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }


/* --- UPDATED BUTTON STYLES --- */
.btn {
    display: inline-block;
    background: #FFD700; /* Yellow button */
    color: #333;
    padding: 12px 25px;
    text-decoration: none;
    border: none;
    border-radius: 50px; /* Rounded pill shape */
    margin-top: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #ffca00; /* Slightly darker yellow on hover */
}

.btn-secondary {
    display: inline-block;
    background: #fff;
    color: #551A8B;
    padding: 10px 25px;
    text-decoration: none;
    border: 2px solid #551A8B;
    border-radius: 50px; /* Rounded pill shape */
    margin-top: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #551A8B;
    color: #fff;
    transform: translateY(-3px);
}

/* --- Other styles remain the same --- */
.intro-section { background: #551A8B; color: white; text-align: center; padding: 40px 0; }
.intro-section p { font-size: 1.2rem; max-width: 800px; margin: auto; }
.latest-news { padding: 40px 0; text-align: center; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 20px; }
.news-item { background: #f4f4f4; border: 1px solid #ddd; }
.news-item img { width: 100%; height: auto; }
.news-content { padding: 15px; text-align: left; }
.services-cta .container { display: flex; gap: 20px; }
.cta-box { padding: 30px; flex: 1; color: white; }
.consulting-cta { background: #008080; }
.careers-cta { background: #551A8B; }
.pact-in-numbers { padding: 40px 0; text-align: center; background-color: #f9f9f9; }
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.number-item i { color: #008080; }
.number-item h3 { font-size: 2rem; color: #551A8B; margin: 10px 0; }
.pact-in-numbers.bg-dark { color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); }
.pact-in-numbers.bg-dark h2 { color: #fff; }
.pact-in-numbers.bg-dark .number-item i, .pact-in-numbers.bg-dark .number-item h3 { color: #fff; }
.where-we-work { padding: 40px 0; text-align: center; }
.promises-kept { padding: 80px 0; color: white; text-align: center; }
footer { background: #551A8B; color: white; padding: 40px 0; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; width: 90%; margin: auto; }
.footer-column { flex: 1; min-width: 200px; margin: 10px; }
.footer-column h4 { border-bottom: 2px solid #FFD700; padding-bottom: 10px; margin-bottom: 15px; }
.newsletter-form input { width: 70%; padding: 10px; border: none; border-radius: 5px 0 0 5px; }
.newsletter-form button { padding: 10px; background: #FFD700; border: none; cursor: pointer; border-radius: 0 5px 5px 0; }
.footer-links { list-style: none; padding: 0; }
.footer-links a { color: white; text-decoration: none; display: block; margin-bottom: 10px; }
.social-icons a { color: white; margin-right: 15px; font-size: 1.5rem; }
.footer-logo { max-width: 250px; }
.copyright { margin-top: 20px; font-size: 0.9rem; }
.page-content { padding: 40px 0; }
.contact-form { margin-top: 20px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 5px; }
.alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; }
.alert-success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.alert-danger { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }
.news-listing-container { margin-top: 30px; }
.news-grid-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.05); display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.news-card-content h2 { font-size: 1.25rem; margin-top: 0; color: #333; }
.news-card-content .news-date { font-size: 0.85rem; color: #888; margin-bottom: 15px; }
.news-card-content p { flex-grow: 1; color: #555; }
.btn-read-more { display: inline-block; background: #551A8B; color: #fff; padding: 8px 15px; text-decoration: none; border-radius: 50px; margin-top: 15px; align-self: flex-start; font-weight: bold; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-read-more:hover { background: #fff; color: #551A8B; border: 2px solid #551A8B; }
.article-container { max-width: 800px; margin: 40px auto; }
.article-header { text-align: center; margin-bottom: 30px; }
.article-header h1 { font-size: 2.5rem; color: #2c3e50; }
.article-meta { color: #7f8c8d; font-style: italic; }
.article-image { width: 100%; height: auto; max-height: 400px; object-fit: cover; border-radius: 8px; margin-bottom: 30px; }
.article-content { font-size: 1.1rem; line-height: 1.8; color: #34495e; }
.back-to-news { display: inline-block; margin-top: 40px; color: #551A8B; text-decoration: none; font-weight: bold; }
.back-to-news:hover { text-decoration: underline; }
.about-hero { height: 40vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: white; text-align: center; position: relative; }
.about-hero-content { background: rgba(85, 26, 139, 0.7); padding: 2rem 4rem; }
.about-hero-content h1 { font-size: 3rem; margin: 0; }
.purple-banner { background: #551A8B; color: white; padding: 2rem 0; text-align: center; }
.purple-banner p { max-width: 800px; margin: 0 auto; font-size: 1.1rem; }
.about-section { padding: 40px 0; }
.about-section h2 { font-size: 2.2rem; margin-bottom: 20px; color: #333; }
.two-column-layout { display: flex; gap: 40px; align-items: center; margin-bottom: 40px; }
.two-column-layout.reverse { flex-direction: row-reverse; }
.column-text { flex: 1; }
.column-image { flex: 1; }
.column-image img { width: 100%; height: auto; border-radius: 8px; }
.reverse-background { background-color: #f9f9f9; border-radius: 8px; }
.aims-section { padding: 60px 0; background-color: #f9f9f9; border-radius: 8px; }
.aims-list { list-style-type: decimal; padding-left: 20px; max-width: 800px; margin: 0 auto; }
.aims-list li { font-size: 1.1rem; margin-bottom: 15px; padding-left: 10px; }
.core-values-section { padding: 60px 0; }
.core-values-section h3 { font-size: 1.5rem; color: #551A8B; border-bottom: 2px solid #551A8B; padding-bottom: 10px; margin-bottom: 20px; }
.core-values-section ul { list-style: none; padding: 0; }
.core-values-section ul li { font-size: 1.1rem; margin-bottom: 10px; display: flex; align-items: flex-start; }
.core-values-section ul li i { color: #008080; margin-right: 10px; margin-top: 5px; }
.trustees-section { padding: 60px 0; background-color: #f9f9f9; border-radius: 8px; }
.trustees-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; text-align: center; }
.trustee-member { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.trustee-member i { font-size: 2.5rem; color: #551A8B; margin-bottom: 15px; }
.trustee-member h4 { font-size: 1.1rem; margin: 0; color: #333; }
.what-we-do-title { font-size: 4rem; text-align: center; color: #f0f0f0; position: relative; margin-bottom: -2.5rem; }
.what-we-do-title span { font-weight: bold; color: #e0e0e0; }
.section-title h2 { position: relative; z-index: 2; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.service-card { position: relative; color: white; min-height: 300px; background-size: cover; background-position: center; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-10px); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.85) 20%, rgba(0,0,0,0) 100%); z-index: 1; }
.service-card-content { position: relative; z-index: 2; }
.service-card h3 { font-size: 1.8rem; margin-bottom: 10px; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); }
.service-card p { font-size: 1rem; line-height: 1.5; }
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-top: 30px; }
.gallery-item { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); aspect-ratio: 1 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.gallery-item a:hover img { transform: scale(1.05); }
.lightbox-overlay { position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); display: none; justify-content: center; align-items: center; }
.lightbox-content { max-width: 90%; max-height: 80%; border-radius: 5px; }
.lightbox-close { position: absolute; top: 20px; right: 35px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; }
#lightbox-caption { margin-top: 15px; color: #ccc; text-align: center; font-size: 1.1rem; }
.program-hero { height: 50vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: white; text-align: center; }
.program-hero-content { background: rgba(0,0,0,0.5); padding: 2rem 4rem; border-radius: 8px; }
.program-hero h1 { font-size: 3rem; }
.procedure-list { list-style: none; padding: 0; }
.procedure-list li { font-size: 1.2rem; margin-bottom: 10px; display: flex; align-items: center; }
.procedure-list i { color: #008080; margin-right: 10px; }
.program-description { padding: 40px; background: #f9f9f9; border-radius: 8px; margin: 40px 0; }
.learning-outcomes { padding: 60px 0; background-size: cover; background-position: center; color: white; }
.learning-outcomes .container { background: rgba(0,0,0,0.6); padding: 30px; border-radius: 8px; }
.learning-outcomes h2 { text-align: center; }
.learning-outcomes ul { list-style: disc; padding-left: 20px; }
.program-details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 40px 0; }
.detail-card { display: flex; align-items: center; background: #f9f9f9; padding: 20px; border-radius: 8px; border-left: 5px solid #551A8B; }
.detail-card i { font-size: 2.5rem; color: #551A8B; margin-right: 20px; }
.detail-card h4 { margin: 0 0 5px 0; }
.admission-info { padding: 60px 0; background-size: cover; background-position: center; color: white; text-align: center; }
.admission-info .container { background: rgba(0,0,0,0.6); padding: 40px; border-radius: 8px; }
.facilitators-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.facilitator-card { text-align: center; }
.facilitator-card img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; }
.facilitator-card h4 { margin-bottom: 5px; }
.facilitator-card p { font-size: 0.9rem; color: #777; }
.payment-details { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; padding: 20px; margin: 30px auto; max-width: 500px; }
.payment-details h4 { margin-top: 0; font-size: 1.2rem; color: #FFD700; }
.payment-details p { margin: 5px 0; font-size: 1.1rem; }

@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    .main-nav { position: static; }
    .main-nav .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: white; flex-direction: column; box-shadow: 0 8px 16px rgba(0,0,0,0.1); z-index: 999; border-top: 1px solid #eee; }
    .main-nav .nav-links.active { display: flex; }
    .main-nav .nav-links li { margin: 0; width: 100%; }
    .main-nav .nav-links li a { display: block; padding: 1rem; text-align: center; width: 100%; border-bottom: 1px solid #f0f0f0; }
    .hero-content { max-width: 90%; }
    .services-cta .container, .numbers-grid { flex-direction: column; }
    .footer-container { flex-direction: column; align-items: center; text-align: center; }
    .about-hero-content h1 { font-size: 2rem; }
    .about-hero-content { padding: 1.5rem 2rem; }
    .two-column-layout, .two-column-layout.reverse { flex-direction: column; }
    .approach-content { max-width: 100%; }
    .info-box { flex-basis: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .services-grid { grid-template-columns: 1fr; }
    .facilitators-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .info-box { flex-basis: 100%; }
}



.newsletter-message {
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    font-weight: bold;
}

.newsletter-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}