﻿/* =========================================================
   VETERINARY MEDICAL SERVICES HERO
   South Delta Animal Hospital
========================================================= */

.medical-services-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(47, 143, 132, 0.08), transparent 28%),
        radial-gradient(circle at 90% 70%, rgba(226, 145, 55, 0.08), transparent 30%),
        #f7fbfa;

    padding: 90px 0 110px;
}


/* Soft background decoration */

.medical-hero-bg {
    position: absolute;
    top: -220px;
    left: -220px;
    width: 550px;
    height: 550px;

    background: rgba(46, 143, 132, 0.07);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   CONTENT
========================================================= */

.medical-hero-content {
    position: relative;
    z-index: 5;

    max-width: 760px;
}


/* Eyebrow */

.medical-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 15px 8px 8px;

    border: 1px solid rgba(47, 143, 132, 0.18);

    background: rgba(255, 255, 255, 0.85);

    border-radius: 50px;

    color: #276f69;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.6px;

    margin-bottom: 24px;

    box-shadow: 0 8px 25px rgba(28, 70, 67, 0.06);
}


.medical-eyebrow-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #2d8179;

    color: #fff;

    font-size: 14px;
}


/* H1 */

.medical-hero-title {
    margin: 0;

    color: #153f3b;

    font-size: clamp(42px, 5vw, 70px);

    line-height: 1.04;

    font-weight: 800;

    letter-spacing: -2.5px;

    max-width: 780px;
}


.medical-hero-title span {
    display: block;

    color: #2d9187;

    margin-top: 7px;
}


/* Small orange underline */

.medical-hero-title::after {
    content: "";

    display: block;

    width: 72px;
    height: 5px;

    margin-top: 24px;

    border-radius: 10px;

    background: #e49338;
}


/* Description */

.medical-hero-text {
    max-width: 720px;

    margin: 27px 0 24px;

    color: #5f7471;

    font-size: 17px;

    line-height: 1.8;

    font-weight: 400;
}


.medical-hero-text strong {
    color: #214d48;

    font-weight: 700;
}


/* =========================================================
   TRUST POINTS
========================================================= */

.medical-trust-list {
    display: flex;
    flex-wrap: wrap;

    gap: 10px 24px;

    margin-bottom: 30px;
}


.medical-trust-item {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #355c58;

    font-size: 14px;

    font-weight: 700;
}


.medical-trust-icon {
    color: #2d8d83;

    font-size: 16px;
}


/* =========================================================
   BUTTONS
========================================================= */

.medical-hero-actions {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 30px;
}


.medical-btn {
    min-height: 62px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 12px 22px;

    border-radius: 14px;

    text-decoration: none;

    font-size: 15px;

    font-weight: 800;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* Primary */

.medical-btn-primary {
    color: #fff;

    background: #2d8179;

    box-shadow:
        0 12px 28px rgba(45, 129, 121, 0.22);
}


.medical-btn-primary:hover {
    color: #fff;

    background: #236d66;

    transform: translateY(-3px);

    box-shadow:
        0 18px 35px rgba(45, 129, 121, 0.30);
}


.medical-btn-primary i:last-child {
    font-size: 13px;

    transition: transform 0.3s ease;
}


.medical-btn-primary:hover i:last-child {
    transform: translateX(4px);
}


/* Phone button */

.medical-btn-secondary {
    color: #234d49;

    background: #fff;

    border: 1px solid #dcebe8;

    box-shadow:
        0 10px 25px rgba(28, 70, 67, 0.06);
}


.medical-btn-secondary:hover {
    color: #234d49;

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(28, 70, 67, 0.12);
}


.medical-phone-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;

    background: #e49338;

    flex-shrink: 0;
}


.medical-phone-content {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    line-height: 1.2;
}


.medical-phone-content small {
    margin-bottom: 4px;

    color: #78908d;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.7px;
}


.medical-phone-content strong {
    color: #234d49;

    font-size: 15px;
}


/* =========================================================
   META / HOURS
========================================================= */

.medical-service-meta {
    display: flex;

    align-items: center;

    gap: 24px;

    padding-top: 23px;

    border-top: 1px solid #dfecea;

    max-width: 620px;
}


.medical-meta-item {
    display: flex;

    align-items: center;

    gap: 11px;
}


.medical-meta-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #e7f3f1;

    color: #2d8179;
}


.medical-meta-item div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.medical-meta-item strong {
    color: #284f4b;

    font-size: 13px;
}


.medical-meta-item span {
    color: #7a8e8b;

    font-size: 12px;
}


.medical-meta-divider {
    width: 1px;
    height: 42px;

    background: #dfecea;
}


/* =========================================================
   RIGHT VISUAL
========================================================= */

.medical-hero-visual {
    position: relative;

    width: 100%;

    min-height: 610px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    margin-left: 15px;
}


/* Main image */

.medical-image-card {
    position: relative;

    width: 100%;

    max-width: 490px;

    height: 570px;

    overflow: hidden;

    border-radius: 34px;

    background: #dcece9;

    box-shadow:
        0 30px 70px rgba(27, 67, 63, 0.18);

    z-index: 3;
}


