/*******************************/
/********* General CSS *********/
/*******************************/
html, body {
    overflow-x: hidden;
}

body {
    color: #777777;
    font-weight: 500;
    background: #ffffff;
    font-family: 'Quicksand', sans-serif;
}

h1,
h2, 
h3, 
h4,
h5 {
    color: #4a4c70;

}

/* For the navbar title  that says "Animal shelter"*/
h6 {
    font-size: 24px;
    color: #ffffff;
    font-weight: 500;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
}



a {
    color: #4a4c70;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #FDBE33;
    outline: none;
    text-decoration: none;
}

.btn.btn-custom {
    padding: 12px 20px;
    text-align: center; 
   font-size: 16px;
    font-weight: 500;
    color: #777777;
    border-radius: 0;
    border: 2px solid #FDBE33;
    box-shadow: inset 0 0 0 0 #FDBE33;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
}

.btn.btn-custom:hover {
    color: #20212B;
    box-shadow: inset 0 0 0 30px #FDBE33;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1366px;
}

[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {   
    font-size: inherit;
    margin-left: 0;
}


/**********************************/
/****** Loader & Back to Top ******/
/**********************************/
#loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s ease-out, visibility 0s linear .3s;
    -o-transition: opacity .3s ease-out, visibility 0s linear .3s;
    transition: opacity .3s ease-out, visibility 0s linear .3s;
    z-index: 999;
}

#loader.show {
    -webkit-transition: opacity .6s ease-out, visibility 0s linear 0s;
    -o-transition: opacity .6s ease-out, visibility 0s linear 0s;
    transition: opacity .6s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#loader .loader {
    position: relative;
    width: 45px;
    height: 45px;
    border: 5px solid #dddddd;
    border-top: 5px solid #FDBE33;
    border-radius: 50%;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.back-to-top {
    position: fixed;
    display: none;
    background: #FDBE33;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top i {
    color: #4a4c70;
    padding-top: 10px;
}

.back-to-top:hover {
    background: #4a4c70;
}

.back-to-top:hover i {
    color: #FDBE33;
}


/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
    position: absolute;
    height: 45px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    /* border-bottom: 1px solid rgba(255, 255, 255, .3); */
}

.top-bar .top-bar-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar .text {
    display: flex;
    align-items: center;
    justify-content: left;
    flex-direction: row;
    height: 45px;
    padding: 0 10px;
    text-align: center;
    /* border-left: 1px solid rgba(255, 255, 255, .3); */
}

/* .top-bar .text:last-child {
    border-right: 1px solid rgba(255, 255, 255, .3);
} */

.top-bar .text i {
    font-size: 16px;
    color: #FDBE33;
    margin-right: 5px;
}

.top-bar .text p {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.top-bar .social {
    display: flex;
    height: 45px;
    font-size: 0;
    justify-content: flex-end;
}

.top-bar .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 100%;
    font-size: 16px;
    color: #FDBE33;
    /* border-right: 1px solid rgba(255, 255, 255, .3); */
}

/* .top-bar .social a:first-child {
    border-left: 1px solid rgba(255, 255, 255, .3);
} */

.top-bar .social a:hover {
    color: #ffffff;
    background: #FDBE33;
}

@media (min-width: 992px) {
    .top-bar {
        padding: 0 60px;
    }
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
}

.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    transition: .5s;
}

.navbar .navbar-brand {
    padding-top: 20px;
    margin: 0;
    color: #ffffff;
    font-size: 45px;
    line-height: 0px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 40px;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    padding: 10px 15px 8px 15px;
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #FDBE33;
    transition: none;
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        top: 45px;
        padding: 20px 60px;
        background: transparent !important;
        /* border-bottom: 1px solid rgba(255, 255, 255, .3); */
        z-index: 9;
    }
    
    .navbar.nav-sticky {
        padding: 10px 60px;
        background: #20212B !important;
        border-bottom: none;
    }
    
    .page .navbar {
        background: #20212B !important;
    }
    
    .navbar a.nav-link {
        padding: 8px 15px;
        font-size: 16px;
        letter-spacing: 1px;
    }
}

@media (max-width: 991.98px) {   
    .navbar {
        padding: 15px;
        background: #20212B !important;
    }
    
    .navbar a.nav-link {
        padding: 5px;
    }
    
    .navbar .dropdown-menu {
        box-shadow: none;
    }
}


/*******************************/
/********** Hero CSS ***********/
/*******************************/
.carousel {
    position: relative;
    width: 100%;
    min-height: 300px;
    background: #ffffff;
    margin-bottom: 45px;
}

.carousel .container-fluid {
    padding: 0;
}

.carousel .carousel-item {
    position: relative;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.carousel .carousel-img {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    text-align: right;
    overflow: hidden;
}

.carousel .carousel-img::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* background: rgba(0, 0, 0, .5); */
    z-index: 1;
}

.carousel .carousel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .carousel-text {
    position: absolute;
    max-width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
}

.carousel .carousel-text h1 {
    text-align: center;
    color: #ffffff;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
}

.carousel .carousel-text p {
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    margin-bottom: 25px;
}

.carousel .carousel-btn .btn.btn-custom {
    color: #ffffff;
}

.carousel .carousel-btn .btn.btn-custom:hover {
    color: #20212B;
}

.carousel .carousel-btn .btn:first-child {
    margin-right: 15px;
}

.carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 60px;
    top: calc(50% - 30px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 9;
}

.carousel .owl-nav .owl-prev,
.carousel .owl-nav .owl-next {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FDBE33;
    background: rgba(256, 256, 256, .2);
    font-size: 22px;
    transition: .3s;
}

.carousel .owl-nav .owl-prev:hover,
.carousel .owl-nav .owl-next:hover {
    color: #ffffff;
    background: #FDBE33;
}

.carousel .owl-nav .owl-prev {
    margin-right: 2px;
}

.carousel .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .carousel .carousel-text h1 {
        font-size: 35px;
    }
    
    .carousel .carousel-text p {
        font-size: 16px;
    }
    
    .carousel .carousel-text .btn {
        padding: 12px 30px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 767.98px) {
    .carousel .carousel-text h1 {
        font-size: 30px;
    }
    
    .carousel .carousel-text .btn {
        padding: 10px 25px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-text h1 {
        font-size: 25px;
    }
    
    .carousel .carousel-text .btn {
        padding: 8px 20px;
        font-size: 14px;
        letter-spacing: 0;
    }
}


/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 210px 0 90px 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../images/image2-cropped.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header h2 {
    position: relative;
    color: #FDBE33;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: #FDBE33;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #ffffff;
}

.page-header a:hover {
    color: #FDBE33;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #ffffff;
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h2 {
        font-size: 45px;
    }
    
    .page-header a {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 45px 0;
    }
    
    .page-header h2 {
        font-size: 35px;
    }
    
    .page-header a {
        font-size: 18px;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 45px auto;
}

.section-header p {
    margin-bottom: 5px;
    position: relative;
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    color: #FDBE33;
}

.section-header h2 {
    margin: 0;
    font-size: 45px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .section-header h2 {
        font-size: 45px;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 40px;
    }
}

@media (max-width: 575.98px) {
    .section-header h2 {
        font-size: 35px;
    }
}


/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.about .section-header {
    margin-bottom: 30px;
    margin-left: 0;
}

.about .about-img {
    width: 100%;
    height: 100vh;
}

.about .about-tab {
    width: 100%;
}

.about .about-tab .nav.nav-pills .nav-link {
    padding: 8px;
    font-weight: 600;
    background: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    transition: none;
}

.about .about-tab .nav.nav-pills .nav-link:hover,
.about .about-tab .nav.nav-pills .nav-link.active {
    color: #FDBE33;
    padding-bottom: 7px;
    border-bottom: 3px solid #FDBE33;
}

.about .about-tab .tab-content {
    padding: 15px 0 0 0;
    background: transparent;
}

.about .about-tab .tab-content .container {
    padding: 0;
}

@media (max-width: 991.98px) {
    .about .section-header {
        margin-top: 30px;
    }
}


/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 45px;
    transition: .3s;
}

.service .service-icon {
    position: relative;
    width: 60px;
}

.service .service-icon i {
    position: relative;
    display: block;
    color: #FDBE33;
    font-size: 60px;
    line-height: 60px;
    margin-top: 5px;
}

.service .service-text {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
}

.service .service-text::before {
    position: absolute;
    content: "";
    width: 1px;
    height: calc(100% - 10px);
    top: 5px;
    left: 0;
    background: rgba(0, 0, 0, .1);
}

.service .service-text::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 40px;
    top: calc(50% - 20px);
    left: -1px;
    background: #FDBE33;
}

