:root {
    --muc-navy: #002147;
    --muc-gold: #f18f34;
    --muc-gray: #f8f9fa;
    --muc-green: #008000;
    --text-dark: #333333;
    --br-ss: 0.5rem;
    --br-se: 0.5rem;
    --br-es: 0.5rem;
    --br-ee: 0.5rem;
    --br-1: 0.5rem;
}

.text-just {
    text-align: justify;
    hyphens: auto;
    text-justify: inter-word;
    overflow-wrap: break-word;
}

.bg-black {
    background-color: black;
}

.bg-navy {
    background-color: var(--muc-navy);
}

.text-center {
    text-align: center;
}

.br-1 {
    border-radius: var(--br-1) !important;
}

.br-ss {
    border-start-start-radius: var(--br-ss) !important;
}

.br-se {
    border-start-end-radius: var(--br-se) !important;
}

.br-es {
    border-end-start-radius: var(--br-es) !important;
}

.br-ee {
    border-end-end-radius: var(--br-ee) !important;
}

body {
    font-family: 'Roboto', serif;
    color: var(--text-dark);
    line-height: 1.6;
}


/* Navbar */
.navbar {
    background-color: white;
    border-bottom: 1px solid #eee;
    padding: 0.4rem 0;
}

.navbar-brand {
    font-family: "Roboto", serif;
    font-weight: 700;
    color: var(--muc-navy) !important;
    font-weight: 600;
    font-size: 1.5rem;
    height: 50px;
    /* border: .2rem solid red; */
    position: relative;
}



@media (min-width: 768.1px) {
    .navbar-brand span {
        color: var(--muc-gold) !important;
        margin-left: 2rem;
    }

    .navbar-brand img {
        width: 50px;
        height: 50px;
        object-fit: cover;
        border-radius: 50%;
        overflow: hidden !important;
        position: absolute;
        top: 50%;
        /* left: -30%; */
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 768px) {
    .navbar-brand span {
        color: var(--muc-gold) !important;
        /* margin-left: 0.1rem; */
    }

    .navbar-brand img {
        width: 50px;
        height: 50px;
        left: 13%;

    }
}


.navbar-brand img:hover {
    transform: scale(1.1);
}

.navbar-brand:hover {
    color: var(--muc-gold) !important;
}

.navbar-brand a {
    text-decoration: none;
    color: rgb(37, 37, 99) !important;
}

.nav-link {
    color: var(--muc-navy) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;

    @media (max-width: 768px) {
        text-align: center;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.8)), url('/images/women_training2.jpg') center/cover;
    /* clip-path: polygon(100% 32%, 40% 86%, 0 0); */
    color: white;

    @media (min-width: 768.1px) {
        padding: 120px 0;
    }

    @media (max-width: 768px) {
        padding: 40px 0;
    }
}

.hero h1 {
    color: white;

    @media (min-width: 768.1px) {
        font-size: min(3rem, 3.5rem);
    }

    @media (max-width: 768px) {
        font-size: 2.5rem;
    }
}

.btn-muc {
    background-color: var(--muc-gold);
    color: var(--muc-navy);
    font-weight: bold;
    border: none;
    padding: 12px 30px;
    border-radius: 0;
}

.btn-muc-50 {
    @media (max-width: 768px) {
        width: 70%;
        padding: 12px 10px;
    }
}

/* Announcements Section */
.announcement-section {
    background-color: #fff8f0;
    /* Very light gold tint */
    border-top: 4px solid var(--muc-gold);
    padding: 60px 0;
}

