@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    overflow-x: hidden !important;
    width: 100%;
}

body {
    font-size: clamp(15px, 2vw, 18px);
    font-family: "Urbanist", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-family: "Urbanist", sans-serif;
    font-size: clamp(29px, 2.083vw, 40px);
    font-weight: 400;
    line-height: 1.1em;
}

.font-bigger {
    font-size: clamp(29px, 5.729vw, 110px);
}

h2 {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 600;
    line-height: 1.3em;
    font-family: "Urbanist", sans-serif;
    color: #495057 !important;
}

h3 {
    font-size: clamp(24px, 4vw, 28px);
    line-height: 1.2em;
    font-weight: 600;
    font-family: "Urbanist", sans-serif;
}

h4 {
    font-size: clamp(20px, 3vw, 26px);
    line-height: 1.2em;
    font-family: "Urbanist", sans-serif;
}

h5 {
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.2em;
    font-family: "Urbanist", sans-serif;
}

h6 {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.4em;
    font-family: "Urbanist", sans-serif;
}

p,
a {
    font-style: normal;
    font-weight: 500;
    font-size: clamp(15px, 2vw, 18px) !important;
    font-family: "Urbanist", sans-serif;
    color: #454a4f !important;
    line-height:1.8em;
}

ul {
    margin: 0;
    padding: 0;
}

footer li,
header li {
    list-style: none;
}

.text-big a {
    font-size: clamp(24px, 4vw, 28px) !important;
    color: #1E1E1E !important;
}

a,
a:hover,
a:focus {
    text-decoration: none !important;
}

img {
    border-style: none;
}

.btn-yellow {
    background: #F7941D !important;
    color: #ffffff !important;
    padding: 11px 25px !important;
    transition: all 0.3s ease;
    width: fit-content;
}

    .btn-yellow:hover {
        box-shadow: 0 0 12px rgba(212,160,20,0.6);
        transform: scale(1.03);
    }



@media(max-width: 992px) {
    .btn-yellow {
        width: fit-content;
        margin: auto;
    }
}


.padding-100 {
    padding: 80px 0px;
}

.text-yellow {
    color: #F7941D !important;
}

/*header and footer*/
.nav-link.active-page {
    color: #F7941D !important;
}

header ul li a {
    color: #1E1E1E !important;
    font-weight: 500 !important;
}

.navbar {
    background: #F1F1F1 !important;
}

#footer {
    background: url('../img/footer-theme-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.social-icons p a {
    background: #ffffff;
    color: #000000 !important;
    padding: 10px 12px;
    border-radius: 100%;
    transition: 0.4s ease-in-out;
}

    .social-icons p a:hover {
        background: #000000 !important;
        color: #ffffff !important;
    }



@media(min-width: 992px) {
    .ballarat-logo {
        height: 119px;
        position: absolute;
        width: 999999px;
        top: -3px;
        right: -99px;
        background: #ffffff !important;
        border-end-end-radius: 10px !important;

    }

    .navbar-brand {
        position: relative;
        z-index: 10 !important;
    }

        .navbar-brand img {
            transform-origin: top left;
            width: 80px;
            transform: scale(2.0);
        }
}

@media(max-width: 992px) {
    .navbar-brand img {
        width: 140px;
    }
}

.ballarat-footer-logo {
    height: 145px;
    position: absolute;
    width: 999999px;
    top: 0px;
    right: -15px;
    background: #F1F1F1 !important;
    border-end-end-radius: 10px !important;
}

.footer-logo img {
    position: relative;
    z-index: 2;
    width: 189px;
}

.footer-text, .footer-text a {
    color: #464646 !important;
    font-weight: 600;
}

#footer ul li a:hover {
    color: #000000 !important;
}

#header .nav-item .nav-link.hover-menu:hover {
    color: #F7941D !important;
}

#header .nav-item .nav-link:hover:not(.contact-btn) {
    color: #F7941D !important;
}

.arrow-img {
    margin-left: 6px;
    margin-bottom: 4px;
}

.right-arrow-hover .arrow-img {
    display: none !important;
}

.right-arrow-hover:hover .arrow-img {
    display: inline-block !important;
    width: auto !important;
}
.owl-carousel .owl-item a.donate-btn img {
    width: auto !important;
    display: inline-block !important;
}

/* home */

.img-wrapper {
    position: relative;
}

