:root {
    /* Logo Colors - Green Gradient (M) */
    --green-light: #7cb342;
    /* Lime green */
    --green-dark: #2e7d32;
    /* Forest green */
    --primary-color: #4caf50;
    /* Main green */

    /* Logo Colors - Blue Gradient (H) */
    --blue-light: #64b5f6;
    /* Sky blue */
    --blue-dark: #1565c0;
    /* Royal blue */
    --secondary-color: #2196f3;
    /* Main blue */

    /* Neutral Colors */
    --dark-color: #2e7d32;
    /* Dark green for text */
    --light-color: #f5f5f5;
    /* Light gray */
    --gray-bg: #e0e0e0;
    /* Light gray for tagline background */

    /* Gradients matching logo */
    --gradient-green: linear-gradient(135deg, #7cb342 0%, #2e7d32 100%);
    --gradient-blue: linear-gradient(135deg, #64b5f6 0%, #1565c0 100%);
    --gradient-primary: linear-gradient(135deg, #7cb342 0%, #2e7d32 50%, #64b5f6 100%);
}

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

html {
    overflow-x: hidden;
    width: 100%;
    height: auto;
    min-height: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2e7d32;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    margin: 0;
    padding: 0;
}

/* Bootstrap Color Overrides - Eye Catching */
.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:active,
.btn-primary:focus {
    background: var(--gradient-green);
    border: none;
    color: white !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: var(--green-dark);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 125, 50, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 2px solid var(--green-dark);
    color: var(--green-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.65rem 1.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-green);
    border-color: var(--green-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.25);
}

.text-primary {
    color: var(--green-dark) !important;
}

.bg-primary {
    background: var(--gradient-green) !important;
}

.bg-success {
    background: var(--gradient-green) !important;
}

.bg-info {
    background: var(--gradient-blue) !important;
}

.progress-bar.bg-success {
    background: var(--gradient-green) !important;
}

.progress-bar.bg-info {
    background: var(--gradient-blue) !important;
}

.progress-bar.bg-primary {
    background: var(--gradient-green) !important;
}

/* Header & Logo */
.header {
    position: sticky;
    top: 0;
    z-index: 1040 !important;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
    overflow: visible;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    min-height: 76px;
}

.navbar-collapse {
    overflow: visible !important;
}

.navbar-nav {
    overflow: visible !important;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 60px;
}

/* Logo Image Styling */
.navbar-logo {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: translateY(-2px) scale(1.05);
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 45px;
        max-width: 180px;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}

/* Professional Navbar Styling */
.navbar-nav {
    align-items: center;
    gap: 0;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .dropdown {
    position: static;
}

@media (min-width: 992px) {
    .navbar-nav .dropdown {
        position: relative !important;
        z-index: 1041 !important;
    }
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 15px;
    padding: 0.75rem 1.5rem !important;
    color: #4a5568 !important;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.navbar-nav .nav-link:hover:not(.btn-donate) {
    color: var(--green-dark) !important;
}

.navbar-nav .nav-link.btn-donate:hover {
    color: white !important;
}

/* Active state - just green color, NO strikethrough line */
.navbar-nav .nav-link.active:not(.btn-donate) {
    color: var(--green-dark) !important;
}

/* Remove ALL strikethrough lines */
.navbar-nav .nav-link::before {
    display: none !important;
}

.navbar-nav .nav-link::after {
    display: none !important;
}

/* Dropdown Styling */
.navbar-nav .dropdown-toggle {
    position: relative;
    padding-right: 1.8rem !important;
}

.navbar-nav .dropdown-toggle::after {
    content: '';
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(124, 179, 66, 0.3);
    transition: all 0.3s ease;
    margin-left: 0;
    vertical-align: 0;
    border-bottom: 0;
}

.navbar-nav .dropdown-toggle:hover::after {
    border-top-color: var(--green-dark);
}

.navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: var(--green-dark);
}

.dropdown-menu {
    border: none !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
    min-width: 220px !important;
    animation: fadeInDown 0.3s ease !important;
    z-index: 1041 !important;
    position: absolute !important;
    background: #ffffff !important;
}

.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.navbar-nav .dropdown {
    position: relative !important;
    z-index: 1032 !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.dropdown-item {
    padding: 0.65rem 1.5rem;
    font-size: 14px;
    color: #2e7d32;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(124, 179, 66, 0.1) 0%, rgba(100, 181, 246, 0.1) 100%);
    color: var(--green-dark);
    padding-left: 2rem;
}

.dropdown-item:active {
    background: var(--gradient-green);
    color: white;
}

/* Donate Button - Same as home page btn-primary */
.btn-donate {
    background: var(--gradient-green) !important;
    border: none !important;
    color: white !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 0.75rem 2rem !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
    white-space: nowrap;
    text-decoration: none !important;
    display: inline-block;
    font-size: inherit !important;
}

.btn-donate,
.btn-donate:link,
.btn-donate:visited,
.btn-donate:active {
    color: white !important;
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-donate:hover::before {
    width: 300px;
    height: 300px;
}

.btn-donate:hover {
    background: var(--green-dark) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 125, 50, 0.4) !important;
    text-decoration: none !important;
}

.btn-donate:active {
    transform: translateY(-1px);
    text-decoration: none !important;
}

.btn-donate::after {
    display: none !important;
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(124, 179, 66, 0.25);
}

.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%2846, 125, 50, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Navbar */
@media (max-width: 991px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .header.sticky-top {
        position: sticky;
        top: 0;
        z-index: 1030;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .navbar-toggler {
        border: 2px solid #2e7d32;
        padding: 0.5rem 0.75rem;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(124, 179, 66, 0.25);
        outline: none;
    }

    .navbar-collapse {
        background: white;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(124, 179, 66, 0.15);
        width: 100%;
        max-width: 100%;
        border: 1px solid rgba(124, 179, 66, 0.1);
    }

    .navbar-nav {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .navbar-nav .nav-item {
        width: 100%;
        margin: 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        max-width: 100%;
        display: block;
        text-align: left;
        font-size: 14px;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link.btn-donate {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem !important;
        border-radius: 6px;
        background: linear-gradient(135deg, #7cb342 0%, #2e7d32 100%);
        color: white !important;
        border: none;
    }

    .navbar-nav .nav-link.btn-donate:hover {
        background: linear-gradient(135deg, #2e7d32 0%, #1565c0 100%);
        color: white !important;
    }

    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 0.5rem;
    }

    .dropdown-menu {
        margin-left: 1rem !important;
        margin-top: 0.25rem !important;
        margin-bottom: 0.5rem !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 3px solid #2e7d32 !important;
        width: calc(100% - 2rem) !important;
        max-width: 100% !important;
        position: static !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(124, 179, 66, 0.05) !important;
        padding: 0.5rem 0 !important;
        z-index: 1041 !important;
    }

    .dropdown-menu .dropdown-item {
        padding: 0.5rem 1rem !important;
        color: #2e7d32 !important;
        font-size: 14px;
    }

    .dropdown-menu .dropdown-item:hover {
        background: rgba(124, 179, 66, 0.1) !important;
        color: #2e7d32 !important;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    .navbar-brand {
        max-width: 70%;
        overflow: hidden;
        padding: 0;
    }

    .navbar-logo {
        height: 45px;
        max-width: 180px;
    }
}

/* Hero Section - Eye Catching */
.hero-section {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.15) 0%, rgba(100, 181, 246, 0.15) 50%, rgba(124, 179, 66, 0.1) 100%);
    padding: 120px 0;
    text-align: center;
    position: static;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 0;
    margin-top: 0;
    width: 100%;
    display: block;
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0 !important;
    margin-top: 0;
}

#heroCarousel {
    position: relative;
    width: 100%;
}

#heroCarousel .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#heroCarousel .carousel-item {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.15) 0%, rgba(100, 181, 246, 0.15) 50%, rgba(124, 179, 66, 0.1) 100%);
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 0;
}

/* Text color for slides with background images */
#heroCarousel .carousel-item[style*="background-image"] .hero-title,
#heroCarousel .carousel-item[style*="background-image"] .hero-subtitle {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#heroCarousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(124, 179, 66, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(100, 181, 246, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 0;
}

#heroCarousel .carousel-item:nth-child(1) {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.15) 0%, rgba(100, 181, 246, 0.15) 50%, rgba(124, 179, 66, 0.1) 100%);
}

#heroCarousel .carousel-item:nth-child(2) {
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.15) 0%, rgba(124, 179, 66, 0.15) 50%, rgba(100, 181, 246, 0.1) 100%);
}