.medical-image-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


.medical-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 45%,
            rgba(15, 57, 52, 0.65) 100%
        );
}


/* Image badge */

.medical-image-badge {
    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 15px 17px;

    border: 1px solid rgba(255,255,255,0.25);

    background: rgba(255,255,255,0.93);

    backdrop-filter: blur(12px);

    border-radius: 16px;

    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}


.medical-badge-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #2d8179;

    color: #fff;

    font-size: 18px;

    flex-shrink: 0;
}


.medical-image-badge div:last-child {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.medical-image-badge strong {
    color: #214d48;

    font-size: 14px;
}


.medical-image-badge span {
    color: #718783;

    font-size: 11px;
}


/* Floating card */

.medical-floating-card {
    position: absolute;

    left: -5px;

    bottom: 65px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 18px;

    background: #fff;

    border: 1px solid #e0ecea;

    border-radius: 16px;

    box-shadow:
        0 18px 45px rgba(26, 72, 67, 0.16);

    animation: medicalFloat 4s ease-in-out infinite;
}


.medical-floating-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8f4f2;

    color: #2d8179;

    border-radius: 12px;

    font-size: 18px;
}


.medical-floating-card div:last-child {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.medical-floating-card strong {
    color: #244e49;

    font-size: 13px;
}


.medical-floating-card span {
    color: #7b8f8c;

    font-size: 10px;
}


@keyframes medicalFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


/* Decorative shapes */

.medical-visual-shape {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.shape-one {
    width: 180px;
    height: 180px;

    right: -45px;
    top: 30px;

    background: rgba(228, 147, 56, 0.13);

    z-index: 1;
}


.shape-two {
    width: 120px;
    height: 120px;

    left: -30px;
    top: 100px;

    background: rgba(45, 129, 121, 0.12);

    z-index: 1;
}


/* =========================================================
   WAVE
========================================================= */

.medical-hero-wave {
    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 70px;

    z-index: 2;

    pointer-events: none;
}


.medical-hero-wave svg {
    display: block;

    width: 100%;
    height: 100%;
}


.medical-hero-wave path {
    fill: #fff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .medical-hero-title {
        font-size: 54px;
    }

    .medical-hero-visual {
        min-height: 540px;
    }

    .medical-image-card {
        height: 510px;
    }

    .medical-floating-card {
        left: -10px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {

    .medical-services-hero {
        padding: 70px 0 100px;
    }

    .medical-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .medical-eyebrow {
        margin-bottom: 20px;
    }

    .medical-hero-title {
        font-size: clamp(38px, 7vw, 54px);

        letter-spacing: -1.5px;
    }

    .medical-hero-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .medical-hero-text {
        margin-left: auto;
        margin-right: auto;

        font-size: 16px;
    }

    .medical-trust-list {
        justify-content: center;
    }

    .medical-hero-actions {
        justify-content: center;
    }

    .medical-service-meta {
        justify-content: center;

        margin-left: auto;
        margin-right: auto;
    }

    .medical-hero-visual {
        min-height: auto;

        margin: 55px auto 0;

        padding: 15px;

        max-width: 600px;
    }

    .medical-image-card {
        height: 500px;
    }

    .medical-floating-card {
        left: 0;
    }

}


@media (max-width: 575px) {

    .medical-services-hero {
        padding: 55px 0 85px;
    }

    .medical-eyebrow {
        font-size: 10px;

        letter-spacing: 1.2px;
    }

    .medical-hero-title {
        font-size: 38px;

        line-height: 1.08;
    }

    .medical-hero-text {
        font-size: 15px;

        line-height: 1.7;
    }

    .medical-trust-list {
        flex-direction: column;

        align-items: center;

        gap: 9px;
    }

    .medical-hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .medical-btn {
        width: 100%;

        max-width: 360px;
    }

    .medical-service-meta {
        flex-direction: column;

        align-items: center;

        gap: 15px;
    }

    .medical-meta-divider {
        width: 80px;

        height: 1px;
    }

    .medical-image-card {
        height: 420px;

        border-radius: 25px;
    }

    .medical-floating-card {
        left: -5px;

        bottom: 35px;

        padding: 11px 13px;
    }

    .medical-floating-card span {
        font-size: 9px;
    }

    .medical-image-badge {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .shape-one {
        right: -60px;
    }

}































/* =========================================================
   VETERINARY MEDICAL SERVICES
   PREMIUM DESIGN
========================================================= */

.medical-services-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(214, 138, 56, .08), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(34, 120, 100, .08), transparent 32%),
        #f7faf9;
}

/* Background Decorative Shapes */

.medical-bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: .45;
}

.medical-shape-one {
    width: 420px;
    height: 420px;
    background: rgba(214, 138, 56, .06);
    top: -180px;
    left: -180px;
}

.medical-shape-two {
    width: 500px;
    height: 500px;
    background: rgba(40, 120, 100, .05);
    bottom: -260px;
    right: -220px;
}


/* =========================================================
   HEADER
========================================================= */

.medical-section-header {
    max-width: 900px;
    margin: 0 auto 60px;
}

.medical-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(214, 138, 56, .10);
    color: #c47729;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.medical-eyebrow i {
    font-size: 14px;
}