.play-icon {
    width: 60px;
    height: auto;
    top: 50%;
    left: 38%;
    transform: translate(-50%, -50%); 
    cursor: pointer;
    z-index: 2;
}

.donate-btn:hover .donate-text {
    color: #F7941D !important;
}

.btn-yellow.donate-btn:hover {
    background: white !important;
}

.hover-icon {
    display: none;
}

.donate-btn:hover .normal-icon {
    display: none;
}

.donate-btn:hover .hover-icon {
    display: inline-block;
}

/*#ballarat-veterans-assistance-centre-banner {
    background: url('../img/ballarat-veterans-assistance-centre-banner-img.png'), url('../img/ballarat-veterans-assistance-centre-banner-img.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}*/

.home-heading {
    padding-top: 160px;
    padding-bottom: 95px;
    z-index:10;
}

@media(max-width: 992px) {
/*    #ballarat-veterans-assistance-centre-banner {
        background: url('../img/ballarat-veterans-assistance-centre-tab-img.png'), url('../img/ballarat-veterans-assistance-centre-tab-img.webp');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }*/

    .home-heading {
        padding-top: 123px;
        padding-bottom: 90px;
    }

    .content-shadow {
        background: rgba(0, 0, 0, 0.6);
        padding: 30px;
        border-radius: 10px;
    }
}


@media(max-width: 576px) {
/*    #ballarat-veterans-assistance-centre-banner {
        background: url('../img/ballarat-veterans-assistance-centre-mob-img.png'), url('../img/ballarat-veterans-assistance-centre-mob-img.webp');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }*/

    .home-heading {
        padding-top: 123px;
        padding-bottom: 90px;
    }
}



.nav-pills .nav-link {
    background: #E6E6E6 !important;
    color: #454a4f !important;
    border-radius: 0 !important;
    padding: 12px 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    transition: all 0.5s ease;
}

    .nav-pills .nav-link.active {
        background: #E6E6E6 !important;
        color: #F7941D !important;
        border-bottom: 3px solid #F7941D !important;
    }
    @media (max-width:1366px){
        .nav-pills .nav-link {
            padding: 12px 20px;
        }

    }

::marker {
    color: #F7941D !important;
}

.tab-content ul {
    color: #454a4f !important;
}

.video-img-wrapper {
    position: relative;
    display: inline-block;
}

    .video-img-wrapper::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 180px;
        height: 80px;
        background: url("../img/play-video-icon.svg") no-repeat center;
        background-size: 35%;
        transform: translate(-50%, -50%);
        cursor: pointer;
        z-index: 3;
    }

    .video-img-wrapper::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 90px;
        height: 90px;
        border: 2px solid #F7941D;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: borderGlow 2s infinite ease-in-out;
    }

/* soft professional golden glow */
@keyframes borderGlow {
    0% {
        box-shadow: 0 0 0px rgba(212,160,20, 0.0);
    }

    50% {
        box-shadow: 0 0 18px rgba(212,160,20, 0.8);
    }

    100% {
        box-shadow: 0 0 0px rgba(212,160,20, 0.0);
    }
}

@media(min-width: 992px) {
    #member-organization-club {
        background: linear-gradient(90deg, hsla(0, 0%, 12%, 1) 50%, hsl(32.75deg 93.16% 54.12%) 50%);
    }

    .content-right {
        margin-right: 33px;
    }

    .line-before {
        position: relative;
        padding-left: 40px;
    }

        .line-before::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            width: 30px;
            height: 2px;
            background: #F7941D;
            transform: translateY(-50%);
        }
}

@media(max-width: 992px) {
    #member-organization-club {
        background: #1E1E1E;
    }
}

.bg-dark-black {
    background: #161616;
    padding: 12px 23px;
}

    .bg-dark-black a {
        text-decoration: none;
        display: block;
    }

        .bg-dark-black a p {
            position: relative;
            transition: all .3s ease;
            text-decoration-color: white;
            text-underline-offset: 6px;
        }

        .bg-dark-black a:hover p {
            color: #F7941D !important;
            text-decoration: underline;
        }

        .bg-dark-black a p {
            text-decoration: underline;
        }

        .bg-dark-black a img {
            transition: transform 0.5s ease;
        }

        .bg-dark-black a:hover img {
            transform: rotate(360deg);
        }



.title-with-line {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

    .title-with-line::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background-color: #1E1E1E;
        border-radius: 50px;
    }

@media(min-width: 992px) {
    .content-shiftss {
        margin-left: 32px;
    }
}

