/*
Theme Name: Kivicare Child
Template:   kivicare
Version: 2.0.5
License: GNU General Public License v3 or later
Text Domain: kivicare-child
*/

/*
 * daktarcai.com homepage — clean rewrite (v2)
 * Replaces 5 accumulated patch layers that had begun to conflict; every rule
 * here is either verified live or deliberately conservative.
 *
 * HARD RULES learned from breakage in v1.x:
 *  - NEVER set display:flex / stretch on any Elementor wrapper that contains
 *    an owl-carousel, swiper, or slick slider (.iq-team-blog, testimonials,
 *    service slider, counters column) — the sliders compute widths in JS and
 *    flex-stretch collapses them (team section rendered EMPTY).
 *  - NEVER max-height+overflow clip the header (hid the nav entirely).
 *  - NEVER position:sticky the header (activates the theme's own hidden
 *    sticky-clone row -> duplicate header bars).
 *  - html[lang] stays en-US even in Bangla (GTranslate) — no :lang() selectors.
 */

/* ====================== Design tokens ====================== */
:root {
  --dc-font: 'Hind Siliguri', 'Segoe UI', -apple-system, Roboto, sans-serif;
  --dc-ink: #14213d;
  --dc-body: #4b5768;
  --dc-teal: #17a6b3;
  --dc-violet: #7c6ff0;
  --dc-grad-brand: linear-gradient(135deg, #17a6b3 0%, #7c6ff0 100%);
  --dc-pink-tint: #fef5f5;
  --dc-blue-tint: #ecf2ff;
  --dc-hairline: rgba(20, 33, 61, 0.08);
  --dc-shadow: 0 1px 2px rgba(20, 33, 61, 0.05), 0 14px 34px rgba(23, 166, 179, 0.14);
  --dc-shadow-lift: 0 2px 4px rgba(20, 33, 61, 0.06), 0 20px 44px rgba(23, 166, 179, 0.2);
  --dc-radius: 18px;
  --dc-radius-lg: 26px;
  --dc-ease: 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ====================== Base & typography (Bangla-first sizing) ====================== */
body.page-id-33525 {
  font-family: var(--dc-font) !important;
  font-size: 18px;
  line-height: 1.8;
  color: var(--dc-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.page-id-33525 p,
body.page-id-33525 li,
body.page-id-33525 a,
body.page-id-33525 span {
  font-family: var(--dc-font) !important;
}

body.page-id-33525 p {
  font-size: 17px !important;
  line-height: 1.85 !important;
}

body.page-id-33525 h1,
body.page-id-33525 h2,
body.page-id-33525 h3,
body.page-id-33525 h4,
body.page-id-33525 .elementor-heading-title,
body.page-id-33525 .iq-title,
body.page-id-33525 .iq-fancy-title,
body.page-id-33525 .iq-heading-title {
  font-family: var(--dc-font) !important;
  color: var(--dc-ink) !important;
  font-weight: 700 !important;
}

body.page-id-33525 .iq-title-box .iq-title,
body.page-id-33525 h2.iq-title {
  font-size: clamp(28px, 3.4vw, 40px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
}

body.page-id-33525 .iq-subtitle {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--dc-teal) !important;
}

/* ====================== Site-wide fixes (all pages) ====================== */
/* ThemeForest demo colour-switcher — never ship on production */
.iq-theme-feature,
.iq-switchbuttontoggler {
  display: none !important;
}

/* KiviCare auth widget inherits a broken 67px font-size via Bootstrap's
   font-size:100% — verified on /sign-up/. Pin sane values. */
.kc-register-login-form .form-control,
.kc-login-form .form-control,
.kc-signup-form .form-control {
  font-size: 16px !important;
  height: 52px !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
}

.kc-register-login-form label,
.kc-login-form label,
.kc-signup-form label,
.kc-register-login-form .form-check-label {
  font-size: 15px !important;
}

.kc-register-login-form .form-check-input,
.kc-login-form .form-check-input,
.kc-signup-form .form-check-input {
  width: 18px !important;
  height: 18px !important;
}

.kc-register-login-form button[type="submit"],
.kc-login-form button[type="submit"],
.kc-signup-form button[type="submit"] {
  border-radius: 999px !important;
  font-size: 16px !important;
  height: 52px !important;
  background: var(--dc-grad-brand, linear-gradient(135deg, #17a6b3, #7c6ff0)) !important;
  border: 0 !important;
}

/* ====================== Header ======================
   Structure (verified): header.custom-header > .elementor > rows:
   a3ec6b0 = contact strip (logo + email + empty widget + phone),
   7798cb8 / e8f2f62 = nav rows, plus a .has-sticky clone we never want. */
body.page-id-33525 header.custom-header {
  position: relative;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.07);
}

/* theme's sticky-on-scroll clone -> permanent hide (duplicate-bar bug) */
body.page-id-33525 header.custom-header .has-sticky,
body.page-id-33525 .has-sticky.header-default-hidden {
  display: none !important;
}

/* the permanently-empty widget in the contact strip */
body.page-id-33525 .elementor-element-32dbd0a {
  display: none !important;
}

/* row 1 — contact strip: thin tinted layer, logo hard LEFT */
body.page-id-33525 header.custom-header .elementor-element-a3ec6b0 {
  background: linear-gradient(135deg, rgba(23, 166, 179, 0.06), rgba(124, 111, 240, 0.05));
  border-bottom: 1px solid var(--dc-hairline);
  padding-block: 4px !important;
  min-height: 0 !important;
}

body.page-id-33525 header.custom-header .elementor-element-a3ec6b0 .elementor-container {
  justify-content: flex-start !important;
  align-items: center !important;
  min-height: 0 !important;
}

body.page-id-33525 header.custom-header .elementor-element-a3ec6b0 .elementor-container > .elementor-column:first-child {
  margin-right: auto;
}

body.page-id-33525 header.custom-header .elementor-element-a3ec6b0 .elementor-widget-container,
body.page-id-33525 header.custom-header .elementor-element-a3ec6b0 .elementor-widget-wrap {
  margin: 0 !important;
  padding-block: 0 !important;
  text-align: left;
}

body.page-id-33525 header.custom-header .logo_image {
  max-height: 40px;
  width: auto;
  display: block;
  margin-right: auto;
}

/* contact chips: quiet inline items, no card chrome */
body.page-id-33525 header.custom-header .iq-icon-box {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 2px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.page-id-33525 header.custom-header .iq-icon-box .icon-box-img {
  width: 30px;
  height: 30px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.page-id-33525 header.custom-header .iq-icon-box .icon-box-img svg {
  width: 16px;
  height: 16px;
}

body.page-id-33525 header.custom-header .iq-icon-box p,
body.page-id-33525 header.custom-header .iq-icon-box a,
body.page-id-33525 header.custom-header .iq-icon-box span,
body.page-id-33525 header.custom-header .iq-icon-box h5,
body.page-id-33525 header.custom-header .iq-icon-box h6 {
  font-size: 13.5px !important;
  line-height: 1.3 !important;
  margin: 0;
  color: var(--dc-ink) !important;
}

/* rows 2+ — nav: tight white layer with its own seam */
body.page-id-33525 header.custom-header .elementor-element-7798cb8,
body.page-id-33525 header.custom-header .elementor-element-e8f2f62 {
  background: #ffffff;
  padding-block: 2px !important;
  min-height: 0 !important;
  position: relative;
  z-index: 1;
}

/* padding-only compression of the wrappers inside both header rows —
   NO display/overflow/height tricks (those caused the clipped-nav and
   duplicate-bar regressions in v1.x) */
body.page-id-33525 header.custom-header .elementor-element-7798cb8 .elementor-widget-wrap,
body.page-id-33525 header.custom-header .elementor-element-e8f2f62 .elementor-widget-wrap,
body.page-id-33525 header.custom-header .elementor-element-7798cb8 .elementor-widget-container,
body.page-id-33525 header.custom-header .elementor-element-e8f2f62 .elementor-widget-container,
body.page-id-33525 header.custom-header .elementor-element-7798cb8 .elementor-container,
body.page-id-33525 header.custom-header .elementor-element-e8f2f62 .elementor-container {
  padding-block: 0 !important;
  margin-block: 0 !important;
  min-height: 0 !important;
}

body.page-id-33525 header.custom-header .elementor-element-a3ec6b0 .elementor-column,
body.page-id-33525 header.custom-header .elementor-element-a3ec6b0 .elementor-widget {
  min-height: 0 !important;
}

body.page-id-33525 nav.header-default-menu li a {
  font-family: var(--dc-font) !important;
  font-size: 16px !important;
  font-weight: 600;
  color: var(--dc-ink);
  padding-block: 6px !important;
}

body.page-id-33525 nav.header-default-menu li a:hover {
  color: var(--dc-teal);
}

body.page-id-33525 .iqonic-megamenu-container a,
body.page-id-33525 nav .sub-menu a {
  font-size: 15.5px !important;
  line-height: 1.7 !important;
  font-family: var(--dc-font) !important;
}

body.page-id-33525 header.custom-header .elementor-button {
  padding: 8px 16px !important;
  min-height: 0 !important;
  font-size: 14.5px !important;
  border-radius: 999px !important;
}

/* ====================== Buttons ====================== */
body.page-id-33525 .elementor-button {
  font-family: var(--dc-font) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow: var(--dc-shadow) !important;
  transition: transform var(--dc-ease), box-shadow var(--dc-ease);
}

body.page-id-33525 .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--dc-shadow-lift) !important;
}

/* ====================== Section washes ====================== */
body.page-id-33525 .elementor-element-55de12a,
body.page-id-33525 .elementor-element-6efc8380,
body.page-id-33525 .elementor-element-6eef6af9 {
  background: linear-gradient(180deg, #fff9f9 0%, var(--dc-pink-tint) 100%) !important;
}

body.page-id-33525 .elementor-element-1298d214 {
  background: linear-gradient(180deg, #f7faff 0%, var(--dc-blue-tint) 100%) !important;
}

/* ====================== Cards (STATIC grids only — never sliders) ====================== */
body.page-id-33525 .iq-fancy-box {
  background: #ffffff;
  border: 1px solid var(--dc-hairline);
  border-radius: var(--dc-radius-lg);
  padding: 32px 26px;
  box-shadow: var(--dc-shadow);
  transition: transform var(--dc-ease), box-shadow var(--dc-ease);
}

body.page-id-33525 .iq-fancy-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--dc-shadow-lift);
}

/* fancy-box icons are legacy PNGs with their own baked-in background —
   present them as a clean circular chip instead of a double-frame */
body.page-id-33525 .iq-fancy-box .iq-img-area {
  background: none;
  width: auto;
  height: auto;
  margin-bottom: 16px;
}

body.page-id-33525 .iq-fancy-box .iq-img-area img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(20, 33, 61, 0.14);
}

body.page-id-33525 .iq-fancy-title {
  font-size: 21px !important;
}

/* icon boxes OUTSIDE the header */
body.page-id-33525 .elementor-element-40d6a8e7 .iq-icon-box {
  background: #ffffff;
  border: 1px solid var(--dc-hairline);
  border-radius: var(--dc-radius);
  padding: 26px 22px;
  box-shadow: var(--dc-shadow);
  transition: transform var(--dc-ease), box-shadow var(--dc-ease);
}

body.page-id-33525 .elementor-element-40d6a8e7 .iq-icon-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--dc-shadow-lift);
}

/* ====================== Working hours ====================== */
body.page-id-33525 .kivicare-working-hours {
  background: var(--dc-grad-brand);
  border-radius: var(--dc-radius-lg);
  padding: 30px 28px;
  box-shadow: var(--dc-shadow-lift);
  color: #ffffff;
}

body.page-id-33525 .kivicare-working-hours .contact-info {
  color: #ffffff !important;
  font-size: 26px !important;
}

/* ====================== Lists ====================== */
body.page-id-33525 .iq-list-with-icon li.kivicare-list-all {
  font-size: 17px;
  padding: 8px 0;
}

body.page-id-33525 .iq-list-with-icon li.kivicare-list-all i {
  color: var(--dc-teal);
}

/* ====================== Sliders: SKIN ONLY (radius/shadow — no layout) ====================== */
body.page-id-33525 .iq-team-blog {
  border-radius: var(--dc-radius-lg);
  overflow: hidden;
  box-shadow: var(--dc-shadow);
  background: #ffffff;
}

body.page-id-33525 .iq-testimonial-slick .swiper-slide > div {
  background: #ffffff;
  border-radius: var(--dc-radius-lg);
  padding: 30px 28px;
  box-shadow: var(--dc-shadow);
}

/* counters: simple readable panel — the section renders on a coral background */
body.page-id-33525 .iq-counter {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--dc-radius);
  padding: 20px 22px;
}

body.page-id-33525 .iq-counter .counter-content .iq-heading-title,
body.page-id-33525 .iq-counter .iq-counter-info {
  font-size: 30px !important;
}

/* ====================== Footer ======================
   Elementor's per-instance rule sets padding-top:100px on the footer itself
   (measured live — caused a huge blank band). Max-specificity override. */
body.page-id-33525
  footer.elementor-section.elementor-top-section.elementor-element.elementor-element-74dbabc {
  padding-block-start: 48px !important;
  padding-top: 48px !important;
}

body.page-id-33525 footer.elementor-element-74dbabc {
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(23, 166, 179, 0.07), transparent 60%),
    radial-gradient(700px 300px at 88% 100%, rgba(124, 111, 240, 0.07), transparent 60%),
    linear-gradient(180deg, #f6fbfc 0%, #eef4fb 100%) !important;
}

body.page-id-33525 footer.elementor-element-74dbabc .elementor-inner-column > .elementor-widget-wrap {
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.78)) padding-box,
    linear-gradient(135deg, rgba(23, 166, 179, 0.35), rgba(124, 111, 240, 0.06) 45%, rgba(228, 99, 111, 0.25)) border-box;
  border: 1px solid transparent;
  border-radius: var(--dc-radius);
  padding: 26px 24px !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 14px 34px rgba(20, 33, 61, 0.08);
}