.service .service-text h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service .service-text p {
    margin: 0;
}


/*******************************/
/********* Donate CSS **********/
/*******************************/
.donate {
    position: relative;
    width: 100%;
    margin: 45px 0;
    background: rgba(0, 0, 0, .5);
}

.donate .donate-content {
    padding: 45px 0 15px 0;
}

.container .donate {
    margin: 90px 0;
}

.container .donate .donate-content {
    padding: 45px 30px 15px 30px;
}

.donate .donate-content .section-header {
    margin-bottom: 30px;
}

.donate .donate-content .section-header h2 {
    color: #ffffff;
}

.donate .donate-text p {
    color: #ffffff;
    font-size: 18px;
}

.donate .donate-form {
    padding: 90px 30px;
    background: #FDBE33;
}

.donate .donate-form .control-group {
    margin-bottom: 15px;
}

.donate .donate-form .form-control {
    height: 60px;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 0;
    border: 1px solid #ffffff;
    background: transparent;
}

.donate .donate-form .form-control::placeholder {
    color: #ffffff;
    opacity: 1;
}

.donate .donate-form .form-control:-ms-input-placeholder,
.donate .donate-form .form-control::-ms-input-placeholder {
    color: #ffffff;
}

.donate .donate-form .btn-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.donate .donate-form .btn.btn-custom {
    padding: 15px 0;
    width: 100%;
    height: 60px;
    color: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 0 #ffffff;
}

.donate .donate-form .btn.btn-custom:hover,
.donate .donate-form .btn.btn-custom.active {
    color: #FDBE33;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 30px #ffffff;
}



/*******************************/
/********** Causes CSS *********/
/*******************************/
.causes {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.causes .causes-carousel {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
}

.causes .causes-item {
    margin: 0 15px;
    overflow: hidden;
    background: #f3f6ff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.causes .causes-img {
    overflow: hidden;
    position: relative;
}

.causes .causes-img img {
    /* width: 100%; */
    /* width: 350px; */
    height: 100%;
    transition: .3s;
}

.causes .causes-item:hover img {
    transform: scale(1.1);
}


.causes .causes-progress {
    width: 100%;
    margin-top: 32px;
    padding: 30px 30px 20px 30px;
}

.causes .progress {
    height: 10px;
    border-radius: 0;
    background: #dddddd;
    overflow: visible;
}

.causes .progress .progress-bar {
    position: relative;
    width: 0px;
    background: #FDBE33;
    overflow: visible;
    transition: 2s;
}

.causes .progress-bar span {
    position: absolute;
    top: -32px;
    right: 0;
    height: 23px;
    display: inline-block;
    padding: 2px 6px;
    background: #FDBE33;
    color: #20212B;
}

.causes .progress-bar span::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 23px;
    left: calc(50% - 6px);
    border: 6px solid;
    border-color: #FDBE33 transparent transparent transparent;
}

.causes .progress-text {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}

.causes .progress-text p {
    margin: 0;
}

