/* ===========================================================
   Dr.Online — Professional theme layer
   Loaded after main.css / custom.css. Same brand color, same
   images, same copy — refined typography, spacing, cards and
   motion for a more polished, professional look.
=========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap");

:root {
  --brand: #34d698;
  --brand-dark: #1fae7a;
  --brand-light: #e8faf3;
  --ink: #1c2b36;
  --muted: #64748b;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow-sm: 0 10px 25px rgba(28, 43, 54, 0.06);
  --shadow-md: 0 20px 45px rgba(28, 43, 54, 0.1);
  --shadow-brand: 0 20px 45px rgba(52, 214, 152, 0.22);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    sans-serif;
  color: var(--ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title h2,
.navbar-nav .nav-item a {
  font-family: "Poppins", "Inter", sans-serif;
}

/* ---------- Section titles ---------- */
.section-title span {
  font-family: "Poppins", sans-serif;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.section-title h2 {
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.5px;
  color: var(--ink);
  position: relative;
}

@media (max-width: 767px) {
  .section-title h2 {
    font-size: 30px;
  }
}

.section-title.mb-55 {
  margin-bottom: 34px;
}

.section-title.text-center h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}

/* ---------- Buttons ---------- */
.theme-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  border-radius: 50px !important;
  padding: 15px 34px !important;
  letter-spacing: 0.2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.theme-btn:hover {
  transform: translateY(-3px);
}

/* ---------- Header ---------- */
.header-top {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
}

.header-top .row {
  direction: ltr;
}

.header-top ul li a {
  font-size: 13px;
  font-weight: 500;
}

.navbar-area {
  box-shadow: 0 1px 0 rgba(28, 43, 54, 0.05);
}

.LogoHead {
  max-height: 42px;
  width: auto;
  zoom: unset;
}

.navbar-nav .nav-item a {
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding-bottom: 4px !important;
}

.navbar-nav .nav-item a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.navbar-nav .nav-item a:hover::after,
.navbar-nav .nav-item a.active::after {
  width: 100%;
}

.sticky {
  box-shadow: 0 15px 40px rgba(28, 43, 54, 0.1) !important;
}

/* ---------- Hero ---------- */
.single-slider {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-position: center 15% !important;
}

.slider-section .single-slider .slider-content {
  padding: 0;
}

.single-slider .row {
  direction: ltr;
}

.single-slider .slider-content {
  text-align: left;
}

@media (max-width: 991px) {
  .single-slider {
    min-height: 66vh;
  }
}

@media (max-width: 767px) {
  .single-slider {
    min-height: auto;
    padding: 100px 0;
  }
}

/* ---------- Section rhythm ---------- */
.we-do-section,
#services.service-section {
  padding: 70px 0 56px;
  background: #fff;
}

.about-section {
  padding: 70px 0 64px;
  background: linear-gradient(180deg, #f8fcfa 0%, #fff 100%);
}

#download.service-section {
  padding: 56px 0 80px;
  background: linear-gradient(180deg, #fff 0%, var(--brand-light) 100%);
}

@media (max-width: 767px) {
  .we-do-section,
  .about-section,
  #services.service-section,
  #download.service-section {
    padding: 50px 0 40px;
  }
}

.single-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0) 68%
  );
}

.single-slider .container {
  position: relative;
  z-index: 1;
}

.slider-content {
  position: relative;
}

.slider-content::before {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  border-radius: 3px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}

.slider-content h1 {
  color: var(--ink) !important;
  font-weight: 800 !important;
  letter-spacing: -1px;
  white-space: pre-line;
}

.slider-content .theme-btn {
  box-shadow: var(--shadow-brand);
}

/* ---------- What we do ---------- */
.we-do-section .graph {
  display: none;
}

.we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1080px;
  margin: 40px auto 0;
}

@media (max-width: 767px) {
  .we-do-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    gap: 20px;
  }
}

.we-do-section .we-do-item {
  margin-bottom: 0;
  height: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 56px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.we-do-section .we-do-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-brand);
}

.we-do-section .we-do-item .we-do-icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  box-shadow: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px !important;
}

.we-do-section .we-do-item .we-do-icon svg {
  width: 44px;
  height: 44px;
}


/* Three distinct card styles: light / solid / dark */
.we-do-section .we-do-item--light {
  border: 1.5px solid #e3ede9;
  box-shadow: none;
}

.we-do-section .we-do-item--light:hover {
  border-color: transparent;
}

.we-do-section .we-do-item--solid {
  background: linear-gradient(150deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: var(--shadow-brand);
  transform: scale(1.04);
}

.we-do-section .we-do-item--solid .we-do-icon {
  background: rgba(255, 255, 255, 0.2);
}

.we-do-section .we-do-item--solid .we-do-icon svg path {
  fill: #fff !important;
}

.we-do-section .we-do-item--solid h5 {
  color: #fff;
}

.we-do-section .we-do-item--solid:hover {
  transform: scale(1.04) translateY(-8px);
}

@media (max-width: 767px) {
  .we-do-section .we-do-item--solid {
    transform: none;
  }
  .we-do-section .we-do-item--solid:hover {
    transform: translateY(-8px);
  }
}

.we-do-section .we-do-item--dark {
  background: var(--ink);
  box-shadow: 0 20px 45px rgba(28, 43, 54, 0.25);
}

.we-do-section .we-do-item--dark .we-do-icon {
  background: rgba(52, 214, 152, 0.16);
}

.we-do-section .we-do-item--dark h5 {
  color: #fff;
}

.we-do-section .we-do-item h5 {
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 0;
}

/* ---------- Why home medical services ---------- */
.why-section {
  position: relative;
  padding: 60px 0 76px;
  background: linear-gradient(180deg, #ffffff 0%, var(--brand-light) 100%);
}

.service-page .why-section {
  padding: 90px 0 100px;
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
  max-width: 940px;
  margin: 34px auto 0;
}

@media (max-width: 767px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-brand);
}

.why-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 460px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .why-item:last-child:nth-child(odd) {
    max-width: none;
    margin: 0;
  }
}