.medical-section-header h2 {
    margin: 0 0 18px;
    color: #183b36;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1px;
}

.medical-section-header h2 span {
    display: inline;
    color: #d68a38;
}

.medical-section-header p {
    max-width: 820px;
    margin: auto;
    color: #667572;
    font-size: 17px;
    line-height: 1.85;
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.medical-service-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 36px;
    border: 1px solid rgba(24, 59, 54, .08);
    border-radius: 26px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 15px 45px rgba(24, 59, 54, .07);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.medical-service-card::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    top: -50px;
    right: -50px;
    border-radius: 50%;
    background: rgba(214, 138, 56, .08);
    transition: transform .4s ease;
}

.medical-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214, 138, 56, .25);
    box-shadow: 0 25px 60px rgba(24, 59, 54, .13);
}

.medical-service-card:hover::before {
    transform: scale(2.5);
}


/* Featured Cards */

.medical-service-card.featured {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fffaf5 100%
        );
}


/* =========================================================
   ICON
========================================================= */

.medical-card-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 25px;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        #d68a38,
        #b9691e
    );
    color: #ffffff;
    font-size: 25px;
    box-shadow: 0 10px 25px rgba(214, 138, 56, .25);
}


/* =========================================================
   CONTENT
========================================================= */

.medical-card-content {
    position: relative;
    z-index: 2;
}

.medical-card-label {
    display: block;
    margin-bottom: 9px;
    color: #c47729;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.medical-service-card h3 {
    margin: 0 0 17px;
    color: #183b36;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 800;
}

.medical-service-card p {
    margin-bottom: 13px;
    color: #667572;
    font-size: 15.5px;
    line-height: 1.8;
}


/* Compact Cards */

.medical-service-card.compact {
    padding: 30px;
}

.medical-service-card.compact h3 {
    font-size: 22px;
}


/* =========================================================
   WATERMARK
========================================================= */

.medical-card-watermark {
    position: absolute;
    right: 20px;
    bottom: 12px;
    color: rgba(24, 59, 54, .045);
    font-size: 105px;
    transform: rotate(-10deg);
    pointer-events: none;
}


/* =========================================================
   CARD LINK
========================================================= */

.medical-service-link {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: #c47729;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: gap .3s ease;
}

.medical-service-link:hover {
    color: #183b36;
    gap: 15px;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.medical-bottom-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 65px;
    padding: 32px 38px;
    border-radius: 26px;
    background:
        linear-gradient(
            135deg,
            #183b36,
            #24574f
        );
    box-shadow: 0 20px 50px rgba(24, 59, 54, .18);
    overflow: hidden;
}

.medical-bottom-cta::after {
    content: "\f1b0";
    position: absolute;
    right: 30px;
    bottom: -45px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .035);
    font-size: 190px;
}

.medical-cta-icon {
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(214, 138, 56, .18);
    color: #e9a45d;
    font-size: 27px;
}

.medical-cta-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.medical-cta-content > span {
    display: block;
    margin-bottom: 5px;
    color: #e9a45d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.medical-cta-content h3 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
}

.medical-cta-content p {
    margin: 0;
    max-width: 800px;
    color: rgba(255, 255, 255, .76);
    line-height: 1.65;
}

.medical-cta-action {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

.medical-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 23px;
    border-radius: 12px;
    background: #d68a38;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: all .3s ease;
}

.medical-cta-btn:hover {
    background: #ffffff;
    color: #183b36;
    transform: translateY(-2px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .medical-services-section {
        padding: 75px 0;
    }

    .medical-section-header {
        margin-bottom: 45px;
    }

    .medical-bottom-cta {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .medical-cta-action {
        width: 100%;
        margin-left: 90px;
    }

}


@media (max-width: 767px) {

    .medical-services-section {
        padding: 60px 0;
    }

    .medical-section-header h2 {
        font-size: 34px;
    }

    .medical-section-header p {
        font-size: 15px;
        line-height: 1.7;
    }

    .medical-service-card,
    .medical-service-card.compact {
        padding: 27px;
        border-radius: 21px;
    }

    .medical-service-card h3,
    .medical-service-card.compact h3 {
        font-size: 21px;
    }

    .medical-service-card p {
        font-size: 14.5px;
    }

    .medical-bottom-cta {
        padding: 28px 24px;
        gap: 18px;
    }

    .medical-cta-icon {
        width: 55px;
        height: 55px;
        flex-basis: 55px;
    }

    .medical-cta-content h3 {
        font-size: 21px;
    }

    .medical-cta-content p {
        font-size: 14px;
    }

    .medical-cta-action {
        width: 100%;
        margin-left: 0;
    }

    .medical-cta-btn {
        width: 100%;
        justify-content: center;
    }

}


@media (prefers-reduced-motion: reduce) {

    .medical-service-card,
    .medical-service-card::before,
    .medical-service-link,
    .medical-cta-btn {
        transition: none;
    }

}