.causes .causes-text {
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.causes .causes-text h3 {
    font-size: 22px;
    font-weight: 700;
}

/* .causes .causes-text p {
    margin: 0;
} */
 .causes .causes-text p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.causes .causes-btn {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
}

.causes .causes-btn .btn {
    padding: 10px 0;
    width: 50%;
}

.causes .causes-btn .btn:last-child {
    color: #20212B;
    background: #FDBE33;
}

.causes .causes-btn .btn:last-child:hover {
    color: #ffffff;
}

/* Adoption nav bar in index.html */
.adoption-section .causes-carousel {
    position: relative;
}

.adoption-section .causes-carousel .owl-nav .owl-prev,
.adoption-section .causes-carousel .owl-nav .owl-next {
    position: absolute;
    top: 110px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #FDBE33;
    color: #20212B;
    font-size: 26px;
    line-height: 42px;
    text-align: center;
    padding: 0;
    margin: 0;
    z-index: 100;
}

.adoption-section .causes-carousel .owl-nav .owl-prev {
    left: -50px;
}

.adoption-section .causes-carousel .owl-nav .owl-next {
    right: -50px;
}

.adoption-section .causes-carousel .owl-nav .owl-prev:hover,
.adoption-section .causes-carousel .owl-nav .owl-next:hover {
    background: #20212B;
    color: #ffffff;
}


/*******************************/
/********* Adoption CSS ********/
/*******************************/
.adoption-section {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.adoption-section .causes-carousel {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
}

.adoption-section .adoption-card {
    margin: 0 15px;
    overflow: hidden;
    background: #f3f6ff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.adoption-section .causes-img {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.adoption-section .causes-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.adoption-section .adoption-card:hover img {
    transform: scale(1.05);
}

.adoption-section .causes-text {
    padding: 25px 25px 15px 25px;
}

.adoption-section .causes-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.adoption-section .animal-details {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.adoption-section .causes-text p {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

.adoption-section .causes-btn {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 0 25px 25px 25px;
}

.adoption-section .causes-btn .btn {
    flex: 1;
    padding: 10px 0;
    text-align: center;
}

.adoption-section .causes-btn .btn:last-child {
    color: #20212B;
    background: #FDBE33;
}

.adoption-section .causes-btn .btn:last-child:hover {
    color: #ffffff;
}


/*******************************/
/********** Facts CSS **********/
/*******************************/
.facts {
    position: relative;
    width: 100%;
    min-height: 400px;
    margin: 45px 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

.facts .facts-item {
    display: flex;
    flex-direction: row;
    margin: 25px 0;
}

.facts .facts-item i {
    margin-top: 10px;
    font-size: 60px;
    line-height: 60px;
    color: #FDBE33;
}

.facts .facts-text {
    padding-left: 20px;
}

.facts .facts-text h3 {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-size: 45px;
    font-weight: 700;
}

.facts .facts-text h3::after {
    position: absolute;
    top: 0px;
    color: #ffffff;
    font-size: 25px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.facts .facts-text h3.facts-plus::after {
    content: "\f067";
    right: -25px;
}

.facts .facts-text h3.facts-dollar::after {
    content: "\f155";
    right: -18px;
}

.facts .facts-text p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}


/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.team .section-header {
    margin-bottom: 35px;
}

/* Remove old image-card behavior */
.team .team-item {
    position: relative;
    margin-bottom: 30px;
    height: 100%;
}

.team .team-text {
    position: relative;
    width: 100%;
    height: auto;
    bottom: auto;
    left: auto;
    padding: 30px 20px;
    text-align: center;
    background: #f3f6ff;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.team .team-text h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.team .team-text p {
    margin-bottom: 0;
    color: #666;
}

.team .team-item:hover .team-text {
    height: auto;
    transform: translateY(-5px);
}


/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.testimonial .testimonials-carousel {
    position: relative;
    width: calc(100% + 30px);
    margin: 0 -15px;
}

.testimonial .testimonial-item {
    position: relative;
    width: 100%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial .testimonial-profile {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.testimonial .testimonial-profile img {
    width: 80px;
    margin-bottom: -1px;
}

.testimonial .testimonial-name {
    padding-left: 15px;
    width: calc(100% - 95px);
}

.testimonial .testimonial-name h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial .testimonial-name p {
    margin: 0;
    font-style: italic;
}

.testimonial .testimonial-text p {
    margin: 0;
}

.testimonial .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.testimonial .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: #FDBE33;
}

.testimonial .owl-dot.active {
    background: #20212B;
}


/*******************************/
/******** Volunteer CSS ********/
/*******************************/
.volunteer {
    position: relative;
    width: 100%;
    margin: 45px 0;
    background: rgba(0, 0, 0, .5);
}

.volunteer .volunteer-content {
    padding: 30px 0 45px 0;
}

.container .volunteer {
    margin: 90px 0;
}

.container .volunteer .volunteer-content {
    padding: 45px 30px 15px 30px;
}

.volunteer .volunteer-content .section-header {
    margin-bottom: 30px;
}

.volunteer .volunteer-content .section-header h2 {
    color: #ffffff;
}

.volunteer .volunteer-text p {
    color: #ffffff;
    font-size: 18px;
}

.volunteer .volunteer-form {
    padding: 90px 30px;
    background: #FDBE33;
}

.volunteer .volunteer-form .control-group {
    margin-bottom: 15px;
}

.volunteer .volunteer-form .form-control {
    height: 60px;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 0;
    border: 1px solid #ffffff;
    background: transparent;
}

.volunteer .volunteer-form textarea.form-control {
    height: 120px;
    padding: 15px;
}

.volunteer .volunteer-form .form-control::placeholder {
    color: #ffffff;
    opacity: 1;
}

.volunteer .volunteer-form .form-control:-ms-input-placeholder,
.volunteer .volunteer-form .form-control::-ms-input-placeholder {
    color: #ffffff;
}

.volunteer .volunteer-form .btn.btn-custom {
    padding: 15px 0;
    width: 100%;
    height: 60px;
    color: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 0 #ffffff;
}

.volunteer .volunteer-form .btn.btn-custom:hover {
    color: #FDBE33;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 30px #ffffff;
}


/*******************************/
/********** Event CSS **********/
/*******************************/
.event {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.event .event-item {
    margin-bottom: 30px;
    background: #f3f6ff;
}

.event .event-item img {
    width: 100%;
}

.event .event-content {
    padding: 30px;
    display: flex;
}

.event .event-meta {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.event .event-meta p {
    position: relative;
    margin-bottom: 8px;
    padding-bottom: 8px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.event .event-meta p:last-child {
    border-bottom: none;
}

.event .event-meta i {
    color: #4a4c70;
    width: 25px;
}

.event .event-text {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
}

.event .event-text::before {
    position: absolute;
    content: "";
    width: 1px;
    height: calc(100% - 5px);
    top: 6px;
    left: 0;
    background: rgba(0, 0, 0, .15);
}

.event .event-text::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 40px;
    top: calc(50% - 20px);
    left: -1px;
    background: #FDBE33;
}

.event .event-text h3 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
}

.event .event-text p {
    margin: 0;
}

.event .btn.btn-custom {
    margin-top: 20px;
    padding: 8px 30px;
}

@media (max-width: 575.98px) {
    .event .event-content {
        flex-direction: column;
    }
    
    .event .event-meta {
        flex-direction: row;
    }
    
    .event .event-meta p {
        font-size: 14px;
        padding-right: 7px;
    }
    
    .event .event-meta p:last-child {
        border-bottom: 1px solid rgba(0, 0, 0, .15);
    }
    
    .event .event-meta i {
        width: 18px;
    }
    
    .event .event-text {
        margin: 0;
        padding: 0;
    }
    
    .event .event-text::before,
    .event .event-text::after {
        display: none;
    }
}



/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.blog .blog-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    background: #f3f6ff;
}

.blog .blog-img {
    width: 100%;
}

.blog .blog-img img {
    width: 100%;
}

.blog .blog-text {
    padding: 30px 30px 15px 30px;
}

.blog .blog-text h3 {
    font-size: 22px;
    font-weight: 700;
}

.blog .blog-text h3 a {
    color: #4a4c70;
}

.blog .blog-text h3 a:hover {
    color: #FDBE33;
}

.blog .blog-text p {
    margin: 0;
}

.blog .blog-meta {
    margin: 0 30px;
    padding-top: 15px;
    display: flex;
    border-top: 1px solid rgba(0, 0, 0, .15);
}

.blog .blog-meta p {
    margin: 0;
    color: #777777;
    padding: 0 30px;
    border-right: 1px solid rgba(0, 0, 0, .15);
}

.blog .blog-meta p:first-child {
    padding-left: 0;
}

.blog .blog-meta p:last-child {
    padding-right: 0;
    border: none;
}

.blog .blog-meta i {
    color: #4a4c70;
    margin-right: 8px
}

.blog .pagination {
    margin-bottom: 15px;
}

.blog .pagination .page-link {
    color: #4a4c70;
    border-radius: 0;
    border-color: #4a4c70;
}

.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link {
    color: #FDBE33;
    background: #4a4c70;
}

.blog .pagination .disabled .page-link {
    color: #999999;
}

/** For success Stories */
.blog .row {
    display: flex;
    flex-wrap: wrap;
}

.blog .row > div {
    display: flex;
    margin-bottom: 30px;
}

.blog .blog-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.blog .blog-img {
    height: 260px;
}

.blog .blog-img img {
    height: 100%;
    object-fit: cover;
}

.blog .blog-text {
    flex-grow: 1;
}

.blog .blog-meta {
    margin-top: auto;
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.contact .contact-img {
    position: relative;
    background-size: contain;
    width: 100%;
}

.contact .contact-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.contact .contact-form {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    margin-top: -220px;
    padding: 30px;
    background: #f3f6ff;
}

@media (max-width: 991.98px) {
    .contact .contact-form {
        max-width: 600px;
    }
}

@media (max-width: 767.98px) {
    .contact .contact-form {
        max-width: 400px;
    }
}

@media (max-width: 575.98px) {
    .contact .contact-form {
        max-width: 300px;
    }
}

.contact .contact-form input {
    padding: 15px;
    background: none;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, .1);
}

.contact .contact-form textarea {
    height: 150px;
    padding: 8px 15px;
    background: none;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, .1);
}

.contact .contact-form .btn.btn-custom {
    width: 100%;
}

.contact .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/*******************************/
/******* Single Post CSS *******/
/*******************************/
.single {
    position: relative;
    padding: 45px 0;
}

.single .single-content {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.single .single-content img {
    margin-bottom: 20px;
    width: 100%;
}

.single .single-tags {
    margin: -5px -5px 41px -5px;
    font-size: 0;
}

.single .single-tags a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4c70;
    border: 1px solid #4a4c70;
}

.single .single-tags a:hover {
    color: #ffffff;
    background: #FDBE33;
    border-color: #FDBE33;
}

.single .single-bio {
    margin-bottom: 45px;
    padding: 30px;
    background: #f3f6ff;
    display: flex;
}

.single .single-bio-img {
    width: 100%;
    max-width: 100px;
}

.single .single-bio-img img {
    width: 100%;
    border: 15px solid #ffffff;
}

.single .single-bio-text {
    padding-left: 30px;
}

.single .single-bio-text h3 {
    font-size: 20px;
    font-weight: 700;
}

.single .single-bio-text p {
    margin: 0;
}

.single .single-related {
    margin-bottom: 45px;
}

.single .single-related h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .related-slider {
    position: relative;
    margin: 0 -15px;
    width: calc(100% + 30px);
}

.single .related-slider .post-item {
    margin: 0 15px;
}

.single .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.single .post-item .post-img {
    width: 100%;
    max-width: 80px;
}

.single .post-item .post-img img {
    width: 100%;
}

.single .post-item .post-text {
    padding-left: 15px;
}

.single .post-item .post-text a {
    font-size: 16px;
    font-weight: 600;
}

.single .post-item .post-text a:hover {
    color: #FDBE33;
}

.single .post-item .post-meta {
    display: flex;
    margin-top: 8px;
}

.single .post-item .post-meta p {
    display: inline-block;
    margin: 0;
    padding: 0 3px;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
}

.single .post-item .post-meta p a {
    margin-left: 5px;
    color: #999999;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
}

.single .related-slider .owl-nav {
    position: absolute;
    width: 90px;
    top: -55px;
    right: 15px;
    display: flex;
}

.single .related-slider .owl-nav .owl-prev,
.single .related-slider .owl-nav .owl-next {
    margin-left: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a4c70;
    background: #FDBE33;
    font-size: 16px;
    transition: .3s;
}

.single .related-slider .owl-nav .owl-prev:hover,
.single .related-slider .owl-nav .owl-next:hover {
    color: #FDBE33;
    background: #4a4c70;
}

.single .single-comment {
    position: relative;
    margin-bottom: 45px;
}

.single .single-comment h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-list {
    list-style: none;
    padding: 0;
}

.single .comment-child {
    list-style: none;
}

.single .comment-body {
    display: flex;
    margin-bottom: 30px;
}

.single .comment-img {
    width: 60px;
}

.single .comment-img img {
    width: 100%;
    border-radius: 0;
}

.single .comment-text {
    padding-left: 15px;
    width: calc(100% - 60px);
}

.single .comment-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 3px;
}

.single .comment-text span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.single .comment-text .btn {
    padding: 3px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4c70;
    background: #dddddd;
    border-radius: 0;
}

.single .comment-text .btn:hover {
    background: #FDBE33;
}

.single .comment-form {
    position: relative;
}

.single .comment-form h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-form form {
    padding: 30px;
    background: #f3f6ff;
}

.single .comment-form form .form-group:last-child {
    margin: 0;
}

.single .comment-form input,
.single .comment-form textarea {
    border-radius: 0;
}

.single .comment-form input:focus,
.single .comment-form textarea:focus {
    border-color: #FDBE33;
}


/**********************************/
/*********** Sidebar CSS **********/
/**********************************/
.sidebar {
    position: relative;
    width: 100%;
}

@media(max-width: 991.98px) {
    .sidebar {
        margin-top: 45px;
    }
}

.sidebar .sidebar-widget {
    position: relative;
    margin-bottom: 45px;
}

.sidebar .sidebar-widget .widget-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 5px;
    font-size: 25px;
    font-weight: 700;
}

.sidebar .sidebar-widget .widget-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #FDBE33;
}

.sidebar .sidebar-widget .search-widget {
    position: relative;
}

.sidebar .search-widget input {
    height: 50px;
    border: 1px solid #dddddd;
    border-radius: 0;
}

.sidebar .search-widget input:focus {
    box-shadow: none;
    border-color: #FDBE33;
}

.sidebar .search-widget .btn {
    position: absolute;
    top: 6px;
    right: 15px;
    height: 40px;
    padding: 0;
    font-size: 25px;
    color: #FDBE33;
    background: none;
    border-radius: 0;
    border: none;
    transition: .3s;
}

.sidebar .search-widget .btn:hover {
    color: #4a4c70;
}

.sidebar .sidebar-widget .recent-post {
    position: relative;
}

.sidebar .sidebar-widget .tab-post {
    position: relative;
}

.sidebar .tab-post .nav.nav-pills .nav-link {
    color: #4a4c70;
    background: #FDBE33;
    border-radius: 0;
}

.sidebar .tab-post .nav.nav-pills .nav-link:hover,
.sidebar .tab-post .nav.nav-pills .nav-link.active {
    color: #FDBE33;
    background: #4a4c70;
}

.sidebar .tab-post .tab-content {
    padding: 15px 0 0 0;
    background: transparent;
}

.sidebar .tab-post .tab-content .container {
    padding: 0;
}

.sidebar .sidebar-widget .category-widget {
    position: relative;
}

.sidebar .category-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar .category-widget ul li {
    margin: 0 0 12px 22px; 
}

.sidebar .category-widget ul li:last-child {
    margin-bottom: 0; 
}

.sidebar .category-widget ul li a {
    display: inline-block;
    line-height: 23px;
}

.sidebar .category-widget ul li::before {
    position: absolute;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #FDBE33;
    left: 1px;
}

.sidebar .category-widget ul li span {
    display: inline-block;
    float: right;
}

.sidebar .sidebar-widget .tag-widget {
    position: relative;
    margin: -5px -5px;
}

.single .tag-widget a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4c70;
    border: 1px solid #4a4c70;
    border-radius: 0;
}

.single .tag-widget a:hover {
    color: #ffffff;
    background: #FDBE33;
    border-color: #FDBE33;
}

.sidebar .image-widget {
    display: block;
    width: 100%;
    overflow: hidden;
}

.sidebar .image-widget img {
    max-width: 100%;
    transition: .3s;
}

.sidebar .image-widget img:hover {
    transform: scale(1.1);
}


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 45px;
    padding-top: 90px;
    background: #20212B;
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
    position: relative;
    margin-bottom: 45px;
    color: #ffffff;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2 {
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 700;
    color: #FDBE33;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    transition: .3s;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .footer-link a:hover {
    color: #FDBE33;
    letter-spacing: 1px;
}