#heroCarousel .carousel-item:nth-child(3) {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.15) 0%, rgba(46, 125, 50, 0.15) 50%, rgba(124, 179, 66, 0.1) 100%);
}

#heroCarousel .carousel-item:nth-child(4) {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.15) 0%, rgba(124, 179, 66, 0.15) 50%, rgba(100, 181, 246, 0.1) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Carousel Controls */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(46, 125, 50, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

#heroCarousel .carousel-control-prev {
    left: 30px;
}

#heroCarousel .carousel-control-next {
    right: 30px;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    background: rgba(46, 125, 50, 1);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators */
#heroCarousel .carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(46, 125, 50, 0.8);
    margin: 0 5px;
    transition: all 0.3s ease;
}

#heroCarousel .carousel-indicators button.active {
    background: #2e7d32;
    border-color: #2e7d32;
    width: 30px;
    border-radius: 6px;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(124, 179, 66, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(100, 181, 246, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2e7d32;
    margin-bottom: 25px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #2e7d32;
    margin-bottom: 40px;
    font-weight: 400;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-section .btn-primary {
    animation: fadeInUp 1.4s ease-out;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.4);
}

/* Projects Section */
.projects-section {
    padding: 60px 0;
    position: relative;
    z-index: 2;
    background: #ffffff;
    margin-top: 0;
}

.project-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.1);
    border-color: var(--green-dark);
}