body.page-id-33525 footer.elementor-element-74dbabc p,
body.page-id-33525 footer.elementor-element-74dbabc li,
body.page-id-33525 footer.elementor-element-74dbabc a {
  font-size: 17px !important;
  line-height: 1.85 !important;
  color: var(--dc-body) !important;
}

body.page-id-33525 footer.elementor-element-74dbabc a:hover {
  color: var(--dc-teal) !important;
}

body.page-id-33525 footer.elementor-element-74dbabc .elementor-heading-title {
  font-size: 18px !important;
  margin-bottom: 12px;
}

body.page-id-33525 footer.elementor-element-74dbabc ul {
  list-style: none;
  padding-left: 0;
}

/* ====================== Social icons — smart chips (footer + drawer) ======
   Marked-up as a.kivicare-share.elementor-social-icon-* with FontAwesome
   <i> glyphs (verified live). One skin, applied everywhere they appear,
   including the copies added to the #left-sidebar drawer (template 9098). */
body.page-id-33525 a.kivicare-share,
#left-sidebar a.kivicare-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #17a6b3 0%, #7c6ff0 100%);
  color: #ffffff !important;
  font-size: 19px;
  margin: 0 5px;
  box-shadow: 0 8px 20px rgba(23, 166, 179, 0.25);
  transition: transform 200ms cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 200ms ease, filter 200ms ease;
}