.footer .footer-contact p i {
    width: 25px;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
}

.footer .footer-social a {
    width: 40px;
    height: 40px;
    padding: 6px 0;
}

.footer .footer-social a {
    margin-top: 5px;
}

.footer .footer-newsletter form {
    position: relative;
    width: 100%;
}

.footer .footer-newsletter input {
    margin-bottom: 15px;
    height: 60px;
    border: none;
    border-radius: 0;
}

.footer .footer-newsletter label {
    margin-top: 5px;
    color: #777777;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer .footer-newsletter .btn.btn-custom {
    width: 100%;
    padding: 15px 0;
}

.footer .copyright {
    padding: 0 30px;
}

.footer .copyright .row {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright p {
    margin: 0;
    color: #999999;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: #ffffff;
}

.footer .copyright p a:hover {
    color: #FDBE33;
}

@media (max-width: 767.98px) {
    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
}

/*** Fundraiser***/
.card {
    background: #f3f6ff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.animal-image {
    height: 250px;
    overflow: hidden;
}

.animal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text {
    padding: 20px;
    flex-grow: 1;
}

.text h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.donate-btn .btn {
    width: 100%;
}

/*******************************/
/******** In Memoriam CSS ******/
/*******************************/
.memoriam-card-horizontal {
    display: flex;
    background: #f3f6ff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Image side */
.memoriam-card-horizontal .memoriam-image {
    width: 40%;
    min-height: 100%;
}

.memoriam-card-horizontal .memoriam-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text side */
.memoriam-card-horizontal .memoriam-text {
    width: 60%;
    padding: 25px;
}

.memoriam-card-horizontal .memoriam-text h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.memoriam-card-horizontal .memoriam-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/*******************************/
/**** In How to Donate CSS  ****/
/*******************************/

.donate-info {
    width: 100%;
    padding: 45px 0;
}

.donate-intro {
    margin-bottom: 35px;
    font-size: 17px;
    line-height: 1.7;
}

.donate-card {
    background: #f3f6ff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.donate-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.donate-value {
    font-size: 18px;
    font-weight: 600;
    color: #4a4c70;
    word-break: break-word;
}

.gofundme-row {
    margin-top: 20px;
}

.gofundme-box {
    background: #f3f6ff;
    border-radius: 10px;
    padding: 35px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.gofundme-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.gofundme-box p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.fundraiser-preview {
    margin-top: 45px;
}

.preview-title {
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

.fundraiser-preview-card {
    display: block;
    background: #f3f6ff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.fundraiser-preview-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.fundraiser-preview-card .preview-text {
    padding: 20px;
    text-align: center;
}

.fundraiser-preview-card .preview-text h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #4a4c70;
}

.fundraiser-preview-card .preview-text p {
    margin: 0;
    color: #777777;
}

.fundraiser-preview-card:hover .preview-text h4 {
    color: #FDBE33;
}

/*******************************/
/******** Volunteer CSS ********/
/*******************************/
.volunteer-page {
    width: 100%;
    padding: 45px 0;
}

.volunteer-box {
    background: #f3f6ff;
    border-radius: 10px;
    padding: 40px 35px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.volunteer-intro {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: center;
}

.volunteer-box h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.volunteer-list {
    margin: 0 0 25px 0;
    padding-left: 20px;
}

.volunteer-list li {
    margin-bottom: 14px;
    line-height: 1.7;
    color: #666;
}

.volunteer-list a {
    font-weight: 600;
}

.volunteer-note {
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: center;
}

.volunteer-btn {
    margin-top: 25px;
}


/*******************************/
/***** Donation Items CSS ******/
/*******************************/

.donation-items {
    padding: 45px 0;
}

.donation-items-intro {
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.donation-item-card {
    background: #f3f6ff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.donation-item-img {
    height: 260px;
    overflow: hidden;
}

.donation-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donation-item-text {
    padding: 25px;
}

.donation-item-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.donation-item-text ul {
    padding-left: 20px;
    margin: 0;
}

.donation-item-text li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/********************************************/
/** Final Improvements: Access, SEO, Mobile **/
/********************************************/
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.top-bar a:focus,
.navbar a:focus,
.btn:focus,
.gallery-thumb:focus,
.form-control:focus {
    outline: 3px solid #FDBE33;
    outline-offset: 3px;
}

.adoption-intro-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    margin-bottom: 34px;
    border-radius: 16px;
    background: #f8f9ff;
    border-left: 6px solid #FDBE33;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.adoption-intro-panel h3 {
    margin-bottom: 8px;
    color: #20212B;
    font-weight: 700;
}

.adoption-intro-panel p {
    margin: 0;
    color: #555;
}

.adoption-intro-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.adoption-intro-actions .outline-action {
    background: #20212B;
    border-color: #20212B;
    color: #fff;
}

.animal-gallery {
    height: 320px !important;
    background: #20212B;
}

.animal-gallery .gallery-main {
    height: 250px !important;
}

.gallery-thumbs {
    height: 70px;
    display: flex;
    gap: 8px;
    padding: 8px;
    background: rgba(32, 33, 43, .94);
}

.gallery-thumb {
    flex: 1;
    border: 2px solid transparent;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: #FDBE33;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.adoption-section .causes-btn .btn {
    border-radius: 6px;
    font-weight: 700;
}

.contact-form .alert {
    margin-bottom: 20px;
}

@media (max-width: 991.98px) {
    .adoption-intro-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .adoption-intro-actions,
    .adoption-intro-actions .btn {
        width: 100%;
    }

    .adoption-section .causes-carousel .owl-nav .owl-prev {
        left: 10px;
    }

    .adoption-section .causes-carousel .owl-nav .owl-next {
        right: 10px;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 28px !important;
    }

    h6 {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .carousel .carousel-text h1 {
        font-size: 42px;
        line-height: 1.2;
    }

    .animal-gallery {
        height: 300px !important;
    }

    .animal-gallery .gallery-main {
        height: 230px !important;
    }
}


/* Banner/Header image crop fix - keeps dog head visible on Home and About pages */
.page-header,
.header-carousel .owl-carousel-item,
.hero-header {
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

.page-header img,
.header-carousel .owl-carousel-item img,
.hero-header img,
.carousel-item img {
    object-fit: cover !important;
    object-position: center top !important;
}

/* Give banner enough height so the full head is visible before scrolling */
.page-header {
    min-height: 520px !important;
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}

.header-carousel .owl-carousel-item {
    min-height: 620px !important;
}

.header-carousel .owl-carousel-item img {
    min-height: 620px !important;
}

@media (max-width: 991px) {
    .page-header {
        min-height: 430px !important;
        padding-top: 90px !important;
        padding-bottom: 90px !important;
        background-position: center top !important;
    }

    .header-carousel .owl-carousel-item,
    .header-carousel .owl-carousel-item img {
        min-height: 520px !important;
    }
}

@media (max-width: 576px) {
    .page-header {
        min-height: 360px !important;
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .header-carousel .owl-carousel-item,
    .header-carousel .owl-carousel-item img {
        min-height: 430px !important;
    }
}


/********************************************/
/** Client Requested Polish - May 2026      **/
/********************************************/
.home-about-clean {
    background: #ffffff;
    padding: 80px 0;
}

.home-about-img img {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 35px rgba(0,0,0,.12);
}

.home-info-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: #fff;
    border: 1.5px solid #e4a32a;
    border-radius: 18px;
    padding: 32px 36px;
    margin-bottom: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,.055);
}

.home-info-icon {
    width: 92px;
    min-width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #fff7e7;
    color: #d79021;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    border-right: 1px solid #e4a32a;
}

.home-info-content .box-label {
    color: #d79021;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
}

.home-info-content h2 {
    color: #173526;
    font-weight: 700;
    margin-bottom: 12px;
}

.home-info-content p:last-child {
    margin-bottom: 0;
    color: #555;
    line-height: 1.75;
}

.animal-photo-link {
    display: block;
    position: relative;
}

.animal-photo-link::after {
    content: "View photos";
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(32,33,43,.82);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    transition: .25s;
}

.animal-photo-link:hover::after {
    opacity: 1;
}

.adoption-intro-actions .donate-soft,
.home-volunteer-actions .subtle-action {
    background: transparent !important;
    color: #20212B !important;
    border: 2px solid #FDBE33 !important;
}

.home-volunteer-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 991.98px) {
    .home-about-img img { min-height: 360px; margin-bottom: 30px; }
    .home-info-card { flex-direction: column; text-align: center; }
}



/* Final success stories readability fix */
.success-stories-page .blog-item,
.blog .blog-item {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

.success-stories-page .blog-text,
.blog .blog-text {
    flex-grow: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 22px !important;
}

.success-stories-page .blog-text p,
.blog .blog-text p {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
}

.success-stories-page .blog-meta,
.blog .blog-meta {
    margin-top: 0 !important;
}

.success-stories-page .row > div,
.blog .row > div {
    align-items: stretch;
}

/********************************************/
/** Aesop Adopt/FAQ/Contact Update - May 2026 **/
/********************************************/
.adoption-section .owl-stage {
    display: flex;
}

.adoption-section .owl-item {
    display: flex;
}

.adoption-section .adoption-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 560px;
}

.adoption-section .causes-img {
    height: 260px !important;
    background: #f3f6ff;
}

.adoption-section .causes-img .animal-photo-link,
.adoption-section .causes-img .lulu-photo-trigger {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    display: block;
    cursor: pointer;
    overflow: hidden;
    background: transparent;
}

.adoption-section .causes-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center;
    display: block;
}

.adoption-section .causes-text {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    background: #f3f6ff;
}

.adoption-section .causes-text p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.adoption-section .causes-btn {
    margin-top: auto !important;
    background: #f3f6ff;
}

.adoption-section .causes-btn .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    padding-left: 8px;
    padding-right: 8px;
}

.animal-photo-link::after {
    content: "More details" !important;
}

.lulu-gallery-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(32, 33, 43, .78);
}

.lulu-gallery-overlay.active {
    display: flex;
}

body.lulu-modal-open {
    overflow: hidden;
}

.lulu-gallery-modal {
    width: min(960px, 96vw);
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 55px rgba(0,0,0,.3);
    padding: 26px;
}

.lulu-gallery-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #FDBE33;
    color: #20212B;
    font-size: 28px;
    line-height: 40px;
    cursor: pointer;
}