.announcement-badge {
    background-color: var(--muc-navy);
    color: var(--muc-gold);
    padding: 5px 15px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.modal-header {
    background-color: var(--muc-navy);
    color: white;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.sponsorship-table th {
    background-color: var(--muc-navy);
    color: var(--muc-gold);
}


.impact-bar {
    background-color: var(--muc-navy);
    color: white;
    padding: 40px 0;
    margin-top: -50px;
}

.impact-item h2 {
    color: var(--muc-gold);
    margin-bottom: 0;
}

.section-label {
    color: var(--muc-gold);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.news-item {
    border-left: 4px solid var(--muc-gold);
    padding-left: 20px;
    margin-bottom: 40px;
}

.partnership-badge {
    filter: grayscale(1);
    opacity: 0.7;
    transition: 0.3s;
    max-width: 140px;
}

.partnership-badge:hover {
    filter: grayscale(0);
    opacity: 1;
}

.card-program {
    border: none;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    height: 100%;
}

.card-program:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card {
    border: none;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    height: 100%;
}

.card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* News/Featured Section */
.news-item {
    border-left: 4px solid var(--muc-gold);
    padding-left: 20px;
    margin-bottom: 30px;
}


/* 1. Target the list and remove default bullets */
.sdg-list {
    list-style: none;
    padding-left: 0;
}

/* 2. Style the list items and add space for the arrow */
.sdg-list li {
    position: relative;
    padding-left: 25px;
    /* Adjust based on arrow size */
    margin-bottom: 12px;
}

/* 3. Add the 'play_arrow' symbol using the ::before pseudo-element */
.sdg-list li::before {
    content: "▶";
    /* This is the 'play_arrow' Unicode symbol */
    position: absolute;
    left: 0;
    top: 2px;
    /* Fine-tune vertical alignment */
    color: var(--muc-gold);
    /* Using your branding color */
    font-size: 14px;
}


/* MUCABI Carousel Customization */
.sdg-carousel-item {
    /* Ensures all images have a consistent height. Adjust '400px' if needed. */
    height: 400px;
    background-color: #eee;
    /* Placeholder color while loading */
}

.sdg-carousel-item img {
    object-fit: cover;
    /* Ensures images fill the area without stretching */
    height: 100%;
    width: 100%;
    /* Optional: slightly darken image so white text pops */
    filter: brightness(0.8);
}

.mucabi-caption {
    /* Using MUCABI Navy with 85% opacity for readability */
    background: rgba(0, 33, 71, 0.85);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: left;
    border-top: 3px solid var(--muc-gold);
}

.mucabi-caption h5 {
    color: var(--muc-gold);
    font-family: 'Playfair Display', serif;
    /* Matching your headings */
    margin-bottom: 5px;
    font-weight: bold;
}

.mucabi-caption p {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0;
    /* Ensure long text doesn't create huge gaps on mobile */
    text-align: left;
    hyphens: auto;
}

/* Styling the navigation arrows to stand out */
.carousel-control-prev,
.carousel-control-next {
    opacity: 1;
    /* Make them always fully visible */
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 33, 71, 0.5);
    /* Dark circle behind arrow */
    border-radius: 50%;
    padding: 20px;
    background-size: 60% 60%;
    /* Adjust arrow size inside circle */
}

/* Contact Section */
/* Contact Hero */
/* Contact Hero with Background Fade */
.contact-hero {
    position: relative;
    height: 60vh;
    /* Adjust height as needed */
    min-height: 400px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* The actual carousel container behind the text */
.contact-hero .carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero .carousel-item {
    height: 60vh;
    min-height: 400px;
}

.contact-hero .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* The Navy overlay that stays fixed */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.85));
    z-index: 2;
}

/* Foreground Content */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 15px;
}

/* Form Styling */
.contact-card {
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    background: white;
    padding: 40px;
    z-index: 1000;
    /* margin-block-start: 7rem !important; */
    border: .2rem solid var(--muc-gold);
}

.form-control {
    border-radius: 0;
    padding: 12px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--muc-gold);
    box-shadow: none;
}