.contact-hover {
    display: inline-flex;
    align-items: center;
}
    .contact-hover:hover {
        color: #ffffff !important; /* text becomes white */
        text-decoration-color: #ffffff !important; /* underline becomes white */
    }

.title-with-line.hover-line-color:hover::after {
    background-color: #ffffff !important;
}

.contact-hover-icon {
    height: 20px;
    width: 26px;
    display: none;
}

.contact-hover:hover .default-arrow-icon {
    display: none;
}

.contact-hover:hover .contact-hover-icon {
    display: inline-block;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.contact-hover:hover .arrow-icon {
    transform: translateX(6px);
    color: white;
}

.member-organization-club-img {
    width: calc(50% + 1px);
    height: 74% !important;
    position: absolute;
    top: 0;
    object-fit: cover;
    right: 0;
}

#member-organization-club {
    position: relative;
}

.bg-yellow {
    background: #F7941D !important;
}

.bg-grey-color {
    background: #F1F1F1;
    border-radius: 12px;
    padding: 17px 13px 27px 13px;
}

.card-box {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.image-wrapper {
    position: relative;
}

.year-badge {
    position: absolute;
    right: 20px;
    bottom: -50px;
    background: #1E1E1E;
    color: #fff;
    width: 98px;
    height: 95px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    z-index: 10;
}

@media(max-width: 1200px) and (min-width: 992px) {
    .year-badge {
        position: absolute;
        right: 0px;
        bottom: 0;
        background: #1E1E1E;
        color: #fff;
        width: 98px;
        height: 40px;
        border-radius: 0%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: 600;
        z-index: 10;
        border-end-end-radius: 10px;
    }
}

#ballarat-veterans-support-organization {
    background: url('../img/support-organization-theme-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.support-img {
    width: calc(40% + 1px);
    height: 100%;
    position: absolute;
    top: 0;
    object-fit: cover;
    left: 0;
}

.link-hover:hover {
    color: #F7941D !important;
}

.bg-light-greys {
    background: #F1F1F1;
    padding: 31px 35px;
}

@media(max-width: 768px) {
    .bg-light-greys {
        padding: 25px 12px;
    }
}


.text-darks {
    color: #1E1E1E !important;
}

label {
    color: #A2A2A2 !important;
}

.form-floating > .form-control:not(:placeholder-shown) ~ label::after {
    background: unset !important;
}

@media (min-width: 992px) {
    .img-top-right-border {
        border-top-right-radius: 120px !important;
    }
}

/* Contact use page */
#ballarat-veterans-contact-details .contact-page-icon,
#ballarat-veterans-contact-details .contact-icon {
    height: 70px;
    width: 70px;
}

#ballarat-veterans-contact-details .contact-img {
    height: 242px;
}

@media (min-width: 992px) {
    #ballarat-veterans-contact-details .contact-img {
        border-top-right-radius: 80px;
    }
}

@media (max-width: 992px) {
    #ballarat-veterans-contact-details .contact-page-icon,
    #ballarat-veterans-contact .contact-icon {
        height: 50px;
        width: 50px;
    }
}


#ballarat-veterans-contact-details .card-body {
    background: #F1F1F1;
}

/* About us page */
#inner-banner {
    width: 100%;
}

@media (min-width: 992px) {
    .our-committee-title {
        font-size: 32px !important;
    }
}

.what-we-do-bg-color {
    border-top-right-radius: 140px;
    background: #F1F1F1;
}

#ballarat-veterans-what-we-do h5 {
    color: #495057 !important;
}

#ballarat-veterans-what-we-do ul li::marker {
    color: #F7941D !important;
    font-size: 25px !important;
    margin-left: 50px;
}

#ballarat-veterans-what-we-do ul li {
    margin-left: 30px !important;
}

.team-box {
    position: relative;
    overflow: hidden;
}

.team-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #F7941DB5;
    color: #fff;
    font-size: 22px;
    padding: 15px 20px;
    opacity: 0;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}


.team-box:hover .team-overlay {
    opacity: 1;
}

@media (max-width: 992px) {
    .team-overlay {
        opacity: 1 !important;
        height: auto;
        padding: 10px;
        justify-content: center;
        align-items: center;
        position: absolute;
        background: #F7941D !important;
    }

    .what-we-do-bg-color {
        border-top-right-radius: 0px;
    }

    #ballarat-veterans-what-we-do img {
        height: 300px !important;
        width: 100% !important;
        object-fit: cover;
    }
}