.project-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover .project-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

.project-content h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.75rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.project-card:hover .project-content h3 {
    color: var(--green-dark);
}

.project-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1rem;
}

/* Support Section - Eye Catching */
.support-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.05) 0%, rgba(100, 181, 246, 0.05) 100%);
    position: relative;
    z-index: 3;
    margin-top: 0 !important;
    margin-bottom: 0;
}

/* Remove top padding when support section comes after slider or campaigns */
.hero-slider-section~.support-section,
.campaigns-section~.support-section {
    padding-top: 0 !important;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-green);
    z-index: -1;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #2e7d32;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-green);
    border-radius: 2px;
}

.donation-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(124, 179, 66, 0.1);
    border: 1px solid rgba(124, 179, 66, 0.2);
    transition: all 0.3s ease;
}

.donation-form:hover {
    box-shadow: 0 15px 50px rgba(46, 125, 50, 0.15);
    transform: translateY(-2px);
}

/* Quick Donation Box - Eye Catching (for home page support section) */
.support-section .quick-donation-box {
    background: linear-gradient(135deg, #ffffff 0%, rgba(124, 179, 66, 0.03) 100%);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(46, 125, 50, 0.15);
    position: relative;
    border: 2px solid rgba(124, 179, 66, 0.2);
    transition: all 0.3s ease;
}

.quick-donation-box:hover {
    box-shadow: 0 15px 50px rgba(46, 125, 50, 0.25);
    transform: translateY(-3px);
    border-color: var(--green-dark);
}

.quick-donation-box h3 {
    font-size: 1.75rem;
    margin-bottom: 30px;
    color: #2e7d32;
    text-align: center;
    font-weight: 700;
}

.quick-donation-form .btn-group {
    margin-bottom: 15px;
}

/* Quote Section - Eye Catching */
.quote-section {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.08) 0%, rgba(100, 181, 246, 0.08) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    z-index: 4;
    margin-top: 0;
    margin-bottom: 0;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.quote-box {
    text-align: center;
    padding: 60px 50px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(124, 179, 66, 0.1);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(124, 179, 66, 0.1);
    transition: all 0.3s ease;
}

.quote-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(46, 125, 50, 0.2);
}

.quote-text {
    font-size: 3rem;
    font-weight: 800;
    color: #2e7d32;
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.3;
}

