/********** Template CSS **********/
:root {
    --primary: #30441D;
    --secondary: #80A847;
    --light: #F8F2F0;
    --dark: #060315;
}

.fw-medium {
    font-weight: 600 !important;
}

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


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

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


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

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

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

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

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

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

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

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #FFFFFF;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


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

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-c {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen002.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-c {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-c {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-programs {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen003.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-programs {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-programs {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-family {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen004.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-family {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-family {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-clinics {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen005.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-clinics {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-clinics {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-testimonials {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen011.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-testimonials {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-testimonials {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-staff {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen006.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-staff {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-staff {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}


.page-header-admissions {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen007.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-admissions {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-admissions {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-feestructure {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen008.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-feestructure {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-feestructure {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-album2 {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen009.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-album2 {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-album2 {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-album3 {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen010.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-album3 {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-album3 {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-intervention {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen012.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-intervention {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-intervention {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-interventioninalberta {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen028.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-interventioninalberta {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-interventioninalberta {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-interventioninbc {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen014.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-interventioninbc {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-interventioninbc {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-drugandalcoholinterventioninbcandalberta {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen015.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-drugandalcoholinterventioninbcandalberta {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-drugandalcoholinterventioninbcandalberta {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-familyinterventioninbcandalberta {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen016.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-familyinterventioninbcandalberta {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-familyinterventioninbcandalberta {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-youthinterventioninbcandalberta {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen017.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-youthinterventioninbcandalberta {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-youthinterventioninbcandalberta {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-growupwithaproblemdrinker {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen018.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-growupwithaproblemdrinker {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-growupwithaproblemdrinker {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-growupwithaproblemdrinker2 {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen019.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-growupwithaproblemdrinker2 {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-growupwithaproblemdrinker2 {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-growupwithaproblemdrinker3 {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen020.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-growupwithaproblemdrinker3 {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-growupwithaproblemdrinker3 {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-edmontondrugandalcohol {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen029.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-edmontondrugandalcohol {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-edmontondrugandalcohol {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-calgarydrugandalcohol {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen031.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-calgarydrugandalcohol {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-calgarydrugandalcohol {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-albertadrugandalcohol {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen032.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-albertadrugandalcohol {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-albertadrugandalcohol {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-sweatlodgetherapy {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/sweatlodge.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-sweatlodgetherapy {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-sweatlodgetherapy {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-aftercare {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen021.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-aftercare {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-aftercare {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.page-header-pstd {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url('../img/scen022.jpg') center center no-repeat;
    background-size: cover;
    height: 400px; /* Default height for larger screens */
}

@media only screen and (max-width: 768px) {
    .page-header-pstd {
        height: 300px; /* Reduced height for tablets */
        background-position: center; /* Ensure the image is centered */
    }
}

@media only screen and (max-width: 576px) {
    .page-header-pstd {
        height: 200px; /* Further reduced height for mobile devices */
        background-position: center; /* Ensure the image is centered */
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}
/* Testimonial carousel main container */
.testimonial-carousel {
    position: relative;
    padding: 30px 0;
}

/* Testimonial item styling */
.testimonial-carousel .testimonial-item {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.testimonial-carousel .testimonial-item:hover {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

/* Testimonial content (e.g., text, author, etc.) */
.testimonial-carousel .testimonial-item p {
    font-size: 16px;
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.testimonial-carousel .testimonial-item h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary); /* Your primary color */
}

.testimonial-carousel .testimonial-item span {
    font-size: 14px;
    color: #999;
}

/* Testimonial carousel navigation */
.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary); /* Use your primary color variable */
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    font-size: 22px;
    pointer-events: auto;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary); /* Use your secondary color variable */
    border-color: var(--secondary);
}

.testimonial-carousel .owl-nav .owl-prev {
    left: 0;
    margin-left: -20px;
}

.testimonial-carousel .owl-nav .owl-next {
    right: 0;
    margin-right: -20px;
}

.testimonial-carousel .owl-nav .owl-prev i,
.testimonial-carousel .owl-nav .owl-next i {
    pointer-events: none;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-carousel .owl-dot {
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

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

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

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

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

/* Ensure submenus are positioned correctly */
.dropdown-submenu {
    position: relative;
}

/* Default behavior for larger screens */
.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 1px; /* Add a slight offset to avoid overlap */
    z-index: 1000;
}

/* Show the submenu only when explicitly toggled */
.dropdown-submenu.show .dropdown-menu {
    display: block;
}

/* Adjust submenu positioning for small screens */
@media (max-width: 768px) {
    .dropdown-submenu .dropdown-menu {
        position: relative;
        left: 0;
        top: 0;
        margin-left: 20px;
    }
}

/* Ensure submenus are fully visible, even near the edge of the screen */
@media (min-width: 769px) {
    .dropdown-menu {
        right: auto;
        left: auto;
    }
    .dropdown-menu.dropdown-menu-right {
        right: 0; /* Align submenu to the right if it overflows */
        left: auto;
    }

    /* Adjust submenu for Service Area to prevent it from overflowing off-screen */
    #ServiceAreaSubmenu {
        left: auto;
        right: 0; /* Align to the right edge */
    }
}

/* Flexbox for Navbar alignment */
.navbar .navbar-collapse {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ensure the phone number stays on the same line */
.navbar .navbar-nav {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Adjustments to keep phone number aligned */
.navbar h4 {
    margin: 0;
    padding-left: 20px; /* Add padding to separate the phone number from the menu */
    white-space: nowrap; /* Prevent the phone number from wrapping to the next line */
}

@media (max-width: 768px) {
    .navbar h4 {
        display: none; /* Hide the phone number on smaller screens */
    }
}

/* Ensure the navbar collapses correctly */
.navbar-collapse {
    display: none; /* Hide by default on mobile */
}

.navbar-collapse.collapse.show {
    display: block !important; /* Show when the collapse is active */
}

.navbar-toggler {
    display: inline-block;
    border: none; /* Remove any borders around the icon if present */
}

/* Additional styles to ensure proper layout */
@media (max-width: 768px) {
    .navbar-collapse {
        display: none !important; /* Ensure it's hidden by default on mobile */
    }

    .navbar-toggler {
        display: block; /* Ensure the toggle button is visible */
    }

    .navbar-nav {
        display: flex;
        flex-direction: column; /* Stack the menu items vertically on mobile */
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.custom-pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    text-decoration: none;
    color: #30441d; /* Primary color */
    border: 1px solid #30441d;
    border-radius: 5px;
}

.custom-pagination a:hover {
    background-color: #30441d;
    color: white;
}

.custom-pagination .active {
    background-color: #30441d;
    color: white;
    border: 1px solid #30441d;
}

.custom-pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    color: #999;
}


.dropdown-item[href="http://optionsokanagan.com/blog"] {
    display: none;
}