.why-item .why-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item .why-icon svg {
  width: 18px;
  height: 18px;
}

.why-item .why-icon i {
  font-size: 18px;
  color: var(--brand-dark);
}

.why-item p {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.65;
}

/* ---------- Service detail pages ---------- */
.detail-nav .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}

.detail-nav .back-link:hover {
  color: var(--brand-dark);
}

.section-title h1 {
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.5px;
  color: var(--ink);
}

@media (max-width: 767px) {
  .section-title h1 {
    font-size: 28px;
  }
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 60px;
  background: #fff;
  text-align: center;
}

.detail-hero .shape {
  top: 10px;
  left: -60px;
  opacity: 0.6;
}

.detail-hero .hero-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 0 10px rgba(52, 214, 152, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-hero .hero-icon svg {
  width: 46px;
  height: 46px;
}

@media (max-width: 767px) {
  .detail-hero .hero-icon {
    width: 84px;
    height: 84px;
  }
  .detail-hero .hero-icon svg {
    width: 38px;
    height: 38px;
  }
}

.detail-hero p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
  max-width: 760px;
  margin: 0 auto 18px;
}

.notfound-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.notfound-code {
  font-weight: 800;
  font-size: 110px;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--brand-dark);
  margin: 0 0 4px;
}

@media (max-width: 767px) {
  .notfound-code {
    font-size: 72px;
  }
}

.detail-list-section {
  padding: 70px 0 80px;
  background: var(--brand-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 34px auto 0;
}

@media (max-width: 767px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-brand);
}

.feature-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .feature-item:last-child:nth-child(odd) {
    max-width: none;
    margin: 0;
  }
}

.feature-item .feature-icon {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item .feature-icon i {
  font-size: 21px;
  color: var(--brand-dark);
}

.feature-item h5 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--ink);
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.detail-cta {
  padding: 10px 0 90px;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 34px auto 0;
}

@media (max-width: 767px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-brand);
}

.info-card h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--ink);
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.section-intro {
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 640px;
  margin: 0 auto 30px;
}

.detail-callout {
  padding: 20px 0 100px;
  background: var(--brand-light);
}

.detail-callout .callout-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.detail-callout .callout-card h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--ink);
}

.detail-callout .callout-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}

/* ---------- About ---------- */
.about-content p {
  padding: 0 15px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

@media (max-width: 767px) {
  .about-content p {
    padding: 0;
  }
}

.about-img-big {
  position: relative;
  max-width: 720px;
  margin: 10px auto 0;
  padding: 34px 20px 0;
  text-align: center;
}

.about-img-big::before {
  content: "";
  position: absolute;
  inset: 24px 12% 0;
  background: linear-gradient(180deg, var(--brand-light) 0%, rgba(232, 250, 243, 0) 85%);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-img-big img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(28, 43, 54, 0.16));
}

/* ---------- Services ---------- */
.service-section .service-item {
  background: #fff;
  padding: 32px 28px;
}

.service-icon .icon-circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.service-icon .icon-circle svg,
.service-icon .icon-circle img {
  width: 30px !important;
  height: 30px !important;
}

.service-content p {
  margin-bottom: 14px !important;
}

.service-section .service-item:hover .icon-circle {
  background: rgba(255, 255, 255, 0.22);
}

.service-content h4 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px !important;
}

.service-content .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--brand);
  color: var(--brand-dark);
  transition: all 0.3s ease;
}

.service-content .read-more i {
  transition: transform 0.3s ease;
}

.service-content .read-more:hover i {
  transform: translateX(4px);
}

.service-section .service-item:hover .read-more {
  border-color: #fff;
  color: #fff !important;
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: 70px 0 80px;
  background: var(--brand-light);
}

.faq-list {
  max-width: 820px;
  margin: 34px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .i18n-body {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.faq-item .faq-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.faq-item .faq-icon i {
  font-size: 14px;
  color: var(--brand-dark);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  background: var(--brand);
}

.faq-item[open] .faq-icon i {
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 26px 24px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- Download panel ---------- */
.download-panel {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 40px 0;
  box-shadow: var(--shadow-brand);
}

.download-panel .Aroww {
  align-items: center;
  justify-content: space-between;
}

.download-panel .Aroww .p-5 {
  padding: 20px !important;
}

.download-panel .footerDownload {
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.download-panel .footerDownload:hover {
  transform: translateY(-4px);
}

.download-panel .Acoll:last-child img {
  max-height: 320px;
  width: auto;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.25));
}

/* ---------- Blog ---------- */
.single-blog {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-blog:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.blog-img {
  overflow: hidden;
}

.blog-img img {
  transition: transform 0.5s ease;
}

.single-blog:hover .blog-img img {
  transform: scale(1.08);
}

.blog-content {
  padding: 28px 26px 30px;
}

.blog-content .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

.modal-content {
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  border: none;
  padding: 24px 28px;
}

.modal-header .modal-title {
  color: #fff;
  font-weight: 600;
}

.modal-body {
  padding: 28px;
  line-height: 1.9;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 30, 38, 0.55), rgba(20, 30, 38, 0.85));
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-widget h4 {
  position: relative;
  padding-bottom: 14px;
  font-weight: 600;
}

.footer-widget h4::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand);
}

.footer .map-canvas {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.footer .copyright-area {
  border-top-color: rgba(255, 255, 255, 0.15);
}
