/* =========================================================
   FILE: assets/css/custom-pages.css
   (NEW FILE) — Isko create karke paste kar do.
   Ye sirf nayi pages (doctors / doctor-details / search / policy/404/thankyou)
   ke liye hai + kuch safe overrides. Theme change nahi karega.
========================================================= */

:root{
  --brand:#c42d63;
  --brand-dark:#a81f51;
  --text-dark:#0B1023;
  --text:#666666;
  --soft:#f9f6f3;
  --card:#ffffff;
  --border: rgba(11,16,35,0.10);
}

/* Cache / variable safety */
#progress-value{ color: var(--brand) !important; }

/* Primary button (project me multiple jagah alag colors the) */
.btn.btn_primary{
  background-color: var(--brand) !important;
  color:#fff !important;
}
.btn.btn_primary:hover{
  background-color: var(--brand-dark) !important;
  color:#fff !important;
}

/* Footer unreadable fix (aapke custom footer me p black tha) */
.main-footer .footer-column p{
  color: rgba(255,255,255,0.85) !important;
}

/* Navbar active helper (agar aap class="active" lagate ho) */
.mediful_menu > ul > li > a.active{
  color: var(--brand) !important;
  font-weight: 600;
}

/* =========================================================
   DOCTORS LISTING (doctors.php)
   (Overrides your old .doctor-card home section styles too)
========================================================= */

.doctors-page-wrap{
  padding: 80px 0;
}

.doctors-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 991px){
  .doctors-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px){
  .doctors-grid{ grid-template-columns: 1fr; }
}

.doctors-page-wrap .doctor-card{
  width: auto !important;              /* IMPORTANT: overrides your old width calc(50%) */
  background: var(--card) !important;  /* IMPORTANT */
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 25px rgba(11,16,35,0.06) !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

.doctors-page-wrap .doctor-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(11,16,35,0.10) !important;
}

.doctors-page-wrap .doctor-thumb{
  width: 100%;
  height: 280px;
  background: #eee;
  overflow: hidden;
}

.doctors-page-wrap .doctor-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.doctors-page-wrap .doctor-card:hover .doctor-thumb img{
  transform: scale(1.05);
}

.doctors-page-wrap .doctor-body{
  padding: 18px 18px 20px;
}

.doctors-page-wrap .doctor-name{
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
  color: #5b3128;
  font-weight: 700;
  font-family: "Playfair Display";
}

.doctors-page-wrap .doctor-degree{
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  font-family: "Jost";
}

.doctors-page-wrap .doctor-opd{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  font-family: "Jost";
}

.doctors-page-wrap .doctor-btn{
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--brand) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  font-family: "Jost";
  transition: .25s ease;
}

.doctors-page-wrap .doctor-btn:hover{
  background: var(--brand-dark) !important;
}

/* =========================================================
   DOCTOR DETAILS (doctor-details.php)
========================================================= */

.doctor-details-wrap{
  padding: 80px 0;
}

.doctor-details-card{
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(11,16,35,0.06);
}

.doctor-details-header{
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(196,45,99,0.06), rgba(255,255,255,0));
}

.doctor-details-header h2{
  margin: 0 0 6px;
  font-size: 28px;
  color: #5b3128;
  font-weight: 700;
  font-family: "Playfair Display";
}

.doctor-details-header p{
  margin: 0;
  color: var(--text);
  font-family: "Jost";
}

.doctor-details-grid{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  padding: 24px;
}

@media (max-width: 991px){
  .doctor-details-grid{ grid-template-columns: 1fr; }
}

.doctor-side{
  position: sticky;
  top: 110px;
  align-self: start;
}

@media (max-width: 991px){
  .doctor-side{ position: static; top: auto; }
}

.doctor-photo{
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
  height: 360px;
}

.doctor-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-contact-box{
  margin-top: 16px;
  border-radius: 12px;
  background: var(--soft);
  padding: 18px;
  border: 1px solid rgba(91,49,40,0.08);
}

.doctor-contact-box h4{
  margin: 0 0 12px;
  color: #5b3128;
  font-size: 18px;
  font-weight: 700;
  font-family: "Playfair Display";
}

.doctor-contact-box p{
  margin: 0 0 8px;
  color: #555;
  font-family: "Jost";
  font-size: 15px;
  line-height: 1.7;
}
.doctor-contact-box p:last-child{ margin-bottom: 0; }

.doctor-section{
  margin-bottom: 22px;
}