.quote-reference {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

/* Footer */
.footer {
    margin-top: 0;
    margin-bottom: 0;
    padding: 60px 0 30px;
}

.footer h5,
.footer h6 {
    margin-bottom: 20px;
    color: #2e7d32;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s;
    color: #2e7d32;
}

.footer a:hover {
    color: #1565c0 !important;
}

/* Global Link Styling - Theme Colors */
a {
    color: #2e7d32;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1565c0;
    text-decoration: underline;
}

/* Contact Links - Phone & Email */
a[href^="tel:"],
a[href^="mailto:"] {
    color: #2e7d32 !important;
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
    color: #1565c0 !important;
    text-decoration: underline;
}

/* Contact Page Links */
.card-body a,
.contact-info a {
    color: #2e7d32 !important;
    text-decoration: underline;
    font-weight: 500;
}

.card-body a:hover,
.contact-info a:hover {
    color: #1565c0 !important;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    color: #2e7d32 !important;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #1565c0 !important;
}

/* Campaigns Page */
.campaign-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(124, 179, 66, 0.1);
    transition: transform 0.3s;
    height: 100%;
}

.campaign-card:hover {
    transform: translateY(-5px);
}

.campaign-card img {
    height: 250px;
    object-fit: cover;
}

.campaign-card .card-body {
    padding: 25px;
}

.campaign-card .card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.progress {
    height: 10px;
    border-radius: 5px;
    margin: 15px 0;
}

/* Volunteers Page */
.volunteer-hero {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.1) 0%, rgba(100, 181, 246, 0.1) 100%);
    padding: 80px 0;
    text-align: center;
}

.volunteer-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(124, 179, 66, 0.1);
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

/* Blogs Page */
.blog-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(124, 179, 66, 0.1);
    transition: transform 0.3s;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Events Page */
.event-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(124, 179, 66, 0.1);
    transition: transform 0.3s;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    height: 250px;
    object-fit: cover;
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
}

/* Donation Page */
.donation-hero {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.1) 0%, rgba(100, 181, 246, 0.1) 100%);
    padding: 80px 0;
    text-align: center;
}

.donation-methods {
    padding: 60px 0;
}

.method-card {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.method-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.1);
}

.method-card i {
    font-size: 3rem;
    color: #2e7d32;
    margin-bottom: 20px;
}

/* Payment Method Selection */
.form-check-card {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    position: relative;
}

.form-check-card:hover {
    border-color: var(--green-dark);
    background: rgba(124, 179, 66, 0.05);
}

.form-check-card .form-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-check-card .form-check-input:checked~.form-check-label {
    color: var(--green-dark);
}

.form-check-card .form-check-input:checked~.form-check-label i {
    color: var(--green-dark);
    transform: scale(1.1);
}

.form-check-card.active {
    border-color: var(--green-dark);
    background: rgba(124, 179, 66, 0.1);
}

.form-check-card .form-check-label {
    width: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin: 0;
}

.form-check-card .form-check-label i {
    font-size: 2rem;
    color: #666;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .hero-title {
        font-size: 2rem;
        word-wrap: break-word;
    }

    .logo {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
    }

    .quick-donation-box {
        position: relative;
        top: 0;
        margin-top: 30px;
        width: 100%;
        max-width: 100%;
    }

    .quote-text {
        font-size: 1.5rem;
        word-wrap: break-word;
    }

    .project-card,
    .campaign-card,
    .blog-card,
    .event-card {
        max-width: 100%;
        width: 100%;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

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

/* Gift Aid and Organisation Donation Styles */
.gift-aid-section {
    border: 1px solid #e0e0e0;
}

.gift-aid-section .form-check-input[type="radio"] {
    margin-top: 0.5rem;
}

.gift-aid-section .form-check-label {
    font-size: 1rem;
    line-height: 1.6;
}

.gift-aid-section #giftAidAmount {
    color: #28a745;
    font-weight: 700;
}

#giftAidDeclaration {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #495057;
}

#organisationFields {
    border: 1px solid #b3d9ff;
    transition: all 0.3s ease;
}

.contact-preferences-section {
    border: 1px solid #b3d9ff;
}

.contact-preferences-section p {
    margin-bottom: 1rem;
    color: #495057;
}