.info-box {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.info-box:last-child {
    border-bottom: none;
}

.info-icon {
    color: var(--muc-gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

/* Pulse Animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Ensure it doesn't overlap small screens too much */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* contact endss */

footer {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.7);
    margin-block-end: 0 !important;
    padding-block-end: 0 !important;
}

/* Footer Styles */
.mucabi-footer {
    /* background-color: var(--muc-navy); */
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-heading {
    color: var(--muc-gold);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: var(--muc-gold);
    padding-left: 5px;
}

/* Animated Social Icons */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
}

.social-icons a:hover {
    background-color: var(--muc-gold);
    color: var(--muc-navy);
    transform: translateY(-8px) scale(1.1);
    /* Jumps up slightly */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Item Styling */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--muc-gold);
    font-size: 1.2rem;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.contact-item a:hover {
    color: var(--muc-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
}

/* Highlighted Link for Donations */
.footer-link-highlight {
    color: var(--muc-gold) !important;
    font-weight: 700;
}

.footer-link-highlight:hover {
    color: white !important;
    letter-spacing: 1px;
}

/* ///////////////////// */
/* About Section */


/* Hero Section */
.about-hero {
    background: linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.85)), url('/images/about_bg.jpg') center/cover;
    color: white;
    padding: 50px 0 80px;

    @media screen and (min-width: 768px) {
        padding: 100px 0 60px;
    }
}

/* Mission & Vision Cards */
.mv-box {
    border-left: 5px solid var(--muc-gold);
    padding: 30px;
    background: var(--muc-light);
    height: 100%;
}

/* The Story Section */
.story-text {
    text-align: justify;
    hyphens: auto;
}

/* Core Values */
.value-circle {
    width: 80px;
    height: 80px;
    background: var(--muc-navy);
    color: var(--muc-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

/* --- NEW TEAM SECTION STYLES --- */
.team-member-card {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    transition: 0.3s;
}

/* The container for the animated border */
.team-img-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
    position: relative;
    border-radius: 50%;
    /* Initial state: Navy border with padding */
    border: 3px solid var(--muc-navy);
    padding: 5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* The actual image */
.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* A subtle inner border to define the image */
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Hover Animation Effect */
.team-member-card:hover .team-img-wrap {
    /* Change border color to gold */
    border-color: var(--muc-gold);
    /* Add a glowing expanding shadow effect */
    box-shadow: 0 0 0 8px rgba(241, 143, 52, 0.2), 0 0 20px rgba(241, 143, 52, 0.4);
    transform: scale(1.02);
}

.team-role {
    color: var(--muc-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0;
}


/* Executive Director Special Styling */
.ed-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0, 33, 71, 0.1);
    /* Deeper shadow */
    position: relative;
    overflow: hidden;
}

.ed-card .team-img-wrap {
    width: 220px;
    /* Larger image size for ED */
    height: 220px;
    border-width: 5px;
    /* Thicker animated border */
    border-color: var(--muc-gold);
}

.ed-card h5 {
    font-size: 1.6rem;
    margin-top: 15px;
}

.ed-badge {
    background: var(--muc-gold);
    color: var(--muc-navy);
    padding: 4px 15px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Team Social Links Styling */
.team-socials {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    /* Hidden by default */
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.team-member-card:hover .team-socials {
    opacity: 1;
    transform: translateY(0);
}

.team-socials a {
    color: var(--muc-navy);
    background: var(--muc-light);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    border: 1px solid rgba(0, 33, 71, 0.1);
}

.team-socials a:hover {
    background-color: var(--muc-gold);
    color: var(--muc-navy);
    transform: scale(1.1);
}


/* team ends here */
/* //////////// */

/* Buttons & Footer */
.btn-muc {
    background-color: var(--muc-gold);
    color: var(--muc-navy);
    font-weight: bold;
    border-radius: 0;
    padding: 12px 30px;
    border: none;
}

/* Footer Styles (Reused from previous steps) */
.mucabi-footer {
    background-color: var(--muc-navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-heading {
    color: var(--muc-gold);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: var(--muc-gold);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.4s;
}

.social-icons a:hover {
    background-color: var(--muc-gold);
    color: var(--muc-navy);
    transform: translateY(-8px) scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
}

/* About Ends */
/* ////////////////////// */

/* Impact Starts Here */

/* Hero Section */
.impact-hero {
    background: linear-gradient(rgba(0, 33, 71, 0.9), rgba(0, 33, 71, 0.8)), url('/images/edu_in_prison.png') center/cover;
    color: white;
    padding: 50px 0;
    text-align: center;

    @media (min-width: 768.1px) {
        padding-block-start: 80px;
        padding-block-end: 50px;
    }
}

/* Stats Grid */
.stat-card {
    border-top: 4px solid var(--muc-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: var(--muc-light);
    border-block-end: 2px solid var(--muc-navy);
    padding: 40px 20px;
    transition: 0.3s;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    transition: 0.3s;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--muc-navy);
    margin-bottom: 5px;
}

/* Success Stories */
.story-img {
    height: 300px;
    object-fit: cover;
    border-radius: 0;
}

.story-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Geography Section */
.map-section {
    background-color: var(--muc-navy);
    color: white;
    padding: 80px 0;
}


/* //////////////// */
/* Donate Starts Here */
/* Hero Section */
.donate-hero {
    background: linear-gradient(rgba(0, 33, 71, 0.9), rgba(0, 33, 71, 0.8)), url('/images/donate_bg.jpg') center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

/* Amount Selector Buttons */
.amount-btn-group .btn-check:checked+.btn-outline-navy {
    background-color: var(--muc-gold);
    border-color: var(--muc-gold);
    color: var(--muc-navy);
    font-weight: bold;
}

.btn-outline-navy {
    border: 2px solid var(--muc-navy);
    color: var(--muc-navy);
    padding: 15px;
    transition: 0.3s;
}

/* Form Card */
.donation-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: -50px;
    border-radius: 0;
}

.project-feature {
    border-left: 4px solid var(--muc-gold);
    padding-left: 15px;
    margin-bottom: 25px;
}


/* ////////////////// */
/* Training Section */
/* Training & Orientation Section Styles */
/* Training & Orientation Section */
.training-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.training-card {
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: 0.4s;
    height: fit-content;
}

.training-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.training-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.training-card:hover img {
    transform: scale(1.1);
}

.training-info {
    padding: 20px;
    border-top: 3px solid var(--muc-gold);
}

.training-date {
    font-size: 0.75rem;
    color: var(--muc-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.training-name {
    font-weight: 700;
    color: var(--muc-navy);
    margin-top: 5px;
    font-size: 1.1rem;
}

.training-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 33, 71, 0.9);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 10;
}

/* Training Section ends here */