/* TechnoClinic overrides - 2026-12-04 */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');
body, p, li, a, h1, h2, h3, h4, h5, h6, input, textarea, select, button, label, .btn,
span:not([class*="icofont"]):not([class*="fa-"]) {
  font-family: 'Source Sans 3', 'IBM Plex Sans Arabic', sans-serif !important;
}
body, p { font-size: 17px; font-weight: 500; color: #2b3a4a; line-height: 1.9; }
/* Medical programs cards (home) */
.each-program { position: relative; overflow: hidden; border-radius: 14px; box-shadow: 0 6px 18px rgba(13,90,146,.15); background:#fff; }
.each-program .tc-ribbon { position: absolute; top: 14px; right: -38px; transform: rotate(45deg); background: #e8333f; color: #fff;
  font-size: 13px; font-weight: 600; padding: 5px 44px; z-index: 5; box-shadow: 0 2px 6px rgba(0,0,0,.2); pointer-events:none; }
html[dir="ltr"] .each-program .tc-ribbon, html[lang="en"] .each-program .tc-ribbon { right:auto; left:-38px; transform: rotate(-45deg); }
.each-program .tc-btn { display: block; margin: 10px auto 14px; width: 80%; text-align: center; background: #e8333f; color: #fff !important;
  border-radius: 30px; padding: 9px 0; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s; }
.each-program .tc-btn:hover { background: #c81e2b; }

/* Page title breadcrumb readable on dark banners */
.page-title-item ul li, .page-title-item ul li p, .page-title-item ul li a, .page-title-item ul li i { color:#fff !important; }
.page-title-item h1 { color:#fff !important; text-shadow:0 2px 10px rgba(0,0,0,.35); }

/* New inner-page photos (cache-busted) */
.speciality-right{background-image:url('../img/home-two/4.jpg?v=20261204') !important;}
.appointment-item-two-right{background-image:url('../img/appointment/2.jpg?v=20261204') !important;}

/* Mobile overflow fixes (about / contact) */
@media (max-width: 991px) {
  html, body { overflow-x: clip; }
  .about-area > .container > .row, .about-area .row.align-items-center.justify-content-center { margin-left: 0 !important; margin-right: 0 !important; }
  .speciality-emergency { position: relative !important; left: auto !important; right: auto !important; width: 100% !important; max-width: 100% !important; padding: 20px !important; box-sizing: border-box; }
  .row.justify-content-center { max-width: 100%; margin-left: 0; margin-right: 0; }
}

/* Program landing pages */
.tc-program-page { padding: 60px 0 80px; }
.tc-program-hero { margin-bottom: 40px; row-gap: 24px; }
.tc-program-img { width: 100%; border-radius: 16px; box-shadow: 0 10px 30px rgba(13,90,146,.18); }
.tc-badge { display: inline-block; background: #e8333f; color: #fff; font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 10px; }
.tc-program-title { color: #0d5a92; font-weight: 700; font-size: 30px; margin-bottom: 14px; }
.tc-program-desc { max-height: 260px; overflow: auto; margin-bottom: 20px; }
.tc-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tc-cta a { border-radius: 30px; padding: 10px 24px; font-weight: 600; font-size: 15px; text-decoration: none; transition: opacity .2s; }
.tc-cta a:hover { opacity: .88; }
.tc-cta-book { background: #e8333f; color: #fff !important; }
.tc-cta-wa { background: #25d366; color: #fff !important; }
.tc-cta-call { background: #eaf3fb; color: #0d5a92 !important; }
.tc-section-title { color: #0d5a92; font-weight: 700; margin: 30px 0 18px; }
.tc-sub-grid { row-gap: 18px; }
.tc-sub-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(13,90,146,.12); height: 100%; }
.tc-sub-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.tc-sub-name { padding: 10px 12px; font-weight: 600; color: #0d5a92; text-align: center; font-size: 15px; }
.tc-cta-band { background: linear-gradient(135deg,#0d5a92,#1d7fc4); border-radius: 18px; padding: 28px; margin: 40px 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.tc-cta-band p { color: #fff !important; font-size: 19px; font-weight: 600; margin: 0; }
.tc-other { display: block; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(13,90,146,.12); margin-bottom: 18px; text-decoration: none; }
.tc-other img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.tc-other span { display: block; padding: 10px; color: #0d5a92; font-weight: 600; text-align: center; }
@media (max-width: 767px) { .tc-program-title { font-size: 24px; } .tc-cta a { flex: 1 1 100%; text-align: center; } .tc-program-desc { max-height: none; } }

/* ===== Specialty landing pages (tc-landing) ===== */
.tc-landing{padding:60px 0 80px}
.tc-land-hero{background:#f3f7fc;border-radius:18px;padding:34px 30px;margin-bottom:40px}
.tc-land-intro{font-size:18px;line-height:2;color:#2b3a4a;margin:16px 0 18px}
.tc-land-facts{list-style:none;padding:0;margin:0 0 22px;display:flex;flex-wrap:wrap;gap:10px}
.tc-land-facts li{background:#fff;border:1px solid #d6e2f0;color:#0c2554;border-radius:30px;padding:7px 16px;font-weight:600;font-size:15px}
.tc-land-facts li:before{content:"✓";color:#e8333f;font-weight:700;margin-inline-end:6px}
.tc-landing .tc-ctas{display:flex;flex-wrap:wrap;gap:12px}
.tc-land-h2{font-size:28px;font-weight:700;color:#0c2554;margin:44px 0 22px}
.tc-landing .clinic-section{padding:0}
.tc-land-card{height:calc(100% - 24px);margin-bottom:24px}
.tc-land-card h3{font-size:20px;color:#0c2554;font-weight:700;margin-bottom:8px}
.tc-land-why{list-style:none;padding:0;margin:0}
.tc-land-why li{position:relative;padding:10px 34px 10px 0;font-size:17px;border-bottom:1px solid #eef2f7}
.tc-land-why li:before{content:"";position:absolute;right:6px;top:20px;width:12px;height:12px;border-radius:50%;background:#e8333f}
html[dir=ltr] .tc-land-why li{padding:10px 0 10px 34px} html[dir=ltr] .tc-land-why li:before{right:auto;left:6px}
.tc-landing .tc-cta-band{margin:48px 0 10px}
.tc-land-faq .tc-faq-item{background:#fff;border:1px solid #e3eaf3;border-radius:14px;padding:18px 22px;margin-bottom:14px}
.tc-land-faq h3{font-size:19px;color:#0c2554;font-weight:700;margin-bottom:6px}
.tc-land-faq p{margin:0}
.tc-land-links{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:12px}
.tc-land-links a{display:inline-block;background:#0c2554;color:#fff;border-radius:30px;padding:9px 18px;font-weight:600}
.tc-land-links a:hover{background:#e8333f;color:#fff}
@media (max-width:767px){.tc-land-hero{padding:24px 18px}.tc-land-h2{font-size:23px}}

.tc-landing .tc-ctas a{display:inline-block;padding:12px 26px;border-radius:30px;font-weight:700;font-size:16px;color:#fff;line-height:1.4}
.tc-landing .tc-cta-book{background:#e8333f}.tc-landing .tc-cta-wa{background:#25d366}.tc-landing .tc-cta-call{background:#0c2554}
.tc-landing .tc-ctas a:hover{opacity:.9;color:#fff}
.tc-landing .tc-cta-band .tc-ctas{justify-content:center}

.tc-landing .doctors-div{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:22px;width:100%}
.tc-landing .doctors-div .doctor-item{width:auto !important;max-width:none !important;margin:0 !important}

.tc-landing .tc-ctas a,.tc-landing .tc-ctas a:hover{color:#fff !important}
.tc-landing .tc-cta-band .tc-cta-call{background:#fff !important;color:#0c2554 !important}
.tc-landing .tc-land-card{padding:22px 24px !important;border:1px solid #e3eaf3;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(12,37,84,.05)}

.tc-land-prog{background:#fff;border:1px solid #e3eaf3;border-radius:16px;overflow:hidden;margin-bottom:26px;box-shadow:0 4px 14px rgba(12,37,84,.06);height:calc(100% - 26px);display:flex;flex-direction:column}
.tc-land-prog img{width:100%;height:210px;object-fit:cover;display:block}
.tc-land-prog-body{padding:20px 22px;display:flex;flex-direction:column;flex:1}
.tc-land-prog h3{font-size:21px;font-weight:700;margin:10px 0 8px}.tc-land-prog h3 a{color:#0c2554}
.tc-land-prog-subs{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-wrap:wrap;gap:6px}
.tc-land-prog-subs li{background:#f3f7fc;color:#0c2554;border-radius:20px;padding:4px 12px;font-size:14px}
.tc-land-prog-btn{margin-top:auto;align-self:flex-start;background:#e8333f;color:#fff !important;border-radius:30px;padding:10px 22px;font-weight:700}

.tc-land-prog .tc-badge{align-self:flex-start;width:auto}

/* ===== Home: most requested specialties ===== */
.tc-home-spec-head{text-align:center;margin-bottom:26px}
.tc-home-spec-head h2{font-size:30px;font-weight:700;color:#0c2554;margin-bottom:8px}
.tc-home-spec-head p{margin:0;color:#4a5a6a}
.tc-home-spec-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
.tc-home-spec-card{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:170px;border-radius:16px;overflow:hidden;padding:18px 20px;background:#0c2554 center/cover no-repeat;color:#fff !important;box-shadow:0 6px 18px rgba(12,37,84,.15);transition:transform .2s}
.tc-home-spec-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,37,84,.15) 0%,rgba(12,37,84,.88) 75%)}
.tc-home-spec-card>span{position:relative}
.tc-home-spec-name{font-size:20px;font-weight:700;line-height:1.4}
.tc-home-spec-go{margin-top:8px;align-self:flex-start;background:#e8333f;border-radius:20px;padding:4px 14px;font-size:14px;font-weight:600}
.tc-home-spec-card:hover{transform:translateY(-4px);color:#fff !important}
@media (max-width:575px){.tc-home-spec-grid{grid-template-columns:1fr 1fr;gap:12px}.tc-home-spec-card{min-height:140px;padding:14px}.tc-home-spec-name{font-size:16px}.tc-home-spec-head h2{font-size:23px}}

.welcome-left{background-image:url('../img/home-two/3.jpg?v=20261204b') !important}
