/* -------------------------
       Theme / Color variables
       Change these to affect whole site
       ------------------------- */
:root {
    --bg: #D0D4D7;
    /* subtle page background (from logo bg) */
    --primary: #5b2b8a;
    /* purple (logo) */
    --accent: #f28b2f;
    /* orange (logo) */
    --green: #2f9a4a;
    /* green (logo) */
    --blue: #2b7fb8;
    /* blue (logo) */
    --muted: #6b6b6b;
    --text: #222222;
    --card-bg: #ffffff;
    --radius: 12px;
    --glass-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

:root {
    --primary-color: #0D6EFD;
    --secondary-color: #212529;
    --text-color: #333;
    --bg: #D0D4D7;
    --white: #fff;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Header / Navbar ---------- */
.navbar {
    background: var(--white);
    padding: 1rem 2rem;
}
.main-navbar {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

@media (max-width: 992px) {
    .main-navbar {
        position: sticky !important;
    }
}


.brand-logo {
    height: 64px;
    object-fit: contain;
}

.nav-link {
    color: var(--primary) !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    position: relative;
    /* display: inline-block; */
    overflow: hidden;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.nav-link:hover {
    color: var(--accent) !important;
}

.nav-link:hover::after {
    transform: translateX(0);
}

.donate-btn {
    background: linear-gradient(180deg, var(--primary));
    color: #fff !important;
    border-radius: 6px;
    padding: 10px 18px;
    box-shadow: 0 6px 18px rgba(242, 139, 47, 0.18);
    font-weight: 600;
}

.donate-btn:hover {
    background: linear-gradient(180deg, var(--accent));
    color: #5b2b8a !important;
}

/* Dropdown style similar to reference */
.dropdown-menu.custom-dropdown {
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    padding: 14px 12px;
    min-width: 270px;
    border: none;
}

.dropdown-item {
    padding: 12px 18px;
    border-radius: 8px;
    color: var(--primary) !important;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.03) !important;
    color: var(--accent) !important;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0 !important;
    vertical-align: .255em;
    content: "";
    border: none !important;
}

/* ---------- Fullscreen Hero Carousel ---------- */

.hero-carousel {
    position: relative;
    width: 100%;
}

.hero-carousel .carousel-item {
    height: 100vh;
    min-height: 480px;
    position: relative;
}

.hero-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 1rem;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: clamp(26px, 5vw, 56px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-sub {
    font-size: clamp(14px, 2vw, 20px);
    margin-top: 18px;
    font-weight: 300;
    opacity: 0.9;
}

/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
}

/* ---------- Responsive Fixes ---------- */
@media (max-width: 992px) {
    .hero-carousel .carousel-item {
        height: 85vh;
    }
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        height: 70vh;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .carousel-caption {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .hero-carousel .carousel-item {
        height: 85vh;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-sub {
        font-size: 0.9rem;
    }
}

/* ---------- Sections ---------- */
.section {
    padding: 80px 0;
}

.section .section-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--primary);
}

.lead-muted {
    color: var(--muted);
    line-height: 1.7;
}

.rounded-img {
    border-radius: 14px;
    box-shadow: var(--glass-shadow);
    width: 100%;
    object-fit: cover;
}

/* Content cards on left column group */
.img-stack {
    gap: 18px;
}

.img-stack .small {
    height: 120px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.img-stack .medium {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Women empowerment banner */
.empower-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.08);
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .navbar {
        padding: 0.7rem 1rem;
    }

    .brand-logo {
        height: 56px;
    }

    .hero-carousel .carousel-item {
        height: calc(70vh);
    }

    .section {
        padding: 48px 0;
    }
}

.initiatives-section h3 {
    color: var(--secondary-color);
}

.initiatives-section p {
    color: var(--text-color);
    line-height: 1.6;
}

.initiatives-section img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.initiatives-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.section {
    padding: 80px 0;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.lead-muted {
    color: var(--text-dark);
    line-height: 1.7;
}

.rounded-img {
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    transition: transform 0.4s ease;
}

.rounded-img:hover {
    transform: scale(1.03);
}

/* IMPACT SECTION */

.impact-section {
    padding: 80px 20px;
    text-align: center;
}

.impact-header {
    margin-bottom: 50px;
}

.year-tag {
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.impact-header h2 {
    margin-top: 12px;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.underline {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 10px;
}

/* GRID STYLE */
#women-content .col-md-4 .row {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.impact-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.impact-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
    gap: 20px;
}

.impact-row.reverse {
    direction: rtl;
}

.impact-row.reverse .impact-card {
    direction: ltr;
}

.impact-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.card-content .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-content h3 {
    font-size: 32px;
    color: var(--primary);
    font-weight: 700;
}

.card-content i {
    font-size: 28px;
    color: var(--accent);
}

.card-content p {
    color: var(--muted);
    font-size: 15px;
    margin-top: 8px;
}

.impact-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    height: 220px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .impact-row.reverse {
        direction: ltr;
    }
}

.join-section {
    position: relative;
    height: 86vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background-image: url("assets/img/flag.jpg");
    background-position: center;
    background-size: cover;
}

/* dark overlay */
.join-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Content (placed on left, readable) */
.join-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 6rem 2rem;
}

.join-title {
    font-size: clamp(28px, 4.2vw, 48px);
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #fff;
    line-height: 1.05;
}

.join-subtitle {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 18px;
    font-size: clamp(14px, 1.6vw, 18px);
}

.join-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
    margin: 18px 0 22px 0;
}

.donate-title {
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.join-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 12px;
}

.join-list {
    color: rgba(255, 255, 255, 0.92);
    margin-left: 1rem;
    margin-bottom: 18px;
    padding-left: 1.25rem;
}

.join-list li {
    margin-bottom: 10px;
}

/* contact link using accent */
.contact-info a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Small screens: center content and reduce padding */
@media (max-width: 991px) {
    .join-section {
        height: auto;
        min-height: 720px;
        padding: 60px 0;
    }

    .join-bg .join-parallax {
        transform: translate3d(-50%, -40px, 0);
        height: 140%;
    }

    .join-content {
        padding: 3rem 1.25rem;
        max-width: 100%;
        text-align: left;
    }
}

/* smaller phones: stack, more padding */
@media (max-width: 576px) {
    .join-title {
        font-size: 26px;
    }

    .join-subtitle {
        font-size: 14px;
    }

    .join-list {
        padding-left: 1rem;
    }
}

.footer {
    background: var(--bg);
    border-top: 3px solid var(--primary);
}

.footer-logo {
    width: 100px;
}

.footer-text {
    color: var(--text);
    font-size: 14px;
}

.footer-heading {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-links li,
.footer-contact li {
    margin: 6px 0;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: .3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact {
    color: var(--text);
    font-size: 15px;
}

.footer-social a {
    font-size: 20px;
    margin-right: 12px;
    color: var(--primary);
    transition: .3s;
}

.footer-social a:hover {
    color: var(--accent);
}

.footer-donate-btn {
    background: var(--accent);
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 8px;
}

.footer-donate-btn:hover {
    background: var(--green);
    color: #fff;
}

.footer-line {
    border-color: rgba(0, 0, 0, 0.1);
}


/*================================= About page css  =========================*/
/* ===== ABOUT PAGE ADDONS ===== */

/* Hero Section */
#about-hero {
    position: relative;
    overflow: hidden;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about-hero .hero-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: brightness(0.6);
}

#about-hero .container {
    z-index: 2;
}

#about-hero h1 {
    font-size: 2.5rem;
    color: var(--text-light);
}

#about-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Story Section */
#story img {
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}