/* Form Check Styling */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input[type="radio"]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Smooth transitions */
#organisationFields,
#giftAidSection,
#giftAidDeclaration {
    transition: all 0.3s ease-in-out;
}

/* Campaign Card Hover Effects */
.campaign-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(124, 179, 66, 0.1);
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(124, 179, 66, 0.15);
}

.campaign-card .card-title {
    transition: color 0.3s ease;
}

.campaign-card:hover .card-title {
    color: #0d6efd;
}

/* Terms and Conditions Modal Styling */
#termsModal .modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 40px rgba(124, 179, 66, 0.2);
}

#termsModal .modal-header {
    background: linear-gradient(135deg, #7cb342 0%, #2e7d32 100%);
    color: white;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

#termsModal .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

#termsModal .modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

#termsModal .terms-content {
    line-height: 1.8;
    color: #2e7d32;
}

#termsModal .terms-content h4 {
    color: #2e7d32;
    font-weight: 700;
    margin-bottom: 10px;
}

#termsModal .terms-content h5 {
    color: #495057;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

#termsModal .terms-content p {
    margin-bottom: 15px;
    text-align: justify;
}

#termsModal .terms-content ul {
    margin-bottom: 15px;
    padding-left: 25px;
}

#termsModal .terms-content ul li {
    margin-bottom: 8px;
}

#termsModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 15px 30px;
}

/* Scrollbar styling for modal */
#termsModal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#termsModal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#termsModal .modal-body::-webkit-scrollbar-thumb {
    background: #7cb342;
    border-radius: 10px;
}

#termsModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #2e7d32;
}

/* ============================================
   DONATION PAGE PROFESSIONAL STYLING
   ============================================ */

/* Hero Section Enhancement */
.donation-hero {
    background: linear-gradient(135deg, rgba(124, 179, 66, 0.1) 0%, rgba(100, 181, 246, 0.1) 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.donation-hero .container {
    position: relative;
    z-index: 1;
}

.donation-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.donation-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #2e7d32;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Main Donation Form Card */
.support-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.support-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.support-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #7cb342, #2e7d32);
    border-radius: 2px;
}

.donation-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(124, 179, 66, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.donation-form:hover {
    box-shadow: 0 15px 50px rgba(124, 179, 66, 0.15);
}

/* Form Labels */
.donation-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.donation-form .form-label::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(135deg, #7cb342, #2e7d32);
    border-radius: 2px;
}

/* Form Controls */
.donation-form .form-control,
.donation-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.donation-form .form-control:focus,
.donation-form .form-select:focus {
    border-color: #7cb342;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    outline: none;
    transform: translateY(-2px);
}

.donation-form .form-control:hover,
.donation-form .form-select:hover {
    border-color: #adb5bd;
}

/* Gift Aid Section Styling */
.gift-aid-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 2px 8px rgba(124, 179, 66, 0.05);
    transition: all 0.3s ease;
}

.gift-aid-section:hover {
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.1);
    border-color: #7cb342;
}

.gift-aid-section h5 {
    color: #2e7d32;
    font-weight: 700;
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gift-aid-section h5::before {
    content: '🎁';
    font-size: 1.5rem;
}

.gift-aid-section .form-check-label {
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 0;
    flex: 1;
}

.gift-aid-section .form-check-label:hover {
    background: rgba(124, 179, 66, 0.05);
}

.gift-aid-section .form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gift-aid-section .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0 !important;
    cursor: pointer;
    border: 2px solid #667eea;
    flex-shrink: 0;
}

.gift-aid-section .form-check-input:checked {
    background-color: #667eea;
    border-color: #7cb342;
}

#giftAidDeclaration {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-left: 4px solid #28a745;
    padding: 10px 12px !important;
    margin-top: 10px !important;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    animation: slideDown 0.3s ease-out;
}

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

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

#giftAidAmount {
    color: #28a745;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Organisation Fields */
#organisationFields {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    border: 2px solid #90caf9;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    animation: slideDown 0.3s ease-out;
}

/* Payment Method Alert */
.alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 15px 20px;
    color: #0d47a1;
    font-weight: 500;
}

