/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* Global Styles */
:root {
    /* New Theme Colors */
    --primary: #2479b4; /* honolulu-blue */
    --secondary: #fff09c; /* flax */
    --light: #fefcf5; /* baby-powder */
    --dark: #1a4f7a; /* darker shade of honolulu-blue */
    --success: #27ae60;
    --info: #3498db;
    --warning: #f39c12;
    --danger: #e74c3c;
    --white: #ffffff;
    --gray: #95a5a6;
    --dark-gray: #7f8c8d;
    --light-gray: #f8f9fa;
    --border: #e9ecef;
    --border-dark: #dee2e6;

    /* Additional theme colors */
    --flax: #fff09c;
    --baby-powder: #fefcf5;
    --honolulu-blue: #2479b4;
}

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

body {
    font-family: "Poppins", sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 75px;
    background-color: var(--baby-powder);
    color: #2c3e50;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

p {
    margin-bottom: 1.2rem;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #1a252f;
    border-color: #1a252f;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Navigation */
/* ===== Navbar Base ===== */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
}

/* ===== Navbar Scroll Effect ===== */
.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== Logo Styling ===== */
.navbar-brand img {
    height: 45px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 38px;
}

/* ===== Center Navigation Links ===== */
.navbar-nav {
    align-items: center;
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--primary) !important;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* ===== Donate / Auth Buttons ===== */
.navbar .btn {
    margin-left: 0.5rem;
    border-radius: 30px;
    font-weight: 500;
    padding: 6px 18px;
    transition: all 0.3s ease;
}

.navbar .btn-outline-primary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.navbar .btn-outline-primary:hover {
    background-color: var(--primary);
    color: #fff;
}

/* ===== Right-side Auth Buttons ===== */
.navbar .d-flex {
    margin-left: auto;
    align-items: center;
}
/* =========================
   GLOBAL RESPONSIVE STYLES
   ========================= */

/* ===== Base (applies to all) ===== */
section {
    padding: 5rem 0;
}

.hero-section {
    min-height: 700px;
}

/* ===== Medium Devices (tablets ≤ 991.98px) ===== */
@media (max-width: 991.98px) {
    /* Navbar adjustments */
    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    .navbar .navbar-collapse {
        text-align: center;
    }

    .navbar .navbar-nav {
        margin: 1rem 0;
    }

    .navbar .nav-link {
        padding: 0.5rem 0;
        font-size: 1rem;
    }

    .navbar .d-flex {
        margin-top: 0.5rem;
        justify-content: center;
        width: 100%;
    }

    .navbar .btn {
        width: auto;
        margin-top: 5px;
    }

    /* Hero section adjustments */
    .hero-section {
        min-height: 600px;
        text-align: center;
        padding: 3rem 1rem;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-section p {
        font-size: 1rem;
    }

    section {
        padding: 4rem 0;
    }
}

/* ===== Small Devices (phones ≤ 767.98px) ===== */
@media (max-width: 767.98px) {
    .navbar .nav-link {
        font-size: 0.95rem;
    }

    .hero-section {
        min-height: 500px;
        padding: 2.5rem 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    section {
        padding: 3rem 0;
    }

    h2,
    .display-5 {
        font-size: 1.8rem;
    }

    p.lead {
        font-size: 1rem;
    }

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

/* ===== Extra Small Devices (very small phones ≤ 575.98px) ===== */
@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 35px;
    }

    .hero-section {
        min-height: 450px;
        padding: 2rem 1rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1.2rem;
    }

    section {
        padding: 2.5rem 0;
    }
}

/* ===== Large Devices (desktops ≥ 992px) ===== */
@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section p {
        font-size: 1.15rem;
    }
}

/* ===== Extra Large Screens (≥ 1400px) ===== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }

    .hero-section p {
        font-size: 1.25rem;
    }

    section {
        padding: 6rem 0;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../images/hero.webp") no-repeat center center/cover !important;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    margin-top: -75px;
    padding-top: 75px;
    animation: heroZoom 15s infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Section Styling */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--dark);
}

.section-title::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    bottom: -10px;
    left: 0;
}

/* Floating Animations */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

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

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

    50% {
        transform: translateY(15px) rotate(-5deg);
    }

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

.floating-element {
    position: absolute;
    z-index: 1;
    opacity: 0.8;
    transition: all 0.5s ease;
}

.floating-element:hover {
    transform: scale(1.2) !important;
    opacity: 1;
}

.floating-1 {
    top: 10%;
    right: 8%;
    animation: float 8s ease-in-out infinite;
}

.floating-2 {
    bottom: 20%;
    left: 5%;
    animation: floatReverse 7s ease-in-out infinite 0.5s;
}

.floating-3 {
    bottom: 10%;
    right: 15%;
    animation: float 9s ease-in-out infinite 0.7s;
}