.lulu-gallery-title h2 {
    margin-bottom: 4px;
    color: #20212B;
    font-weight: 700;
}

.lulu-gallery-title p {
    color: #666;
    margin-bottom: 18px;
}

.lulu-gallery-grid {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: 22px;
    align-items: stretch;
}

.lulu-main-photo {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: 14px;
    background: #f3f6ff;
}

.lulu-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lulu-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #FDBE33;
    color: #20212B;
    cursor: pointer;
}

.lulu-gallery-arrow.prev { left: 14px; }
.lulu-gallery-arrow.next { right: 14px; }

.lulu-photo-count {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: auto;
    transform: none;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: #20212B;
    border: 1px solid rgba(255,255,255,.65);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
}

.lulu-gallery-note {
    background: #f8f9ff;
    border-left: 5px solid #FDBE33;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lulu-gallery-note p {
    margin-bottom: 18px;
    line-height: 1.7;
    color: #555;
}

.lulu-video-link,
.lulu-adopt-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
    background: #FDBE33;
    color: #20212B;
    font-weight: 700;
    padding: 12px 18px;
    text-align: center;
}

.lulu-video-link:hover,
.lulu-adopt-modal-btn:hover {
    background: #20212B;
    color: #ffffff;
}

.lulu-gallery-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.lulu-gallery-footer p {
    margin: 0;
    line-height: 1.7;
    color: #555;
}

.contact-email-direct {
    margin-left: 10px;
    color: #20212B !important;
    background: #FDBE33 !important;
}

@media (max-width: 767.98px) {
    .adoption-section .adoption-card { min-height: 540px; }
    .adoption-section .causes-text { min-height: 230px; }
    .lulu-gallery-grid { grid-template-columns: 1fr; }
    .lulu-main-photo { height: 320px; }
    .lulu-gallery-footer { flex-direction: column; align-items: stretch; }
    .contact-email-direct { margin-left: 0; margin-top: 10px; }
}



/* Adopt page Easter section */
.adopt-easter-section {
    padding: 20px 0 70px;
    background: #ffffff;
}

.adopt-easter-panel {
    background: #f4f6ff;
    border-left: 6px solid #FDBE33;
    border-radius: 18px;
    padding: 38px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.adopt-easter-panel .section-header {
    margin-bottom: 12px;
}

.adopt-easter-intro {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
    color: #555;
    font-size: 17px;
    line-height: 1.7;
}

.adopt-easter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.adopt-easter-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
    .adopt-easter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .adopt-easter-section {
        padding: 10px 0 50px;
    }
    .adopt-easter-panel {
        padding: 26px 18px;
    }
    .adopt-easter-grid {
        grid-template-columns: 1fr;
    }
    .adopt-easter-grid img {
        height: 300px;
    }
}

/* Success Stories final card alignment/crop fix */
.success-stories-page .blog .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.success-stories-page .blog .row > div {
    display: flex;
    margin-bottom: 30px;
}

.success-stories-page .blog .blog-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    padding-bottom: 0 !important;
    background: #f3f6ff;
    overflow: hidden !important;
}

