﻿/* =========================================================
   TANYA SPECIALITY HOSPITAL
   COMPLETE CARE SECTION
   PREMIUM 2026 DESIGN
========================================================= */


/* =========================================================
   SECTION
========================================================= */

.tanya-about-care-section {
    width: 100%;
    position: relative;
    background: #ffffff;
    padding: 20px 0 30px;
    overflow: hidden;
}


/* =========================================================
   90% WIDTH
========================================================= */

.tanya-about-care-container {
    width: 90%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.tanya-about-care-heading {
    padding-right: 35px;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.tanya-about-care-section
.tanya-about-section-label {
    display: inline-flex;
    align-items: center;
    color: #9d795d;
    padding: 9px 17px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}


/* =========================================================
   TITLE
========================================================= */

.tanya-about-care-title {
    margin: 0;
    color: #000000;
    font-size: clamp(2.1rem, 3.7vw, 3.45rem);
    line-height: 1.08;
    letter-spacing: -1.5px;
    font-weight: 800;
}


    .tanya-about-care-title span {
        display: block;
        color: #9d795d;
    }


/* =========================================================
   DECORATIVE LINE
========================================================= */

.tanya-about-care-line {
    width: 100%;
    height: 2px;
    background: rgba(157, 121, 93, 0.13);
    margin: 25px 0 24px;
    position: relative;
}


    .tanya-about-care-line span {
        position: absolute;
        left: 0;
        top: -1px;
        width: 72px;
        height: 4px;
        border-radius: 10px;
        background: #9d795d;
    }


/* =========================================================
   DESCRIPTION
========================================================= */

.tanya-about-care-description {
    margin: 0;
    color: #5f5f5f;
    font-size: 15px;
    line-height: 1.85;
    max-width: 570px;
}


/* =========================================================
   HIGHLIGHT BOX
========================================================= */

.tanya-about-care-highlight {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 17px 19px;
    background: linear-gradient( 135deg, rgba(255, 249, 199, 0.65), rgba(255, 255, 255, 0.9) );
    border: 1px solid rgba(157, 121, 93, 0.13);
    border-radius: 18px;
    max-width: 520px;
}


.tanya-about-care-highlight-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #9d795d;
    color: #ffffff;
    font-size: 18px;
}


.tanya-about-care-highlight div:last-child {
    display: flex;
    flex-direction: column;
}


.tanya-about-care-highlight strong {
    color: #000000;
    font-size: 13px;
    font-weight: 750;
}


.tanya-about-care-highlight span {
    color: #777777;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 3px;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.tanya-about-care-card {
    width: 100%;
    min-height: 245px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: #ffffff;
    border: 1px solid rgba(157, 121, 93, 0.14);
    border-radius: 24px;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.055);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}


    /* =========================================================
   CARD HOVER
========================================================= */

    .tanya-about-care-card:hover {
        transform: translateY(-8px);
        border-color: rgba(157, 121, 93, 0.32);
        box-shadow: 0 22px 50px rgba(0, 0, 0, 0.11);
    }


/* =========================================================
   CARD TOP
========================================================= */

.tanya-about-care-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 23px;
}


/* =========================================================
   ICON
========================================================= */

.tanya-about-care-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: #9d795d;
    color: #fff;
    font-size: 21px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}


.tanya-about-care-card:hover
.tanya-about-care-icon {
    background: #9d795d;
    color: #ffffff;
    transform: rotate(-4deg);
}


/* =========================================================
   NUMBER
========================================================= */

.tanya-about-care-number {
    color: rgba(157, 121, 93, 0.28);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================================================
   CARD TITLE
========================================================= */

.tanya-about-care-card h4 {
    margin: 0 0 10px;
    color: #000000;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 750;
}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

.tanya-about-care-card p {
    margin: 0;
    color: #6a6a6a;
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   CARD BOTTOM LINE
========================================================= */

.tanya-about-care-card-line {
    width: 38px;
    height: 3px;
    border-radius: 10px;
    background: #9d795d;
    margin-top: auto;
    padding-top: 0;
    transition: width 0.35s ease;
}


.tanya-about-care-card:hover
.tanya-about-care-card-line {
    width: 70px;
}


/* =========================================================
   SUBTLE CARD DECORATION
========================================================= */

.tanya-about-care-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -55px;
    bottom: -55px;
    border-radius: 50%;
    background: rgba(255, 249, 199, 0.45);
    pointer-events: none;
    transition: transform 0.4s ease;
}


.tanya-about-care-card:hover::after {
    transform: scale(1.35);
}


/* =========================================================
   ANIMATION INITIAL STATE
========================================================= */

.tanya-care-reveal-left,
.tanya-care-reveal-right {
    opacity: 0;
}


/* =========================================================
   ANIMATE.CSS DURATION
========================================================= */

.tanya-about-care-section
.animate__animated {
    --animate-duration: 0.9s;
}


/* =========================================================
   STAGGER DELAYS
========================================================= */

.tanya-care-delay-1 {
    animation-delay: 0.10s;
}


.tanya-care-delay-2 {
    animation-delay: 0.20s;
}


.tanya-care-delay-3 {
    animation-delay: 0.30s;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1199.98px) {

    .tanya-about-care-heading {
        padding-right: 10px;
    }

    .tanya-about-care-card {
        min-height: 235px;
        padding: 22px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {


    .tanya-about-care-heading {
        padding-right: 0;
        margin-bottom: 10px;
    }

    .tanya-about-care-title {
        font-size: clamp(2.2rem, 6vw, 3.1rem);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {


    .tanya-about-care-container {
        width: 90%;
    }

    .tanya-about-care-title {
        font-size: 2.15rem;
        letter-spacing: -0.8px;
    }

    .tanya-about-care-description {
        font-size: 14px;
        line-height: 1.75;
    }

    .tanya-about-care-highlight {
        max-width: 100%;
    }

    .tanya-about-care-card {
        min-height: 220px;
        padding: 21px;
        border-radius: 21px;
    }

        .tanya-about-care-card h4 {
            font-size: 17px;
        }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 479.98px) {

    .tanya-about-care-title {
        font-size: 1.9rem;
    }

    .tanya-about-care-card {
        min-height: 205px;
        padding: 19px;
    }

    .tanya-about-care-icon {
        width: 50px;
        height: 50px;
        font-size: 19px;
    }

    .tanya-about-care-card p {
        font-size: 12.5px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tanya-about-care-card {
        transition: none;
    }

    .tanya-about-care-section
    .animate__animated {
        animation: none !important;
    }

    .tanya-care-reveal-left,
    .tanya-care-reveal-right {
        opacity: 1;
    }
}