/* Member Organizations page */
#member-organizations h4 {
    color: #495057;
    font-weight: 600;
}

@media (min-width: 992px) {
    #member-organizations .supporter-box {
        border-top-right-radius: 120px !important;
    }
}

@media (max-width: 992px) {
    #member-organizations h4 {
        font-size: 20px !important;
    }
}

@media (max-width: 500px) {
    #member-organizations h4 {
        font-size: 17px !important;
    }
}

.supporter-box {
    position: relative;
    overflow: hidden;
}

.supporter-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.supporter-box:hover .supporter-img {
    transform: scale(1.30);
}


.supporter-box:hover .supporter-title {
    opacity: 0;
}

.hover-title {
    position: absolute;
    bottom: 60px;
    left: 5px;
    right: 15px;
    padding-bottom: 8px;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 5;
}

.supporter-box:hover .hover-title {
    opacity: 1;
    transform: translateY(0);
}

.hover-small-img {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 10;
}

    .hover-small-img img {
        width: 55px;
        height: auto;
        display: block;
        margin-top: 20px;
        margin-right: 50px;
    }

.supporter-box:hover .hover-small-img {
    opacity: 1;
    transform: scale(1);
}

/* Booking page */

.arrow-circle {
    width: 50px;
    height: 50px;
    background: #F7941D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #F7941D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-circle img,
    .arrow-circle img {
        width: 26px;
        height: 26px;
    }
.arrow-circle img {
    transition: transform 0.5s ease;
}
.service-box {
    border: none;
    border-bottom: 1px solid transparent;
    background-image: linear-gradient(90deg, rgba(155, 155, 155, 0) 0%, #9B9B9B 52.88%, rgba(155, 155, 155, 0) 100%);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 100% 1px;
}

@media (min-width: 992px) {
    .img-top-right-border {
        border-top-right-radius: 120px !important;
    }
}

.book-advocate-mob-img {
    height: 250px !important;
}

@media (max-width: 565.98px) {
    .icon-circle {
        width: 50px !important;
        height: 50px !important;
    }

    .arrow-circle {
        width: 40px;
        height: 40px;
    }

        .icon-circle img,
        .arrow-circle img {
            width: 20px;
            height: 20px;
        }
}

@media (max-width: 386px) {
    .icon-circle {
        width: 40px !important;
        height: 40px !important;
    }

    .arrow-circle {
        width: 30px;
        height: 30px;
    }

        .arrow-circle img {
            width: 15px;
            height: 15px;
        }
}

.modal-close-btn-border {
    width: 28px;
    height: 28px;
}

.modal-close-symbol {
    font-size: 20px;
    line-height: 1;
}

.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
}

/* Banner */
@media (max-width: 992px) {
    #inner-banner img {
        height: 150px !important;
    }
}

/* contact page animation */
/* Animate card only when inside animate-wrapper */
.animate-wrapper .contact-card {
    opacity: 0;
    transform: translateY(50px) scale(0.92);
    transition: 0.8s cubic-bezier(.19,1,.22,1);
}

    .animate-wrapper .contact-card.animate-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