.success-stories-page .blog .blog-img {
    width: 100%;
    height: 330px !important;
    flex: 0 0 330px;
    overflow: hidden;
}

.success-stories-page .blog .blog-img a,
.success-stories-page .blog .blog-img .animal-photo-link {
    display: block;
    width: 100%;
    height: 100%;
}

.success-stories-page .blog .blog-img img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.success-stories-page .blog .blog-text {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 25px 30px 15px 30px !important;
}

.success-stories-page .blog .blog-text h3 {
    margin: 0 0 12px 0;
}

.success-stories-page .blog .blog-text p {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    margin-bottom: 0;
}

.success-stories-page .blog .blog-meta {
    margin-top: auto !important;
    padding: 0 30px 25px 30px;
}

.success-stories-page .blog .blog-meta p {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(74, 76, 112, 0.18);
}

@media (max-width: 767.98px) {
    .success-stories-page .blog .blog-img {
        height: 280px !important;
        flex-basis: 280px;
    }
}

/* Success stories photo gallery update */
.success-stories-page .blog .row {
    align-items: stretch;
}
.success-stories-page .blog .col-lg-4,
.success-stories-page .blog .col-md-6 {
    display: flex;
    margin-bottom: 30px;
}
.success-stories-page .blog .blog-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.success-stories-page .blog .blog-img,
.success-stories-page .blog .blog-img img {
    height: 360px;
}
.success-stories-page .blog .blog-img img {
    width: 100%;
    object-fit: cover;
}
.success-stories-page .blog .blog-text {
    flex: 1;
}
.success-stories-page .blog .blog-meta {
    margin-top: auto;
}
.success-story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.success-story-actions button,
.success-story-actions a {
    border: 0;
    background: transparent;
    color: #1f305e;
    font-size: 16px;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.success-story-actions button:hover,
.success-story-actions a:hover {
    color: #FDBE33;
    text-decoration: none;
}
.story-gallery-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.story-gallery-overlay.active {
    display: flex;
}
.story-gallery-modal {
    width: min(1050px, 96vw);
    max-height: 92vh;
    overflow: auto;
    background: #f3f6ff;
    border-radius: 18px;
    padding: 26px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
}
.story-gallery-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #FDBE33;
    color: #1f305e;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.story-gallery-title h2 {
    margin: 0 50px 6px 0;
    color: #1f305e;
    font-weight: 700;
}
.story-gallery-title p {
    margin-bottom: 18px;
    color: #555;
}
.story-gallery-main {
    position: relative;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}
.story-gallery-main img {
    width: 100%;
    height: 560px;
    object-fit: contain;
    background: #fff;
    display: block;
}
.story-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(253,190,51,.92);
    color: #1f305e;
    cursor: pointer;
}
.story-gallery-arrow.prev { left: 14px; }
.story-gallery-arrow.next { right: 14px; }
.story-gallery-count {
    position: absolute;
    right: 16px;
    bottom: 14px;
    background: rgba(31,48,94,.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}
.story-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.story-gallery-thumb {
    border: 3px solid transparent;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}
.story-gallery-thumb.active {
    border-color: #FDBE33;
}
.story-gallery-thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}
@media (max-width: 767px) {
    .success-stories-page .blog .blog-img,
    .success-stories-page .blog .blog-img img { height: 280px; }
    .story-gallery-modal { padding: 18px; }
    .story-gallery-main img { height: 390px; }
}


/* Aesop's Legacy logo in navbar */
.navbar .site-logo-brand {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    margin: 0;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
}

.navbar .site-logo-brand .site-logo-img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
    max-height: 76px;
    object-fit: contain;
}

.navbar.nav-sticky .site-logo-brand .site-logo-img {
    width: 180px;
}

@media (max-width: 991.98px) {
    .navbar .site-logo-brand {
        padding: 3px 8px;
    }

    .navbar .site-logo-brand .site-logo-img {
        width: 170px;
        max-height: 62px;
    }
}

@media (max-width: 575.98px) {
    .navbar .site-logo-brand {
        max-width: 72%;
    }

    .navbar .site-logo-brand .site-logo-img {
        width: 145px;
        max-height: 54px;
    }
}


/* Aesop's Legacy logo beside social icons */
.top-bar .social .topbar-logo-link {
    width: auto;
    min-width: 0;
    padding-left: 18px;
    padding-right: 0;
    background: transparent !important;
}

.top-bar .social .topbar-logo-link img {
    display: block;
    height: 42px;
    width: auto;
    object-fit: contain;
}

.top-bar .social .topbar-logo-link:hover {
    background: transparent !important;
}

@media (max-width: 767.98px) {
    .top-bar .social .topbar-logo-link {
        padding-left: 10px;
    }

    .top-bar .social .topbar-logo-link img {
        height: 34px;
    }
}

/* Contact page redesign - logo showcase with form overlay */
.contact-page-redesign .page-header {
    display: none;
}

.contact-page-redesign .contact {
    padding: 12px 0 55px;
    background: #ffffff;
}

.contact-page-redesign .contact .section-header {
    margin-bottom: 2px;
}

.contact-page-redesign .contact .section-header p {
    margin-bottom: 4px;
    color: #FDBE33;
    font-weight: 700;
}

.contact-page-redesign .contact .section-header h2 {
    margin-bottom: 0;
    color: #20212B;
    font-size: 38px;
    line-height: 1.15;
}

.contact-page-redesign .contact .contact-logo-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4px auto 0;
    width: 100%;
    overflow: visible;
}

