/********** Template CSS **********/
:root {
    --primary: #FF6F0F;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.whatsapp-float {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background-color: #25D366;
    color: #FFFFFF !important;
    border-radius: 50%;
    text-decoration: none;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.whatsapp-float i {
    color: #FFFFFF !important;
    font-size: 1.4rem;
    line-height: 1;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    background-color: #1EBE5A;
    color: #FFFFFF !important;
    transform: translateY(-3px);
    text-decoration: none;
}

.whatsapp-float:hover i,
.whatsapp-float:focus i {
    color: #FFFFFF !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-primary:hover {
    color: #FFFFFF;
    background: #000000;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .10s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 29, 35, .85);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .85), rgba(0, 29, 35, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #FFFFFF;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}


/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .85);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    height: 100px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    height: 160px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

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

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


/********** WATAG Style Sheet — overrides **********/
:root {
    --primary: #1A4A38;
    --secondary: #E6EDE8;
    --light: #F7F5EF;
    --dark: #0E2E22;
    --gold: #C9A34D;
    --gold-dark: #A8853A;
}

/* Push page content below the fixed navbar */
body {
    font-family: "Inter", sans-serif;
    color: #1F2A24;
    background: #FFFFFF;
    padding-top: 123px;
    font-size: 1.0625rem;
    line-height: 1.75;
    font-weight: 450;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 78px;
        font-size: 1.0625rem;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Saira", sans-serif;
    font-weight: 600;
}

.fixed-top {
    background: var(--dark) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    padding-bottom: 3px;
    margin-bottom: -3px;
}

.fixed-top .top-bar {
    background: var(--dark) !important;
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .75) !important;
}

.fixed-top .top-bar small,
.fixed-top .top-bar a {
    color: rgba(255, 255, 255, .75) !important;
}

.fixed-top .top-bar a:hover {
    color: var(--gold) !important;
}

.fixed-top .navbar {
    background: var(--dark) !important;
}

.fixed-top .navbar-brand h1 {
    color: var(--gold) !important;
}

.fixed-top .navbar-nav .nav-link {
    color: #FFFFFF !important;
    position: relative;
}

.fixed-top .navbar-nav .nav-link:hover,
.fixed-top .navbar-nav .nav-link:focus,
.fixed-top .navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

.fixed-top .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 30px;
    bottom: 18px;
    height: 2px;
    background: var(--gold);
}

@media (max-width: 991.98px) {
    .fixed-top .top-bar {
        display: none !important;
    }

    .fixed-top .navbar-nav {
        background: var(--dark) !important;
        padding: 1rem;
        margin-top: 10px;
        border-radius: 6px;
    }

    .fixed-top .navbar-nav .nav-link.active::after {
        display: none;
    }
}

/* Buttons */
.btn-primary {
    color: #FFFFFF !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #FFFFFF !important;
    background-color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    font-weight: 500;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #FFFFFF !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(26, 74, 56, 0.25) !important;
}

.btn-gold {
    background: var(--gold);
    border: 2px solid var(--gold);
    color: var(--dark);
    font-weight: 600;
    transition: .3s;
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

/* Watag header */
.watag-header {
    background: var(--dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.watag-header .top-bar {
    height: 45px;
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .75) !important;
}

.watag-header .top-bar small {
    color: rgba(255, 255, 255, .75);
}

.watag-header .top-bar a {
    color: rgba(255, 255, 255, .75) !important;
    transition: .3s;
}

.watag-header .top-bar a:hover {
    color: var(--gold) !important;
}

.watag-header .navbar {
    background: var(--dark);
}

.watag-wordmark {
    color: var(--gold) !important;
    letter-spacing: 1px;
}

.watag-header .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF !important;
    font-weight: 500;
    position: relative;
    transition: .3s;
}

.watag-header .navbar-nav .nav-link:hover,
.watag-header .navbar-nav .nav-link:focus,
.watag-header .navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

.watag-header .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 30px;
    bottom: 18px;
    height: 2px;
    background: var(--gold);
}

