﻿    /* =========================================================
   VETERINARY MEDICAL SERVICES HERO
   ========================================================= */

.medical-services-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #123f42;
}

/* Background Image */
.medical-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transform: scale(1.02);
}

/* Premium Overlay */
.medical-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(7, 45, 48, 0.96) 0%,
            rgba(7, 45, 48, 0.88) 35%,
            rgba(7, 45, 48, 0.55) 65%,
            rgba(7, 45, 48, 0.18) 100%
        );
}

/* Content */
.medical-services-hero .container {
    position: relative;
    z-index: 4;
}

.min-vh-75 {
    min-height: 720px;
}

.medical-hero-content {
    max-width: 850px;
    padding: 80px 0;
    color: #fff;
}

/* Eyebrow */
.medical-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 16px 8px 9px;

    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50px;

    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.7px;

    margin-bottom: 24px;
}

.eyebrow-icon {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d68a38;
    color: #fff;

    font-size: 14px;
}

/* H1 */
.medical-hero-content h1 {
    margin: 0 0 24px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    font-weight: 800;

    letter-spacing: -2px;
}

.medical-hero-content h1 span {
    display: block;
    color: #d68a38;
}

/* Description */
.medical-hero-description {
    max-width: 760px;

    margin: 0 0 27px;

    color: rgba(255,255,255,0.90);

    font-size: 17px;
    line-height: 1.8;
}

/* Trust Points */
.medical-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 25px;

    margin-bottom: 32px;
}

.medical-hero-point {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
}

.medical-hero-point i {
    color: #d68a38;
    font-size: 16px;
}

/* Buttons */
.medical-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 34px;
}

.medical-btn {
    min-height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    padding: 12px 24px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

/* Primary */
.medical-btn-primary {
    background: #d68a38;
    color: #fff;

    box-shadow: 0 12px 30px rgba(0,0,0,.20);
}

.medical-btn-primary:hover {
    color: #fff;
    background: #bd7125;
    transform: translateY(-3px);

    box-shadow: 0 16px 35px rgba(0,0,0,.28);
}

/* Phone */
.medical-btn-outline {
    color: #fff;

    border: 1px solid rgba(255,255,255,.35);

    background: rgba(255,255,255,.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.medical-btn-outline:hover {
    color: #fff;

    background: rgba(255,255,255,.16);

    transform: translateY(-3px);
}

.medical-btn-outline > i {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.12);
}

.medical-btn-outline span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    line-height: 1.25;
}

.medical-btn-outline small {
    margin-bottom: 3px;

    color: rgba(255,255,255,.65);

    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .7px;
}

/* Hours */
.medical-hero-hours {
    display: inline-flex;
    align-items: center;

    padding: 13px 18px;

    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;

    background: rgba(0,0,0,.18);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hours-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-item > i {
    color: #d68a38;
    font-size: 18px;
}

.hours-item div {
    display: flex;
    flex-direction: column;
}

.hours-item strong {
    color: #fff;

    font-size: 12px;
    font-weight: 800;
}

.hours-item span {
    margin-top: 2px;

    color: rgba(255,255,255,.70);

    font-size: 11px;
}

.hours-divider {
    width: 1px;
    height: 34px;

    margin: 0 20px;

    background: rgba(255,255,255,.20);
}

/* =========================================================
   ANIMATED PAWS
   ========================================================= */

.medical-hero-paw {
    position: absolute;

    z-index: 3;

    color: rgba(255,255,255,.10);

    pointer-events: none;

    animation: medicalPawFloat 7s ease-in-out infinite;
}

.medical-hero-paw i {
    display: block;
}

.paw-one {
    right: 13%;
    top: 18%;

    font-size: 55px;

    transform: rotate(-18deg);
}

.paw-two {
    right: 7%;
    bottom: 19%;

    font-size: 38px;

    animation-delay: 2s;

    transform: rotate(18deg);
}

.paw-three {
    right: 28%;
    bottom: 9%;

    font-size: 28px;

    animation-delay: 4s;

    transform: rotate(-12deg);
}

@keyframes medicalPawFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-18deg);
        opacity: .45;
    }

    50% {
        transform: translateY(-18px) rotate(-8deg);
        opacity: .8;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .medical-services-hero {
        min-height: 680px;
    }

    .min-vh-75 {
        min-height: 680px;
    }

    .medical-hero-content {
        padding: 70px 0;
        max-width: 720px;
    }

    .medical-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(7,45,48,.94),
                rgba(7,45,48,.72)
            );
    }

    .medical-hero-paw {
        display: none;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .medical-services-hero {
        min-height: auto;
    }

    .min-vh-75 {
        min-height: auto;
    }

    .medical-hero-bg {
        object-position: 65% center;
    }

    .medical-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(7,45,48,.88) 0%,
                rgba(7,45,48,.94) 100%
            );
    }

    .medical-hero-content {
        padding: 90px 0 70px;
    }

    .medical-hero-eyebrow {
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .medical-hero-content h1 {
        font-size: 42px;
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .medical-hero-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .medical-hero-points {
        display: block;
    }

    .medical-hero-point {
        margin-bottom: 10px;
    }

    .medical-hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .medical-btn {
        width: 100%;
    }

    .medical-hero-hours {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hours-divider {
        margin: 0 12px;
    }

    .hours-item span {
        font-size: 10px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .medical-hero-content {
        padding: 75px 0 55px;
    }

    .medical-hero-content h1 {
        font-size: 36px;
    }

    .medical-hero-description {
        font-size: 14px;
    }

    .medical-hero-hours {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hours-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .medical-hero-paw {
        animation: none;
    }

    .medical-btn {
        transition: none;
    }
}




/* =========================================================
   VETERINARY MEDICAL SERVICES
   ========================================================= */

.medical-services-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: #f7faf9;
}

/* Background Decorative Shapes */
.medical-services-bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.medical-shape-one {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -150px;
    background: rgba(214, 138, 56, .07);
}

.medical-shape-two {
    width: 360px;
    height: 360px;
    bottom: -180px;
    left: -150px;
    background: rgba(18, 63, 66, .06);
}

/* Heading */
.medical-section-heading {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto 50px;
}

.medical-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 16px;

    border-radius: 50px;

    background: rgba(214, 138, 56, .10);
    color: #b76d23;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.medical-section-tag i {
    font-size: 14px;
}

.medical-section-heading h2 {
    margin: 18px 0 16px;

    color: #163f42;

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.3px;
}

.medical-section-heading h2 span {
    color: #d68a38;
}

.medical-section-heading > p {
    max-width: 750px;
    margin: auto;

    color: #667879;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.medical-service-card {
    position: relative;
    height: 100%;

    display: flex;
    gap: 22px;

    padding: 32px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e6eeee;
    border-radius: 22px;

    box-shadow:
        0 10px 35px rgba(18, 63, 66, .055);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.medical-service-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background: #d68a38;

    transform: scaleY(0);
    transform-origin: bottom;

    transition: transform .35s ease;
}

.medical-service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(214, 138, 56, .25);

    box-shadow:
        0 20px 50px rgba(18, 63, 66, .12);
}

.medical-service-card:hover::before {
    transform: scaleY(1);
}


/* Number */
.medical-service-number {
    position: absolute;

    right: 25px;
    top: 18px;

    color: rgba(18, 63, 66, .055);

    font-size: 48px;
    line-height: 1;
    font-weight: 900;
}


/* Icon */
.medical-service-icon {
    position: relative;
    z-index: 2;

    flex: 0 0 62px;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #eaf5f3,
            #f8eee3
        );

    color: #b76d23;

    font-size: 25px;

    transition:
        transform .35s ease,
        background .35s ease;
}

