﻿html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Match your navbar height */
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {

    margin-bottom: 0px;
    /*padding-top: 80px;*/ /* adjust depending on your navbar height */
}
@media (max-width: 576px) {
    .team-member {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

        .team-member img {
            margin-bottom: 10px;
        }
}
/* Keep Bootstrap’s responsive widths, 
   only constrain container at ultra-large screens */
.container {
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;

}

@media (min-width: 1920px) {
    .container {
        max-width: 1880px;
    }
}

.container-fluid {
    padding: 0 !important;
    width: 100% !important;
}

a:hover, a:active, a:focus {
    text-decoration: none;
}

a {
    color: #205493 !important; /*Matisse blue*/
    outline: none;
    text-decoration: none;
}

    a:visited {
        color: #002d74 !important; /*Smalt dark blue*/
        text-decoration: none;
    }

    a:hover {
        color: #981b1e !important; /*Merlot red*/
        text-decoration: none;
    }

.text-hover-top:hover {
    color: #fff!important;
    text-decoration: none;
}

.text-hover-top:visited {
    color: #ddd !important;
    text-decoration: none;
}

/*navbar*/
.navbar .container-fluid {
    display: flex;
    align-items: center;
}
.navbar-brand img {
    max-height: 60px; /* adjust as you like */
    height: auto;
    width: auto; /* keep proportions */
}
/*hero image*/


.bg-image {
    margin-top: 80px; /* space for navbar */
}


/*heading*/
h1 {
    text-transform: uppercase;
    color: #444;
    font-size: 3.0em;
    margin: 1rem 0;
    font-weight: 400 !important;
}

h2 {
    text-transform: uppercase;
    font-size: 2.5em;
    color: #205493;
    margin: 1rem 0;
    font-weight: 400 !important;
}

h3 {
    text-transform: uppercase;
    color: #205493;
    margin: 2rem 0;
    font-weight: 400 !important;
}

h4 {
    text-transform: uppercase;
    color: #444;
    margin: 1.5rem 0;
    font-weight: 400 !important;
}

h5, h6 {
    color: #444;
    margin: 1.2rem 0;
    font-weight: 400 !important;
}

/*backgrounds and text colors*/
.bg-dark {
    background-color: #0a2240 !important; /*#333*/
}

.bg-dark2 {
    background-color: #111 !important;
}

.bg-tarawera {
    background-color: #0a314d !important;
}

.bg-primary {
    background-color: #205493 !important;
}

.bg-light-grey {
    background-color: #e0e4e9 !important;
}

.bg-smalt {
    background-color: #002d74 !important;
}

.bg-middle-grey {
    background-color: #767676 !important;
}

.text-danger {
    color: #981b1e; /*Merlot */
}

.text-primary {
    color: #002d74; /*bg-smalt*/
}

.text-light {
    color: #ddd !important;
}

/*events carousel*/
.carousel-item {
    padding: 20px 0;
}

.card img {
    height: 250px;
    object-fit: cover;
}

/* Controls above carousel */
.carousel-controls-top {
    position: relative;
    margin-bottom: 40px; /* space from carousel */
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

    .carousel-controls-top button {
        border: none;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        font-size: 20px;
        font-weight: bold;
        color: #fff;
        background: #205493;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .carousel-controls-top button:hover {
            transform: translateY(-2px);
        }

/*3 cards for program*/
.img-wrap {
    position: relative;
    overflow: hidden;
}

    .img-wrap img {
        display: block;
        width: 100%;
        transition: transform 0.3s ease;
    }

.mask {
    position: absolute;
    inset: 0; /* shorthand for top/right/bottom/left:0 */
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover effect */
.img-wrap:hover img {
    transform: scale(1.05);
}

.img-wrap:hover .mask {
    opacity: 1;
}

/* Optional: add text on hover */
.mask::after {
/*content: "Learn more →";*/
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-wrap:hover .mask::after {
    opacity: 1;
}

/*team members*/
.card-body img {
    max-width: 200px;
    height: auto;
}

/* On small screens, make image smaller */
@media (max-width: 576px) {
    .card-body img {
        max-width: 100px; /* or even 120px */
    }
}


/* GDPR*/
.CookiebotWidget-main-logo {
    display: none !important;
    visibility: hidden !important;
}

#CybotCookiebotDialogPoweredbyCybot {
    display: none !important;
    visibility: hidden !important;
}

#CybotCookiebotDialogPoweredbyText {
    display: none !important;
    visibility: hidden !important;
}

    #CybotCookiebotDialogPoweredByText a {
        color: #ffffff !important;
    }

#CybotCookiebotDialogDetailFooter {
    display: none !important;
    visibility: hidden !important;
}

.CookiebotWidget-header {
    background-color: #0075bf !important;
    color: white !important;
}

#CybotCookiebotDialogHeader {
    background-color: #0075bf !important;
}

#CybotCookiebotDialogPoweredbyImage {
    content: url('/images/3logos-footer.webp') !important;
}

.CookiebotWidget-body {
    background-color: #efefef !important;
}

.CybotCookiebotDialogNavItems {
    background-color: #ffffff !important;
}

#CybotCookiebotDialogFooter {
    background-color: #ffffff !important;
}


/* End GDPR*/