/* Image wipe reveal */
.animate-wrapper .contact-img {
    opacity: 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
    transition: clip-path 1s cubic-bezier(.19,1,.22,1), opacity 0.7s ease;
}

    .animate-wrapper .contact-img.animate-visible {
        opacity: 1;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

/* Icon bounce */
.animate-wrapper .contact-icon {
    opacity: 0;
    transform: scale(0.5);
    transition: 0.55s cubic-bezier(.34,1.56,.64,1);
}

    .animate-wrapper .contact-icon.animate-visible {
        opacity: 1;
        transform: scale(1);
    }

/* Text fade */
.animate-wrapper .card-title,
.animate-wrapper .card-body p,
.animate-wrapper .card-body a {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

    .animate-wrapper .card-title.animate-visible,
    .animate-wrapper .card-body p.animate-visible,
    .animate-wrapper .card-body a.animate-visible {
        opacity: 1;
        transform: translateY(0);
    }

.form-section-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.form-section-animate.animate {
    opacity: 1;
    transform: translateY(0);
}



/* Booking page animation */
.booking-hero-animate h6,
.booking-hero-animate h2 {
    opacity: 0;
    transform: translateX(-40px) rotateZ(1deg);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-hero-animate.animate h6,
.booking-hero-animate.animate h2 {
    opacity: 1;
    transform: translateX(0) rotateZ(0deg);
}

.booking-hero-animate .service-box,
.booking-hero-animate .d-flex.align-items-center.pt-4.pe-lg-4 {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-hero-animate.animate .service-box,
.booking-hero-animate.animate .d-flex.align-items-center.pt-4.pe-lg-4 {
    opacity: 1;
    transform: translateX(0) scale(1);
}

    .booking-hero-animate.animate .service-box:nth-child(3) {
        transition-delay: 0.3s;
    }

.booking-hero-animate.animate .d-flex.align-items-center.pt-4.pe-lg-4 {
    transition-delay: 0.55s;
}

.booking-hero-animate picture img {
    opacity: 0;
    transform: translateY(40px) scale(1.05) rotateZ(1deg);
    transition: all 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-hero-animate.animate picture img {
    opacity: 1;
    transform: translateY(0) scale(1) rotateZ(0deg);
}
/* Booking page animation */
.booking-hero-animate h6,
.booking-hero-animate h2 {
    opacity: 0;
    transform: translateX(-40px) rotateZ(1deg);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-hero-animate.animate h6,
.booking-hero-animate.animate h2 {
    opacity: 1;
    transform: translateX(0) rotateZ(0deg);
}

.booking-hero-animate .service-box,
.booking-hero-animate .d-flex.align-items-center.pt-4.pe-lg-4 {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-hero-animate.animate .service-box,
.booking-hero-animate.animate .d-flex.align-items-center.pt-4.pe-lg-4 {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.booking-hero-animate.animate .service-box:nth-child(3) {
    transition-delay: 0.3s;
}

.booking-hero-animate.animate .d-flex.align-items-center.pt-4.pe-lg-4 {
    transition-delay: 0.55s;
}

.booking-hero-animate picture img {
    opacity: 0;
    transform: translateY(40px) scale(1.05) rotateZ(1deg);
    transition: all 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-hero-animate.animate picture img {
    opacity: 1;
    transform: translateY(0) scale(1) rotateZ(0deg);
}

/* Events page animation */
.image-wrapper {
    position: relative !important;
}

#ballarat-veterans-events h6,
#ballarat-veterans-events h2 {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s ease-out;
}

#ballarat-veterans-events .btn-yellow {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s ease-out;
}

#ballarat-veterans-events.animate h6,
#ballarat-veterans-events.animate h2 {
    opacity: 1;
    transform: translateY(0);
}

#ballarat-veterans-events.animate .btn-yellow {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

#ballarat-veterans-events .card-box {
    opacity: 0;
    transform: translateY(60px) scale(0.94);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 14px;
}

#ballarat-veterans-events.animate .card-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#ballarat-veterans-events.animate .card-box:nth-child(1) {
    transition-delay: 0.25s;
}

#ballarat-veterans-events.animate .card-box:nth-child(2) {
    transition-delay: 0.45s;
}

#ballarat-veterans-events.animate .card-box:nth-child(3) {
    transition-delay: 0.65s;
}

#ballarat-veterans-events .image-wrapper img {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1s ease-out;
}

#ballarat-veterans-events .year-badge {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}


#ballarat-veterans-events.animate .image-wrapper img {
    opacity: 1;
    transform: scale(1);
}

/* Member Organizations page animation */
#member-organizations .supporter-box {
    opacity: 0;
    transform: translateY(60px) scale(0.9) rotateX(6deg);
    transform-origin: bottom;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

#member-organizations.animate .supporter-box {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
}

#member-organizations.animate .supporter-box:nth-child(1) {
    transition-delay: 0.15s;
}

#member-organizations.animate .supporter-box:nth-child(2) {
    transition-delay: 0.30s;
}

#member-organizations.animate .supporter-box:nth-child(3) {
    transition-delay: 0.45s;
}

#member-organizations.animate .supporter-box:nth-child(4) {
    transition-delay: 0.60s;
}

/* About us page animation */
/*what do*/
#ballarat-veterans-what-we-do picture img {
    opacity: 0;
    transform: scale(1.1);
    clip-path: inset(0 0 0 100%);
    transition: all 1s ease-out;
}

#ballarat-veterans-what-we-do .what-we-do-bg-color {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

#ballarat-veterans-what-we-do ul li {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