.alert-info i {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* Donate Button */
.donation-form .btn-primary,
.donation-form .btn-primary:link,
.donation-form .btn-primary:visited,
.donation-form .btn-primary:active,
.donation-form .btn-primary:focus {
    background: linear-gradient(135deg, #7cb342 0%, #2e7d32 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(124, 179, 66, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white !important;
}

.donation-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.donation-form .btn-primary:hover::before {
    left: 100%;
}

.donation-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(124, 179, 66, 0.4);
    color: white !important;
}

.donation-form .btn-primary:active {
    transform: translateY(-1px);
    color: white !important;
}

/* Method Cards */
.method-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(124, 179, 66, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(124, 179, 66, 0.2);
    border-color: #7cb342;
}

.method-card i {
    font-size: 3rem;
    color: #2e7d32;
    margin-bottom: 1rem;
    display: block;
}

.method-card h5 {
    color: #2e7d32;
    font-weight: 700;
    margin-bottom: 1rem;
}

.method-card p {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, #7cb342 0%, #2e7d32 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.quote-box {
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.quote-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(124, 179, 66, 0.2);
    line-height: 1.3;
}

.quote-reference {
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
}

/* Form Check Styling */
.donation-form .form-check {
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.donation-form .form-check:hover {
    background: rgba(124, 179, 66, 0.05);
}

.donation-form .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
    cursor: pointer;
    border: 2px solid #667eea;
}

.donation-form .form-check-input:checked {
    background-color: #667eea;
    border-color: #7cb342;
}

.donation-form .form-check-label {
    cursor: pointer;
    margin-left: 0.5rem;
    font-size: 0.95rem;
}

/* Textarea Styling */
.donation-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Responsive Design */
@media (max-width: 768px) {
    .donation-hero .hero-title {
        font-size: 2.5rem;
    }

    .donation-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .donation-form {
        padding: 25px;
    }

    .support-section .section-title {
        font-size: 2rem;
    }

    .quote-text {
        font-size: 1.8rem;
    }
}

/* Loading State */
.donation-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    color: white !important;
}

/* Success Animation */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.donation-form .btn-primary:focus {
    animation: pulse 0.5s ease-in-out;
    color: white !important;
}

/* Heart Icon Pulse Animation */
.donation-hero .bi-heart-fill {
    animation: pulse 2s ease-in-out infinite;
    color: #2e7d32;
}

/* ============================================
   STICKY NAVBAR & QUICK DONATION BOX
   ============================================ */

/* Sticky Navbar */
.header.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: white;
}

.navbar {
    transition: all 0.3s ease;
}

/* Quick Donation Box */
/* Global Quick Donation Box - Sticky */
#quickDonationBox.quick-donation-box {
    position: fixed !important;
    top: 76px;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: 2px solid #2e7d32;
    border-bottom: 1px solid #2e7d32;
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
    transition: top 0.3s ease;
}

/* Quick donation box will be adjusted via JavaScript when navbar scrolls */

/* Add padding to body content to prevent overlap with fixed quick donation box */
body:not(.donate-page) .hero-section,
body:not(.donate-page) .hero-slider-section {
    margin-top: 0;
}

body:not(.donate-page) .hero-slider-section #heroCarousel .carousel-item {
    padding-top: 120px;
    padding-bottom: 120px;
}

body:not(.donate-page) section:first-of-type:not(.hero-section):not(.hero-slider-section) {
    margin-top: 140px;
    /* Space for fixed quick donation box */
}

/* Remove margin between slider and support section */
.hero-slider-section {
    margin-bottom: 0 !important;
}

/* Remove margin and top padding from support section when it comes after slider */
.hero-slider-section+.support-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove margin when campaigns section is between slider and support */
.campaigns-section+.support-section {
    margin-top: 0 !important;
}

/* Also handle when support section comes after campaigns */
.hero-slider-section~.support-section {
    margin-top: 0 !important;
}

.quick-donation-content {
    padding: 0;
}

.quick-donation-toggle {
    background: transparent;
    border: none;
    color: #2e7d32 !important;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 0;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
    gap: 8px;
    visibility: visible !important;
    opacity: 1 !important;
}

.quick-donation-toggle:hover {
    color: #1b5e20;
}

.quick-donation-toggle i {
    color: #2e7d32;
    font-size: 16px;
}