body.page-id-33525 a.kivicare-share i,
#left-sidebar a.kivicare-share i {
  color: #ffffff !important;
}

body.page-id-33525 a.kivicare-share:hover,
#left-sidebar a.kivicare-share:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 30px rgba(124, 111, 240, 0.35);
  filter: brightness(1.06);
}

/* per-network accent on hover keeps them recognisable */
body.page-id-33525 a.elementor-social-icon-facebook:hover,
#left-sidebar a.elementor-social-icon-facebook:hover {
  background: #1877f2;
}

body.page-id-33525 a.elementor-social-icon-linkedin:hover,
#left-sidebar a.elementor-social-icon-linkedin:hover {
  background: #0a66c2;
}

body.page-id-33525 a.elementor-social-icon-youtube:hover,
#left-sidebar a.elementor-social-icon-youtube:hover {
  background: #ff0000;
}

/* #left-sidebar native social icons — a DIFFERENT, already-existing widget
   (iqonic_social_icons_effects, SVG-drawn circles under "অনুসরণ করুন"),
   not the same markup as the footer's kivicare-share links. Recolour to the
   same brand look without touching the widget's own hover/animation JS. */
/* Real structure (verified live): <a><svg class="base-circle"><circle
   stroke="#6e7990" fill="none"></svg><i class="fab fa-*"></i></a> — the
   circle is a stroke-only outline (not fillable via `fill`), and the icon
   glyph is a separate sibling <i>, not inside the SVG. */