#ballarat-veterans-what-we-do.animate picture img {
    opacity: 1;
    transform: scale(1);
    clip-path: inset(0 0 0 0);
}

#ballarat-veterans-what-we-do.animate .what-we-do-bg-color {
    opacity: 1;
    transform: translateY(0);
}

#ballarat-veterans-what-we-do.animate ul li:nth-child(1) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateX(0);
}

#ballarat-veterans-what-we-do.animate ul li:nth-child(2) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateX(0);
}

#ballarat-veterans-what-we-do.animate ul li:nth-child(3) {
    transition-delay: 0.7s;
    opacity: 1;
    transform: translateX(0);
}

/*map section*/
#ballarat-veterans-vision .col-lg-6:first-child {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease-out;
}

#ballarat-veterans-vision p {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease-out;
}

#ballarat-veterans-vision img.img-fluid {
    opacity: 0;
    transform: translateX(60px) scale(1.05);
    transition: all 1s ease-out;
}

#ballarat-veterans-vision.animate .col-lg-6:first-child {
    opacity: 1;
    transform: translateY(0);
}

#ballarat-veterans-vision.animate p:nth-of-type(1) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateX(0);
}

#ballarat-veterans-vision.animate p:nth-of-type(2) {
    transition-delay: 0.35s;
    opacity: 1;
    transform: translateX(0);
}

#ballarat-veterans-vision.animate p:nth-of-type(3) {
    transition-delay: 0.50s;
    opacity: 1;
    transform: translateX(0);
}

#ballarat-veterans-vision.animate p:nth-of-type(4) {
    transition-delay: 0.65s;
    opacity: 1;
    transform: translateX(0);
}

#ballarat-veterans-vision.animate img.img-fluid {
    opacity: 1;
    transform: translateX(0) scale(1);
}

#ballarat-veterans-vision .pin {
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.5s ease-out;
}

#ballarat-veterans-vision.animate .pin {
    opacity: 1;
    transform: translateY(0);
}

/* our committee */
#ballarat-veterans-our-committee .team-box {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.9s ease-out;
}

#ballarat-veterans-our-committee .team-box img {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1s ease-out;
}

#ballarat-veterans-our-committee.animate .team-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#ballarat-veterans-our-committee.animate .team-box img {
    opacity: 1;
    transform: scale(1);
}

#ballarat-veterans-our-committee.animate .team-box:nth-child(1) {
    transition-delay: 0.15s;
}

#ballarat-veterans-our-committee.animate .team-box:nth-child(2) {
    transition-delay: 0.30s;
}

#ballarat-veterans-our-committee.animate .team-box:nth-child(3) {
    transition-delay: 0.45s;
}

                                /* Home page ANIMATION */
/* Banner ANIMATION */
/* --- DEFAULT STATE (before animation) --- */
#ballarat-veterans-assistance-centre-banner {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

    #ballarat-veterans-assistance-centre-banner h1,
    #ballarat-veterans-assistance-centre-banner p
    {
        opacity: 0;
        transform: translateY(25px);
        transition: all 0.8s ease-out;
    }

    /* --- WHEN ANIMATE CLASS ADDED --- */
    #ballarat-veterans-assistance-centre-banner.animate {
        opacity: 1;
        transform: translateY(0);
    }

        /* Staggered Text Reveal */
        #ballarat-veterans-assistance-centre-banner.animate h1 {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.3s;
        }

        #ballarat-veterans-assistance-centre-banner.animate p {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.5s;
        }

        


/* Who We Are section */
.tab-pane .animate-item {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s ease-out;
}

.tab-pane.show.active .animate-item {
    opacity: 1;
    transform: translateY(0);
}
.tab-pane.show.active .animate-item:nth-child(1) {
    transition-delay: 0.1s;
}

.tab-pane.show.active .animate-item:nth-child(2) {
    transition-delay: 0.2s;
}

.tab-pane.show.active .animate-item:nth-child(3) {
    transition-delay: 0.3s;
}

.tab-pane.show.active .animate-item:nth-child(4) {
    transition-delay: 0.4s;
}

#ballarat-veterans-transform-their-lives .img-wrapper img,
#ballarat-veterans-transform-their-lives .col-lg-6,
#ballarat-veterans-transform-their-lives .nav-pills .nav-link {
    opacity: 0;
    transform: translateX(40px);
}