.doctor-section h4{
  margin: 0 0 10px;
  font-size: 18px;
  color: #5b3128;
  font-weight: 700;
  font-family: "Playfair Display";
}

.doctor-section p{
  margin: 0;
  color: var(--text);
  font-family: "Jost";
  font-size: 16px;
  line-height: 1.85;
}

.doctor-list{
  margin: 0;
  padding-left: 18px;
}

.doctor-list li{
  margin-bottom: 7px;
  color: #555;
  font-family: "Jost";
  font-size: 15px;
  line-height: 1.7;
}

.doctor-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.doctor-actions .btn-primary-soft{
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid rgba(196,45,99,0.30);
  color: var(--brand) !important;
  background: rgba(196,45,99,0.06);
  font-weight: 600;
  font-family: "Jost";
  text-decoration: none !important;
  transition: .25s ease;
}
.doctor-actions .btn-primary-soft:hover{
  background: rgba(196,45,99,0.10);
}

/* =========================================================
   SEARCH PAGE (search.php) — optional styling
========================================================= */

.search-page-wrap{ padding: 80px 0; }

.search-box{
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(11,16,35,0.06);
  border: 1px solid rgba(11,16,35,0.06);
}

.search-inline-form{
  display: flex;
  gap: 10px;
}
.search-inline-form input[type="text"],
.search-inline-form input[type="search"]{
  flex: 1;
  height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(85,85,85,0.15);
  padding: 0 16px;
  outline: 0;
  font-family: "Jost";
}
.search-inline-form button{
  height: 52px;
  padding: 0 18px;
  border-radius: 10px;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-family: "Jost";
  transition: .25s ease;
}
.search-inline-form button:hover{ background: var(--brand-dark); }

@media (max-width: 575px){
  .search-inline-form{ flex-direction: column; }
  .search-inline-form button{ width: 100%; }
}

/* =========================================================
   SIMPLE PAGES (privacy-policy.php / terms.php / 404.php / thank-you.php)
========================================================= */

.simple-page-wrap{ padding: 80px 0; }

.simple-page-card{
  background: #fff;
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 10px 25px rgba(11,16,35,0.06);
  border: 1px solid rgba(11,16,35,0.06);
}

.simple-page-card h1,
.simple-page-card h2,
.simple-page-card h3{
  color: #5b3128;
  font-family: "Playfair Display";
}

.simple-page-card p,
.simple-page-card li{
  color: var(--text);
  font-family: "Jost";
  line-height: 1.9;
  font-size: 16px;
}
.simple-page-card a{
  color: var(--brand);
  text-decoration: none;
}
.simple-page-card a:hover{ text-decoration: underline; }

.page-404{ text-align: center; }
.page-404 .code{
  font-size: 90px;
  line-height: 1;
  margin: 0 0 10px;
  color: var(--brand);
  font-weight: 800;
  font-family: "Jost";
}

/* =========================================================
   OM SAI ENT - USP / INFORMATION TABS
   ========================================================= */

.ent-usp-section {
    padding: 90px 0;
    background: #f7f9fb;
}

.ent-usp-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
}

.ent-usp-heading > span {
    display: inline-block;
    margin-bottom: 10px;
    color: #cf2860;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ent-usp-heading h2 {
    margin: 0 0 14px;
    color: #252a36;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
}

.ent-usp-heading p {
    margin: 0;
    color: #777d87;
    font-size: 16px;
    line-height: 1.8;
}


/* MAIN BOX */

.ent-usp-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(25, 35, 55, 0.06);
}


/* LEFT TABS */

.ent-usp-tabs {
    background: #fbfbfc;
    border-right: 1px solid #e7e9ed;
}

.ent-usp-tab {
    width: 100%;
    min-height: 68px;
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid #e7e9ed;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    color: #555b65;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ent-usp-tab:last-child {
    border-bottom: 0;
}

.ent-usp-tab span {
    line-height: 1.45;
}

.ent-usp-tab i {
    font-size: 11px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.25s ease;
}

.ent-usp-tab:hover {
    background: #ffffff;
    color: #cf2860;
}

.ent-usp-tab:hover i {
    opacity: 1;
    transform: translateX(0);
}

.ent-usp-tab.active {
    background: #ffffff;
    color: #cf2860;
    box-shadow: inset 3px 0 0 #cf2860;
}

.ent-usp-tab.active i {
    opacity: 1;
    transform: translateX(0);
}