.navbar .nav-item .dropdown-menu {
    border: none;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    padding: 8px 0;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    color: var(--dark);
    padding: 10px 20px;
    transition: .2s;
}

.navbar .nav-item .dropdown-menu .dropdown-item:hover,
.navbar .nav-item .dropdown-menu .dropdown-item.active {
    color: var(--primary);
    background: var(--secondary);
}

@media (max-width: 991.98px) {
    .watag-header .top-bar {
        display: none !important;
    }

    .watag-header .navbar {
        background: var(--dark);
    }

    .watag-header .navbar-nav {
        background: var(--dark);
        padding: 1rem;
        margin-top: 10px;
        border-radius: 6px;
    }

    .watag-header .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .watag-header .navbar-nav .nav-link.active::after {
        display: none;
    }
}

/* Hero / carousel — darker overlay for emphasis */
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(14, 46, 34, .85);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Inner-page hero — darker overlay for emphasis */
.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(14, 46, 34, .85), rgba(14, 46, 34, .85)), url(../images/watag-hero2.jpeg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #999999;
}

.page-header .breadcrumb-item.active {
    color: var(--gold) !important;
}

/* Bands */
.statistics-band,
.impact-band,
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

/* CTA banner — darkened overlay overriding the inline style in main.html */
.cta-banner {
    position: relative;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(14, 46, 34, .88);
    z-index: 0;
    pointer-events: none;
}

.cta-banner > .container {
    position: relative;
    z-index: 1;
}

.cta-banner[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
}

.donate {
    background: rgba(14, 46, 34, .85);
}

/* Bootstrap variable overrides */
:root,
[data-bs-theme="light"],
[data-bs-theme="dark"] {
    --bs-primary: #1A4A38;
    --bs-primary-rgb: 26, 74, 56;
    --bs-secondary: #E6EDE8;
    --bs-secondary-rgb: 230, 237, 232;
    --bs-light: #F7F5EF;
    --bs-light-rgb: 247, 245, 239;
    --bs-dark: #0E2E22;
    --bs-dark-rgb: 14, 46, 34;
    --bs-body-bg: #FFFFFF;
    --bs-body-color: #1F2A24;
    --bs-link-color: #1A4A38;
    --bs-link-color-rgb: 26, 74, 56;
    --bs-link-hover-color: #C9A34D;
    --bs-link-hover-color-rgb: 201, 163, 77;
    --bs-warning: #C9A34D;
    --bs-warning-rgb: 201, 163, 77;
}

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; color: var(--primary) !important; }
.bg-light { background-color: var(--light) !important; }
.bg-dark { background-color: var(--dark) !important; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-light { color: var(--light) !important; }
.text-dark { color: var(--dark) !important; }
.text-gold { color: var(--gold) !important; }
.border-primary { border-color: var(--primary) !important; }
.border-warning { border-color: var(--gold) !important; }
.link-primary { color: var(--primary) !important; }
.link-warning { color: var(--gold) !important; }

.container-fluid.statistics-band .text-primary,
.container-fluid.cta-banner .text-primary,
.container-fluid.impact-band .text-primary {
    color: var(--gold) !important;
}

/* Hero and CTA subtext — pure white for emphasis */
.carousel-caption .text-white-50,
.carousel-caption .fs-5.text-white-50,
.cta-banner .text-white-50 {
    color: #FFFFFF !important;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Body text in sections — readability standard */
.lead-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #2E3A33;
    font-weight: 450;
}

.container p,
.container-xxl p,
.container-fluid .container p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #2E3A33;
    font-weight: 450;
}

/* Card text and tile text */
.action-card-text,
.outcome-tile-text,
.service-item p,
.causes-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #2E3A33;
    font-weight: 450;
}

/* Forms / accordion / progress */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(26, 74, 56, 0.15) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 74, 56, 0.15) !important;
}