#ballarat-veterans-transform-their-lives.animate .img-wrapper img {
    animation: imgComeIn 1s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes imgComeIn {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#ballarat-veterans-transform-their-lives.animate .col-lg-6 {
    animation: textComeIn 1s ease-out forwards;
    animation-delay: 0.4s;
}

@keyframes textComeIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#ballarat-veterans-transform-their-lives.animate .nav-pills .nav-link {
    animation: tabPop 0.6s ease-out forwards;
    animation-delay: 0.8s;
    transform: scale(0.92);
}

@keyframes tabPop {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Member Organization section */
#member-organization-club .content-right,
#member-organization-club .bg-dark-black,
#member-organization-club .member-organization-club-img {
    opacity: 0;
    transform: translateY(40px);
}

#member-organization-club.animate .content-right {
    animation: leftFadeUp 0.8s ease-out forwards;
}

@keyframes leftFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#member-organization-club.animate .bg-dark-black {
    animation: cardFade 0.8s ease-out forwards;
}

#member-organization-club.animate .bg-dark-black:nth-child(1) {
    animation-delay: 0.3s;
}

#member-organization-club.animate .bg-dark-black:nth-child(2) {
    animation-delay: 0.45s;
}

#member-organization-club.animate .bg-dark-black:nth-child(3) {
    animation-delay: 0.6s;
}

#member-organization-club.animate .bg-dark-black:nth-child(4) {
    animation-delay: 0.75s;
}

@keyframes cardFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#member-organization-club.animate .member-organization-club-img {
    animation: rightImageIn 1s ease-out forwards;
    animation-delay: 0.4s;
}

@keyframes rightImageIn {
    from {
        opacity: 0;
        transform: translateX(60px) scale(1.03);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}


/* Events */
.image-wrapper {
    position: relative;
}

#ballarat-veterans-home-events .card-box {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s ease-out;
}

#ballarat-veterans-home-events.animate .card-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

    #ballarat-veterans-home-events.animate .card-box:nth-child(1) {
        transition-delay: 0.15s;
    }

    #ballarat-veterans-home-events.animate .card-box:nth-child(2) {
        transition-delay: 0.30s;
    }

    #ballarat-veterans-home-events.animate .card-box:nth-child(3) {
        transition-delay: 0.45s;
    }

#ballarat-veterans-home-events .card-box img {
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.7s ease-out;
}

#ballarat-veterans-home-events.animate .card-box img {
    opacity: 1;
    transform: scale(1);
}

#ballarat-veterans-home-events .year-badge {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}


/* Support Organization section */
#ballarat-veterans-support-organization .support-img {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: scale(1.08);
    transition: clip-path 1.3s ease-out, opacity 0.8s ease-out, transform 1.3s ease-out;
}

#ballarat-veterans-support-organization .col-lg-6 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease-out;
}

#ballarat-veterans-support-organization h6,
#ballarat-veterans-support-organization h2,
#ballarat-veterans-support-organization p {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}

#ballarat-veterans-support-organization.animate .support-img {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

#ballarat-veterans-support-organization.animate .col-lg-6 {
    opacity: 1;
    transform: translateY(0);
}

#ballarat-veterans-support-organization.animate h6 {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

#ballarat-veterans-support-organization.animate h2 {
    transition-delay: 0.45s;
    opacity: 1;
    transform: translateY(0);
}

#ballarat-veterans-support-organization.animate p:first-of-type {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateY(0);
}
#ballarat-veterans-support-organization.animate p:last-of-type {
    transition-delay: 0.8s;
    opacity: 1;
    transform: translateY(0);
}
/* Send Feedback */
#ballarat-veterans-contact .col-lg-6:first-child {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.9s ease-out;
}

#ballarat-veterans-contact .col-lg-6:last-child {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.9s ease-out;
}

#ballarat-veterans-contact .contact-icon {
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.6s ease-out;
}

#ballarat-veterans-contact img.shadow {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease-out;
}

#ballarat-veterans-contact.animate .col-lg-6:first-child {
    opacity: 1;
    transform: translateX(0);
}

#ballarat-veterans-contact.animate .col-lg-6:last-child {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

#ballarat-veterans-contact.animate .contact-icon {
    opacity: 1;
    transform: scale(1);
}

#ballarat-veterans-contact.animate .contact-icon:nth-child(1) {
    transition-delay: 0.3s;
}

#ballarat-veterans-contact.animate .contact-icon:nth-child(2) {
    transition-delay: 0.45s;
}