#left-sidebar .elementor-widget-iqonic_social_icons_effects a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 38px;
  height: 38px;
  margin: 0 5px;
  transition: transform 200ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

#left-sidebar .elementor-widget-iqonic_social_icons_effects a:hover {
  transform: translateY(-3px) scale(1.06);
}

#left-sidebar .elementor-widget-iqonic_social_icons_effects svg.base-circle circle {
  stroke: var(--dc-teal, #17a6b3) !important;
}

#left-sidebar .elementor-widget-iqonic_social_icons_effects a:hover svg.base-circle circle {
  stroke: var(--dc-violet, #7c6ff0) !important;
  fill: var(--dc-violet, #7c6ff0) !important;
}

#left-sidebar .elementor-widget-iqonic_social_icons_effects i {
  position: relative;
  z-index: 1;
  color: var(--dc-teal, #17a6b3) !important;
  font-size: 14px;
  transition: color 200ms ease;
}

#left-sidebar .elementor-widget-iqonic_social_icons_effects a:hover i {
  color: #ffffff !important;
}

/* ====================== Content: owner-requested removal ======================
   "45+ পুরস্কার জিতেছে" (Awards Won) counter — owner asked to remove just
   this one card. Hidden via CSS rather than editing _elementor_data (safer,
   instantly reversible — delete this rule to restore it). */
body.page-id-33525 .elementor-element-6c9bac90 {
  display: none !important;
}

/* ====================== Accessibility ====================== */
@media (prefers-reduced-motion: reduce) {
  body.page-id-33525 .elementor-button,
  body.page-id-33525 .iq-fancy-box,
  body.page-id-33525 .elementor-element-40d6a8e7 .iq-icon-box {
    transition: none;
  }
  body.page-id-33525 .elementor-button:hover,
  body.page-id-33525 .iq-fancy-box:hover,
  body.page-id-33525 .elementor-element-40d6a8e7 .iq-icon-box:hover {
    transform: none;
  }
}

/* ====================== Mobile ====================== */
@media (max-width: 767px) {
  body.page-id-33525 {
    font-size: 17px;
  }
  body.page-id-33525 .iq-fancy-box {
    padding: 24px 20px;
  }
  body.page-id-33525 header.custom-header .logo_image {
    max-height: 34px;
  }
}