.form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.progress-bar {
    background-color: var(--primary) !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary) !important;
    background-color: var(--secondary) !important;
}

.accordion-button:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(26, 74, 56, 0.25) !important;
}

.pagination .page-link {
    color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
}

/* Premium components */
.stats-bar-item {
    padding: 2rem 1rem;
    border-top: 3px solid var(--gold);
    background: #FFFFFF;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .05);
    border-radius: 4px;
    height: 100%;
    transition: .3s;
}

.stats-bar-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 74, 56, .12);
}

.stats-bar-number {
    font-family: "Saira", sans-serif;
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 1;
    color: var(--primary);
    margin-bottom: .75rem;
}

.stats-bar-label {
    font-size: 1rem;
    color: #2E3A33;
    margin-bottom: .4rem;
}

.stats-bar-source {
    font-size: .8rem;
    color: #7a8a82;
    font-style: italic;
}

.action-card {
    background: #FFFFFF;
    border: 1px solid var(--secondary);
    border-radius: 10px;
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: .35s;
}

.action-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 74, 56, .12);
}

.action-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.action-card-img {
    margin-bottom: 1.5rem;
}

.action-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
}

.action-card-title {
    font-family: "Saira", sans-serif;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: .75rem;
}

.action-card-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: .3s;
}

.action-card-link:hover {
    color: var(--gold);
    gap: .75rem;
}

.outcome-tile {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
    transition: .3s;
}

.outcome-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 74, 56, .1);
}

.outcome-tile-icon {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    display: block;
}

.outcome-tile-title {
    font-family: "Saira", sans-serif;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: .75rem;
}

.impact-counter-number {
    font-family: "Saira", sans-serif;
    font-weight: 700;
    font-size: 4rem;
    line-height: 1;
    color: var(--gold);
    margin-bottom: .75rem;
}

.impact-counter-label {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: .4rem;
}

.impact-counter-source {
    color: rgba(255, 255, 255, .55);
    font-size: .8rem;
    font-style: italic;
}

.donate-strip {
    background: var(--secondary);
    border-left: 5px solid var(--gold);
}

.donate-strip h2 {
    color: var(--dark);
}

.email-band {
    background: var(--dark);
}

.email-band-form .form-control {
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
    color: #FFFFFF;
    padding: 1rem 1.25rem;
    height: 56px;
}

.email-band-form .form-control::placeholder {
    color: rgba(255, 255, 255, .5);
}

.email-band-form .form-control:focus {
    background: rgba(255, 255, 255, .15);
    color: #FFFFFF;
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(201, 163, 77, .25);
}

.email-band-form .btn-gold {
    height: 56px;
    padding: 0 1.75rem;
    white-space: nowrap;
}

/* WATAG research icons — small */
.watag-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 140px;
}

.watag-icon-img {
    display: block;
    width: 140px;
    height: 140px;
    max-width: 140px;
    max-height: 140px;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .watag-icon-img {
        width: 110px;
        height: 110px;
        max-width: 110px;
        max-height: 110px;
    }
}

/* WATAG research card — compact tile, 4 across on desktop */
.service-item:has(.watag-icon-wrap) {
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1.25rem !important;
}

/* WATAG card images — capped */
.watag-card-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 1rem 1rem;
}

.watag-card-img {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .watag-card-img {
        max-width: 100%;
    }
}

.footer-logo {
    max-width: 170px;
    height: auto;
    display: block;
    background: #FFFFFF;
    border-radius: 6px;
    padding: 4px;
}

/* ============================================================
   Footer text — all readable white
   ============================================================ */

.footer,
.footer p,
.footer span,
.footer small,
.footer .text-white-50,
.footer .col-lg p,
.footer .col-lg span,
.footer .col-md-6 p,
.footer .col-md-6 span,
.footer .col-lg-3 p,
.footer .col-lg-3 span,
.footer .col-lg-6 p,
.footer .col-lg-6 span {
    color: #FFFFFF !important;
}