#ballarat-veterans-contact.animate .contact-icon:nth-child(3) {
    transition-delay: 0.6s;
}

#ballarat-veterans-contact.animate img.shadow {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

/* Event details animation */
/* Initial state */
.event-detail-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(.19,1,.22,1);
}

    /* When visible */
    .event-detail-animate.animate-visible {
        opacity: 1;
        transform: translateY(0);
    }


    /* TEXT stagger animation */
    .event-detail-animate h6,
    .event-detail-animate h2,
    .event-detail-animate p {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(.19,1,.22,1);
    }

    .event-detail-animate.animate-visible h6 {
        transition-delay: 0.2s;
        opacity: 1;
        transform: translateY(0);
    }

    .event-detail-animate.animate-visible h2 {
        transition-delay: 0.35s;
        opacity: 1;
        transform: translateY(0);
    }

    .event-detail-animate.animate-visible p:nth-of-type(1) {
        transition-delay: 0.5s;
        opacity: 1;
        transform: translateY(0);
    }

    .event-detail-animate.animate-visible p:nth-of-type(2) {
        transition-delay: 0.65s;
        opacity: 1;
        transform: translateY(0);
    }

    .event-detail-animate.animate-visible p:nth-of-type(3) {
        transition-delay: 0.8s;
        opacity: 1;
        transform: translateY(0);
    }
    .event-detail-animate.animate-visible p:nth-of-type(4) {
        transition-delay: 0.95s;
        opacity: 1;
        transform: translateY(0);
    }

/* IMAGE card animation */
#ballarat-veterans-event-detail .card-box {
    opacity: 0;
    transform: scale(0.92) translateY(40px);
    transition: all 1s cubic-bezier(.19,1,.22,1);
}

#ballarat-veterans-event-detail.animate-visible .card-box {
    opacity: 1;
    transform: scale(1) translateY(0);
}

    /* Stagger - each image reveals one by one */
    #ballarat-veterans-event-detail.animate-visible .card-box:nth-child(1) {
        transition-delay: 0.4s;
    }

    #ballarat-veterans-event-detail.animate-visible .card-box:nth-child(2) {
        transition-delay: 0.55s;
    }

    #ballarat-veterans-event-detail.animate-visible .card-box:nth-child(3) {
        transition-delay: 0.7s;
    }

    #ballarat-veterans-event-detail.animate-visible .card-box:nth-child(4) {
        transition-delay: 0.85s;
    }


/* Keep image inside clean boundaries */
.card-box .image-wrapper {
    border-radius: 12px; /* optional but clean */
}

    /* SUPER smooth transition */
    .card-box .image-wrapper img {
        transform: scale(1);
        transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }

/* BIGGER zoom + softer motion */
.card-box:hover .image-wrapper img {
    transform: scale(1.25);
}

/*12-12-25*/
.overflow-text-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 63px;
    line-height: 1.3;
}
.home-banner{position:relative;overflow:hidden;}
.home-banner .banner-img img{position:absolute;height:100%;width:100%;object-fit:cover;z-index:1;height:850px;}
@media (max-width: 1399px) {
    .home-banner .banner-img img {
        height: 700px;
    }
}
@media (max-width: 992px) {
    .home-banner .banner-img img {
        height: 1000px;
        object-position: 10% 90%;
    }
}
@media (max-width: 768px) {
    .home-banner .banner-img img {
        height: 1000px;
        object-position: 10% 90%;
    }
}
@media (max-width: 576px) {
    .home-banner .banner-img img {
        height: 600px;
        object-position: 30% 70%;
    }
}
/*Container Size*/
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1432px;
    }
}


.equal-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 60px !important;
    line-height: 1.3;
    min-height: calc(1.3em * 2);
}

.clamp-3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.5;
    min-height: calc(1.5em * 3);
}
@media (max-width: 768px) {
    #calendar {
        padding: 10px;
    }

    .calendar-row {
        flex-direction: column;
    }

    .col-left,
    .col-right {
        flex: 0 0 100%;
    }
}

#ballarat-veterans-contact .icon-wrapper {
    flex-shrink: 0 !important;
}


/* Default: screens below 992px */
#ballarat-veterans-contact .contact-icon {
    height: 65px !important;
    width: 65px !important;
}

/* Screens 992px and above (lg and up) */
@media (min-width: 992px) {
    #ballarat-veterans-contact .contact-icon {
        height: 90px !important;
        width: 90px !important;
    }
}
