:root {
    --primary: #1a5276;
    --primary-light: #217dbb;
    --primary-dark: #0d2f44;
    --secondary: rgb(242, 169, 34);
    --secondary-light: #f5bc5a;
    --secondary-dark: #d4941c;
    --accent: #27ae60;
    --accent-light: #2ecc71;
    --warm: #e67e22;
    --heart-red: #e74c3c;
    --light: #f8f6f2;
    --light-warm: #fdf8f0;
    --cream: #faf8f5;
    --dark: #2c3e50;
    --text: #4a4a4a;
    --text-light: #7f8c8d;
    --border-soft: #ede8e0;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

p {
    color: var(--text);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-heart {
    font-size: 3rem;
    color: var(--secondary);
    animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15); }
    50% { transform: scale(1); }
    75% { transform: scale(1.15); }
}

/* ============================================
   NAVIGATION - NGO Style
   ============================================ */
.navbar {
    padding: 1.25rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
    border-bottom-color: transparent;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 80px;
    width: auto;
    max-width: 360px;
}



.nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    padding: 0.6rem 1.1rem !important;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.navbar.scrolled .nav-link {
    color: var(--dark) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-item.dropdown > .nav-link::after {
    display: none;
}

.nav-item.dropdown > .nav-link.dropdown-toggle::after {
    display: inline-block;
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background: none;
    transition: none;
    border-radius: 0;
    margin-left: 0.4em;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    content: '';
}

.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

.btn-donate-nav {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: #fff !important;
    padding: 0.6rem 1.75rem !important;
    border-radius: 50px;
    font-weight: 700;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(242, 169, 34, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-donate-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 169, 34, 0.45);
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

.btn-donate-nav::after {
    display: none;
}

.btn-donate-nav i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}



.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   HERO SECTION - NGO Emotional Style
   ============================================ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 650px;
}

.hero-slide {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(13, 47, 68, 0.45) 0%,
        rgba(26, 82, 118, 0.4) 40%,
        rgba(26, 82, 118, 0.3) 100%
    );
}

.hero-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, #fff, transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 750px;
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
    font-weight: 400;
    line-height: 1.7;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
    width: 55px !important;
    height: 55px !important;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem !important;
    font-weight: 700;
}

.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary) !important;
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   BUTTONS - NGO Warm Style
   ============================================ */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(26, 82, 118, 0.3);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 82, 118, 0.4);
}

.btn-secondary-custom {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: #fff;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(242, 169, 34, 0.4);
    font-size: 1rem;
}

.btn-secondary-custom:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(242, 169, 34, 0.5);
}

.btn-outline-custom {
    background: transparent;
    color: #fff;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-accent-custom {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #fff;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-accent-custom:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
}

/* ============================================
   SECTION STYLES - NGO Warm & Inviting
   ============================================ */
.section {
    padding: 110px 0;
}

.section-gray {
    background: linear-gradient(180deg, var(--cream) 0%, var(--light) 100%);
}

.section-warm {
    background: linear-gradient(135deg, var(--light-warm) 0%, var(--cream) 100%);
}

.section-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-title h2::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    border-radius: 3px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

.section-title-white h2 {
    color: #fff;
}

.section-title-white h2::before,
.section-title-white h2::after {
    background: var(--secondary);
}

.section-title-white p {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   ABOUT PREVIEW - NGO Storytelling Style
   ============================================ */
.about-preview {
    padding: 120px 0;
    background: #fff;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 120px;
    height: 120px;
    border-top: 4px solid var(--secondary);
    border-left: 4px solid var(--secondary);
    z-index: 1;
    border-radius: var(--radius-md) 0 0 0;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: #fff;
    padding: 25px 35px;
    border-radius: var(--radius-md);
    text-align: center;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(242, 169, 34, 0.35);
}

.about-badge h3 {
    font-size: 2.75rem;
    color: #fff;
    margin: 0;
    font-weight: 800;
    line-height: 1;
}

.about-badge p {
    margin: 0.5rem 0 0;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.95;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: var(--cream);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.about-feature-item:hover {
    background: #fff;
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.about-feature-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.25);
}

.about-feature-item h5 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.about-feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   CAUSES / PROJECTS CARDS - NGO Impact Style
   ============================================ */
.cause-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid var(--border-soft);
}

.cause-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.cause-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.cause-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
}

.cause-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cause-card:hover .cause-image img {
    transform: scale(1.08);
}

.cause-category {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(242, 169, 34, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cause-content {
    padding: 28px;
}

.cause-content h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.cause-content h4 a {
    color: var(--dark);
}

.cause-content h4 a:hover {
    color: var(--primary);
}

.cause-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 22px;
    line-height: 1.7;
}

.cause-progress {
    margin-bottom: 18px;
}

.progress {
    height: 10px;
    border-radius: 10px;
    background: #f0ede8;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cause-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    font-size: 0.95rem;
}

.cause-stats .raised {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.cause-stats .goal {
    color: var(--text-light);
    font-weight: 500;
}

.cause-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
}

.cause-footer .donate-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(26, 82, 118, 0.35);
}

.cause-footer .donate-btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 82, 118, 0.45);
}

.cause-footer .donate-btn i {
    font-size: 0.85rem;
}

/* ============================================
   COUNTER SECTION - NGO Impact Style
   ============================================ */
.counter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(242, 169, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(39, 174, 96, 0.08) 0%, transparent 50%);
}

.counter-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/><circle cx="100" cy="100" r="60" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></svg>') repeat;
    background-size: 200px;
}

.counter-item {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.08);
    padding: 35px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.counter-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.counter-icon {
    width: 85px;
    height: 85px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--secondary);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.counter-item:hover .counter-icon {
    background: var(--secondary);
    color: #fff;
    transform: scale(1.1);
    border-color: var(--secondary);
}