.footer p {
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

/* ============================================================
   Footer link hover — gold
   ============================================================ */

.footer .copyright a,
.footer .copyright a:visited {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer .copyright a:hover,
.footer .copyright a:focus {
    color: var(--gold) !important;
    text-decoration: none;
}

.footer .btn.btn-link,
.footer .btn.btn-link:visited {
    color: #FFFFFF !important;
    transition: color 0.2s ease;
}

.footer .btn.btn-link:hover,
.footer .btn.btn-link:focus {
    color: var(--gold) !important;
    letter-spacing: 1px;
}

.footer .btn.btn-link::before {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s ease;
}

.footer .btn.btn-link:hover::before,
.footer .btn.btn-link:focus::before {
    color: var(--gold);
}

/* ============================================================
   PRIMARY CTA inside heroes — solid green fill on default.
   On hover: solid black fill, no border, no outline.
   ============================================================ */

.carousel-caption a.btn-primary,
.page-header a.btn-primary {
    color: #FFFFFF !important;
    background-color: var(--primary) !important;
    border: 0 !important;
    box-shadow: none !important;
}

.carousel-caption a.btn-primary:hover,
.carousel-caption a.btn-primary:focus,
.carousel-caption a.btn-primary:active,
.page-header a.btn-primary:hover,
.page-header a.btn-primary:focus,
.page-header a.btn-primary:active {
    color: #FFFFFF !important;
    background-color: #000000 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Inner arrow chip on the primary button — white disc with green arrow */
.carousel-caption a.btn-primary .btn-sm-square,
.page-header a.btn-primary .btn-sm-square {
    background-color: #FFFFFF !important;
    color: var(--primary) !important;
    border: 0 !important;
}

.carousel-caption a.btn-primary .btn-sm-square i,
.page-header a.btn-primary .btn-sm-square i {
    color: var(--primary) !important;
}

/* ============================================================
   SECONDARY CTA inside heroes — dark gold fill, black text.
   On hover: green fill, white text.
   ============================================================ */

.carousel-caption a.btn-outline-primary,
.carousel-caption a.btn-outline-primary:visited,
.page-header a.btn-outline-primary,
.page-header a.btn-outline-primary:visited {
    color: #000000 !important;
    background-color: var(--gold-dark) !important;
    border: 0 !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .3s ease, color .3s ease !important;
}

.carousel-caption a.btn-outline-primary:hover,
.carousel-caption a.btn-outline-primary:focus,
.carousel-caption a.btn-outline-primary:active,
.page-header a.btn-outline-primary:hover,
.page-header a.btn-outline-primary:focus,
.page-header a.btn-outline-primary:active {
    color: #FFFFFF !important;
    background-color: var(--primary) !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.carousel-caption a.btn-outline-primary .btn-sm-square,
.page-header a.btn-outline-primary .btn-sm-square {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: 0 !important;
    transition: background-color .3s ease, color .3s ease !important;
}

.carousel-caption a.btn-outline-primary .btn-sm-square i,
.page-header a.btn-outline-primary .btn-sm-square i {
    color: #000000 !important;
}

.carousel-caption a.btn-outline-primary:hover .btn-sm-square,
.carousel-caption a.btn-outline-primary:focus .btn-sm-square,
.page-header a.btn-outline-primary:hover .btn-sm-square,
.page-header a.btn-outline-primary:focus .btn-sm-square {
    background-color: #FFFFFF !important;
    color: var(--primary) !important;
}

.carousel-caption a.btn-outline-primary:hover .btn-sm-square i,
.carousel-caption a.btn-outline-primary:focus .btn-sm-square i,
.page-header a.btn-outline-primary:hover .btn-sm-square i,
.page-header a.btn-outline-primary:focus .btn-sm-square i {
    color: var(--primary) !important;
}

/* ============================================================
   FAQ accordion — remove grey border on focus and on open
   ============================================================ */

.accordion-button:focus,
.accordion-button:focus-visible,
.accordion-button:not(.collapsed):focus {
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.accordion-item {
    border-color: #e9ecef !important;
}

/* ============================================================
   Hero CTAs — vertical spacing on mobile
   ============================================================ */

@media (max-width: 767.98px) {
    .carousel-caption a.btn,
    .page-header a.btn {
        display: block !important;
        width: 100% !important;
        max-width: 320px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .carousel-caption a.btn + a.btn,
    .page-header a.btn + a.btn {
        margin-top: 12px !important;
    }

    .carousel-caption a.btn.me-3,
    .page-header a.btn.me-3 {
        margin-right: auto !important;
    }
}

.contact-highlight {
    font-weight: 700;
    color: var(--primary);
}


/* ============================================================
   WATAG RESEARCH LIBRARY — scoped additions
   ============================================================ */

.wlib-pill-bar{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:2rem}
.wlib-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1rem;border-radius:8px;font-weight:600;font-size:.85rem;background:#fff;border:1px solid var(--secondary);color:#2E3A33;text-decoration:none;transition:.2s}
.wlib-pill:hover,.wlib-pill.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.wlib-pill .count{background:rgba(0,0,0,.08);padding:.1rem .45rem;border-radius:4px;font-size:.72rem;font-weight:700}
.wlib-pill.active .count{background:rgba(255,255,255,.2)}

.wlib-programme{background:#fff;border:1px solid var(--secondary);border-radius:12px;padding:1.75rem 1.5rem;margin-bottom:2rem}
.wlib-programme-header{display:flex;align-items:center;gap:.9rem;padding-bottom:1rem;border-bottom:2px solid var(--primary);margin-bottom:1.25rem}
.wlib-programme-icon{width:48px;height:48px;border-radius:10px;background:var(--secondary);color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:1.3rem;flex-shrink:0}
.wlib-programme-title{font-family:"Saira",sans-serif;font-weight:700;font-size:1.35rem;color:var(--dark);margin:0;line-height:1.25}
.wlib-programme-title a{color:var(--dark);text-decoration:none}
.wlib-programme-title a:hover{color:var(--primary)}
.wlib-programme-sub{font-size:.82rem;color:#7a8a82;margin:.2rem 0 0}

.wlib-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}

/* ============================================================
   WATAG LIBRARY CARDS — Strong, distinct, non-white background
   ============================================================ */

.wlib-card {
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.4rem 1.1rem;
    border: 1px solid #D1E0D5;
    border-left: 6px solid var(--primary); /* Thick green bar */
    border-radius: 10px;
    background-color: #F4F8F5 !important; /* Solid sage-green background */
    text-decoration: none;
    color: inherit;
    transition: all .25s ease;
    box-shadow: 0 4px 12px rgba(26, 74, 56, .06);
    position: relative;
}

.wlib-card:hover {
    background-color: #E8F2EA !important; /* Darker green on hover */
    border-color: var(--primary);
    border-left-color: var(--gold); /* Gold bar on hover */
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(26, 74, 56, .15);
}

.wlib-card-title {
    font-family: "Saira", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.35;
    color: var(--dark);
    margin: 0 0 .6rem;
}

.wlib-card:hover .wlib-card-title {
    color: var(--primary);
}

.wlib-card-angle {
    font-size: .9rem;
    color: #4A5A4D;
    line-height: 1.6;
    margin: 0 0 1.2rem;
    flex: 1;
}

.wlib-card-meta {
    font-size: .75rem;
    color: #6B7A6E;
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    padding-top: .9rem;
    border-top: 1px solid #D1E0D5; /* Visible divider */
    margin-top: auto;
    font-weight: 600;
}

.wlib-card-meta i {
    color: var(--primary);
    margin-right: .35rem;
}

/* Badges */
.wlib-card-badge {
    display: inline-block;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    padding: .3rem .7rem;
    border-radius: 20px;
    margin-bottom: .8rem;
    align-self: flex-start;
}

.wlib-card-badge.format-guide       { background: #1A4A38; color: #FFFFFF; }
.wlib-card-badge.format-explainer   { background: #C9A34D; color: #0E2E22; }
.wlib-card-badge.format-checklist   { background: #0A5A5A; color: #FFFFFF; }
.wlib-card-badge.format-training    { background: #5A2C5A; color: #FFFFFF; }
/* ============================================================
   SIDEBAR WIDGET SPACING FIX
   ============================================================ */
aside > .watag-sidebar-widget {
    background: #fff;
    border: 1px solid #E6EDE8;
    border-radius: 10px;
    padding: 1.5rem 1.4rem 1.75rem;
    margin-bottom: 2rem;
}
.watag-widget-title {
    font-family: "Saira", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0E2E22;
    margin: 0 0 1rem;
    padding-bottom: .7rem;
    border-bottom: 2px solid #1A4A38;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.watag-widget-title i {
    color: #1A4A38;
}
.wlib-sidebar-nav {
    margin-bottom: 0;
    padding-bottom: 0;
}
.wlib-sidebar-nav a:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ============================================================
   DONATE WIDGET FIX
   ============================================================ */
.watag-donate-cta {
    background: linear-gradient(160deg, #1A4A38 0%, #0E2E22 100%) !important;
    border-radius: 14px;
    padding: 2rem 1.5rem 1.75rem !important;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(14,46,34,.18);
}
.watag-donate-cta::before {
    content:"";
    position:absolute;
    top:-50px; right:-50px;
    width:150px; height:150px;
    border-radius:50%;
    background: radial-gradient(circle, rgba(201,163,77,.28) 0%, transparent 70%);
    pointer-events:none;
}
.watag-donate-cta .watag-donate-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 1.55rem !important;
    color: var(--gold) !important;
    background: rgba(201,163,77,.12);
    border: 1.5px solid rgba(201,163,77,.4);
    border-radius: 50%;
    margin: 0 auto 1.1rem !important;
    position: relative;
    z-index: 2;
    line-height: 1 !important;
    float: none !important;
}
.watag-donate-cta h4 {
    font-family: "Saira", sans-serif;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #FFFFFF !important;
    margin: 0 0 .6rem !important;
    position: relative;
    z-index: 2;
}
.watag-donate-cta p {
    font-size: .88rem !important;
    line-height: 1.6 !important;
    color: rgba(255,255,255,.85) !important;
    margin: 0 0 1.4rem !important;
    position: relative;
    z-index: 2;
    font-weight: 400;
}
.watag-donate-cta .btn-gold {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.8rem !important;
    font-family: "Inter", sans-serif;
    font-size: .92rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #0E2E22 !important;
    background: var(--gold) !important;
    border: 0 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(201,163,77,.35), inset 0 -1px 0 rgba(0,0,0,.08);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    position: relative;
    z-index: 2;
    white-space: nowrap;
}
.watag-donate-cta .btn-gold:hover {
    background: #FFFFFF !important;
    color: #0E2E22 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.22), inset 0 -1px 0 rgba(0,0,0,.05);
}
.watag-donate-cta .btn-gold i {
    font-size: .82rem;
    color: inherit !important;
    transition: transform .2s ease;
}
.watag-donate-cta .btn-gold:hover i {
    transform: translateX(3px);
}
@media (max-width: 575.98px) {
    .watag-donate-cta { padding: 1.75rem 1.25rem 1.5rem !important; }
    .watag-donate-cta .watag-donate-icon { width: 56px; height: 56px; font-size: 1.35rem !important; }
    .watag-donate-cta h4 { font-size: 1.1rem !important; }
    .watag-donate-cta p { font-size: .84rem !important; margin-bottom: 1.2rem !important; }
    .watag-donate-cta .btn-gold { width: 100%; padding: .85rem 1rem !important; }
}