/* RIGHT CONTENT */

.ent-usp-content {
    min-width: 0;
    padding: 42px 45px;
    background: #ffffff;
}

.ent-usp-panel {
    display: none;
    animation: entUspFade 0.3s ease;
}

.ent-usp-panel.active {
    display: block;
}

@keyframes entUspFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* PANEL HEADING */

.ent-usp-panel-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.ent-usp-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0f5;
    color: #cf2860;
    font-size: 19px;
}

.ent-usp-label {
    display: block;
    margin-bottom: 5px;
    color: #cf2860;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.ent-usp-panel-title h3 {
    margin: 0;
    color: #252a36;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}


/* TEXT */

.ent-usp-panel p {
    margin: 0 0 17px;
    color: #727780;
    font-size: 15px;
    line-height: 1.8;
}

.ent-usp-panel p:last-child {
    margin-bottom: 0;
}


/* ORDERED LIST */

.ent-usp-list {
    margin: 20px 0 0;
    padding-left: 22px;
    color: #666c75;
}

.ent-usp-list li {
    padding-left: 8px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.7;
}

.ent-usp-list li::marker {
    color: #cf2860;
    font-weight: 700;
}


/* TWO COLUMN CONTENT */

.ent-usp-two-column {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    gap: 38px;
    align-items: center;
}

.ent-usp-image {
    height: 310px;
    overflow: hidden;
    border-radius: 8px;
    background: #f2f3f5;
}

.ent-usp-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ent-usp-image:hover img {
    transform: scale(1.025);
}

.ent-usp-text {
    min-width: 0;
}


/* CHECK LIST */

.ent-usp-check-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.ent-usp-check-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 13px;
    color: #686e77;
    font-size: 14px;
    line-height: 1.65;
}

.ent-usp-check-list li i {
    flex: 0 0 16px;
    margin-top: 4px;
    color: #cf2860;
    font-size: 13px;
}


/* BUTTON */

.ent-usp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 20px;
    border-radius: 5px;
    background: #cf2860;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.ent-usp-btn:hover {
    background: #252a36;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.ent-usp-btn i {
    font-size: 11px;
}


/* SUB HEADING */

.ent-usp-subheading {
    margin: 28px 0 5px;
    color: #303540;
    font-size: 16px;
    font-weight: 700;
}


/* IMPORTANT NOTE */

.ent-usp-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 25px;
    padding: 17px 18px;
    border-left: 3px solid #cf2860;
    background: #faf4f7;
    color: #626873;
    font-size: 14px;
    line-height: 1.65;
}

.ent-usp-note i {
    flex: 0 0 17px;
    margin-top: 3px;
    color: #cf2860;
}

.ent-usp-note strong {
    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .ent-usp-section {
        padding: 70px 0;
    }

    .ent-usp-heading h2 {
        font-size: 32px;
    }

    .ent-usp-wrapper {
        grid-template-columns: 1fr;
    }

    .ent-usp-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        border-right: 0;
        border-bottom: 1px solid #e7e9ed;
    }

    .ent-usp-tab {
        min-height: 62px;
        border-right: 1px solid #e7e9ed;
    }

    .ent-usp-tab:nth-child(even) {
        border-right: 0;
    }

    .ent-usp-tab.active {
        box-shadow: inset 0 3px 0 #cf2860;
    }

    .ent-usp-content {
        padding: 35px;
    }

    .ent-usp-two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ent-usp-image {
        height: 280px;
    }
}


@media (max-width: 575px) {

    .ent-usp-section {
        padding: 55px 0;
    }

    .ent-usp-heading {
        margin-bottom: 30px;
    }

    .ent-usp-heading h2 {
        font-size: 27px;
    }

    .ent-usp-heading p {
        font-size: 14px;
    }

    .ent-usp-tabs {
        grid-template-columns: 1fr;
    }

    .ent-usp-tab {
        min-height: 58px;
        border-right: 0;
    }

    .ent-usp-tab.active {
        box-shadow: inset 3px 0 0 #cf2860;
    }

    .ent-usp-content {
        padding: 28px 22px;
    }

    .ent-usp-panel-title {
        align-items: flex-start;
    }

    .ent-usp-panel-title h3 {
        font-size: 20px;
    }

    .ent-usp-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .ent-usp-image {
        height: 230px;
    }

    .ent-usp-list li,
    .ent-usp-panel p {
        font-size: 14px;
    }
}

