﻿/* =========================================================
   TANYA SPECIALITY HOSPITAL
   PREMIUM DOCTORS SECTION 2026
========================================================= */


/* =========================================================
   MAIN SECTION
========================================================= */

.tanya26-doctors-section {
    width: 100%;
    background: #ffffff;
    padding: 80px 0 90px;
    overflow: hidden;
}


    /* =========================================================
   CONTAINER
========================================================= */

    .tanya26-doctors-section .custom-container {
        width: 90%;
        max-width: 1500px;
        margin: 0 auto;
    }


/* =========================================================
   SECTION HEADER
========================================================= */

.tanya26-header {
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}


.tanya26-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #9d795d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}


.tanya26-title {
    margin: 0;
    color: #111111;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -1.5px;
}


    .tanya26-title span {
        color: #9d795d;
        font-weight: 700;
    }


.tanya26-heading-line {
    width: 55px;
    height: 3px;
    margin: 20px auto;
    background: #9d795d;
}


.tanya26-description {
    max-width: 720px;
    margin: 0 auto;
    color: #666666;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   CARD WRAPPER
========================================================= */

.tanya26-card-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 1;
}


/* =========================================================
   CARD INNER
========================================================= */

.tanya26-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
    padding: 25px 18px 0;
    overflow: hidden;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


.tanya26-card-wrapper:hover .tanya26-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.13);
}


/* =========================================================
   ARCH BACKDROP
========================================================= */

.tanya26-arch-backdrop {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 82%;
    height: 270px;
    transform: translateX(-50%);
    background: #fff9c7;
    border-radius: 150px 150px 20px 20px;
    z-index: 0;
}


/* =========================================================
   IMAGE AREA
========================================================= */

.tanya26-visual-wrapper {
    position: relative;
    width: 100%;
    height: 285px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 2;
}


/* =========================================================
   IMAGE ARCH
========================================================= */

.tanya26-img-arch {
    position: relative;
    width: 72%;
    height: 275px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 140px 140px 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 5px solid #ffffff;
}


    .tanya26-img-arch img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center top;
        transition: transform 0.6s ease;
    }


.tanya26-card-wrapper:hover .tanya26-img-arch img {
    transform: scale(1.04);
}


/* =========================================================
   CARD OUTER
========================================================= */

.tanya26-card-outer {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: -5px;
}


/* =========================================================
   CARD BODY
========================================================= */