.quick-donation-form-wrapper {
    max-height: 300px;
    overflow: visible;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 20px 0;
    background: #ffffff;
    margin-top: 0;
    border-top: 1px solid #2e7d32;
}

.quick-donation-form-wrapper:not(.active) {
    max-height: 0;
    padding: 0 15px;
    overflow: hidden;
    margin-top: 0;
    border: none;
}

.quick-donation-form-wrapper form {
    opacity: 1;
    transition: opacity 0.3s ease 0.1s;
}

.quick-donation-form-wrapper:not(.active) form {
    opacity: 0;
}

.quick-donation-form-wrapper .form-label,
.quick-donation-form-wrapper .form-label.small {
    color: #2e7d32 !important;
    font-weight: 600 !important;
    margin-bottom: 5px;
    font-size: 13px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.quick-donation-form-wrapper .form-control,
.quick-donation-form-wrapper .form-select {
    background: #ffffff;
    border: 1px solid #ddd;
    font-size: 14px;
    padding: 8px 12px;
    color: #333;
    border-radius: 4px;
    transition: all 0.2s ease;
    height: 38px;
}

.quick-donation-form-wrapper .form-control:hover,
.quick-donation-form-wrapper .form-select:hover {
    border-color: #999;
}

.quick-donation-form-wrapper .form-control:focus,
.quick-donation-form-wrapper .form-select:focus {
    background: #ffffff;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    outline: none;
    color: #333;
}

/* Quick Donation Box - Button Styling (Home Page) */
.quick-donation-box .btn-outline-primary {
    border: 2px solid #2e7d32 !important;
    color: #2e7d32 !important;
    background: transparent !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-donation-box .btn-outline-primary:hover {
    background: #2e7d32 !important;
    color: #ffffff !important;
    border-color: #2e7d32 !important;
}

.quick-donation-box .btn-check:checked+.btn-outline-primary {
    background: #2e7d32 !important;
    color: #ffffff !important;
    border-color: #2e7d32 !important;
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25) !important;
}

.quick-donation-box .btn-outline-secondary {
    border: 2px solid rgba(46, 125, 50, 0.3) !important;
    color: #2e7d32 !important;
    background: #ffffff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-donation-box .btn-outline-secondary:hover {
    background: rgba(46, 125, 50, 0.1) !important;
    color: #2e7d32 !important;
    border-color: #2e7d32 !important;
}

.quick-donation-box .btn-check:checked+.btn-outline-secondary {
    background: #2e7d32 !important;
    color: #ffffff !important;
    border-color: #2e7d32 !important;
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25) !important;
}

.quick-donation-form-wrapper .btn-primary {
    background: #2e7d32 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
    transition: all 0.2s ease;
    border-radius: 4px;
    height: 38px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px;
    white-space: nowrap;
    overflow: visible;
}

.quick-donation-form-wrapper .btn-primary:hover {
    background: #1b5e20 !important;
    color: #ffffff !important;
}

.quick-donation-form-wrapper .btn-primary i {
    font-size: 14px !important;
    color: #ffffff !important;
    display: inline-block !important;
}

.quick-donation-form-wrapper .btn-primary,
.quick-donation-form-wrapper .btn-primary * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Toggle Icon Animation */
#toggleIcon {
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quick-donation-box {
        top: 60px;
        /* Smaller navbar on mobile */
    }

    .quick-donation-form-wrapper {
        max-height: 400px;
    }

    .quick-donation-form-wrapper:not(.active) {
        max-height: 0;
    }

    .quick-donation-form-wrapper .row>div {
        margin-bottom: 8px;
    }

    .quick-donation-toggle {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Hero Slider Mobile Styles */
    #heroCarousel .carousel-item {
        min-height: 500px;
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 30px;
    }

    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    #heroCarousel .carousel-control-prev {
        left: 15px;
    }

    #heroCarousel .carousel-control-next {
        right: 15px;
    }

    #heroCarousel .carousel-indicators {
        bottom: 20px;
    }

    #heroCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    #heroCarousel .carousel-indicators button.active {
        width: 25px;
    }
}

/* Hide on donate page */
body.donate-page .quick-donation-box {
    display: none;
}