/* About Section */
#about {
    position: relative;
    z-index: 1;
    background-color: #fff;
}

.about-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--light);
    z-index: -1;
    border-bottom-left-radius: 100px;
}

.page-header-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/hero.webp') center/cover no-repeat;
    padding: 100px 0;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 79, 122, 0.8) 0%,
        rgba(12, 46, 74, 0.9) 100%
    );
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-header-banner {
        padding: 80px 0;
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .page-header-banner {
        padding: 60px 0;
        min-height: 200px;
    }
    
    .page-header-banner h1 {
        font-size: 2rem;
    }
    
    .page-header-banner p.lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .page-header-banner {
        padding: 50px 20px;
        min-height: 180px;
    }
    
    .page-header-banner h1 {
        font-size: 1.75rem;
        margin-bottom: 10px !important;
    }
}

#about .position-relative {
    position: relative;
    padding: 20px;
}

#about .main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

#about .main-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

#about .side-img-1,
#about .side-img-2 {
    position: absolute;
    border: 5px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(36, 121, 180, 0.08);
    border: 1px solid rgba(36, 121, 180, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(36, 121, 180, 0.15);
}

#about .side-img-1 {
    width: 200px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    z-index: 3;
    transform: rotate(-5deg);
}

#about .side-img-2 {
    width: 200px;
    height: 150px;
    top: -20px;
    right: -30px;
    z-index: 3;
    transform: rotate(5deg);
}

#about .side-img-1:hover,
#about .side-img-2:hover {
    transform: rotate(0) scale(1.05);
    z-index: 4;
}

#about .side-img-1 img,
#about .side-img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.financial-support-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.financial-support-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    #about .main-img {
        height: 400px;
    }

    #about .side-img-1,
    #about .side-img-2 {
        width: 150px;
        height: 120px;
    }

    #about .side-img-1 {
        bottom: -20px;
        left: -20px;
    }

    #about .side-img-2 {
        top: -15px;
        right: -20px;
    }
}

@media (max-width: 767.98px) {
    .about-shape {
        display: none;
    }

    #about .main-img {
        height: 350px;
    }

    #about .side-img-1,
    #about .side-img-2 {
        width: 120px;
        height: 100px;
    }

    /* Causes Section */
    #causes {
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }

    /* Animated Background Elements */
    .floating-shape {
        position: absolute;
        border-radius: 50%;
        background: linear-gradient(
            45deg,
            rgba(52, 152, 219, 0.1),
            rgba(46, 204, 113, 0.1)
        );
        filter: blur(40px);
        z-index: 0;
    }

    .shape-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -100px;
        animation: float1 15s ease-in-out infinite;
    }

    .shape-2 {
        width: 400px;
        height: 400px;
        bottom: -150px;
        left: -150px;
        animation: float2 18s ease-in-out infinite;
    }

    .shape-3 {
        width: 200px;
        height: 200px;
        top: 50%;
        right: 10%;
        animation: float3 20s ease-in-out infinite;
    }

    /* Section Header */
    #causes .divider {
        width: 80px;
        height: 4px;
        background: var(--primary-color);
        margin: 15px auto 20px;
        position: relative;
    }
}

/* Causes Section */
#causes {
    position: relative;
    padding: 5rem 0;
}

.cause-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.cause-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cause-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.cause-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.cause-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.cause-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.cause-content p {
    color: var(--gray);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.cause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(44, 62, 80, 0.8),
        rgba(44, 62, 80, 0.9)
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.cause-card:hover .cause-overlay {
    opacity: 1;
}

.cause-overlay h3,
.cause-overlay p {
    color: white;
    margin-bottom: 1rem;
}

.cause-overlay .btn {
    background: white;
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.cause-overlay .btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.cause-card .progress-bar {
    border-radius: 4px;
    margin: 1rem 0;
    background-color: var(--primary);
    height: 8px;
}

/* Partners Section */
#partners {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.partners-marquee {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: pendulum 6s ease-in-out infinite alternate;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 3rem;
    background: white;
    border-radius: 10px;
    margin: 0 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
}

/* Jump effect when visible (AOS compatible) */
[data-aos="jump"] {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

[data-aos="jump"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* Hover animation */
.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.partner-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}

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

.partner-name {
    font-weight: 500;
    color: var(--dark);
    text-align: center;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Pendulum keyframes */
@keyframes pendulum {
    0% {
        transform: translateX(-12%);
    }

    100% {
        transform: translateX(12%);
    }
}

/* Pause on hover */
.partners-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-item {
        padding: 1rem 1.5rem;
        margin: 0 0.5rem;
    }

    .partner-item img {
        height: 50px;
    }

    .partner-name {
        font-size: 0.85rem;
    }
}

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Image styling */
.gallery-item img {
    transition: transform 0.6s ease, filter 0.5s ease;
    width: 100%;
    height: 260px;
    object-fit: cover;
    filter: brightness(90%) contrast(1.05);
    border-radius: 16px;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(100%) contrast(1.1);
}

/* Gradient Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 10%,
        rgba(0, 0, 0, 0.7) 90%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

/* Hover effect for overlay */
.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Overlay text animation */
.gallery-overlay h5 {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay h5 {
    opacity: 1;
    transform: translateY(0);
}

/* Glow effect around the image */
.gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(
        120deg,
        rgba(0, 123, 255, 0.2),
        rgba(102, 16, 242, 0.2)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-item img {
        height: 200px;
    }

    .gallery-overlay h5 {
        font-size: 0.95rem;
    }
}

.underline {
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #6610f2);
    border-radius: 2px;
    animation: underlineGrow 1.2s ease-in-out;
}

@keyframes underlineGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Donation Form Container */
.donation-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.donation-form::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 123, 255, 0.05),
        rgba(102, 16, 242, 0.05)
    );
    z-index: 0;
    border-radius: 16px;
}

