/*** General ***/
body {
    background-color: #eeeeee;
    color: #4a5148;
}
:root {
    --primary: #3a5d3d;
    --secondary: #517b5e;
    --tertiary: #89b192;
    --quaternary: #c9d7cb;
    --light: #e7e6de;
    --white: #eeeeee;
    --dark: #5c4d4d;
}

/*** Back to Top ***/
.back-to-top {
    position: fixed;
    display: flex;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Back to Top ***/
.snout {
    position: fixed;
    display: flex;
    right: 100px;
    bottom: 30px;
    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-secondary {
    background-color: #c9d7cb;
    border-color: #c9d7cb;
    color: #e7e6de;
}

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

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover,
.btn-outline-primary:hover,
.btn-outline-secondary:hover {
    color: var(--light);
    background-color: var(--primary);
    border-color: var(--primary);
}

.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 .navbar-nav .nav-link {
    margin-right: 17px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    align-items: center;
    white-space: nowrap;
}

.navbar .navbar-nav .nav-link-label-compact {
    display: none;
}

.navbar .navbar-nav.navbar-nav-compact .nav-link-label-full {
    display: none;
}

.navbar .navbar-nav.navbar-nav-compact .nav-link-label-compact {
    display: inline;
}

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

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

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

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

    .navbar .navbar-nav.navbar-nav-compact .nav-link-label-full {
        display: inline;
    }

    .navbar .navbar-nav.navbar-nav-compact .nav-link-label-compact {
        display: none;
    }
}

@media (min-width: 992px) {
    .navbar.navbar-expand-lg .navbar-collapse {
        flex: 1 1 0;
        min-width: 0;
    }

    .navbar.navbar-expand-lg .navbar-nav {
        min-width: 0;
        max-width: 100%;
    }

    .navbar.navbar-expand-lg .navbar-nav > .nav-item {
        flex: 0 0 auto;
    }

    .navbar.navbar-brand-title-compact .navbar-brand h2 {
        display: none !important;
    }

    .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;
    }
}



.page-header,
.page-header-boarding,
.home-header,
.green-header,
.about-header,
.dental-header,
.exam-header,
.orthopedics-header,
.neuter-header,
.boarding-header,
.breeding-header,
.xray-header,
.groomer-header,
.vet-tech-header,
.sales-rep-header,
.kennel-tech-header {
    padding-right: 0;
    padding-left: 0;
}

/* Keep headings legible over every photographic page header. */
.mask {
    background: linear-gradient(rgba(24, 39, 26, .58), rgba(24, 39, 26, .58));
}

.mask h1,
.mask h2,
.mask p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.green-header .mask {
    background: transparent;
}

@media (max-width: 991.98px) {
    .mask {
        text-align: center;
    }

    .mask .row {
        justify-content: center;
    }
}

.text-primary {
    color: var(--primary) !important;
}

.text-muted {
    color: #59615a !important;
}
.page-header-boarding {
    background-size: cover;
    width: 100%;
    height: 700px;
    background-position: center 30%;
    background-repeat: no-repeat;
}

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

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}

/*** Home page picture ***/
.home-header {
    height: 600px;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
}

/*** Service on Homepage***/
.service-item {
    position: relative;
    border-radius: 6px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}
.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: -1;
}
.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 10px;
}
.service-item .service-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    z-index: 1;
}
.service-item .service-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    opacity: 1;
    transition: opacity .3s ease;
    z-index: 2;
}
.service-item:hover .service-img::after {
    opacity: 0;
}
.service-item .service-text .service-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    margin-top: -70px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
}
.service-item .service-text h5,
.service-item .service-text p {
    transition: .5s;
}
.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    color: #eeeeee;
}
.service-item .service-text .btn {
    color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}
.service-item .service-text .btn:hover {
    color: var(--light);
    background: var(--primary);
    border-color: var(--primary);
}

