:root {
    --primary-blue: #0056D2;
    /* Exact blue from design */
    --primary-red: #ED1C24;
    --primary-green: #198754;
    --primary-orange: #F58220;
    --bg-light: #F8FAFC;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --font-sans: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

/* ============================================================
   Website Custom Scrollbar (8px width)
   ============================================================ */
html,
body,
* {
    scrollbar-width: normal;
    scrollbar-color: #8b8b8b #f8fafc;
}

::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
}

::-webkit-scrollbar-track {
    background: #f8fafc !important;
}

::-webkit-scrollbar-thumb {
    background: #8b8b8b !important;
    border-radius: 8px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #555555 !important;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.4px;
    background-color: #f8fafc;
    overflow-x: clip;
    overflow-y: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Sticky layout & Empty page scrollbar prevention */
#main-content,
main.main-content {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.newsletter,
.footer-bottom {
    flex-shrink: 0;
}

html.no-scroll,
body.no-scroll {
    overflow-y: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
}

body:has(#main-content:empty) {
    overflow-y: hidden !important;
}

#main-content:empty {
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.pb-5 {
    padding-bottom: 48px !important;
}

.container {
    max-width: 1390px;
    margin: 0 auto;
    padding: 0 0px;
}

/* --- Header & Navigation --- */
header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 99999;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    /* Sized specifically for image_bda764.png */
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.nav-links a.active {
    color: var(--primary-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-blue);
}

/* Dropdown Styles */
.nav-links .dropdown {
    position: relative;
    cursor: pointer;
}

.nav-links .dropdown-icon {
    font-size: 11px;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 210px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px solid #e2e8f0;
    pointer-events: none;
}

.nav-links .dropdown-menu li {
    width: 100%;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-dark);
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
    white-space: nowrap;
    width: 100%;
    text-decoration: none;
}

.nav-links .dropdown-menu a:hover {
    background-color: #f1f5f9;
    color: var(--primary-blue);
    padding-left: 22px;
}

.nav-links .dropdown-menu a::after {
    display: none !important;
}

/* Desktop Hover & Click Display */
@media (min-width: 1200px) {

    .nav-links .dropdown:hover .dropdown-menu,
    .nav-links .dropdown.show .dropdown-menu,
    .nav-links .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links .dropdown:hover .dropdown-icon,
    .nav-links .dropdown.show .dropdown-icon,
    .nav-links .dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 8px 16px;
    background: #ffffff;
    width: 240px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar:focus-within {
    border-color: #0b3c95;
    box-shadow: 0 0 0 3px rgba(11, 60, 149, 0.1);
}

.search-bar input {
    border: none;
    outline: none;
    font-size: 13.5px;
    color: #1e293b;
    width: 100%;
    padding-right: 10px;
    background: transparent;
}

.search-bar input::placeholder {
    color: #94a3b8;
}

.search-bar i {
    color: #94a3b8;
    font-size: 15px;
    cursor: pointer;
}

.btn-donate {
    background: #0b3c95;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 24px;
    padding: 10px 24px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
}

.btn-donate:hover {
    background: #082d72;
    color: #ffffff !important;
    text-decoration: none !important;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-red {
    background: var(--primary-red);
    color: #fff;
}

.btn-blue {
    background: #fff;
    color: #04478b;
    font-weight: 700;
    font-size: 18px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

/* --- Hero Section --- */
.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-links li {
    position: relative;
    padding: 0px 12px;
}


/* Hand-drawn cloud simulation around 'better' */


.stats-container {
    display: flex;
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    gap: 40px;
    width: fit-content;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid #eee;
    padding-right: 40px;
}

.stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: #F8FAFC;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.stat-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 2px;
}

.stat-text p {
    font-size: 12px;
    color: var(--text-gray);
    margin: 0;
}

/* --- Sections Shared --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    margin-top: 60px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 32px;
    color: #111;
}

.view-all {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 500;
}

/* --- Campaign Cards --- */
.campaign-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
}

.card-img-box {
    height: 220px;
    background: #E2E8F0;
    /* Placeholder for images */
    position: relative;
}

.badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-funding {
    background: var(--primary-blue);
    color: #fff;
}

.badge-completed {
    background: var(--primary-green);
    color: #fff;
}

.badge-cat-edu {
    background: #fff;
    color: var(--primary-green);
}

.badge-cat-live {
    background: #fff;
    color: var(--primary-orange);
}

.badge-cat-health {
    background: #fff;
    color: var(--primary-blue);
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 44px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.progress-info .raised {
    color: var(--text-gray);
}

.progress-info .raised strong {
    color: #111;
    font-weight: 600;
}

.progress-info .percent {
    font-weight: 700;
    color: #111;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: #F1F5F9;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-blue);
    border-radius: 10px;
}

.progress-bar-fill.orange {
    background: var(--primary-orange);
}

.progress-bar-fill.green {
    background: var(--primary-green);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #F1F5F9;
    margin-top: auto;
}

.supporters {
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.supporter-avatars {
    display: flex;
}

.supporter-avatars div {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #CBD5E1;
    border: 2px solid #fff;
    margin-left: -8px;
}

.supporter-avatars div:first-child {
    margin-left: 0;
}

.btn-donate-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* --- How It Works Section Design Update --- */
.how-it-works {
    text-align: center;
    padding: 0px 0 60px;
}

.how-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 35px;
    color: #0f172a;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.how-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 3px;
    background-color: #0056D2;
    border-radius: 2px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1390px;
    margin: 0 auto;
    position: relative;
    padding-top: 20px;
}

.steps-line {
    position: absolute;
    top: 110px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    border-top: 2px dotted #cbd5e1;
    z-index: 1;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.step-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.step-icon-outer {
    width: 185px;
    height: 185px;
    border-radius: 50%;
    border: 2px solid #0056D2;
    padding: 6px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 8px 24px rgba(0, 86, 210, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.step-item:hover .step-icon-outer {
    box-shadow: 0 12px 28px rgba(0, 86, 210, 0.15);
}

.step-icon-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0056D2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 56px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

.step-item h4 {
    font-size: 23px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    font-family: 'Roboto Slab', serif;
}

.step-item p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    max-width: 220px;
    margin: 0 auto;
}

/* --- Success Story Section Design Update --- */

.success-container {
    background-image: linear-gradient(135deg, rgba(10, 53, 126, 0.96) 0%, rgba(21, 75, 165, 0.96) 100%), url('assets/images/childrens.jpg');
    background-size: cover;
    background-position: center;
    padding: 45px 50px 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: #ffffff;
    min-height: 410px;
    height: auto;
}

.success-stories-carousel.owl-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.success-stories-carousel.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.success-stories-carousel.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.success-stories-carousel.owl-carousel .owl-item {
    float: left;
    box-sizing: border-box;
    display: flex;
    height: auto;
}

.success-story {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 330px;
    box-sizing: border-box;
    padding: 10px;
}

.success-stories-carousel:not(.owl-loaded)>.success-story:not(:first-child) {
    display: none;
}

.success-stories-carousel.owl-carousel .owl-dots {
    margin-top: 15px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.success-stories-carousel.owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 4px 6px;
    background: rgba(255, 255, 255, 0.4);
    display: inline-block;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.success-stories-carousel.owl-carousel .owl-dots .owl-dot.active span,
.success-stories-carousel.owl-carousel .owl-dots .owl-dot:hover span {
    background: #ffffff;
    width: 26px;
}

.story-content {
    width: 50%;
    max-width: 580px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-label {
    font-size: 14px;
    color: #93C5FD;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-title {
    font-family: 'Roboto Slab', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
    color: #ffffff;
    min-height: 110px;
    display: flex;
    align-items: center;
}

.story-desc {
    font-size: 16px;
    color: #DBEAFE;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 120px;
}


.success-story .btn-white {
    background: #ffffff;
    color: #0b3c95;
    font-weight: 700;
    border-radius: 12px;
    padding: 14px 28px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.success-story .btn-white:hover {
    background-color: #f1f5f9;
}

.story-images {
    position: relative;
    height: 250px;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 2;
}

.story-img-1 {
    width: 330px !important;
    height: 210px;
    object-fit: cover;
    border-radius: 16px;
    border: 4px solid #ffffff;
    transform: rotate(-3deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: absolute;
    left: 0;
    top: 20px;
    z-index: 3;
    transition: transform 0.3s ease;
}

.story-img-2 {
    width: 220px !important;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    border: 4px solid #ffffff;
    transform: rotate(4deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: absolute;
    right: 70px;
    bottom: 10px;
    z-index: 4;
    transition: transform 0.3s ease;
}

.story-img-3 {
    width: 140px !important;
    height: 112px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #ffffff;
    transform: rotate(-5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: absolute;
    right: 10px;
    bottom: 20px;
    z-index: 5;
    transition: transform 0.3s ease;
}



.story-heart-icon {
    position: absolute;
    top: 5px;
    right: 15px;
    z-index: 6;
    animation: floatHeart 3s ease-in-out infinite;
}

@keyframes floatHeart {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(6deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* --- About Us Section Design Update --- */
.about-us {
    text-align: center;
    padding: 60px 0 0;
    background-color: #f8fafc;
    position: relative;
}

.about-us-sub {
    font-size: 12px;
    font-weight: 700;
    color: #0056D2;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.about-us h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.about-us p {
    max-width: 816px;
    margin: 0 auto 40px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

.about-us-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1390px;
    margin: 0 auto 35px;
    position: relative;
    gap: 40px;
}

.about-us-dome {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 86, 210, 0.12);
    z-index: 2;
    background: #e2e8f0;
}

.about-us-dome img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}



.about-us-circle-outer {
    width: 182px;
    height: 182px;
    border-radius: 50%;
    border: 2px solid #0056D2;
    padding: 6px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 86, 210, 0.08);
    z-index: 3;
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-us-circle-outer:hover {
    box-shadow: 0 12px 28px rgba(0, 86, 210, 0.15);
}

.about-us-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0b3c95;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    padding: 12px;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.15);
}

.about-us-svg-connectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.about-us .btn-blue {
    background: #0b3c95;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 30px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 10px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-us .btn-blue:hover {
    background: #082d72;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* --- Filters Section Design Update --- */
.filters {
    padding: 60px 0;
    text-align: center;
}

.filters-title {
    font-family: 'Roboto Slab', serif;
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 40px;
}

.filter-row {
    display: flex;
    gap: 55px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    perspective: 1000px;
}

.filter-box {
    width: 185px;
    height: 156px;
    perspective: 1000px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.filter-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    border-radius: 12px;
}

.filter-box:hover .filter-card-inner {
    transform: rotateY(180deg);
}

.filter-box .front,
.filter-box .back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 12px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
    box-sizing: border-box;
}

/* Normal / Front state */
.filter-box .front {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transform: rotateY(0deg);
}

.filter-box .front .filter-name {
    color: #1e293b;
}

.filter-box .front .filter-icon img {
    filter: none;
    -webkit-filter: none;
}

/* Hover / Back state */
.filter-box .back {
    background: #0056D2;
    border: 1px solid #0056D2;
    box-shadow: 0 8px 24px rgba(0, 86, 210, 0.08);
    transform: rotateY(180deg);
}

.filter-box .back .filter-name {
    color: #ffffff;
}

.filter-box .back .filter-icon img {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

/* Icon */
.filter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-icon img {
    width: 80px;
    height: auto;
    object-fit: contain;
}

/* Text */
.filter-name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    padding: 0 10px;
    max-width: 140px;
}

/* --- Newsletter & Footer --- */

.newsletter {
    background: #012B7D;
    padding: 40px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Background map */
.newsletter::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://fund.rahbarfoundation.org/img/other/map.png');
    opacity: 0.15;
    /* Isko 0.05 - 0.3 ke beech adjust kar sakte ho */
    pointer-events: none;
}

/* Newsletter content map ke upar rahega */
.newsletter>* {
    position: relative;
    z-index: 1;
}


.newsletter .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-left {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'Roboto Slab', serif;
}

.newsletter-left h3 {
    font-size: 40px;
    font-weight: 600;
}

.subscribe-form-wrapper {
    display: flex;
    flex-direction: column;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    width: 350px;
    font-size: 14px;
    outline: none;
}

.subscribe-form button {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subscribe-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.subscribe-alert {
    margin-top: 8px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    transition: all 0.25s ease;
    text-align: left;
    max-width: 480px;
}

.subscribe-alert.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

.subscribe-alert.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #4ade80;
}

.footer-copyright p {
    font-size: 14px;
}

.footer-tax-info p {
    font-size: 14px;
}

.footer-bottom {
    background: #011E5A;
    /* Darker shade for the very bottom */
    padding: 24px 0 18px;
    color: #94A3B8;
    font-size: 14px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.footer-socials a:hover .social-icon {
    transform: translateY(-2px);
}

.footer-tax-info {
    text-align: center;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12.5px;
    color: #64748B;
}

.stat-icon i {
    color: #0056D2;

}



/* --- Campaign Section Design Update --- */
.campaign-section {
    padding: 50px 0 60px;
    background-color: #f8fafc;
}

.campaign-section .header-centered {
    text-align: center;
    margin-bottom: 45px;
}

.campaign-section .header-centered h2 {
    font-size: 38px;
    font-weight: 700;
    color: #02234d;
    margin-bottom: 10px;
}

.campaign-section .header-centered p {
    font-size: 16px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.divider-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto 20px;
    width: 150px;
}

.divider-heart::before,
.divider-heart::after {
    content: '';
    height: 2px;
    background-color: #0056D2;
    flex-grow: 1;
}

.divider-heart::before {
    margin-right: 12px;
}

.divider-heart::after {
    margin-left: 12px;
}

.divider-heart i {
    color: #0056D2;
    font-size: 14px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.campaign-section .card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 530px;
    transition: transform 0.25s, box-shadow 0.25s;
}



.campaign-section .card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
}

.campaign-section .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.campaign-section .card:hover .card-img-wrapper img {
    transform: scale(1.04);
}

.campaign-section .badge-percentage {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #0b3c95;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.campaign-section .content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.campaign-section .campaign-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.campaign-section .campaign-progress-row .raised-col,
.campaign-section .campaign-progress-row .goal-col {
    display: flex;
    flex-direction: column;
}

.campaign-section .campaign-progress-row .raised-col {
    text-align: left;
}

.campaign-section .campaign-progress-row .goal-col {
    text-align: right;
    align-items: flex-end;
}

.campaign-section .campaign-progress-row .amount {
    font-size: 17px;
    font-weight: 700;
}

.campaign-section .campaign-progress-row .raised-col .amount {
    color: #0b3c95;
}

.campaign-section .campaign-progress-row .goal-col .amount {
    color: #1e293b;
}

.campaign-section .campaign-progress-row .label {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.campaign-section .campaign-progress-row .progress-bar-container {
    flex-grow: 1;
    height: 6px;
    background: #e6edf7;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-top: -12px;
}

.campaign-section .campaign-progress-row .progress-bar-fill {
    height: 100%;
    background: #0056D2;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.campaign-section .offline-total-box {
    background: #edf5ff;
    color: #0b3c95;
    padding: 8px 12px;
    /* border-radius: 6px; */
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 210px;
    left: 0;
    width: 100%;
}

.campaign-section .offline-total-box .divider {
    color: #bcd2ee;
}

.campaign-section .content h3 {
    font-size: 21px;
    font-weight: 700;
    color: #02234d;
    line-height: 1.4;
    margin-bottom: 12px;
    min-height: 58px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Roboto Slab', serif;
}

.campaign-section .content p.description {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
    min-height: 68px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.campaign-section .card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.campaign-section .badge-category {
    background: #f0f7ff;
    border: 1px solid #cce3ff;
    color: #0056D2;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.campaign-section .btn-donate-card {
    background: #0b3c95;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s, transform 0.2s;
}

.campaign-section .btn-donate-card:hover {
    background: #082d72;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* --- Completed Campaigns Header & Card Styling --- */
.campaign-section .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.campaign-section .header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #02234d;
    margin: 0;
    font-family: 'Roboto Slab', serif;
}

.campaign-section .header a {
    font-size: 15px;
    font-weight: 600;
    color: #0056D2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.campaign-section .completed-stats {
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.campaign-section .completed-raised {
    font-size: 15px;
    color: #1e293b;
    font-weight: 600;
}

.campaign-section .completed-donors {
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.campaign-section .completed-donors i {
    color: #64748b;
    font-size: 14px;
}

.content p {
    padding-bottom: 20px;
}

.campaign-section .btn-see-impact {
    width: 100%;
    border: 1.5px solid #0056D2;
    color: #0056D2;
    background: transparent;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    display: block;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
}

.campaign-section .btn-see-impact:hover {
    background: #0056D2;
    color: white;
}

.pt_0 {
    padding-top: 0px !important;
}

.pb {
    padding-bottom: 0px !important;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Desktop Header Wrapper Styling --- */
.nav-menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    margin-left: 120px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
    z-index: 1002;
    transition: color 0.2s;
}

.mobile-menu-toggle:hover {
    color: var(--primary-blue);
}

/* ==========================================================================
   Website Custom Pagination Styles
   ========================================================================== */
.custom-pagination-nav,
nav:has(.pagination),
nav:has(.custom-pagination) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 40px auto 20px !important;
    text-align: center !important;
}

/* Hide unstyled default summary and duplicate blocks on website */
.custom-pagination-nav>div:first-child,
nav:has(.pagination)>div:first-child,
nav:has(.pagination) p.small.text-muted,
nav:has(.pagination) .d-sm-none {
    display: none !important;
}

.custom-pagination,
.pagination {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    list-style: none !important;
}

.custom-pagination .page-item,
.pagination .page-item,
.pagination li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.custom-pagination .page-item .page-link,
.custom-pagination .page-item a,
.custom-pagination .page-item span,
.pagination .page-item .page-link,
.pagination li a,
.pagination li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    line-height: 1 !important;
    float: none !important;
}

.custom-pagination .page-item:not(.active):not(.disabled) .page-link:hover,
.pagination .page-item:not(.active):not(.disabled) .page-link:hover,
.pagination li:not(.active):not(.disabled) a:hover {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0b3c95 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.custom-pagination .page-item.active .page-link,
.custom-pagination .page-item.active span,
.pagination .page-item.active .page-link,
.pagination li.active span,
.pagination li.active a {
    background: #0b3c95 !important;
    border-color: #0b3c95 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(11, 60, 149, 0.3) !important;
}


.custom-pagination .page-item.disabled .page-link,
.custom-pagination .page-item.disabled span,
.pagination .page-item.disabled .page-link,
.pagination li.disabled span,
.pagination li.disabled a {
    color: #94a3b8 !important;
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed !important;
    opacity: 0.65 !important;
    box-shadow: none !important;
}

/* --- Media Queries for Responsive Design --- */
@media (max-width: 1499px) {
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 1399px) {

    /* Header & Mobile Drawer */
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #ffffff;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu-wrapper {
        position: absolute;
        top: 100%;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        padding: 24px 10px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        margin-left: 0;
        width: 240px;
    }

    .nav-menu-wrapper.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 0;
        font-size: 16px;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links a.active::after {
        display: none;
    }

    /* Dropdown Menu on Mobile */
    .nav-links .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 5px 0 5px 0px;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        background: #f8fafc;
        border-radius: 6px;
        margin-top: 5px;
    }

    .nav-links .dropdown-menu a {
        padding: 8px 0px;
        border-bottom: none;
        font-size: 15px;
    }

    .nav-links .dropdown:hover .dropdown-menu {
        /* Disable hover display on mobile */
        display: none;
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid #f1f5f9;
    }

    .search-bar {
        width: 100%;
    }

    .btn-donate {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

}

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 42px;
    }

    .about-us-dome {
        width: 450px;
        height: 450px;
    }
}

@media (max-width: 991px) {


    /* Hero Section Mobile styling */
    .hero {
        padding: 50px 0 40px;
        overflow: hidden;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 34px;
        margin-bottom: 15px;
    }

    .hero-desc {
        font-size: 15px;
        margin-bottom: 25px;
        max-width: 600px;
    }

    .hero-buttons {
        margin-bottom: 35px;
        width: 100%;
        justify-content: center;
    }

    .hero-bg-image {
        position: relative !important;
        width: 100% !important;
        height: 280px !important;
        right: auto !important;
        top: auto !important;
        border-radius: 16px !important;
        order: 1;
    }

    .stats-container {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        margin-top: 10px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-right: 0;
        padding-bottom: 15px;
        width: 100%;
        justify-content: flex-start;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Campaigns Grids */
    .campaign-grid,
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Success Story Section */
    .success-container {
        padding: 40px 20px;
        min-height: auto;
    }

    .success-story {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        min-height: auto;
    }

    .story-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .story-title {
        font-size: 28px;
        min-height: auto;
        justify-content: center;
    }

    .story-desc {
        min-height: auto;
    }

    .story-images {
        width: 100%;
        justify-content: center;
        height: 220px;
    }

    .story-img-1 {
        width: 260px;
        height: 160px;
    }

    .story-img-2 {
        width: 180px;
        height: 120px;
        right: 50px;
    }

    .story-img-3 {
        width: 110px;
        height: 85px;
        right: -5px;
    }

    /* About Us Graphic */
    .about-us h2 {
        font-size: 32px;
    }

    .about-us-graphic {
        flex-direction: column;
        gap: 30px;
    }

    .about-us-svg-connectors {
        display: none;
    }

    .about-us-dome {
        width: 100%;
        max-width: 400px;
        height: 400px;
        order: 1;
    }

    .about-us-circle-outer {
        order: 2;
        margin: 0 auto;
    }

    /* Filters Row */
    .filter-row {
        justify-content: center;
        gap: 15px;
        margin-left: 0px;
    }

    .filter-box {
        width: calc(50% - 10px);
        max-width: 160px;
        height: 140px;
    }

    .filter-name {
        font-size: 16px;
    }

    .filter-icon img {
        width: 60px;
    }

    /* Newsletter */
    .newsletter .container {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .newsletter-left {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe-form {
        width: 100%;
        max-width: 500px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-socials {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .campaign-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu-toggle {
        padding: 0px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-us-dome {
        height: 280px;
    }

    .story-images {
        height: 180px;
    }

    .story-img-1 {
        width: 200px;
        height: 130px;
    }

    .story-img-2 {
        width: 140px;
        height: 95px;
        right: 30px;
    }

    .story-img-3 {
        width: 90px;
        height: 70px;
        right: -5px;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe-form input {
        width: 100%;
        border-radius: 8px;
    }

    .subscribe-form button {
        width: 100%;
        padding: 12px 0;
        border-radius: 8px;
    }
}

.z-5 {
    position: relative;
    z-index: 5;
}

.opacity-2 {
    opacity: 0.2;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-30 {
    margin-top: 30px;
}



#about-us {
    padding: 90px 0;
}

#about-us h1 {
    font-size: 35px;
}

h1 {
    font-size: 35px;
    font-weight: 700;
    text-align: center;
    font-family: 'Roboto Slab', serif;
    color: #000;
}

p {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.9;
    font-family: helvetica, arial, sans-serif;
    margin-bottom: 15px;
}

.transform-center {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* Custom Grid System to Replace Bootstrap CSS */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters>[class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.f-700 {
    font-weight: 700;
}

.mb-10 {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-xl-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
}


/* =========================================
   INNER PAGE COMMON STYLES
========================================= */
.text-center {
    text-align: center;
    position: relative;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-25 {
    margin-top: 25px;
}

.my-5 {
    margin: 50px 0px;
}

.p-0 {
    padding-top: 0;
}

.pt-15 {
    padding-top: 15px;
}

.pb-80 {
    padding-bottom: 130px;
}

.pt-90 {
    padding-top: 110px;
}

.pl-15 {
    padding-left: 15px;
}

.py-5 {
    padding: 90px 0px 60px !important;
}

.pt-2 {
    padding-top: 24px;
}

.pt-80 {
    padding-top: 80px;
}

.mb-5 {
    margin-bottom: 48px;
}

.opacity-2 {
    opacity: 0.2;
}

.opacity-3 {
    opacity: 0.3;
}

.text-white {
    color: #fff !important;
}

.text-dark-custom {
    color: #000000;
}

.text-blue-link {
    color: #236fa1;
}

.admin-link-blue {
    color: #0768b4 !important;
}

.text-red-alert {
    color: #fe0b00;
}

.text-red {
    color: #ff0000;
}

.bg-white-text-blue {
    background-color: #ffffff;
    color: #236fa1;
}

.fs-12pt {
    font-size: 12pt;
}

.fs-14pt {
    font-size: 14pt;
}

.fs-16 {
    font-size: 16px;
}

.font-times-12pt {
    font-family: "Times New Roman", serif;
    font-size: 12pt;
}

.campaign-content-heading {
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    line-height: 1.1;
    color: #6f6f6f;
    margin: 0;
    font-size: 25px;
    padding: 0;
}

.campaign-content-p {
    margin: 0 0 15px;
    text-align: justify;
    padding: 0;
    line-height: normal;
    color: #6f6f6f;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}

.campaign-content-list {
    margin: 0 0 10px;
    list-style-type: none;
    padding: 0;
    color: #6f6f6f;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}

.campaign-content-list-item {
    padding-left: 0;
    margin-bottom: 0;
    line-height: normal;
}

.fs-18 {
    font-size: 18px;
}

.fs-20 {
    font-size: 20px;
}

.fs-35 {
    font-size: 35px !important;
}

.fs-large {
    font-size: large;
}

.font-helvetica {
    font-family: helvetica, arial, sans-serif;
}

.text-justify {
    text-align: justify;
}

.text-left {
    text-align: left;
}

.contact-purple-subhead {
    font-size: 18px;
    color: #843fa1;
}

.contact-map-bg {
    background-image: url("https://fund.rahbarfoundation.org/img/other/map.png") !important;
}

.abt-details h1 {
    font-size: 35px;
}

.slab {
    font-family: "Roboto Slab", serif;
    color: #000;
    font-size: 28px;
}

.f-700,
.fw-bold {
    font-weight: 700;
}

.f-800 {
    font-weight: 800;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.transform-center {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.z-5 {
    position: relative;
    z-index: 5;
}

.wow-fade-in-up {
    visibility: visible;
    animation-name: fadeInUp;
}

/* =========================================
   HEADER / BREADCRUMB
========================================= */
.dropdown-icon {
    font-size: 11px;
    margin-left: 2px;
}

/* =========================================
   CONTENT SECTIONS
========================================= */
#about-us {
    padding: 90px 0;
}

.latest-cases-2 {
    padding-top: 20px;
    padding-bottom: 80px;
}

section.latest-cases-2 p {
    text-align: left;
}

.contact-d {
    padding: 100px 30px 215px 0px;
}

.contact-p-fill {
    padding: 25px 30px;
    position: relative;
    height: 100%;
    background-position: 50% 10%;
    background-repeat: repeat-x;
    animation: animatedBackground2 25s linear infinite;
    -moz-animation: animatedBackground2 25s linear infinite;
    -webkit-animation: animatedBackground2 25s linear infinite;
    -ms-animation: animatedBackground2 25s linear infinite;
    -o-animation: animatedBackground2 25s linear infinite;

}

@keyframes animatedBackground2 {
    0% {
        background-position: 0 10%;
    }

    100% {
        background-position: 100% 10%;
    }
}

@-webkit-keyframes animatedBackground2 {
    0% {
        background-position: 0 10%;
    }

    100% {
        background-position: 100% 10%;
    }
}

@-moz-keyframes animatedBackground2 {
    0% {
        background-position: 0 10%;
    }

    100% {
        background-position: 100% 10%;
    }
}

@-o-keyframes animatedBackground2 {
    0% {
        background-position: 0 10%;
    }

    100% {
        background-position: 100% 10%;
    }
}

.contact-p-fill[data-overlay]:before,
.contact-p-fill:after,
.bg-yellow {
    background: #012b7d;
}


.contact-p-fill h4 {
    color: #fff !important;
}

.contact-p-fill .contacts-list li p {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.6;
}

.contacts-list {
    margin: 0px;
    padding: 0px;
    font-size: 15px;
    font-weight: 500;
    line-height: 26px;
    color: #fff;
}

.contacts-list li {
    position: relative;
    padding-left: 60px;
}

.contacts-list li p {
    color: #fff;
    margin-bottom: 0;
}

.contacts-list li .sub-head {
    color: #fff;
    font-weight: 600;
    display: block;
}

.contacts-list li .icon {
    position: absolute;
    left: 0;
    width: 45px;
    height: 45px;
    display: inline-block;
    text-align: center;
    color: #fff;
    line-height: 46px;
    border-radius: 50%;
    top: 7px;
}

.bg-green {
    background: #0056d2;
}

.hr-1 {
    height: 1px;
}

[data-overlay="7"]::before {
    opacity: 0.7;
}

[data-overlay]::before {
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

/* =========================================
   CARDS / COMPONENTS
========================================= */
.each-case-3 {
    text-align: center;
    margin-bottom: 30px;
}

.each-case-3 .case-3-img {
    position: relative;
}

.each-case-3 .case-3-img img {
    width: 100%;
    border-radius: 10px 10px 0px 0px;
}

.each-case-3 .case-3-texts {
    background-color: #fff;
    padding: 23px 15px;
    position: relative;
    overflow: hidden;
    background: #e8f4fd;
    border-radius: 0px 0px 10px 10px;
}

.each-case-3 .case-3-texts h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    margin: 0px 30px;
}

.newsletter-icon {
    font-size: 40px;
}

.col-w-thumb {
    width: 3.18%;
}

.carousel-item-fixed {
    width: 195.5px;
    margin-right: 40px;
}

/* =========================================
   FORMS / BUTTONS
========================================= */
.btn.btn-yellow {
    font-size: 14px;
    font-weight: 600;
    height: 100%;
    line-height: 33px;
    padding: 7px 26px;
    border-radius: 6px;
    background: #0768b4;
}

.input-addon-lg {
    font-size: 30px;
}

.donation-notice-red {
    color: #ff0000;
    font-size: 18px;
    text-align: center;
}

/* =========================================
   RESPONSIVE STYLES
========================================= */
.pb-md-90 {
    padding-bottom: 90px;
}

/* Mobile responsive adjustments */
.hands-img {
    max-width: 90%;
    height: auto;
}

@media (max-width: 991px) {
    .contact-d {
        padding: 50px 15px 30px 0 !important;
    }

    .contact-p-fill {
        margin-top: 20px;
        margin-bottom: 40px;
        height: auto !important;
    }

    .step-icon-outer {
        width: 110px;
        height: 110px;
    }

    .step-item h4 {
        font-size: 14px;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 10px;
    }

    .story-title {
        font-size: 28px;
    }

    .story-desc {
        font-size: 14px;
        color: #DBEAFE;
        line-height: 1.6;
        margin-bottom: 30px;
        text-align: justify;
    }

    .about-us {
        text-align: center;
        padding: 60px 0 !important;
        background-color: #f8fafc;
        position: relative;
    }

    .filters-title {
        font-family: 'Roboto Slab', serif;
        font-size: 28px;
    }

    .campaign-section .header h2 {
        font-size: 28px;
    }

    .campaign-section .header a {
        font-size: 12px;
    }

    .how-title {
        font-weight: 700;
        font-size: 28px;
        color: #0f172a;
        margin-bottom: 25px;
    }

    .how-it-works {
        text-align: center;
        padding: 20px 0 60px !important;
    }
}

@media only screen and (max-width: 1440px) {
    .filter-row {
        gap: 10px;
        margin-left: 60px;
    }

    .mx-4 {
        margin-left: 36px !important;
        margin-right: 36px !important;
    }
}

@media (max-width: 991px) {

    /* Filters Row */
    .filter-row {

        margin-left: 0px;
    }
}

/* --- Hands Background Watermark & Utility Classes --- */
.position-relative {
    position: relative !important;
}

.transform-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hands-img {
    max-width: 320px;
    height: auto;
    pointer-events: none;
    z-index: 1;
}

.opacity-2 {
    opacity: 0.2;
}

.z-5 {
    position: relative;
    z-index: 5;
}

.fs-35 {
    font-size: 35px !important;
}

.f-800 {
    font-weight: 800 !important;
}

.image-dotted img {
    width: 100%;
}

/* Owl Carousel Card Grid (Current & Completed Campaigns) Slider Styling */
.card-grid.owl-carousel.owl-loaded {
    display: block !important;
}

.card-grid.owl-carousel .owl-stage {
    display: flex;
}

.card-grid.owl-carousel .owl-dots {
    margin-top: 24px;
    text-align: center;
}

.card-grid.owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 4px 6px;
    background: #cbd5e1;
    display: inline-block;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.card-grid.owl-carousel .owl-dots .owl-dot.active span,
.card-grid.owl-carousel .owl-dots .owl-dot:hover span {
    background: #0056D2;
    width: 26px;
}

.page-content p {
    font-size: 14px !important;
}