#story img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* founder section  */
.founder-card {
    background: #fff;
    transition: .3s ease;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.founder-img {
    width: 95px;
    height: 95px;
    object-fit: cover;
}


/* Values Section */
/* Equal height for value cards */
.value-card {
    background: #fff;
    border-radius: 12px;
    transition: .3s ease;
    cursor: pointer;
    height: 100%;
    /* important */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    padding: 2rem 1rem;
    min-height: 240px;
    /* adjust as needed */
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/* Consistent spacing for titles */
.value-card h6 {
    margin-top: 12px;
    margin-bottom: 6px;
    font-weight: 600;
}

.value-card .icon-box {
    width: 65px;
    height: 65px;
    /* background: var(--accent); */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 0 auto 12px auto;
    /* bottom gap added */
}



/* Gallery */
#gallery img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

#gallery img:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* CTA Section (Join) */
#join {
    overflow: hidden;
    position: relative;
}

#join .join-parallax {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate3d(-50%, -50%, 0);
    object-fit: cover;
    width: 100%;
    height: 110%;
    z-index: 0;
    filter: blur(2px) brightness(0.6);
    transition: transform 0.3s ease-out;
}

#join .container {
    position: relative;
    z-index: 2;
}


/* initiatives css */

























/* side button  */
.scroll-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 5px -1px,
        rgba(0, 0, 0, 0.14) 0px 6px 10px 0px,
        rgba(0, 0, 0, 0.12) 0px 1px 18px 0px;
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s;
}

.scroll-top-btn:hover {
    background: #f5f5f5;
}

.scroll-top-icon {
    width: 24px;
    height: 24px;
    fill: rgb(255, 122, 61);
}

.scroll-top-btn.hide {
    opacity: 0;
    pointer-events: none;
}