@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
  --navy: #234b99;
  --deep-blue: #152e72;
  --blue: #2a55a7;
  --orange: #f47700;
  --ink: #1d2430;
  --muted: #68717f;
  --pale: #f7f9fc;
  --cream: #fffdfb;
  --bs-primary: #234b99;
  --bs-link-color: #234b99;.inner-hero
  --bs-link-hover-color: #f47700;
  --light-blue: #F5FAFE;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: #20242a; font-weight: 750; line-height: 1.18; }
h2 { margin-bottom: 1rem; font-size: 2rem; letter-spacing: -.035em; }
h3 { font-size: 1.1rem; }

.topline { padding: .5rem 0; color: #626b7a; background: #F8FAFC; border-bottom: 1px solid #edf0f5; font-size: .9rem; }
.topline-details { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.3rem;margin-right: 2rem; }
.topline a, .topline img { display: inline-block; }
.topline-details a{text-decoration: none; color: inherit; border-right:1px solid #ccc; padding-right:1.4rem; line-height: 10px;}
.topline-details a:nth-of-type(3){border-right:none; padding-right:0;}
.topline-details > * { white-space: nowrap; }
.topline-details span[aria-hidden] { color: var(--navy); margin-right: .25rem; }
.social-links { display: flex; gap: .35rem; }
.social-links a, .footer-social a {
  display: grid; width: 2rem; height: 2rem; place-items: center;
  border: 1px solid #cfd7e7; border-radius: 50%; color: var(--navy); font-size: 1rem;}
nav .navbar-brand img {width: 200px; transition: 0.3s; }
.navbar-expand-lg .navbar-nav .nav-item { margin: 0 1rem; }
.navbar-expand-lg .navbar-nav .nav-link { font-size: 1rem; }
.top-contact { margin-bottom: 0; position: relative; }
/* .site-navigation { padding: 0 !important; } */
.site-navbar { margin: auto; z-index: 99; }
.sticky-wrapper { height: auto !important; }
.sticky-wrapper.is-sticky .site-navbar { background: var(--light-blue); z-index: 999 !important; width: 100% !important; padding: 0; box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); }
.sticky-wrapper.is-sticky .site-navbar .navbar { padding: 0; }
.sticky-wrapper.is-sticky .site-navbar .navbar .navbar-brand img { width: 190px; transition: 0.3s; }
.sticky-wrapper.is-sticky .top-contact a { top: 0.7rem; }
.site-navbar .site-navigation .site-menu > li { position: relative; padding: 0 0.5rem; margin: 0; }
.site-navbar .site-navigation .site-menu > li.active > a::before, .site-navbar .site-navigation .site-menu > li > a:hover::before { content: ''; position: absolute; left: 0; bottom: -10px; width: 100%; height: 2px; background: var(--pink); }
.site-navbar .site-navigation .site-menu > li > a { font-weight: 500; color: #000; padding: 0; font-size: 1rem; }
.site-navbar .site-navigation .site-menu .has-children:hover > .dropdown-menu, .site-navbar .site-navigation .site-menu .has-children:focus > .dropdown-menu, .site-navbar .site-navigation .site-menu .has-children:active > .dropdown-menu { display: block; }
.site-mobile-menu .site-nav-wrap li.active > a, .site-navbar .site-navigation .site-menu .has-children .dropdown-menu a.active { color: #111111; }
.site-navbar .site-navigation .site-menu .has-children .dropdown-menu { border-radius: 0; border: 0; min-width: 13rem; }
.site-navbar .site-navigation .site-menu .has-children .dropdown-menu > li > a { font-size: 1rem; font-weight: 500; border-radius: 0 !important; padding: 8px 12px; text-decoration: none; }
.site-navbar .site-navigation .site-menu .has-children .dropdown-menu a { font-size: 1rem; }
.site-navbar .site-navigation .site-menu .has-children .dropdown-menu > li > a:hover { color: #ffffff; background: var(--blue); }
.side-toggle { position: absolute; right: 0; top: 25px; margin: auto; color: #0d6efd; font-size: 1.25rem; }
.site-navbar .site-navigation .site-menu > li:last-child ul.dropdown-menu{right:0; width: 100px;}

.btn-orange {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--orange);
  --bs-btn-border-color: var(--orange);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #da6900;
  --bs-btn-hover-border-color: #da6900;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #c75f00;
  --bs-btn-active-border-color: #c75f00;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 45px; padding: .62rem 1.15rem; border-radius: 999px; font-weight: 400;
}
.btn-orange span,.btn-lightblue span { font-size: 0.9rem; line-height: 1; }
.btn-lightblue{background-color: var(--light-blue); --bs-btn-border-color: #E1EFF9;
display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 45px; padding: .62rem 1.15rem; border-radius: 999px; font-weight: 400;
}

.nav-cta { min-height: 36px; padding: .48rem .9rem; }

.hero { position: relative; min-height: 550px; overflow: hidden; background: #233f7d; color: white; }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 550px; }
.hero-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position: center 40%; }
.hero-shade { position:absolute; inset:0; background: linear-gradient(90deg, rgba(27,55,115,.96) 0%, rgba(32,62,126,.88) 34%, rgba(31,63,121,.35) 62%, rgba(22,42,75,.02) 100%); }
.hero-content { position:relative; z-index:2; width:min(1190px, 90%); margin:auto; height:100%; display:flex; align-items:center; }
.hero-copy { max-width:490px; padding: 10px 0 34px; }
.hero-copy h1 { font-size: 3rem; color: #fff; }
.hero-copy p { max-width:410px; color:rgba(255,255,255,.85); font-size:14px; line-height:1.72; }
.hero-kicker { font-size:10px; letter-spacing:.17em; text-transform:uppercase; font-weight:800; color:#ffd3ae; }
.hero-actions { display:flex; gap:12px; margin-top:22px; align-items:center; }
.hero-call { color:#fff; font-size:1.1rem; font-weight:700; display:flex; align-items:center; gap:8px; }
.hero-call small{font-weight: 400;}
.hero .carousel-indicators { justify-content:flex-start; left:max(5%, calc((100% - 1190px)/2)); margin:0 0 18px; }
.hero .carousel-indicators [data-bs-target] { width:23px;height:4px;border:0;border-radius:8px; opacity:.5; }
.hero .carousel-indicators .active { opacity:1;background:#f47a24; }
.hero .carousel-control-prev, .hero .carousel-control-next { width:7%; z-index:4; }
.call-link { display: inline-flex; align-items: center; gap: .55rem; color: #fff; }
.call-link:hover { color: #fff; }
.call-link small, .call-link strong { display: block; line-height: 1.35; }
.call-link small { font-size: .64rem; }
.call-link strong { font-size: .85rem; }
.call-icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; background: white; color: var(--navy); font-size: 1.15rem; }

.quick-info { position: relative; z-index: 2; color: #fff; background: var(--navy); }
.quick-info-item { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; padding: .75rem 1.2rem; border-right: 1px solid rgba(255,255,255,.17); }
.quick-info-item:last-child { border-right: 0; }
.quick-info-item strong, .quick-info-item small { display: block; line-height: 1.6; }
.quick-info-item strong { font-size: 1.15rem; font-weight: 500;}
.quick-info-item small { color: #e2eaff; font-size: 1rem; }
.quick-icon { display: grid; flex: 0 0 auto; place-items: center; font-size: 2rem; }
.quick-icon img{max-height: 45px;}

.section-space { padding: 5.3rem 0; }
.about-section { background: #fff; }
.eyebrow{position: relative; padding-left:1.5rem; margin-bottom: 1rem; display:inline-block;text-transform: uppercase;}
.eyebrow::before{content: ''; position:absolute; top: 3px; left: 0rem; width:14px; height: 14px; background: var(--blue);}
.about-section h2 { margin-bottom: 1.15rem; }
.about-section p { margin-bottom: .8rem; color: #59616b;}
.about-photo { position: relative; margin: 0 auto; }
.about-photo img { width: 100%; border-radius: 1rem; object-fit: cover; }
.trust-badge { position: absolute; bottom: 2.15rem; left: 1.1rem; display: grid; min-width: 154px; padding: .85rem 1.1rem; border-radius: .65rem; background: #fff; box-shadow: 0 8px 30px rgba(16,40,80,.12); }
.trust-badge span { color: #333; font-size: .7rem;}
.trust-badge strong { color: var(--orange); font-size: 1.9rem; line-height: 1.15; }
.check-list { display: grid; gap: .35rem; margin: 1rem 0 1.35rem; padding: 0; list-style: none; color: #555e68;}
.check-list li { position: relative; padding-left: 1.2rem; }
.check-list li::before { position: absolute; top: .45rem; left: 0; width: .5rem; height: .5rem; content: ""; background: var(--orange); }
.check-list strong { color: #2d333b; }

.services-section { background: var(--cream); }
.section-heading { max-width: 610px; margin: 0 auto 2.2rem; }
.section-heading h2 { margin-bottom: .7rem; }
.section-heading p { margin: 0; color: var(--muted); font-size: .88rem; }
.service-grid {margin-right: auto; margin-left: auto; }
.service-card { height: 100%; min-height: 235px; padding: 1.25rem; border: 1px solid #f2f3f6; border-radius: .75rem; background: #fff; box-shadow: 0 4px 18px rgba(30,45,70,.025); }
.service-icon { display: grid; width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; place-items: center; border-radius: .5rem; background: #f4f8ff; color: #6d91d2; font-size: 1.3rem; padding: 0.35rem;}
.service-card h3 { margin-bottom: .55rem; font-size: 1.4rem; }
.service-card p { margin-bottom: .75rem; color: #69717b; font-size: 1rem; line-height: 1.65; }
.service-card a, .article-copy a { color: var(--navy); font-size: 1rem; font-weight: 500; }
.service-card a:hover, .article-copy a:hover { color: var(--orange); }
.service-photo-card { position: relative; display: block; height: 100%; min-height: 235px; overflow: hidden; border-radius: .75rem; background: var(--navy); }
.service-photo-card::after { position: absolute; inset: 42% 0 0; content: ""; background: linear-gradient(0deg, rgba(27,67,145,.94), transparent); }
.service-photo-card img { width: 100%; height: 100%; min-height: 235px; object-fit: cover; transition: transform .3s ease; }
.service-photo-card:hover img { transform: scale(1.04); }
.service-photo-card .btn { position: absolute; z-index: 1; right: .75rem; bottom: .8rem; left: .75rem; width: calc(100% - 1.5rem); }

.team-section { background: #fff; }
.team-section p { max-width: 420px; margin-bottom: 1.2rem; color: #606873; font-size: .88rem; }
.doctor-cards { max-width: 650px; margin-left: auto; }
.doctor-card { position: relative; height: 400px; overflow: hidden; border-radius: 1rem; background: var(--deep-blue); }
.doctor-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.doctor-caption { position: absolute; right: .55rem; bottom: .6rem; left: .55rem; display: grid; gap: .1rem; padding: .7rem .45rem; border-radius: .55rem; background: #fff; text-align: center; }
.doctor-caption strong { font-size: 1.25rem; }
.doctor-caption span { font-size: 1rem; }

.articles-section { background: var(--pale); }
.section-title-row h2 { margin-bottom: 0; }
.article-card {padding: 1.25rem;  height: 100%; overflow: hidden; border: 1px solid #edf0f4; border-radius: .65rem; background: #fff; box-shadow: 0 4px 16px rgba(22,42,77,.03); }
.article-card img { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; margin-bottom:1rem}
.article-copy { }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem .75rem; margin-bottom: .6rem; color: #67707d; }
.article-meta span i { color: var(--orange); }
.article-copy h3 { min-height: 3em; margin-bottom: .6rem; font-size: 1.5rem; }

.faq-section { background: #fff; }
.faq-section h2 { margin-bottom: 1.3rem; }
.faq-photo { position: relative; overflow: hidden; max-width: 440px; border-radius: .75rem; background: var(--navy); }
.faq-photo > img { width: 100%; aspect-ratio: 1.16; object-fit: cover; }
.faq-call { position: absolute; bottom: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: .65rem; background: var(--orange); color: #fff; }
.faq-call:hover { color: #fff; background: #da6900; }
.faq-call > span:first-child { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; background: #fff; color: var(--orange); }
.faq-call > span img{width: 20px; filter: brightness(0) saturate(100%) invert(42%) sepia(87%) saturate(2250%) hue-rotate(5deg) brightness(101%) contrast(101%);}
.faq-call small, .faq-call strong { display: block; line-height: 1.35; }
.faq-call small { font-size: .8rem; }
.faq-call strong { font-size: 1rem; }
.faq-accordion .accordion-item { margin-bottom: 0.8rem; overflow: hidden; border: 0; border-radius: .35rem !important; background: #f6f8fb; }
.faq-accordion .accordion-button { padding: 1rem; color: var(--navy); background: var(--lightblue); box-shadow: none; font-weight: 700; }
.faq-accordion .accordion-button:not(.collapsed) { color: #fff; background: var(--navy); }
.faq-accordion .accordion-button::after { width: .9rem; }
.faq-accordion .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.faq-accordion .accordion-body { padding: .85rem 1rem 1rem; color: #606a78; background: #f6f8fb; font-size: 1rem; }
.accordion-button::after {
  transition: transform 0.2s ease-in-out;
  background: none;
  content: '\2b'; font-family: 'Font Awesome 7 Free';
}

.accordion-button:not(.collapsed)::after {
  background: none;
  content: '\f068'; font-family: 'Font Awesome 7 Free';
  transform: none !important; 
}

.contact-section { position: relative; min-height: 470px; background: #eaf0f1; }
.contact-map { position: absolute; inset: 0; background-color: #e9f0e8;}

.contact-layout { position: relative; display: flex; min-height: 470px; align-items: center; justify-content: space-between; gap: 2rem; }
.contact-card { width: min(350px, 48%); padding: 1rem 1.25rem; border-radius: .75rem; background: #fff; box-shadow: 0 14px 38px rgba(21,46,79,.14);margin-left:12.5rem; }
.contact-row { display: flex; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid #edf0f3; }
.contact-row:last-child { border-bottom: 0; }
.contact-row > span {margin-top: 5px;}
.contact-row strong { display: block; color: #273248; font-size: 1.1rem; }
.contact-row p { margin: .1rem 0 0; color: #707987; font-size: .9rem; }
.appointment-card { width: min(370px, 48%); position: absolute; top: -70px; right: 0; padding: 1.45rem; border-radius: .75rem; background: #263e85; box-shadow: 0 14px 38px rgba(21,46,79,.18); }
.appointment-card h2 { margin-bottom: 1rem; color: #fff; font-size: 1.35rem; letter-spacing: -.02em; }
.appointment-card form { display: grid; gap: 1rem; }
.appointment-card .form-control {padding-left: 2.5rem; min-height: 46px; border: 0; border-radius: .35rem; color: var(--blue);}
.appointment-card i, .appointment-card img{position: absolute; top: 12px; left:0.7rem; color: var(--orange);}
.appointment-card img{filter: brightness(0) saturate(100%) invert(42%) sepia(87%) saturate(2250%) hue-rotate(5deg) brightness(101%) contrast(101%);}
.appointment-card textarea.form-control { min-height: 90px; resize: vertical; padding-left: 1rem;}
.appointment-card .btn { min-height: 42px; text-transform: uppercase; }
.form-feedback { min-height: 1.2rem; margin: 0; color: #fff; font-size: .76rem; }

.site-footer { padding: 3.6rem 0 1rem; color: #e1e8fa; background: #214794; }
.brand-footer { margin-bottom: 1rem; color: #fff; display: block;}
.brand-footer:hover { color: #fff; }
.brand-footer .brand-mark { border-color: #fff; }
.brand-footer .brand-mark::before { background: #fff; }
.brand-footer .brand-mark span { border-color: #c4d2f1; }
.footer-about p { max-width: 340px; color: #d0dcf4;}
.footer-social { display: flex; gap: .5rem; }
.footer-social a { border-color: rgba(255,255,255,.4); color: #fff; }
.site-footer h2 { margin-bottom: 1rem; color: #fff; font-size: 1.2rem; letter-spacing: 0; }
.site-footer ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; color: #d1dcf5;}
.site-footer li { line-height: 1.5; }
.site-footer li a, .footer-bottom a { color: #d1dcf5; }
.site-footer li a:hover, .footer-bottom a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .5rem; }
.footer-contact li span { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); color: #d1dcf5; font-size: .72rem; }
.footer-bottom > span:last-child { display: flex; gap: 1rem; }

/* inner pages */
.inner-hero{position: relative;width: 100%;min-height: 300px;display: flex;align-items: flex-end;justify-content: center;overflow: hidden;}
.inner-hero::before{content: '';position: absolute;inset: 0;width: 100%;height: 100%;background: linear-gradient(90deg,rgba(27, 55, 115, .7) 0%,rgba(32, 62, 126, .5) 34%,rgba(22, 42, 75, .02) 100%);z-index: 1;}
.inner-hero img {display: block;width: 100%;height: 300px;object-fit: cover;object-position: center;}
.inner-hero-copy{position: absolute;width: 100%;left: 0;bottom: 30px;padding: 0 20px;text-align: center;box-sizing: border-box;z-index: 2;}
.inner-hero-copy h1{font-size: 36px;line-height: 1.2;margin-bottom: 12px;overflow-wrap: break-word;color:#fff;}
.inner-hero-copy nav a, .inner-hero-copy nav span{text-decoration: none; color:#fff}
.inner-section{padding: 4rem 0;}
.kdc-side{background: #f5f5f5; padding-bottom:0.1rem}
.kdc-side-head{background: var(--blue); text-transform: uppercase; color: #fff; font-size: 1.25rem; letter-spacing: 2px; padding:0.6rem 2rem;}
.kdc-nav{padding-left: 0;}
.kdc-nav li{display: block; padding-left:2rem; padding-top: 1rem;}
.kdc-nav li a{text-decoration: none; color:#666}
.kdc-nav li a.active{color:var(--blue)}
.kdc-nav li a .num{margin-right: 1rem;}
.kdc-cta{background: var(--blue); padding:1rem; margin: 2rem; color: #ffff; font-size:0.85rem}
.testimonials{position: relative; background: url('../images/testimonials-bg.jpg'); background-size:cover; padding: 7rem 0;}
.testimonials::before{content: ''; position:absolute; left:0; top:0; width:100%; height:100%; background: rgba(157, 174, 86, 7.9);
background: linear-gradient(90deg, rgba(157, 174, 86, 0.7) 0%, rgba(58, 96, 163, 0.7) 100%);}
.testimonials .carousel.slide{width: 70%; margin:auto; text-align:center}
.testimonials .carousel-item{min-height: 300px; color:#fff; font-size:1.25rem}
.testimonials .carousel-indicators{position: relative;}



/* === ABOUT PAGE === */

.about-page .about-photo { position: relative; border-radius: 1rem; overflow: hidden; }
.about-page .about-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; display: block; }

/* Stats */
.about-page .about-stat-card {
  background: #f4f4f4;
  border-radius: .75rem;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
}
.about-page .about-stat-card strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: .3rem;
}
.about-page .about-stat-card span {
  font-size: .8rem;
  font-weight: 500;
  color: var(--bs-gray-600);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Value Cards */
.about-page .about-value-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: .75rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: box-shadow .25s;
}
.about-page .about-value-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.07); }

.about-page .about-value-icon {
  width: 48px;
  height: 48px;
  border-radius: .5rem;
  background: rgba(var(--orange), .12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.about-page .about-value-icon i {
  font-size: 1.5rem;
  color: var(--navy);
}
.about-page .about-value-card h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--bs-gray-900);
}
.about-page .about-value-card p {
  font-size: .875rem;
  color: var(--bs-gray-600);
  margin: 0;
  line-height: 1.6;
}

/* ====================================================================================================
                           MEET OUR TEAM
======================================================================================================= */

.team-section { padding: 4rem 0; background: var(--pale); }
.doctor-card { position: relative; display: block; height:340px; overflow: hidden; border-radius: 1rem; background: var(--deep-blue);
  transition: transform .3s ease, box-shadow .3s ease; }
.doctor-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .5s ease; }
.doctor-caption { position: absolute; right: .55rem; bottom: .6rem; left: .55rem; display: grid; gap: .1rem; padding: .7rem .45rem; border-radius: .55rem; background: #fff; text-align: center;
  transition: background .3s ease, transform .3s ease; }
.doctor-caption strong { font-size: clamp(.85rem, 1.2vw, 1.05rem); color: var(--navy); transition: color .3s ease; }
.doctor-caption span { font-size: clamp(.75rem, 1vw, .85rem); color: var(--muted); transition: color .3s ease; }
.doctor-card:hover, .doctor-card:focus-visible { transform: translateY(-6px); }
.doctor-card:hover img, .doctor-card:focus-visible img { transform: scale(1.05); }
.doctor-card:hover .doctor-caption, .doctor-card:focus-visible .doctor-caption { background: var(--navy); transform: translateY(-4px); }
.doctor-card:hover .doctor-caption strong, .doctor-card:focus-visible .doctor-caption strong,
.doctor-card:hover .doctor-caption span, .doctor-card:focus-visible .doctor-caption span { color: #fff; }
.doctor-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.doctor-card:active { transform: translateY(-2px) scale(.99); }
.team-section .row:first-child .doctor-card { height: 480px; }
.team-section .row:first-child .doctor-caption strong { font-size: clamp(1rem, 1.6vw, 1.35rem); }
.team-section .row:first-child .doctor-caption span { font-size: clamp(.85rem, 1.2vw, 1rem); }





/* ====================================================================================================
                                            BLOG 
======================================================================================================= */

.articles-section .navigation.pagination {justify-content: center;margin-top: 3rem;}
.articles-section .navigation.pagination .page-numbers, .pagination_cls .page-numbers {display: inline-block;height: 35px;width: 35px;padding: 0.3rem;border-radius: 4px;text-align: center;background: #dfdfdf;color: #575757;text-decoration: none;}
.articles-section .navigation.pagination .page-numbers.current, .pagination_cls .page-numbers.current {color: #fff;background: var(--navy);}
.articles-section .navigation.pagination .next.page-numbers, .blog-main .navigation.pagination .prev.page-numbers, .pagination_cls .next.page-numbers, .pagination_cls .prev.page-numbers {width: 85px;}

/* ====================================================================================================
                             BEFORE & AFTER GALLERY
======================================================================================================= */

.gallery-section { background: var(--pale); }
.gallery-grid .case-card {
  height: 100%; overflow: hidden; border: 1px solid #edf0f4; border-radius: 1.1rem; background: #fff; transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-grid .case-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(21,46,79,.18); }
.case-compare {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--deep-blue);
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.case-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.case-compare > div { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.case-compare > b {
  position: absolute; top: .75rem; left: .75rem; z-index: 2; padding: .22rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--ink); font-size: .7rem; font-weight: 600; letter-spacing: .06em;text-transform: uppercase;pointer-events: none;}
.case-compare > b:nth-of-type(2) { left: auto; right: .75rem; background: var(--orange); color: #fff; }
.case-compare .handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 3px; margin-left: -1.5px;
  background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.35); pointer-events: none;
}
.case-compare .handle i {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%;
  background: #fff; color: var(--navy); font-size: 1rem; box-shadow: 0 4px 14px rgba(0,0,0,.3);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.case-compare:hover .handle i, .case-compare.is-dragging .handle i { background: var(--orange); color: #fff; transform: translate(-50%, -50%) scale(1.1); }
.case-compare input { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.case-compare:focus-within { outline: 3px solid var(--orange); outline-offset: -3px; }
.case-card .case-info { position: relative; display: block; padding: 1.1rem 3.6rem 1.2rem 1.25rem; color: var(--ink); }
.case-info strong { display: block; font-size: 1.1rem; font-weight: 650; line-height: 1.3; color: var(--ink); }
.case-info span { display: block; margin-top: .2rem; color: var(--muted); font-size: .9rem; }
.case-info i {
  position: absolute; top: 50%; right: 1.1rem; transform: translateY(-50%);
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--light-blue); color: var(--navy); font-size: .85rem;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.case-card .case-info:hover strong { color: var(--navy); }
.case-card .case-info:hover i, .case-card .case-info:focus-visible i { background: var(--orange); color: #fff; transform: translateY(-50%) rotate(45deg); }
.case-card .case-info:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.gallery-section .gallery-note { max-width: 920px; margin: 2.2rem auto 0; color: var(--muted); font-size: .82rem; text-align: center; line-height: 1.6; }



/* ====================================================================================================
                  DENTAL LIBRARY
======================================================================================================= */

.library-section { background: var(--pale); }
.library-search { position: relative; max-width: 560px; margin: 0 auto 2.2rem; }
.library-search > i { position: absolute; top: 50%; left: 1.2rem; transform: translateY(-50%); color: var(--orange); pointer-events: none; }
.library-search input {
  width: 100%; min-height: 54px; padding: .7rem 1.2rem .7rem 3rem; border: 1px solid #dbe3f1; border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 1rem; box-shadow: 0 6px 20px rgba(30,45,70,.06);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.library-search input:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(35,75,153,.15); }
.library-feature {
  display: flex; margin-bottom: 1.5rem; overflow: hidden; border: 1px solid #edf0f4; border-radius: 1.25rem;
  background: #fff; color: var(--ink); box-shadow: 0 8px 28px rgba(30,45,70,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.library-feature:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(21,46,79,.18); color: var(--ink); }
.library-feature:focus-visible, .library-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.library-feature .feature-thumb {
  position: relative; flex: 0 0 42%; min-height: 320px; overflow: hidden;
  background: linear-gradient(140deg, var(--navy), #4a7fe0); /* shows only if the image fails to load */
}
.library-feature .feature-thumb > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
  transition: transform .5s ease;
}
.library-feature:hover .feature-thumb > img { transform: scale(1.05); }

.library-feature .feature-body { display: flex; flex-direction: column; justify-content: center; gap: .9rem; flex: 1; padding: 2.2rem; }
.feature-body b {
  align-self: flex-start; padding: .25rem .8rem; border-radius: 999px; background: #fff1e3; color: var(--orange);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.feature-body strong { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 750; line-height: 1.2; letter-spacing: -.02em; }
.feature-body span { color: var(--muted); line-height: 1.7; }
.feature-body em { margin-top: .4rem; color: var(--navy); font-style: normal; font-weight: 600; display: inline-flex; align-items: center; gap: .5rem; }
.feature-body em i { transition: transform .3s ease; }
.library-feature:hover .feature-body em i { transform: translateX(5px); }
.library-feature:hover .feature-body em { color: var(--orange); }
.library-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #edf0f4; border-radius: 1.1rem;
  background: #fff; color: var(--ink); box-shadow: 0 6px 22px rgba(30,45,70,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.library-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(21,46,79,.18); color: var(--ink); }
.library-card .card-thumb { position: relative; display: grid; place-items: center;width: 100%; height: 170px; overflow: hidden; color: #fff; }

.card-thumb b {
  position: absolute; z-index: 2; left: .9rem; bottom: .8rem; padding: .22rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--ink); font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.library-card .card-thumb {
  position: relative; height: 170px; overflow: hidden;
  background: linear-gradient(140deg, var(--navy), #4a7fe0); /* shows only if the image fails to load */
}
.library-card .card-thumb > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center;
  transition: transform .5s ease;
}
.library-card:hover .card-thumb > img { transform: scale(1.06); }
.library-card .card-thumb::after {
  content: ""; position: absolute; inset: 50% 0 0; z-index: 1;
  background: linear-gradient(0deg, rgba(14,28,66,.55), transparent);
  pointer-events: none;
}

.library-card .card-body { display: flex; flex-direction: column; flex: 1; gap: .55rem; padding: 1.25rem 1.3rem 1.2rem; }
.card-body strong { font-size: 1.12rem; font-weight: 650; line-height: 1.35; }
.library-card:hover .card-body strong { color: var(--navy); }
.card-body span { color: var(--muted); font-size: .92rem; line-height: 1.65; }
.card-body .card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .9rem; border-top: 1px solid #edf0f4; }
.card-meta small { color: var(--muted); font-size: .82rem; }
.card-meta small i { color: var(--orange); margin-right: .25rem; }
.card-meta > em {
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--light-blue); color: var(--navy); font-style: normal; font-size: .85rem;
  transition: background .3s ease, color .3s ease;
}
.card-meta > em i { opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease; }
.library-card:hover .card-meta > em, .library-card:focus-visible .card-meta > em { background: var(--orange); color: #fff; }
.library-card:hover .card-meta > em i, .library-card:focus-visible .card-meta > em i { opacity: 1; transform: none; }
.library-empty { padding: 3rem 1rem; text-align: center; color: var(--muted); }
.library-empty i { display: block; margin-bottom: .8rem; color: var(--navy); font-size: 2rem; }
.library-help { background: var(--navy); color: #fff; }
.library-help h2 { color: #fff; margin-bottom: .5rem; }
.library-help p { margin: 0; color: #dfe8fb; }
.library-help .help-actions { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; align-items: center; }
.library-help .help-actions > a:not(.btn) { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: .5rem; }


/* ====================================================================================================
                           DENTAL LIBRARY INNER
======================================================================================================= */

.read-progress { position: fixed; top: 0; left: 0; z-index: 1100; width: 100%; height: 4px; background: rgba(35,75,153,.12); pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.read-progress.visible { opacity: 1; }
.read-progress span { display: block; width: 0; height: 100%; background: var(--orange); }
.article-section { background: var(--pale); }
.article-main { padding: 2rem; border: 1px solid #edf0f4; border-radius: 1.25rem; background: #fff; box-shadow: 0 8px 28px rgba(30,45,70,.05); }
.article-main .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-bottom: 1.4rem; }
.article-meta b {
  padding: .25rem .8rem; border-radius: 999px; background: #fff1e3; color: var(--orange);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.article-meta small { color: var(--muted); font-size: .85rem; }
.article-meta small i { margin-right: .35rem; color: var(--orange); }
.article-main .article-cover {
  position: relative; display: grid; place-items: center; height: 300px; margin-bottom: 2rem; overflow: hidden;
  border-radius: 1rem; color: #fff; background: linear-gradient(140deg, #f47700, #ffa84f);
}
.article-cover::before, .article-cover::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }
.article-cover::before { width: 300px; height: 300px; top: -110px; right: -90px; }
.article-cover::after { width: 200px; height: 200px; bottom: -80px; left: -60px; }
.article-cover img { position: absolute;inset: 0;width: 100%;height: 100%;object-fit: cover; }
.article-content { color: #4a5360; font-size: 1.02rem; line-height: 1.85; }
.article-content > p:first-child { color: var(--ink); font-size: 1.15rem; line-height: 1.8; }
.article-content p { margin-bottom: 1.15rem; }
.article-content h2 { margin: 2.4rem 0 .9rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--navy); }
.article-content h3 { margin: 1.6rem 0 .6rem; font-size: 1.25rem; }
.article-content ul, .article-content ol { margin: 0 0 1.3rem; padding: 0; list-style: none; display: grid; gap: .55rem; }
.article-content ul li { position: relative; padding-left: 1.5rem; }
.article-content ul li::before { content: ""; position: absolute; top: .72rem; left: 0; width: .5rem; height: .5rem; background: var(--orange); }
.article-content ol { counter-reset: step; }
.article-content ol li { position: relative; padding-left: 2.6rem; counter-increment: step; }
.article-content ol li::before {
  content: counter(step); position: absolute; top: .1rem; left: 0; display: grid; place-items: center;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--light-blue); color: var(--navy); font-size: .85rem; font-weight: 700;
}
.article-content strong { color: var(--ink); }
.article-content a { color: var(--navy); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: var(--orange); }
.article-content .callout { display: flex; gap: 1rem; margin: 1.8rem 0; padding: 1.2rem 1.3rem; border-left: 4px solid var(--orange); background: #fff7ee;align-items: center; }
.callout > i { flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--orange); color: #fff; font-size: 2rem; }
.callout strong { display: block; margin-bottom: .2rem; color: var(--ink); }
.callout span { display: block; color: #5b5346; font-size: .95rem; line-height: 1.7; }
.article-content .table-scroll { margin: 1.6rem 0; overflow-x: auto; border: 1px solid #e4eaf3; border-radius: 1rem; }
.table-scroll table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.table-scroll th, .table-scroll td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid #edf0f4; vertical-align: top; }
.table-scroll thead th { background: var(--navy); color: #fff; font-weight: 600; border-bottom: 0; }
.table-scroll tbody th { width: 28%; color: var(--ink); background: var(--light-blue); font-weight: 600; }
.table-scroll tbody tr:last-child th, .table-scroll tbody tr:last-child td { border-bottom: 0; }
.article-content .faq-accordion { margin-top: 1.2rem; }
.faq-accordion .accordion-item { margin-bottom: .8rem; overflow: hidden; border: 0; border-radius: .35rem !important; background: #f6f8fb; }
.faq-accordion .accordion-header { margin: 0; font-size: inherit; line-height: inherit; letter-spacing: 0; color: inherit; }
.faq-accordion .accordion-button { padding: 1rem; color: var(--navy); background: var(--light-blue); box-shadow: none; font-weight: 700; }
.faq-accordion .accordion-button:not(.collapsed) { color: #fff; background: var(--navy); }
.faq-accordion .accordion-button:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.faq-accordion .accordion-button::after { width: .9rem; }
.faq-accordion .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.faq-accordion .accordion-body { padding: .85rem 1rem 1rem; color: #606a78; background: #f6f8fb; font-size: 1rem; line-height: 1.75; }
.accordion-button::after {
  transition: transform 0.2s ease-in-out;
  background: none;
  content: '\2b'; font-family: 'Font Awesome 7 Free', 'Font Awesome 6 Free'; font-weight: 900;
}
.accordion-button:not(.collapsed)::after {
  background: none;
  content: '\f068'; font-family: 'Font Awesome 7 Free', 'Font Awesome 6 Free'; font-weight: 900;
  transform: none !important;
}
.article-main .article-author { display: flex; gap: 1.2rem; align-items: center; margin-top: 1.6rem; padding: 1.3rem; border-radius: 1rem; background: var(--light-blue); }
.article-author > img {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    min-width: 72px;
    max-width: 72px;
    object-fit: cover;
    border-radius: .8rem;
    background: linear-gradient(140deg, #234b99, #4a7fe0);
    transition: transform .3s ease;
}
.article-author strong { display: block; color: var(--ink); font-size: 1.05rem; }
.article-author small { display: block; margin-bottom: .3rem; color: var(--orange); font-weight: 600; }
.article-author span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.65; }

.article-main .article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.article-nav a {
  display: block; padding: 1rem 1.2rem; border: 1px solid #e4eaf3; border-radius: .9rem; color: var(--ink);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.article-nav a:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 10px 26px rgba(21,46,79,.12); }
.article-nav a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.article-nav a:last-child { text-align: right; }
.article-nav small { display: block; margin-bottom: .25rem; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.article-nav small i { color: var(--orange); }
.article-nav a:first-child small i { margin-right: .35rem; }
.article-nav a:last-child small i { margin-left: .35rem; }
.article-nav strong { display: block; font-size: .98rem; line-height: 1.35; }
.article-nav a:hover strong { color: var(--navy); }
.article-side { position: sticky; top: 90px; display: grid; gap: 1.4rem; }
.article-side .side-box { padding: 1.4rem; border: 1px solid #edf0f4; border-radius: 1.1rem; background: #fff; box-shadow: 0 6px 22px rgba(30,45,70,.05); }
.side-box h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: 1.1rem; }
.side-box h3 i { color: var(--orange); }
.side-box nav { display: grid; gap: .2rem; }
.side-box nav a { display: block; padding: .5rem .8rem; border-left: 3px solid #e4eaf3; border-radius: 0 .5rem .5rem 0; color: #59616b; font-size: .92rem; line-height: 1.4; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.side-box nav a:hover { background: var(--light-blue); color: var(--navy); }
.side-box nav a.active { border-color: var(--orange); background: #fff7ee; color: var(--ink); font-weight: 600; }
.article-side .side-cta { padding: 1.6rem; border-radius: 1.1rem; background: var(--navy); color: #fff; }
.side-cta i.cta-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 50%; background: #fff; color: var(--orange); font-size: 1.2rem; }
.side-cta strong { display: block; margin-bottom: .4rem; font-size: 1.2rem; line-height: 1.3; }
.side-cta span { display: block; margin-bottom: 1.1rem; color: #dfe8fb; font-size: .92rem; line-height: 1.65; }
.side-cta .btn { width: 100%; }
.side-cta > a:not(.btn) { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .9rem; color: #fff; font-weight: 600; }
.side-box .related { display: grid; gap: .9rem; }
.related a { display: flex; align-items: center; gap: .9rem; color: var(--ink); }
.related a > img {flex: 0 0 72px;width: 72px;height: 72px;min-width: 72px;max-width: 72px;object-fit: cover;border-radius: .8rem;background: linear-gradient(140deg, #234b99, #4a7fe0);transition: transform .3s ease;
}
.related a:nth-child(1) > i { background: linear-gradient(140deg, #234b99, #4a7fe0); }
.related a:nth-child(2) > i { background: linear-gradient(140deg, #0f7c8a, #2fb8bd); }
.related a:nth-child(3) > i { background: linear-gradient(140deg, #6d4fd1, #a58cf5); }
.related a:hover > i { transform: scale(1.08) rotate(-4deg); }
.related a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: .5rem; }
.related strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.related a:hover strong { color: var(--navy); }
.related small { color: var(--muted); font-size: .8rem; }
.related small i { color: var(--orange); margin-right: .25rem; }
.side-box > a.back-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem; color: var(--navy); font-weight: 600; font-size: .92rem; }
.side-box > a.back-link:hover { color: var(--orange); }



/* ====================================================================================================
                           BLOG INNER (single post page)
======================================================================================================= */
.blog-section { background: var(--pale); }

/* ---- main column ---- */
.post-main { border: 1px solid #edf0f4; border-radius: 1.25rem; background: #fff; box-shadow: 0 8px 28px rgba(30,45,70,.05); overflow: hidden; }
.post-main .post-body { padding: 2rem 2.2rem 2.2rem; }
.post-main .post-cover {
  position: relative; height: 380px; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, #0f7c8a, #2fb8bd);
}
.post-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-cover b {
  position: absolute; z-index: 2; left: 1.4rem; bottom: 1.4rem; display: grid; place-items: center; width: 4.2rem; height: 4.6rem;
  border-radius: .8rem; background: #fff; color: var(--ink); text-align: center; line-height: 1.1; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.post-cover b span { display: block; font-size: 1.6rem; font-weight: 800; color: var(--orange); }
.post-cover b small { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.post-main .post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid #edf0f4; }
.post-meta small { color: var(--muted); font-size: .88rem; }
.post-meta small i { margin-right: .4rem; color: var(--orange); }
.post-meta a { color: var(--muted); }
.post-meta a:hover { color: var(--orange); }
.post-content { color: #4a5360; font-size: 1.03rem; line-height: 1.85; }
.post-content p { margin-bottom: 1.15rem; }
.post-content h1 { margin: 2rem 0 .9rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--navy); }
.post-content h2 { margin: 2rem 0 .9rem; font-size: clamp(1.4rem, 2.4vw, 1.7rem); color: var(--orange); }
.post-content h3 { margin: 1.5rem 0 .6rem; font-size: 1.25rem; }
.post-content ul, .post-content ol { margin: 0 0 1.3rem; padding: 0; list-style: none; display: grid; gap: .6rem; }
.post-content ul li { position: relative; padding-left: 1.5rem; }
.post-content ul li::before { content: ""; position: absolute; top: .72rem; left: 0; width: .5rem; height: .5rem; background: var(--orange); }
.post-content ol { counter-reset: step; }
.post-content ol li { position: relative; padding-left: 2.8rem; counter-increment: step; }
.post-content ol li::before {
  content: counter(step); position: absolute; top: .05rem; left: 0; display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85rem; font-weight: 700;
}
.post-content strong { color: var(--ink); }
.post-content a { color: var(--navy); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--orange); }
.post-content blockquote { position: relative; margin: 2rem 0; padding: 1.6rem 1.8rem 1.6rem 4.4rem; border-radius: 1rem; background: var(--navy); color: #fff; font-size: 1.15rem; font-weight: 500; line-height: 1.65; }
.post-content blockquote > i { position: absolute; top: 1.5rem; left: 1.5rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--orange); color: #fff; font-size: .9rem; }
.post-content blockquote cite { display: block; margin-top: .8rem; color: #cbd9f5; font-size: .88rem; font-style: normal; font-weight: 400; }
.post-content figure { margin: 2rem 0; }
.post-content figure > div { display: grid; place-items: center; height: 280px; border-radius: 1rem; color: #fff; background: linear-gradient(140deg, #234b99, #4a7fe0); }
.post-content figure > div i { font-size: 4.5rem; }
.post-content figcaption { margin-top: .7rem; color: var(--muted); font-size: .86rem; text-align: center; }
.post-content .callout { display: flex; gap: 1rem; margin: 1.8rem 0; padding: 1.2rem 1.3rem; border-left: 4px solid var(--orange);  background: #fff7ee;     align-items: center;}
.callout > i { flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--orange); color: #fff; }
.callout strong { display: block; margin-bottom: .2rem; color: var(--ink); }
.callout span { display: block; color: #5b5346; font-size: .95rem; line-height: 1.7; }
.post-body .post-author { display: flex; gap: 1.2rem; align-items: center; margin-top: 1.6rem; padding: 1.3rem; border-radius: 1rem; background: var(--light-blue); }
.post-author > img {flex: 0 0 72px;width: 72px;height: 72px;min-width: 72px;max-width: 72px;object-fit: cover;border-radius: .8rem;background: linear-gradient(140deg, #234b99, #4a7fe0);transition: transform .3s ease;}
.post-author strong { display: block; color: var(--ink); font-size: 1.05rem; }
.post-author small { display: block; margin-bottom: .3rem; color: var(--orange); font-weight: 600; }
.post-author span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.blog-side { position: sticky; top: 110px; display: grid; gap: 1.4rem; }
.blog-side .side-box { padding: 1.4rem; border: 1px solid #edf0f4; border-radius: 1.1rem; background: #fff; box-shadow: 0 6px 22px rgba(30,45,70,.05); }
.side-box h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: 1.1rem; }
.side-box h3 i { color: var(--orange); }
.side-box form { position: relative; }
.side-box form input { width: 100%; min-height: 48px; padding: .6rem 3.4rem .6rem 1.1rem; border: 1px solid #dbe3f1; border-radius: 999px; background: var(--pale); color: var(--ink); }
.side-box form input:focus { outline: 0; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(35,75,153,.13); }
.side-box form button { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--orange); color: #fff; cursor: pointer; transition: background .25s ease; }
.side-box form button:hover { background: #da6900; }
.side-box .recent { display: grid; gap: 1rem; }
.side-box .recent a { display: flex; align-items: center; gap: .9rem; color: var(--ink); }
.side-box .recent a > img {flex: 0 0 72px;width: 72px; height: 72px;min-width: 72px; max-width: 72px;object-fit: cover;border-radius: .8rem;background: linear-gradient(140deg, #234b99, #4a7fe0);transition: transform .3s ease;}
.side-box .recent a:hover > img { transform: scale(1.06); }
.side-box .recent a > div { min-width: 0; }
.recent strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.recent a:hover strong { color: var(--navy); }
.recent small { color: var(--muted); font-size: .8rem; }
.recent small i { margin-right: .3rem; color: var(--orange); }
.recent a:focus-visible, .post-tags a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.testimonials-section{
padding:4rem 0 6rem 0;
}

.testimonial-card {
    min-height: 323px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(30, 58, 78, .08);
}

.testimonial-card .stars{color: #ffb600;letter-spacing: .08em;margin-bottom: 1.875rem;font-size: 1.7rem;}

.dynamicForm input[type=text], input[type=email], input[type=tel], input[type=file], select {
    width: 100% !important;
    padding: 8px 40px !important;
}

.inner-page h1{color:#f47700;}
.inner-page h2{color:#234b99;}

.inner-section h1{color:#f47700;}
.inner-section h2{color:#234b99;}

.quick-info a{color:white;}
.custom-link{color:#d26700}
.custom-link:hover{text-decoration:underline;}

.disabled-link {
  pointer-events: none;
  cursor: default;
  color: inherit;
  text-decoration: none;
}


.wrap_box2 {width: 100%;max-width: 306px;min-height: auto;background: #4e83cc;padding: 0.8rem;margin: 0 auto;box-sizing: border-box;}
.wrap_box2 h2 {font-size: 26px;font-weight: 600;margin-bottom: 20px;}
.gal_img img {max-width: 100%;height: auto;display: block;transition: transform 0.3s ease;}
.gal_img img:hover {transform: scale(1.03);}

/* ============== Responsive ================ */

@media (max-width: 1400px) {
  .site-navbar .container { max-width: 100% !important; }
  .site-navbar .site-navigation .site-menu > li > a { font-size: 0.9rem; }
  nav .navbar-brand img { width: 165px; }
  .topline .container { max-width: 100%; }
}

@media (max-width: 1200px) {
  nav .navbar-brand img{width: 115px;}
  .site-navbar .site-navigation .site-menu > li { padding: 0 0.7rem; }
  .site-navbar .site-navigation .site-menu > li > a{font-size: 0.85rem;}
  .site-navbar .site-navigation .site-menu .has-children > .dropdown-arrow {
  position: absolute;
  right: -9px;
  top: 6px;
  background: url('../images/right-arrow-icon.png');
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
  background-size: 7px;
  width: 20px;
  height: 16px;
  background-repeat: no-repeat;
  transform: rotate(90deg);
  background-position: center;
}
.site-navbar .site-navigation .site-menu .has-children .dropdown-menu, .site-navbar .site-navigation .site-menu .has-children:hover .dropdown-menu{display: none;}
  .quick-icon img { width: 40px; }
  .quick-info-item strong { font-size: 1rem; }
  .quick-info-item small { font-size: 0.8rem; }
  .quick-info-item { gap: 1rem; }
  .testimonials .carousel.slide { width: 90%; }
  .team-section .row:first-child .doctor-card { height: 420px; }
  .team-section .doctor-card { height: 300px; }
.about-photo {width: 100%;}

}

@media (max-width: 1015px) {
  .site-navbar .site-navigation .site-menu > li > a { font-size: 0.8rem; }
}

@media (max-width: 992px) {
  .site-navigation { flex-direction: row; }
  .site-menu-toggle { padding: 0.7rem 1rem; background: var(--navy); color: #fff; border-radius: 42px; width: 50px; height: 50px; display: block; }
  .site-menu-toggle span { display: block; height: 1px; width: 20px; background: #fff; margin: 6px 0; }
  .site-mobile-menu .site-nav-wrap > li > ul > li > a { text-decoration: none; }
  .navbar-collapse { padding: .6rem 0 .3rem; }
  .navbar-nav .nav-link { padding: .5rem 0 !important; }
  .nav-cta { margin-top: .4rem; }
  .hero { min-height: 450px; background-position: center, right center; background-size: cover, 80% auto; }
  .hero-copy { max-width: 480px; }
  .hero .carousel,
  .hero .carousel-inner,
  .hero .carousel-item { height: 450px; }
  .section-space { padding: 4.2rem 0; }
  .inner-section { padding: 3rem 0; }
  .doctor-card { height: 300px; }
  .contact-card { visibility: hidden; }
  .appointment-card { position: static; }
  .testimonials .carousel.slide { width: 100%; }
  .team-section { padding: 3rem 0; }
  .team-section .row:first-child .doctor-card { height: 360px; }
  .team-section .doctor-card { height: 260px; }
  .team-section .doctor-caption { right: .4rem; left: .4rem; bottom: .4rem; padding: .55rem .3rem; 
  .library-feature .feature-thumb { flex-basis: 38%; min-height: 280px; }
  .library-feature .feature-body { padding: 1.7rem; }
  .library-help .help-actions { margin-top: 1.25rem; }
  .article-side { position: static; }
  .article-main .article-cover { height: 240px; }
  .blog-side { position: static; }
  .post-main .post-cover { height: 300px; }
  
   .inner-hero,.inner-hero img {min-height: 250px;height: 250px;}
    .inner-hero-copy {bottom: 25px;}
    .inner-hero-copy h1 {font-size: 30px;}

}}

@media (max-width: 768px) {
  html { scroll-padding-top: 72px; }
  .topline-details { gap: .25rem .8rem; }
  .topline-details > span { display: none; }
  .social-links { display: none; }
  .hero { min-height: auto; background-image: linear-gradient(90deg, rgba(35,75,153,.97), rgba(35,75,153,.88)), url("assets/hero-family.jpg"); background-position: center, 62% center; background-size: cover, cover; }
  .hero-inner { padding-top: 4rem; padding-bottom: 4rem; }
.hero-image {object-position: 80% 80%;}
  .hero-copy { max-width: 560px; margin-top: 3rem; }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 3rem); }
  .hero p { font-size: .85rem; }
  .quick-info-item { min-height: 66px; padding-left: .6rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .quick-info-item:last-child { border-bottom: 0; }
  .section-space { padding: 3.6rem 0; }
  .section-heading { margin-bottom: 1.6rem; }
  .about-section .row { --bs-gutter-y: 2.3rem !important; }
  .about-photo {width: 100%;}
    .about-page .about-stat-card strong { font-size: 1.6rem; }
.about-photo img {object-position: center 60%;}
  .about-page .about-value-card { padding: 1.25rem 1rem; }
  .service-card,
  .service-photo-card,
  .service-photo-card img { min-height: 220px; }
  .team-section .row > .col-lg-4 { text-align: center; }
  .team-section .row > .col-lg-4 p { margin-right: auto; margin-left: auto; }
  .doctor-cards { max-width: 540px; margin: 0 auto; }
  .doctor-card { height: clamp(220px, 55vw, 320px); }
  .team-section .doctor-card { height: 340px; }
  .team-section .doctor-caption strong { font-size: .95rem; }
  .team-section .doctor-caption span { font-size: .8rem; }
  .article-card > img { height: clamp(165px, 32vw, 220px); }
  .faq-photo { margin-bottom: .5rem; }
  .contact-section,
  .contact-layout { min-height: auto; }
  .contact-layout { flex-direction: column; align-items: stretch; gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; }
  .contact-card,
  .appointment-card { width: 100%; max-width: 480px; margin: 0 auto; }
  .map-pin { top: 18%; left: 15%; }
  .library-feature { flex-direction: column; }
  .library-feature .feature-thumb { flex: none; min-height: 220px; }
  .library-feature .feature-body { padding: 1.4rem; }
  .post-main .post-body { padding: 1.4rem; }
  .post-main .post-cover { height: 220px; }
  .post-content figure > div { height: 200px; }
  
  .inner-hero {min-height: 220px;height: auto;}
  .inner-hero img {height: 220px;object-fit: cover;}
   .inner-hero-copy {bottom: 20px;: 0 15px;}
    .inner-hero-copy h1 {font-size: 24px;line-height: 1.3;margin-bottom: 8px;}

    
}


@media (min-width: 576px) and (max-width: 992px) { {
.about-page .about-photo img {height: 400px;}
}

@media (max-width: 576px) {
  body { font-size: 14px; }
  .topline { font-size: .8rem; }
  .brand-copy strong { font-size: 1rem; }
  .hero-inner { padding-top: 3rem; padding-bottom: 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section-space { padding: 3rem 0; }
  .inner-section { padding: 2rem 0; }
  .section-title-row { align-items: flex-start !important; flex-direction: column; }
  .section-title-row .btn { margin-top: .75rem; }
  .about-photo img { aspect-ratio: .92; }
  .about-photo {width: 100%;}
.trust-badge strong {font-size: 1.5rem;}
  .doctor-cards { --bs-gutter-x: .65rem; }
  .doctor-card { height: 240px; }
  .doctor-caption { right: .35rem; bottom: .4rem; left: .35rem; padding: .55rem .2rem; }
  .doctor-caption strong { font-size: .63rem; }
  .doctor-caption span { font-size: .67rem; }
  .team-section { padding: 2.25rem 0; }
  .team-section .row:first-child .doctor-card { height: 340px; }
  .team-section .doctor-card { height: 350px; border-radius: .85rem; }
  .team-section .doctor-caption strong { font-size: .8rem; }
  .team-section .doctor-caption span { font-size: .7rem; }
  .inner-hero > img { height: 260px;object-fit: cover; }
  .case-compare { aspect-ratio: 1 / 1; }
  .case-compare .handle i { width: 2.4rem; height: 2.4rem; font-size: .9rem; }
  .library-card .card-thumb { height: 140px; }
  .article-main { padding: 1.2rem; border-radius: 1rem; }
  .article-main .article-cover { height: 180px; border-radius: .8rem; }
  .post-cover b small {font-size: .54rem;}
  .article-cover i { font-size: 4rem; }
  .article-content > p:first-child { font-size: 1.05rem; }
  .article-main .article-author { flex-direction: column; text-align: center; }
  .article-main .article-nav { grid-template-columns: 1fr; }
  .article-nav a:last-child { text-align: left; }
  .post-main { border-radius: 1rem; }
  .post-main .post-body { padding: 1.1rem; }
  .post-content > p:first-child { font-size: 1.06rem; }
  .post-content blockquote { padding: 4.2rem 1.2rem 1.3rem; font-size: 1.05rem; }
  .post-content blockquote > i { top: 1.2rem; left: 1.2rem; }
  .post-body .post-author { flex-direction: column; text-align: center; }
  .post-cover b { left: 1rem; bottom: 1rem; width: 3.6rem; height: 4rem; }
  .footer-bottom { flex-direction: column; }
}

@media (min-width: 992px) {
  .library-help .help-actions { justify-content: flex-end; }
}

@media (hover: none) {
  .doctor-card:hover { transform: none; box-shadow: none; }
  .doctor-card:hover img { transform: none; }
  .doctor-card:hover .doctor-caption { background: #fff; transform: none; }
  .doctor-card:hover .doctor-caption strong { color: var(--ink); }
  .doctor-card:hover .doctor-caption span { color: var(--muted); }
  .gallery-grid .case-card:hover { transform: none; box-shadow: 0 6px 22px rgba(30,45,70,.06); }
  .library-card:hover,
  .library-feature:hover { transform: none; }
  .card-meta > em i { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
    .inner-hero,
    .inner-hero img {min-height: 200px;height: 200px;}
    .inner-hero-copy {bottom: 15px;}
    .inner-hero-copy h1 {font-size: 21px;}
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .doctor-card, .doctor-card img, .doctor-caption, .doctor-caption strong, .doctor-caption span { transition: none; }
  .doctor-card:hover, .doctor-card:hover img, .doctor-card:hover .doctor-caption { transform: none; }
  .case-card, .case-compare .handle i, .case-info i { transition: none; }
  .library-card, .library-feature, .feature-thumb i, .card-meta > em, .card-meta > em i { transition: none; }
  .library-card:hover, .library-feature:hover { transform: none; }
  .article-nav a, .related a > i, .accordion-button::after { transition: none; }
  .recent a > i { transition: none; }
}