.tanya26-card-body {
    position: relative;
    width: 100%;
    min-height: 215px;
    padding: 22px 20px 24px;
    text-align: center;
    background: #ffffff;
    border-top: 3px solid #9d795d;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   SPECIALITY
========================================================= */

.tanya26-speciality {
    display: block;
    margin-bottom: 8px;
    color: #9d795d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.5;
    text-transform: uppercase;
}


/* =========================================================
   DOCTOR NAME
========================================================= */

.tanya26-doc-name {
    margin: 0 0 7px;
    color: #111111;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
}


/* =========================================================
   ROLE
========================================================= */

.tanya26-role {
    margin: 0 0 8px;
    color: #555555;
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   QUALIFICATION
========================================================= */

.tanya26-qualification {
    margin: 0 auto 18px;
    max-width: 280px;
    color: #777777;
    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.tanya26-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 18px;
    background: #9d795d;
    color: #ffffff !important;
    border: 1px solid #9d795d;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}


    .tanya26-btn:hover {
        background: #ffffff;
        color: #9d795d !important;
        transform: translateY(-2px);
    }


/* =========================================================
   BOOTSTRAP COLUMN HEIGHT FIX
========================================================= */

.tanya26-doctors-section .row > [class*="col-"] {
    display: flex;
}


    .tanya26-doctors-section .row > [class*="col-"] .tanya26-card-wrapper {
        width: 100%;
    }


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199.98px) {

    .tanya26-doctors-section {
        padding: 70px 0 80px;
    }


    .tanya26-card-inner {
        min-height: 510px;
    }


    .tanya26-img-arch {
        width: 76%;
        height: 265px;
    }


    .tanya26-visual-wrapper {
        height: 275px;
    }


    .tanya26-arch-backdrop {
        height: 260px;
    }
}


/* =========================================================
   BELOW LARGE
========================================================= */

@media (max-width: 991.98px) {

    .tanya26-doctors-section {
        padding: 65px 0 75px;
    }


        .tanya26-doctors-section .custom-container {
            width: 92%;
        }


    .tanya26-title {
        font-size: clamp(34px, 6vw, 48px);
    }


    .tanya26-card-inner {
        min-height: 505px;
    }


    .tanya26-img-arch {
        width: 70%;
        height: 260px;
    }


    .tanya26-visual-wrapper {
        height: 270px;
    }


    .tanya26-arch-backdrop {
        width: 78%;
        height: 250px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .tanya26-doctors-section {
        padding: 55px 0 65px;
    }


        .tanya26-doctors-section .custom-container {
            width: 92%;
        }


    .tanya26-header {
        padding: 0 8px;
    }


    .tanya26-eyebrow {
        font-size: 9px;
        letter-spacing: 2.2px;
    }


    .tanya26-title {
        font-size: 34px;
        letter-spacing: -0.8px;
    }


    .tanya26-description {
        font-size: 13px;
        line-height: 1.75;
    }


    .tanya26-card-inner {
        min-height: 0;
    }


    .tanya26-img-arch {
        width: 68%;
        height: 270px;
    }


    .tanya26-visual-wrapper {
        height: 280px;
    }


    .tanya26-arch-backdrop {
        width: 76%;
        height: 260px;
    }


    .tanya26-card-body {
        min-height: 205px;
        padding: 20px 15px 22px;
    }


    .tanya26-doc-name {
        font-size: 20px;
    }


    .tanya26-qualification {
        max-width: 300px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .tanya26-doctors-section .custom-container {
        width: 90%;
    }


    .tanya26-title {
        font-size: 30px;
    }


    .tanya26-heading-line {
        width: 45px;
        margin: 16px auto;
    }


    .tanya26-description {
        font-size: 12px;
    }


    .tanya26-card-inner {
        padding: 20px 15px 0;
    }


    .tanya26-img-arch {
        width: 70%;
        height: 260px;
    }


    .tanya26-visual-wrapper {
        height: 270px;
    }


    .tanya26-arch-backdrop {
        width: 80%;
        height: 250px;
    }


    .tanya26-speciality {
        font-size: 8px;
    }


    .tanya26-doc-name {
        font-size: 19px;
    }


    .tanya26-role {
        font-size: 11px;
    }


    .tanya26-qualification {
        font-size: 10px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .tanya26-doctors-section .custom-container {
        width: 92%;
    }


    .tanya26-img-arch {
        width: 72%;
        height: 245px;
    }


    .tanya26-visual-wrapper {
        height: 255px;
    }


    .tanya26-arch-backdrop {
        height: 235px;
    }


    .tanya26-doc-name {
        font-size: 18px;
    }


    .tanya26-card-body {
        padding: 18px 12px 20px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tanya26-card-inner,
    .tanya26-img-arch img,
    .tanya26-btn {
        transition: none;
    }
}
/* Equal-height cards */
.tanya26-doctors-section .row > [class*="col-"] {
  display: flex;
}

.tanya26-doctors-section .tanya26-card-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.tanya26-doctors-section .tanya26-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

/* White text panel fills the rest of the card */
.tanya26-doctors-section .tanya26-card-outer {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.tanya26-doctors-section .tanya26-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  text-align: center;
}

/* Reserve space so text rows line up across cards */
.tanya26-doctors-section .tanya26-speciality {
  min-height: 2.6em;          /* room for 2 lines */
  display: flex;
  align-items: center;
  justify-content: center;
}

.tanya26-doctors-section .tanya26-doc-name {
  min-height: 2.5em;          /* room for 2 lines */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
}

.tanya26-doctors-section .tanya26-role,
.tanya26-doctors-section .tanya26-qualification {
  width: 100%;
}

/* Button always at the bottom, same position on every card */
.tanya26-doctors-section .tanya26-btn {
  margin-top: auto;
  align-self: center;
}

/* Space between the qualification text and the button */
.tanya26-doctors-section .tanya26-qualification {
  margin-bottom: 20px;
}