.contact-page-redesign .contact .contact-logo-showcase img {
    width: min(610px, 92vw);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.contact-page-redesign .contact .contact-form {
    max-width: 700px;
    margin: -26px auto 0;
    padding: 18px 24px 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(32, 33, 43, 0.08);
    border-radius: 4px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.contact-page-redesign .contact .contact-form input {
    height: 38px;
    padding: 8px 13px;
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid rgba(32, 33, 43, 0.14);
    border-radius: 0;
    font-size: 13px;
}

.contact-page-redesign .contact .contact-form textarea {
    height: 88px;
    padding: 10px 13px;
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid rgba(32, 33, 43, 0.14);
    border-radius: 0;
    font-size: 13px;
    resize: vertical;
}

.contact-page-redesign .contact .contact-form .btn.btn-custom {
    width: auto;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
}

.contact-page-redesign .contact .help-block,
.contact-page-redesign .contact .help-block p {
    margin: 0;
}

@media (max-width: 767.98px) {
    .contact-page-redesign .contact {
        padding-top: 24px;
    }

    .contact-page-redesign .contact .section-header h2 {
        font-size: 29px;
    }

    .contact-page-redesign .contact .contact-logo-showcase img {
        width: min(460px, 94vw);
    }

    .contact-page-redesign .contact .contact-form {
        max-width: 92vw;
        margin-top: -12px;
        padding: 16px;
    }
}

/* Contact page option 4 - premium split layout */
.contact-page-redesign .option4-contact {
    position: relative;
    overflow: hidden;
    padding: 28px 0 70px;
    background:
        radial-gradient(circle at 12% 18%, rgba(253, 190, 51, 0.18), transparent 24%),
        radial-gradient(circle at 88% 20%, rgba(0, 92, 142, 0.12), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #f6fbff 52%, #eef8ff 100%);
}

.contact-page-redesign .option4-contact::before {
    content: "";
    position: absolute;
    left: -120px;
    top: 120px;
    width: 420px;
    height: 420px;
    border: 34px solid rgba(0, 92, 142, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.contact-page-redesign .option4-contact::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -130px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(253, 190, 51, 0.11);
    pointer-events: none;
}

.contact-page-redesign .contact-bg-paw {
    position: absolute;
    color: rgba(0, 92, 142, 0.055);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.contact-page-redesign .contact-bg-paw i { font-size: inherit; }
.contact-page-redesign .paw-one { left: 7%; top: 36%; font-size: 95px; transform: rotate(-22deg); }
.contact-page-redesign .paw-two { right: 9%; top: 34%; font-size: 120px; transform: rotate(18deg); }
.contact-page-redesign .paw-three { left: 45%; bottom: 7%; font-size: 80px; transform: rotate(28deg); color: rgba(253, 190, 51, 0.10); }

.contact-page-redesign .option4-contact .container {
    position: relative;
    z-index: 1;
}

.contact-page-redesign .option4-heading {
    margin-bottom: 26px;
}

.contact-page-redesign .contact-split-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
    align-items: stretch;
    gap: 0;
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 65px rgba(8, 31, 50, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.contact-page-redesign .contact-brand-panel {
    position: relative;
    min-height: 545px;
    padding: 42px 38px;
    background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(230,245,255,0.74));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.contact-page-redesign .contact-brand-panel::before,
.contact-page-redesign .contact-brand-panel::after {
    content: "\f1b0";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    color: rgba(0, 92, 142, 0.06);
    z-index: 0;
}

.contact-page-redesign .contact-brand-panel::before {
    top: 32px;
    left: 32px;
    font-size: 70px;
    transform: rotate(-18deg);
}

.contact-page-redesign .contact-brand-panel::after {
    right: 32px;
    bottom: 30px;
    font-size: 88px;
    transform: rotate(22deg);
}

.contact-page-redesign .brand-accent-circle {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.62) 45%, rgba(0,92,142,0.08) 100%);
    box-shadow: inset 0 0 0 1px rgba(0, 92, 142, 0.07);
    z-index: 0;
}

.contact-page-redesign .contact-brand-panel img {
    position: relative;
    z-index: 1;
    width: min(430px, 92%);
    height: auto;
    display: block;
    filter: drop-shadow(0 16px 24px rgba(5, 20, 35, 0.16));
}

.contact-page-redesign .contact-brand-panel h3 {
    position: relative;
    z-index: 1;
    margin: 18px 0 10px;
    color: #20212B;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
}

.contact-page-redesign .brand-copy {
    position: relative;
    z-index: 1;
    margin: 0 auto 18px;
    max-width: 410px;
    color: #52616f;
    font-size: 15px;
    line-height: 1.6;
}

.contact-page-redesign .contact-info-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.contact-page-redesign .contact-info-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    color: #20212B;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 92, 142, 0.10);
    font-size: 13px;
    font-weight: 600;
}

.contact-page-redesign .contact-info-list a i {
    color: #FDBE33;
}

.contact-page-redesign .contact-form-panel {
    padding: 48px 42px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.70);
}

.contact-page-redesign .contact-form-panel .contact-form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 38px rgba(8, 31, 50, 0.11);
    border: 1px solid rgba(32, 33, 43, 0.08);
}

.contact-page-redesign .contact-form-panel .contact-form input {
    height: 46px;
    border-radius: 10px;
    margin-bottom: 13px;
    padding: 10px 14px;
    border: 1px solid rgba(32, 33, 43, 0.13);
    background: #ffffff;
    font-size: 14px;
}

.contact-page-redesign .contact-form-panel .contact-form textarea {
    height: 140px;
    border-radius: 10px;
    margin-bottom: 14px;
    padding: 13px 14px;
    border: 1px solid rgba(32, 33, 43, 0.13);
    background: #ffffff;
    font-size: 14px;
}

.contact-page-redesign .contact-form-panel .contact-form .btn.btn-custom {
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(253, 190, 51, 0.26);
}

@media (max-width: 991.98px) {
    .contact-page-redesign .contact-split-card {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .contact-page-redesign .contact-brand-panel {
        min-height: auto;
        padding: 34px 24px 26px;
    }

    .contact-page-redesign .brand-accent-circle {
        width: 340px;
        height: 340px;
    }

    .contact-page-redesign .contact-brand-panel img {
        width: min(360px, 90%);
    }

    .contact-page-redesign .contact-form-panel {
        padding: 24px;
    }
}

@media (max-width: 575.98px) {
    .contact-page-redesign .option4-contact {
        padding: 24px 0 48px;
    }

    .contact-page-redesign .contact-split-card {
        border-radius: 20px;
    }

    .contact-page-redesign .contact-brand-panel h3 {
        font-size: 21px;
    }

    .contact-page-redesign .contact-info-list {
        flex-direction: column;
        align-items: center;
    }

    .contact-page-redesign .contact-form-panel {
        padding: 16px;
    }

    .contact-page-redesign .contact-form-panel .contact-form {
        padding: 20px;
        border-radius: 14px;
    }
}


/* Final Zsofia updates - June 2026 */
.footer .footer-contact p a {
    color: #ffffff;
    text-decoration: none;
}
.footer .footer-contact p a:hover {
    color: #FDBE33;
    text-decoration: underline;
}

/* Keep the small logo readable on every header/background image */
.top-bar .social .topbar-logo-link {
    width: auto;
    padding: 4px 10px;
    margin-left: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.top-bar .social .topbar-logo-link:hover {
    background: #ffffff;
}
.top-bar .social .topbar-logo-link img {
    max-height: 34px;
    width: auto;
    object-fit: contain;
}

/* Contact page spacing/readability fix */
.contact-page-redesign .top-bar .text p,
.contact-page-redesign .top-bar .text a {
    color: #20212B !important;
    text-shadow: 0 1px 12px rgba(255,255,255,0.95);
}
.contact-page-redesign .navbar {
    background: rgba(32, 33, 43, 0.88) !important;
}
@media (min-width: 992px) {
    .contact-page-redesign .navbar {
        top: 45px;
        background: rgba(32, 33, 43, 0.68) !important;
        backdrop-filter: blur(4px);
    }
    .contact-page-redesign .option4-contact {
        padding-top: 175px !important;
    }
}
@media (max-width: 991.98px) {
    .contact-page-redesign .option4-contact {
        padding-top: 38px !important;
    }
}

/* Success Stories: remove black clickable frame/label around photos */
.success-stories-page .animal-photo-link,
.success-stories-page button.animal-photo-link,
.success-stories-page .blog-img button {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}
.success-stories-page .animal-photo-link::after {
    display: none !important;
    content: none !important;
}

/* Adoptable animals grid option: no carousel/no scroll */
.adoption-grid.no-scroll-adoption-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}
.adoption-grid.no-scroll-adoption-grid .adoption-card {
    min-height: 560px;
}
@media (max-width: 991.98px) {
    .adoption-grid.no-scroll-adoption-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575.98px) {
    .adoption-grid.no-scroll-adoption-grid {
        grid-template-columns: 1fr;
    }
}

/* June 9 image crop fix: keep adoptable animals' faces/heads visible in cards */
.adoption-section .causes-img img {
    object-fit: cover !important;
    object-position: center top !important;
    transform-origin: center top !important;
}

.adoption-grid.no-scroll-adoption-grid .causes-img img {
    object-position: center top !important;
}

.adoption-section .adoption-card:hover img {
    transform-origin: center top !important;
}


/* Zsofia June 10 no-crop animal photo update */
.adoption-section .causes-img img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #f3f6ff;
}
.lulu-main-photo img,
.lulu-thumb img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #f6f6f6;
}

/* Keep short phrase together on contact page heading */
.keep-together { white-space: nowrap; }


/* Consistent compact navigation updates */
.navbar.navbar-dark {
    background: #1f2233 !important;
    opacity: 1 !important;
    z-index: 9999;
}
.navbar .dropdown-menu {
    border-radius: 0 0 10px 10px;
    border: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}
.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
    background: #FDBE33;
    color: #1f2233;
}


/* Final navigation and photo-fit fixes - June 16
   Keeps the nav in normal page flow so it never covers page titles/cards,
   keeps dropdown pages accessible, and prevents support animal photo head cropping. */
@media (min-width: 992px) {
    .navbar,
    .navbar.nav-sticky,
    .page .navbar {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        padding: 18px 60px !important;
        background: #20212B !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .18) !important;
        z-index: 9999 !important;
    }

    .navbar .navbar-nav {
        align-items: center;
        flex-wrap: nowrap;
    }

    .navbar a.nav-link {
        padding: 8px 12px !important;
        font-size: 16px;
        letter-spacing: .5px;
        white-space: nowrap;
    }
}

.page-header {
    margin-top: 0 !important;
}

.support-animal-img {
    height: 300px !important;
    background: #f4f6ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.support-animal-img img,
.animals-in-need-page .support-animal-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f4f6ff !important;
}

.need-card img,
.second-chances-page .need-card img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #fff8ea !important;
}

/* Make dropdown pages easy to find on desktop hover as well as click */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
}


/* Top-right logo inside the main navigation */
.navbar .navbar-corner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 18px;
    padding: 4px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    line-height: 1;
    flex: 0 0 auto;
}

.navbar .navbar-corner-logo img {
    display: block;
    height: 46px;
    width: auto;
    max-width: 70px;
    object-fit: contain;
}