.donation-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.donation-form * {
    position: relative;
    z-index: 1;
}

/* Form Controls */
.form-control {
    height: 52px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #2c3e50;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-control:focus {
    border-color: var(--primary, #007bff);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.15);
    outline: none;
}

/* Textarea Styling */
textarea.form-control {
    height: auto;
    min-height: 120px;
    resize: none;
    line-height: 1.5;
}

/* Label Styling */
.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.4rem;
}

/* Input Group (e.g., $ Donation Amount) */
.input-group-text {
    background-color: var(--primary, #007bff);
    color: #fff;
    border: none;
    border-radius: 8px 0 0 8px;
    font-weight: 500;
}

/* Quick Amount Buttons */
.btn-outline-primary.btn-sm {
    border-radius: 20px;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary.btn-sm:hover,
.btn-outline-primary.btn-sm:focus {
    background: linear-gradient(90deg, var(--honolulu-blue), #1a4f7a);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(36, 121, 180, 0.3);
}

/* Submit Button */
.btn-primary {
    background: linear-gradient(90deg, var(--honolulu-blue), #3a8bc8);
    border: none;
    border-radius: 8px;
    padding: 0.9rem 1.5rem;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 16, 242, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #1a4f7a, var(--honolulu-blue));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(36, 121, 180, 0.4);
    box-shadow: 0 6px 20px rgba(102, 16, 242, 0.4);
}

/* Section Heading */
.donation-form h2 {
    font-weight: 700;
    color: var(--primary, #007bff);
    margin-bottom: 0.5rem;
}

.donation-form p.lead {
    color: #6c757d;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .donation-form {
        padding: 2rem 1.5rem;
    }

    .form-control {
        height: 48px;
    }

    .btn-primary {
        font-size: 1rem;
    }
}

/* Contact Info */
.contact-info i {
    width: 50px;
    height: 50px;
    background-color: var(--light);
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 5rem 0 0;
}

footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

footer h5::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a {
    color: var(--gray);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white) !important;
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 40px;
}

.back-to-top:hover {
    background-color: var(--dark);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-credit {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Gradient underline animation */
.footer-link {
    color: #0d6efd;
    font-weight: 600;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-link:hover {
    color: #6610f2;
}

.footer-link:hover::after {
    width: 100%;
}

/* Dark Theme Styles */
.modal-content {
    background-color: #2d3748;
    color: #e2e8f0;
    border: 1px solid #4a5568;
}
.modal-header {
    border-bottom: 1px solid #4a5568;
}
.modal-footer {
    border-top: 1px solid #4a5568;
}
.form-control,
.form-select,
.input-group-text {
    background-color: #1a202c;
    border-color: #4a5568;
    color: #e2e8f0;
}
.form-control:focus,
.form-select:focus {
    background-color: #1a202c;
    color: #e2e8f0;
    border-color: #4299e1;
    box-shadow: 0 0 0 0.25rem rgba(66, 153, 225, 0.25);
}
.form-control::placeholder {
    color: #a0aec0;
}
.form-label,
.modal-title {
    color: #e2e8f0;
}
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}
.progress {
    background-color: #4a5568;
}
.form-text {
    color: #a0aec0 !important;
}
.input-group-text {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

/* Smooth fade animation */
.fade-in {
    animation: fadeIn 1.2s ease-in forwards;
}
.fade-out {
    animation: fadeOut 0.6s ease-out forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.password-toggle {
    position: absolute;
    right: 20px;
    top: 69%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #0b0562;
}
.password-toggle:hover {
    color: #0d6efd;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 500px;
        text-align: center;
    }

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

    .hero-section p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section .btn {
        display: block;
        margin: 0.5rem auto;
        max-width: 200px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .donation-form {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .gallery-item img {
        height: 200px;
    }
}