.counter-item h2 {
    font-size: 3.25rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.counter-item p {
    font-size: 1.1rem;
    opacity: 1;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* ============================================
   TESTIMONIALS - NGO Human Stories Style
   ============================================ */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 25px 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 10px;
    border: 1px solid var(--border-soft);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 3px solid var(--secondary);
    box-shadow: 0 5px 15px rgba(242, 169, 34, 0.25);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    color: var(--text);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.testimonial-role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-rating {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.testimonial-rating i {
    margin: 0 2px;
}

/* ============================================
   TEAM MEMBERS - NGO People Style
   ============================================ */
.team-card {
    text-align: center;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-soft);
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-social {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.team-social a:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
}

.team-info {
    padding: 28px;
}

.team-info h4 {
    margin-bottom: 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.team-info p {
    color: var(--primary);
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   BLOG CARDS - NGO Stories Style
   ============================================ */
.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid var(--border-soft);
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.blog-image {
    height: 230px;
    overflow: hidden;
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
    pointer-events: none;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-content {
    padding: 28px;
}

.blog-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--secondary);
}

.blog-content h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-content h4 a {
    color: var(--dark);
}

.blog-content h4 a:hover {
    color: var(--primary);
}

.blog-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.7;
}

.read-more {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.read-more:hover {
    color: var(--secondary);
    gap: 14px;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* ============================================
   CTA SECTION - NGO Action Style
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 120px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #fff, transparent);
    pointer-events: none;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* ============================================
   GALLERY PREVIEW
   ============================================ */
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 260px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.gallery-item:hover {
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.85) 0%, rgba(13, 47, 68, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 2.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ============================================
   GALLERY ALBUMS
   ============================================ */
.gallery-album {
    cursor: pointer;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.gallery-album:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.gallery-album-cover {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.gallery-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-album:hover .gallery-album-cover img {
    transform: scale(1.1);
}

.gallery-album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.85) 0%, rgba(13, 47, 68, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: #fff;
    gap: 8px;
}

.gallery-album:hover .gallery-album-overlay {
    opacity: 1;
}

.gallery-album-overlay i {
    font-size: 2.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-album:hover .gallery-album-overlay i {
    transform: scale(1);
}

.gallery-album-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-album-info {
    padding: 15px;
}

.gallery-album-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.gallery-album-info p {
    margin-bottom: 0;
}

/* Album modal thumbs */
.thumb-preview {
    width: 60px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumb-preview:hover,
.thumb-preview.active {
    opacity: 1;
    border-color: var(--primary);
}

#albumThumbs {
    max-height: 80px;
    overflow-y: auto;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partner-logo {
    padding: 25px;
    opacity: 0.5;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: transparent;
}

.partner-logo img {
    max-height: 55px;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* ============================================
   NEWSLETTER - NGO Community Style
   ============================================ */
.newsletter-section {
    background: linear-gradient(135deg, var(--light-warm) 0%, var(--cream) 100%);
    padding: 90px 0;
    position: relative;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(242,169,34,0.1)"/></svg>') repeat;
    background-size: 30px;
}

.newsletter-form {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 28px;
    border: 2px solid var(--border-soft);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.newsletter-form input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(26, 82, 118, 0.1);
}

.newsletter-form button {
    padding: 16px 35px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(26, 82, 118, 0.3);
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 82, 118, 0.4);
}

/* ============================================
   FOOTER - NGO Professional Style
   ============================================ */
.footer {
    background: #1a5276;
    color: #fff;
    padding-top: 90px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.footer h5 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

.footer p,
.footer li,
.footer a {
    color: rgba(255, 255, 255, 0.75);
}

.footer a:hover {
    color: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
    list-style: none;
}

.footer-contact i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(242, 169, 34, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
    margin-top: 70px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   PAGE HEADER (Inner Pages) - NGO Style
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 170px 0 100px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(242, 169, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #fff, transparent);
}

.page-header h1 {
    color: #fff;
    font-size: 3.25rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--secondary);
}

.breadcrumb-item.active {
    color: var(--secondary);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FORM STYLES - NGO Clean Style
   ============================================ */
.form-control {
    padding: 14px 22px;
    border: 2px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 82, 118, 0.08);
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash-message {
    padding: 18px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #b1dfbb;
}

.flash-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f1b0b7;
}

.flash-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border: 1px solid #abdde5;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 35px;
    right: 35px;
    height: 55px;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 25px 0 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    font-size: 1.8rem;
}

.whatsapp-float span {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}

.whatsapp-float.visible {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float:hover {
    background: #20bd5a;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 2.25rem;
    }

    .navbar-collapse {
        background: #fff;
        padding: 25px;
        border-radius: var(--radius-lg);
        margin-top: 15px;
        box-shadow: var(--shadow-medium);
        border: 1px solid var(--border-soft);
    }

    .navbar-collapse .nav-link {
        color: var(--dark) !important;
        padding: 12px 15px !important;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .counter-item {
        margin-bottom: 35px;
    }

    .counter-section {
        padding: 70px 0;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        min-height: 550px;
    }

    .hero-slide {
        min-height: 550px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .page-header {
        padding: 130px 0 70px;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }

    .section-title h2 {
        font-size: 1.85rem;
    }

    .section-title h2::before,
    .section-title h2::after {
        width: 50px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .about-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 25px;
        display: inline-block;
    }

    .about-image-wrapper::before {
        display: none;
    }

    .cause-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.85rem;
    }

    .counter-item h2 {
        font-size: 2.5rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom,
    .btn-outline-custom,
    .btn-accent-custom {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px !important;
    }

    .section-title h2 {
        font-size: 1.65rem;
    }

    .about-image-wrapper img {
        height: 350px;
    }
}