/*** Hospital Staff boxes ***/
.team-item {
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}
.team-item .btn {
    border-color: transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

/*** Footer ***/
.footer {
    color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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 {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}


.bg-secondary3 {
    background-color: #c9d7cb !important;
}

.bg-primary2 {
    background-color: #89b192 !important;
}

.bg-secondary {
    background-color: #5c4d4d !important;
}

.bg-primary {
    background-color: #3a5d3d !important;
}

/*** Jobs ***/
.career-card {
    overflow: hidden;
    border-radius: 10px;
    transition: .3s;
    background: #fff;
    height: 100%;
}

.career-card img {
    width: 100%;
    height: 275px;
    object-fit: cover;
}

.career-title {
    padding: 20px;
    text-align: center;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.career-card a {
    color: inherit;
    text-decoration: none;
}

.job-back-link {
    color: var(--primary);
    font-weight: 600;
}

.job-meta span {
    padding: .65rem 1rem;
    border-radius: 999px;
    background: #eef3ef;
    color: #2d4730;
}

.job-info-card,
.job-application-panel {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(58, 93, 61, .16);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(31, 52, 34, .08);
}

.job-list li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-bottom: 1rem;
}

.job-list li:last-child {
    margin-bottom: 0;
}

.job-list i {
    flex: 0 0 auto;
    margin-top: .25rem;
    color: var(--primary);
}

.job-application-panel {
    max-width: 920px;
}

.job-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.paw-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('/public/img/DogBone.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.plus-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('/public/img/PlusIcon.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.Check-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('/public/img/CheckIcon.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.footer-wave {
    position: relative;
    margin-top: 150px;
}

.footer-wave-shape {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    line-height: 0;
}

.footer-wave-shape svg {
    display: block;
    width: 100%;
    height: 100%;
}

.footer-wave-shape path {
    fill: var(--primary);
}


/* Tablet & Mobile */
@media (max-width: 768px) {
    .footer-wave {
        margin-top: 120px;
    }

    .footer-wave-shape {
        top: -120px;
        height: 180px;
    }
}


/* Small Mobile */
@media (max-width: 576px) {
    .footer-wave {
        margin-top: 100px;
    }

    .footer-wave-shape {
        top: -100px;
        height: 150px;
    }
}


.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 5;
    overflow: hidden;
}

.wave svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(-1);
}

.wave path {
    fill: #eeeeee;
}


/* Tablet */
@media (max-width: 768px) {
    .wave {
        height: 100px;
    }
}


/* Mobile */
@media (max-width: 576px) {
    .wave {
        height: 100px;
    }
}




.page-background {
    /* min-height (not height) so the section grows with its content instead of overflowing under the footer */
    min-height: 1100px;
    background-image: url('/public/img/pawBackground.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.groomer-header {
    height: 700px;
    background-image: url('/public/img/groomer.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.vet-tech-header {
    height: 700px;
    background-image: url('/public/img/vetTech.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.sales-rep-header {
    height: 700px;
    background-image: url('/public/img/salesRep.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.kennel-tech-header {
    height: 800px;
    background-image: url('/public/img/kennelTech.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.green-header {
    background-color: var(--primary);
    position: relative;
    height: 800px;
}
.dental-header {
    height: 800px;
    background-image: url('/public/img/dental.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.exam-header {
    height: 800px;
    background-image: url('/public/img/exam.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.orthopedics-header {
    height: 800px;
    background-image: url('/public/img/orthopedics.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.neuter-header {
    height: 800px;
    background-image: url('/public/img/xrays.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.boarding-header {
    height: 800px;
    background-image: url('/public/img/boarding.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.breeding-header {
    height: 800px;
    background-image: url('/public/img/breeding.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.xray-header {
    height: 800px;
    background-image: url('/public/img/xrays.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.exam-header {
    height: 800px;
    background-image: url('/public/img/exam.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.paw-background {
    background-image: url('/public/img/pawBackground.webp');
    background-size: cover;
    width: 100%;
    background-position: center 95%;
    background-repeat: no-repeat;
}
.paw-background-right {
    background-image: url('/public/img/pawBackgroundRight.webp');
    background-size: cover;
    width: 100%;
    background-position: center 95%;
    background-repeat: no-repeat;
}
.payment-header {
    height: 800px;
    background-image: url('/public/img/payment.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.jobs-header {
    height: 800px;
    background-image: url('/public/img/jobs.jpeg');
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
}
.building-header {
    height: 800px;
    background-image: url('/public/img/Building.png');
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
}
.contact-header {
    height: 800px;
    background-image: url('/public/img/contactus.jpeg');
    background-size: cover;
    background-position: center 90%;
    background-repeat: no-repeat;
}

 .gallery-img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-img:hover {
    transform: scale(1.03);
}

/* The Grid Engine: Seamless column layout for all screens */
.masonry-container {
    column-gap: 1rem;
}
.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem; /* Eliminates vertical gaps */
}

/* Desktop View (4 Columns) */
@media (min-width: 768px) {
    .masonry-container {
        column-count: 4;
    }
    .img-tall {
        height: 480px; /* Big desktop portrait height */
    }
    .img-short {
        height: 300px; /* Small desktop portrait height */
    }
}

/* Mobile & Tablet View (2 Columns to show height contrast) */
@media (max-width: 767.98px) {
    .masonry-container {
        column-count: 1; 
    }
    .img-tall {
        height: 850px; /* Proportional big height for phones */
    }
    .img-short {
        height: 500px; /* Proportional small height for phones */
    }
}

/*home page video stuff*/
.home-header {
    height: 900px;
    position: relative;
    overflow: hidden;
}

.home-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 0;
}

.home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.home-header .mask {
    position: relative;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .home-header {
        height: 700px;
    }
}

@media (max-width: 575.98px) {
    .home-header {
        height: 650px;
    }
}

/* Cover the entire payment and contact header photographs. */
.full-mask-header {
    position: relative;
    padding: 0;
}

.full-mask-header > .mask {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 1.5rem;
}