.medical-service-card:hover .medical-service-icon {
    transform: rotate(-5deg) scale(1.07);

    background:
        linear-gradient(
            145deg,
            #d68a38,
            #c67529
        );

    color: #ffffff;
}


/* Content */
.medical-service-content {
    position: relative;
    z-index: 2;

    flex: 1;
    padding-right: 25px;
}

.medical-service-content h3 {
    margin: 3px 0 13px;

    color: #173f42;

    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
}

.medical-service-content p {
    margin: 0;

    color: #657678;

    font-size: 14px;
    line-height: 1.75;
}


/* Meta */
.medical-service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 20px;
}

.medical-service-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 7px 11px;

    border-radius: 50px;

    background: #f5f8f7;

    color: #52696a;

    font-size: 10px;
    font-weight: 700;
}

.medical-service-meta i {
    color: #d68a38;
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.medical-services-bottom-cta {
    position: relative;

    display: flex;
    align-items: center;
    gap: 22px;

    margin-top: 55px;
    padding: 28px 32px;

    border-radius: 22px;

    background:
        linear-gradient(
            110deg,
            #123f42 0%,
            #195459 100%
        );

    overflow: hidden;

    box-shadow: 0 20px 45px rgba(18, 63, 66, .15);
}

.medical-services-bottom-cta::after {
    content: "\f1b0";

    position: absolute;

    right: 25px;
    bottom: -35px;

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    font-size: 150px;

    color: rgba(255,255,255,.035);

    transform: rotate(-15deg);
}

.medical-cta-icon {
    position: relative;
    z-index: 2;

    flex: 0 0 60px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: #d68a38;
    color: #fff;

    font-size: 25px;
}

.medical-cta-content {
    position: relative;
    z-index: 2;

    flex: 1;
}

.medical-cta-content span {
    color: #dca05f;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.medical-cta-content h3 {
    margin: 5px 0 5px;

    color: #fff;

    font-size: 22px;
    font-weight: 800;
}

.medical-cta-content p {
    margin: 0;

    color: rgba(255,255,255,.70);

    font-size: 13px;
    line-height: 1.6;
}

.medical-cta-button {
    position: relative;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;

    padding: 14px 21px;

    border-radius: 10px;

    background: #fff;
    color: #123f42;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition: all .3s ease;
}

.medical-cta-button:hover {
    background: #d68a38;
    color: #fff;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .medical-services-section {
        padding: 80px 0;
    }

    .medical-service-card {
        padding: 27px;
    }

    .medical-services-bottom-cta {
        align-items: flex-start;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .medical-services-section {
        padding: 70px 0;
    }

    .medical-section-heading {
        margin-bottom: 35px;
    }

    .medical-section-heading h2 {
        font-size: 34px;
    }

    .medical-section-heading > p {
        font-size: 14px;
    }

    .medical-service-card {
        gap: 16px;
        padding: 24px 21px;
        border-radius: 18px;
    }

    .medical-service-icon {
        flex: 0 0 52px;

        width: 52px;
        height: 52px;

        border-radius: 15px;

        font-size: 21px;
    }

    .medical-service-content {
        padding-right: 5px;
    }

    .medical-service-content h3 {
        font-size: 18px;
    }

    .medical-service-content p {
        font-size: 13px;
    }

    .medical-service-number {
        font-size: 35px;
        right: 18px;
    }

    .medical-services-bottom-cta {
        flex-direction: column;
        align-items: flex-start;

        padding: 26px 22px;
    }

    .medical-cta-button {
        width: 100%;
        justify-content: center;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .medical-service-card,
    .medical-service-icon,
    .medical-cta-button {
        transition: none;
    }
}