:root {
    --primary-blue: #0A3D91;
    --dark-blue: #082B6B;
    --accent-yellow: #FFD700;

    --bg-white: #ffffff;
    --bg-light: #f4f6fb;
    --bg-soft-blue: #eef3fb;
    --bg-very-light: #fafbfe;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1F2937;
    /* padding-top: 100px; */
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
}

.brand-text {
    color: #0A3D91;
}

.hero-section {
    background: linear-gradient(135deg, #0A3D91, #082B6B);
    min-height: 70vh;
}

.section-title {
    color: #0A3D91;
    font-weight: 600;
}



/* footer styling */

.footer {
    position: relative;
    background: linear-gradient(135deg, #082B6B, #0A3D91);
    overflow: hidden;
    border-top: 4px solid #FFD700;
}

.footer-logo {
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
    padding-left: 6px;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 4px 4px;
    opacity: 0.3;
    pointer-events: none;
}

/* footer logo glow */
.footer-logo-glow {
    position: absolute;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25), transparent 70%);
    border-radius: 50%;
    left: -15px;
    top: -10px;
    z-index: 0;
}

.footer-logo {
    position: relative;
    z-index: 1;
}

/* footer wave */

.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/*advanced hero section */
.hero-section {
    background: linear-gradient(135deg, #0A3D91, #082B6B);
    /* min-height: 85vh; */
    min-height: 81vh;
    display: flex;
    align-items: center;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #FFD700;
    top: -50px;
    left: -100px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: #ffffff;
    bottom: -50px;
    right: -80px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 120px;
}


/* Card styling */
.focus-card {
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.focus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: auto;
    background: linear-gradient(135deg, #0A3D91, #082B6B);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/* scroll reveal animation */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* CTA strip */

.cta-strip {
    background: linear-gradient(135deg, #0A3D91, #061f4d);
    position: relative;
}

.cta-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #FFD700;
    border-radius: 50%;
    opacity: 0.08;
    top: -100px;
    right: -100px;
}

/* Navbar shrink */

.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ================= NAVBAR ================= */

.custom-navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 999;
    /* new */
    position: sticky;
    top: 0;
}

.custom-navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.brand-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #0A3D91;
    line-height: 1.2;
}

.brand-sub {
    font-size: 12px;
    font-weight: 400;
    color: #555;
}

.nav-custom {
    font-weight: 500;
    position: relative;
    color: #1F2937 !important;
    transition: color 0.3s ease;
}

.nav-custom::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.nav-custom:hover::after,
.nav-custom.active::after {
    width: 100%;
}

.nav-custom:hover {
    color: #0A3D91 !important;
}

/* Donate Button */
.nav-donate-btn {
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

/* glass card effect */
.testimonial-card {
    max-width: 650px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Image collage */
.collage-wrapper {
    min-height: 350px;
}

.collage-img {
    position: absolute;
    width: 220px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s ease;
}

.img-1 {
    top: 0;
    left: 40px;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    animation: float1 6s ease-in-out infinite;
}

.img-2 {
    top: 80px;
    left: 180px;
    clip-path: circle(50%);
    animation: float2 8s ease-in-out infinite;
}

.img-3 {
    top: 160px;
    left: 80px;
    clip-path: polygon(0% 20%, 100% 0%, 100% 80%, 0% 100%);
    animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(20px);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* button micro ineraction */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::after {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    top: 0;
    left: 0;
    transition: width 0.4s ease;
}

.btn:hover::after {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
}

/* soft glass card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* background texture */

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
    z-index: -1;
}

/* brand image wrapper */
.brand-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.brand-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 61, 145, 0.35),
            rgba(255, 215, 0, 0.25));
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* accent corner shape */
.brand-image-wrapper::before {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    background: #FFD700;
    top: -20px;
    right: -20px;
    transform: rotate(45deg);
    opacity: 0.8;
}

.brand-image-wrapper {
    border: 4px solid #0A3D91;
    padding: 6px;
    background: #ffffff;
}

/* brand hover tint effect */
.brand-image-wrapper img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.brand-image-wrapper:hover img {
    transform: scale(1.05);
    filter: saturate(110%) contrast(105%);
}

/* brand glow */
.brand-image-wrapper {
    box-shadow:
        0 10px 30px rgba(10, 61, 145, 0.15),
        0 0 0 4px rgba(255, 215, 0, 0.08);
}

/* clip path bg shape */
.brand-bg-shape {
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, #0A3D91, #082B6B);
    top: -10%;
    left: -10%;
    clip-path: polygon(0 0, 100% 10%, 90% 100%, 0% 90%);
    z-index: -1;
    border-radius: 30px;
}

/* Mobile Menu */
@media (max-width: 991px) {

    .custom-navbar {
        background: #ffffff;
    }

    .navbar-collapse {
        margin-top: 15px;
        background: #ffffff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    }

    .nav-donate-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

/* top navbar */
.top-bar {
    background: linear-gradient(90deg, #0A3D91, #082B6B);
    color: #ffffff;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
    border-top: 4px solid #FFD700;
}

.top-bar i {
    color: #FFD700;
}

.top-donate-btn {
    background: #FFD700;
    color: #0A3D91;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}


/* logo hover anuimation */
.logo-img {
    transition: transform 0.4s ease;
}

.navbar-brand:hover .logo-img {
    transform: rotate(-5deg) scale(1.05);
}

/* animated hamburger */
.navbar-toggler {
    border: none;
}

.hamburger {
    width: 25px;
    height: 18px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #0A3D91;
    border-radius: 3px;
    transition: 0.4s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 7px;
}

.hamburger span:nth-child(3) {
    top: 14px;
}

.navbar-toggler.active .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 7px;
}

.navbar-toggler.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 7px;
}

/* Dropdown menu fade effect */

.custom-dropdown {
    border-radius: 12px;
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    /* display: block;
    visibility: hidden; */
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    /* visibility: visible; */
}

.dropdown-item {
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(10, 61, 145, 0.05);
    color: #0A3D91;
}

/* page hero */
.page-hero {
    background: linear-gradient(135deg, #0A3D91, #082B6B);
    min-height: 45vh;
    position: relative;
}

/* icon style */
.icon-large {
    font-size: 30px;
    color: var(--primary-blue);
}

/* journey time line */
.timeline-item {
    padding: 20px;
    border-left: 4px solid var(--accent-yellow);
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
}

/* section bg colors */
/* Pure White Section */
.section-white {
    background: var(--bg-white);
}

/* Light Neutral Section */
.section-light {
    background: var(--bg-light);
}

/* Soft Blue Section (Brand Subtle) */
.section-soft-blue {
    background: var(--bg-soft-blue);
}

/* Very Light Section (Barely Tinted) */
.section-very-light {
    background: var(--bg-very-light);
}

/* Primary Gradient Section */
.section-primary-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: #ffffff;
}

/* Dark Footer Style */
.section-dark {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: #ffffff;
}

/* donation card */
.donation-card {
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.donation-card.featured {
    border: 2px solid var(--accent-yellow);
}

/* global donate button */
.sticky-donate-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

/* contact hero */
.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 4px 4px;
    opacity: 0.3;
}

/* style css */
.contact-card {
    background: #ffffff;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.contact-card.featured {
    border: 2px solid var(--accent-yellow);
}

/* contact form css */
.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    transition: 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(10, 61, 145, 0.15);
}

#contactForm button:hover {
    transform: translateY(-2px);
}

/* map css */
.map-wrapper {
    border: 4px solid var(--accent-yellow);
}

/* gallery */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0));
    color: #fff;
}