@media (min-width: 992px) {
    .navbar .container-fluid {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 16px;
    }

    .navbar .navbar-collapse {
        flex: 1 1 auto;
        min-width: 0;
    }

    .navbar .navbar-nav {
        align-items: center;
        flex-wrap: nowrap;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .navbar .navbar-corner-logo img {
        height: 40px;
        max-width: 60px;
    }
    .navbar .navbar-corner-logo {
        margin-left: 10px;
        padding: 3px 6px;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-corner-logo {
        margin-left: auto;
        margin-right: 10px;
        padding: 3px 6px;
    }

    .navbar .navbar-corner-logo img {
        height: 38px;
        max-width: 58px;
    }
}


/* June 16 final header/navigation UX fixes
   - Desktop header is more compact
   - Sticky header no longer covers page content
   - Mobile email/social quick links are visible again
   - Navigation remains readable across widths
*/
.navbar,
.navbar.nav-sticky,
.page .navbar,
.navbar.navbar-dark {
    background: #20212B !important;
    opacity: 1 !important;
}

/* Let the page scroll naturally instead of hiding content under a fixed header */
.navbar.nav-sticky {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.16) !important;
}

@media (min-width: 992px) {
    .top-bar {
        position: relative !important;
        height: 34px !important;
        padding: 0 48px !important;
        background: rgba(32, 33, 43, 0.96) !important;
        z-index: 10000 !important;
    }
    .top-bar .text,
    .top-bar .social {
        height: 34px !important;
    }
    .top-bar .text p,
    .top-bar .text a {
        font-size: 14px !important;
        color: #ffffff !important;
    }
    .top-bar .social a {
        width: 34px !important;
        font-size: 15px !important;
    }
    .top-bar .social .topbar-logo-link {
        display: none !important;
    }

    .navbar,
    .navbar.nav-sticky,
    .page .navbar {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        padding: 10px 42px !important;
        min-height: 86px !important;
        z-index: 9999 !important;
    }
    .navbar .container-fluid {
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 18px !important;
    }
    .navbar .container-fluid > div:first-child {
        flex: 0 0 auto !important;
        min-width: 330px !important;
    }
    .navbar .navbar-brand {
        padding-top: 0 !important;
        font-size: 34px !important;
        line-height: 1 !important;
        letter-spacing: 5px !important;
        display: block !important;
        white-space: nowrap !important;
    }
    .navbar h6 {
        margin: 6px 0 0 !important;
        font-size: 16px !important;
        line-height: 1.1 !important;
        letter-spacing: 5px !important;
        white-space: nowrap !important;
    }
    .navbar .navbar-collapse {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    .navbar .navbar-nav {
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 2px !important;
    }
    .navbar a.nav-link,
    .navbar-dark .navbar-nav .nav-link {
        padding: 7px 9px !important;
        font-size: 15px !important;
        letter-spacing: .3px !important;
        white-space: nowrap !important;
    }
    .navbar .navbar-corner-logo {
        margin-left: 8px !important;
        padding: 3px 7px !important;
        border-radius: 9px !important;
    }
    .navbar .navbar-corner-logo img {
        height: 38px !important;
        max-width: 58px !important;
    }
    .page-header,
    .hero-header,
    .second-chances-hero,
    .celebrations-hero {
        margin-top: 0 !important;
        padding-top: 70px !important;
    }
}

/* On tablet-sized desktop screens, tighten the menu further */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar,
    .navbar.nav-sticky,
    .page .navbar {
        padding: 8px 28px !important;
        min-height: 78px !important;
    }
    .navbar .container-fluid > div:first-child {
        min-width: 285px !important;
    }
    .navbar .navbar-brand {
        font-size: 28px !important;
        letter-spacing: 4px !important;
    }
    .navbar h6 {
        font-size: 13px !important;
        letter-spacing: 4px !important;
    }
    .navbar a.nav-link,
    .navbar-dark .navbar-nav .nav-link {
        padding: 6px 7px !important;
        font-size: 14px !important;
    }
    .navbar .navbar-corner-logo img {
        height: 34px !important;
        max-width: 52px !important;
    }
}

/* Mobile: show quick email/social access at the top without taking too much space */
@media (max-width: 767.98px) {
    .top-bar.d-none,
    .top-bar.d-none.d-md-block {
        display: block !important;
    }
    .top-bar {
        position: relative !important;
        height: auto !important;
        padding: 5px 10px !important;
        background: #20212B !important;
        z-index: 10000 !important;
    }
    .top-bar .container-fluid,
    .top-bar .row,
    .top-bar .top-bar-left,
    .top-bar .top-bar-right {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .top-bar [class*="col-"] {
        width: auto !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        padding: 0 !important;
    }
    .top-bar .text {
        height: 24px !important;
        padding: 0 6px !important;
    }
    .top-bar .text p,
    .top-bar .text a {
        font-size: 12px !important;
        color: #ffffff !important;
    }
    .top-bar .social {
        height: 24px !important;
    }
    .top-bar .social a {
        width: 28px !important;
        font-size: 14px !important;
    }
    .top-bar .social .topbar-logo-link {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .navbar,
    .navbar.nav-sticky,
    .page .navbar {
        position: relative !important;
        top: auto !important;
        padding: 10px 14px !important;
    }
    .navbar .navbar-brand {
        font-size: 30px !important;
        line-height: 1 !important;
        padding-top: 0 !important;
        letter-spacing: 4px !important;
    }
    .navbar h6 {
        font-size: 13px !important;
        margin-top: 5px !important;
        letter-spacing: 4px !important;
    }
    .navbar .navbar-corner-logo {
        margin-left: auto !important;
        padding: 3px 6px !important;
    }
    .navbar .navbar-corner-logo img {
        height: 34px !important;
        max-width: 52px !important;
    }
}

/* Keep support photos professional: no cropped heads */
.support-animal-img,
.animals-in-need-page .support-animal-img {
    height: 285px !important;
    background: #f4f6ff !important;
    overflow: hidden !important;
}
.support-animal-img img,
.animals-in-need-page .support-animal-img img,
.need-card img,
.second-chances-page .need-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f4f6ff !important;
}

/* Clean note for icon licensing: Font Awesome / Flaticon assets bundled with template are open-source/free web icon assets. */

/* Final fixes requested June 18: contact spacing and donate card layout */
.contact-page-redesign .option4-heading {
    margin-bottom: 60px !important;
}
.donate-card-grid {
    row-gap: 30px;
    align-items: stretch;
    clear: both;
}
.donate-card-grid .d-flex {
    align-items: stretch;
}
.donate-card-link {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}
.donate-card-link:hover {
    text-decoration: none;
    transform: translateY(-3px);
}
.gofundme-row {
    clear: both;
    margin-top: 45px !important;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}
.gofundme-box {
    position: relative;
    z-index: 1;
}
@media (max-width: 575.98px) {
    .contact-page-redesign .option4-heading {
        margin-bottom: 38px !important;
    }
}


/* Final Zsofia polish: clean donation quick links, clickable methods, and full-edge home hero */
.donate-support-links { margin: 30px 0 35px; }
.support-link-box {
    background: #f3f6ff;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.support-link-box h3 { color: #4a4d74; margin-bottom: 10px; }
.support-link-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.support-link-actions .btn { min-width: 165px; }
.donation-methods a {
    display: inline-block;
    background: #fff;
    color: #102447;
    border: 1px solid rgba(16,36,71,0.12);
    border-radius: 999px;
    padding: 12px 18px;
    margin: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}
.donation-methods a:hover {
    color: #102447;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
body.home-page .carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}
body.home-page .carousel .carousel-img img {
    width: 100%;
    height: 753px;
    object-fit: cover;
    object-position: center top;
}
@media (max-width: 767.98px) {
    body.home-page .carousel .carousel-img img { height: 520px; }
    .support-link-actions .btn { width: 100%; }
}


/* Zsofia June 23 safe fixes: home hero edge-to-edge without breaking Owl Carousel */
body.home-page .carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}
body.home-page .carousel .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
body.home-page .carousel .carousel-img {
    width: 100%;
    height: 753px;
    min-height: 753px;
}
body.home-page .carousel .carousel-img img {
    display: block;
    width: 100%;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}
@media (max-width: 767.98px) {
    body.home-page .carousel .carousel-img {
        height: 520px;
        min-height: 520px;
    }
}

/* Donation method fix: PayPal is a real PayPal link; Zelle is bank-app instruction, not an email link */
.donation-methods .zelle-info {
    display: inline-block;
    padding: 10px 18px;
    margin: 6px;
    font-weight: 600;
}

.zelle-card {
    cursor: default;
}
