/* =========================================================
   KARM DENTAL CLINIC - TOPBAR, HEADER & HERO
   Logo-inspired palette:
   Blue  : #2f7dc3
   Dark  : #08345d
   Green : #58b947
========================================================= */

:root {
  --primary: #2f7dc3;
  --primary-dark: #0d5fa7;
  --navy: #08345d;
  --navy-dark: #05243f;
  --green: #58b947;
  --green-dark: #3c9d31;
  --sky: #eaf6ff;
  --mint: #effbef;
  --white: #ffffff;
  --text: #17324a;
  --muted: #667d91;
  --border: rgba(8, 52, 93, 0.12);
  --shadow: 0 24px 70px rgba(6, 47, 82, 0.14);
  --transition: all 0.35s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "Manrope", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  color: var(--white);
  background: var(--primary);
}

/* ---------------------- TOPBAR ---------------------- */

.topbar {
  position: relative;
  z-index: 1031;
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(
      90deg,
      var(--navy-dark) 0%,
      var(--navy) 70%,
      #0a4475 100%
    );
  font-size: 12px;
}

.topbar::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  height: 2px;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--green)
    );
}

.topbar-wrap {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-contact,
.topbar-right,
.social-links {
  display: flex;
  align-items: center;
}

.topbar-contact {
  gap: 24px;
}

.topbar-contact a,
.topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-contact a {
  color: rgba(255, 255, 255, 0.92);
  transition: var(--transition);
}

.topbar-contact a:hover {
  color: #b9f6ae;
}

.topbar-contact i,
.topbar-note i {
  color: #7ce06c;
}

.topbar-right {
  gap: 20px;
}

.topbar-note {
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.social-links {
  gap: 7px;
}

.social-links a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 11px;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
  transform: translateY(-2px);
}

/* ---------------------- HEADER ---------------------- */

.main-header {
  position: absolute;
  z-index: 1030;
  top: 42px;
  left: 0;
  width: 100%;
  transition: var(--transition);
}

.main-header .navbar {
  min-height: 100px;
  padding: 0;
  border-bottom: 1px solid rgba(8, 52, 93, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 7px 28px rgba(5, 43, 75, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.main-header.scrolled {
  position: fixed;
  top: 0;
  box-shadow: 0 15px 45px rgba(4, 38, 67, 0.12);
  animation: headerSlide 0.45s ease;
}

.main-header.scrolled .navbar {
  min-height: 82px;
  border-bottom-color: transparent;
  background: rgba(255, 255, 255, 0.99);
}

@keyframes headerSlide {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}


/* Logo */
.navbar-brand {
  width: 225px;
  flex-shrink: 0;
  margin-right: 25px;
  padding: 0;
}

.navbar-brand img {
  width: 100%;
  height: 82px;
  display: block;
  object-fit: contain;
  object-position: left center;
  transition: var(--transition);
}

.main-header.scrolled .navbar-brand img {
  height: 68px;
}


/* Main navigation */
.navbar-nav {
  gap: 2px;
}

.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-link {
  min-height: 100px;
  padding: 0 11px !important;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.15px;
  white-space: nowrap;
  transition: var(--transition);
}

.main-header.scrolled .navbar-nav .nav-link {
  min-height: 82px;
}

/* =====================================================
   NAVIGATION SPLIT BACKGROUND ANIMATION
===================================================== */

.navbar-nav .nav-link {
  overflow: visible;
}

/* Inner text container */
.navbar-nav .nav-text {
  min-height: 34px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: 8px;
  transition:
    color 0.4s ease,
    transform 0.4s ease;
}

/* Keep text above animated backgrounds */
.navbar-nav .nav-text {
  isolation: isolate;
}

/* Top and bottom animated layers */
.navbar-nav .nav-text::before,
.navbar-nav .nav-text::after {
  position: absolute;
  z-index: -1;
  width: 0;
  height: 50%;
  content: "";
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--green)
  );
  transition: width 0.45s ease;
}

/* Top layer enters from right */
.navbar-nav .nav-text::before {
  top: 0;
  right: 0;
}

/* Bottom layer enters from left */
.navbar-nav .nav-text::after {
  bottom: 0;
  left: 0;
}

/* Hover animation */
.navbar-nav .nav-link:hover .nav-text::before,
.navbar-nav .nav-link:hover .nav-text::after {
  width: 100%;
}

/* Active page animation remains visible */
.navbar-nav .nav-link.active .nav-text::before,
.navbar-nav .nav-link.active .nav-text::after,
.navbar-nav .nav-link.show .nav-text::before,
.navbar-nav .nav-link.show .nav-text::after {
  width: 100%;
}

/* Text colour */
.navbar-nav .nav-link:hover .nav-text,
.navbar-nav .nav-link.active .nav-text,
.navbar-nav .nav-link.show .nav-text {
  color: var(--white);
}

/* Small movement on hover */
.navbar-nav .nav-link:hover .nav-text {
  transform: translateY(-2px);
}


/* Remove Bootstrap default caret */
.navbar-nav .dropdown-toggle::after {
  display: none;
}


/* Custom visible dropdown arrow */
.dropdown-arrow {
  width: 19px;
  height: 19px;
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  color: var(--green-dark);
  border: 1px solid rgba(88, 185, 71, 0.2);
  border-radius: 50%;
  background: rgba(88, 185, 71, 0.09);
  font-size: 13px;
  transition: var(--transition);
}

.dropdown-toggle:hover .dropdown-arrow,
.dropdown-toggle.show .dropdown-arrow {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.dropdown-toggle.show .dropdown-arrow {
  transform: rotate(180deg);
}


/* Dropdown common */

.dropdown-menu {
  margin-top: 0;
  padding: 12px;
  border: 1px solid rgba(8, 52, 93, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 24px 65px rgba(3, 43, 76, 0.18);
}

.dropdown-menu::before {
  position: absolute;
  top: -7px;
  left: 35px;
  width: 14px;
  height: 14px;
  content: "";
  border-top: 1px solid rgba(8, 52, 93, 0.08);
  border-left: 1px solid rgba(8, 52, 93, 0.08);
  background: var(--white);
  transform: rotate(45deg);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--text);
  white-space: normal;
  transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--navy);
  border-color: rgba(47, 125, 195, 0.1);
  background:
    linear-gradient(
      100deg,
      var(--sky),
      var(--mint)
    );
  transform: translateY(-2px);
}

.dropdown-icon {
  width: 45px;
  height: 45px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  color: var(--primary);
  border: 1px solid rgba(47, 125, 195, 0.14);
  border-radius: 13px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(47, 125, 195, 0.09);
  font-size: 17px;
  transition: var(--transition);
}

.dropdown-item:hover .dropdown-icon {
  color: var(--white);
  border-color: var(--primary);
  background: var(--primary);
}

.dropdown-text {
  min-width: 0;
}

.dropdown-text strong,
.dropdown-text small {
  display: block;
}

.dropdown-text strong {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.dropdown-text small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

/* =====================================================
   SERVICES NAME-ONLY DROPDOWN
===================================================== */

.services-dropdown {
  position: relative;
}

/* Remove Bootstrap's default dropdown arrow */
.services-dropdown .dropdown-toggle::after {
  display: none;
}

/* Custom visible arrow */
.services-dropdown .dropdown-arrow {
  width: 19px;
  height: 19px;
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  color: var(--green-dark);
  border: 1px solid rgba(88, 185, 71, 0.22);
  border-radius: 50%;
  background: rgba(88, 185, 71, 0.1);
  font-size: 13px;
  transition: var(--transition);
}

.services-dropdown .dropdown-toggle:hover .dropdown-arrow,
.services-dropdown .dropdown-toggle.show .dropdown-arrow {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.services-dropdown .dropdown-toggle.show .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown container */
.services-name-menu {
  left: 50% !important;
  width: 360px;
  height: 360px;
  overflow-y: scroll;
  margin-top: 0;
  padding: 14px;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  /* overflow: hidden; */
  border: 1px solid rgba(8, 52, 93, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 25px 65px rgba(5, 43, 75, 0.18);
  transform: translateX(-42%);
}

/* Bootstrap adds show class */
.services-name-menu.show {
  display: grid;
}

/* Small decorative top pointer */
.services-name-menu::before {
  position: absolute;
  top: -7px;
  left: 44%;
  width: 14px;
  height: 14px;
  content: "";
  border-top: 1px solid rgba(8, 52, 93, 0.09);
  border-left: 1px solid rgba(8, 52, 93, 0.09);
  background: var(--white);
  transform: rotate(45deg);
}

/* Individual service link */
.services-name-menu .service-name-link {
  min-height: 48px;
  padding: 13px 42px 13px 17px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--navy);
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  white-space: normal;
  transition: all 0.3s ease;
}

/* Decorative left line */
.services-name-menu .service-name-link::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 0;
  content: "";
  border-radius: 0 5px 5px 0;
  background: linear-gradient(
    180deg,
    var(--primary),
    var(--green)
  );
  transform: translateY(-50%);
  transition: height 0.3s ease;
}

/* Decorative arrow — no HTML icon required */
.services-name-menu .service-name-link::after {
  position: absolute;
  top: 50%;
  right: 16px;
  content: "\f178";
  color: var(--green);
  font-family: "FontAwesome";
  font-size: 12px;
  opacity: 0;
  transform: translate(-8px, -50%);
  transition: all 0.3s ease;
}

.services-name-menu .service-name-link:hover,
.services-name-menu .service-name-link:focus {
  color: var(--primary-dark);
  border-color: rgba(47, 125, 195, 0.1);
  background: linear-gradient(
    100deg,
    rgba(234, 246, 255, 0.95),
    rgba(239, 251, 239, 0.9)
  );
  transform: translateY(-2px);
}

.services-name-menu .service-name-link:hover::before,
.services-name-menu .service-name-link:focus::before {
  height: 27px;
}

.services-name-menu .service-name-link:hover::after,
.services-name-menu .service-name-link:focus::after {
  opacity: 1;
  transform: translate(0, -50%);
}

/* Subtle dividing lines */
.services-name-menu li {
  position: relative;
}

.services-name-menu li:nth-child(odd)::after {
  position: absolute;
  top: 9px;
  right: -3px;
  bottom: 9px;
  width: 1px;
  content: "";
  background: rgba(8, 52, 93, 0.07);
}

/* Desktop hover opening */
@media (min-width: 1200px) {
  .services-dropdown:hover > .services-name-menu {
    display: grid;
    animation: servicesNameDropdown 0.28s ease;
  }

  .services-dropdown:hover .dropdown-arrow {
    color: var(--white);
    border-color: var(--green);
    background: var(--green);
    transform: rotate(180deg);
  }

  @keyframes servicesNameDropdown {
    from {
      opacity: 0;
      transform: translate(-42%, 14px);
    }

    to {
      opacity: 1;
      transform: translate(-42%, 0);
    }
  }
}

/* Tablet and mobile */
@media (max-width: 1199.98px) {
  .services-name-menu {
    left: auto !important;
    width: 100%;
    margin: 7px 0 10px;
    padding: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 14px;
    box-shadow: none;
    background: #f8fcff;
    transform: none !important;
  }

  .services-name-menu::before {
    display: none;
  }

  .services-name-menu .service-name-link {
    min-height: 46px;
    background: var(--white);
  }
}

@media (max-width: 575.98px) {
  .services-name-menu {
    grid-template-columns: 1fr;
  }

  .services-name-menu li:nth-child(odd)::after {
    display: none;
  }

  .services-name-menu .service-name-link {
    min-height: 45px;
    padding: 12px 40px 12px 14px;
    font-size: 12px;
  }
}

/* Gallery dropdown */

.gallery-dropdown {
  width: 330px;
}

.gallery-dropdown li + li {
  margin-top: 5px;
}

.gallery-dropdown-item {
  min-height: 70px;
}

.item-arrow {
  margin-left: auto;
  color: var(--green);
  font-size: 15px;
  transition: var(--transition);
}

.gallery-dropdown-item:hover .item-arrow {
  transform: translateX(4px);
}


/* Appointment button */

.header-btn {
  min-width: 195px;
  min-height: 58px;
  margin-left: 17px;
  padding: 7px 9px 7px 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  position: relative;
  color: var(--white);
  border-radius: 16px;
  background:
    linear-gradient(
      105deg,
      var(--primary) 0%,
      var(--primary-dark) 68%,
      var(--green) 68%,
      var(--green-dark) 100%
    );
  box-shadow: 0 15px 35px rgba(47, 125, 195, 0.25);
  transition: var(--transition);
}

.header-btn:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(47, 125, 195, 0.34);
}

.header-btn-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.17);
  font-size: 15px;
}

.header-btn-text {
  min-width: 94px;
  line-height: 1.1;
}

.header-btn-text small,
.header-btn-text strong {
  display: block;
}

.header-btn-text small {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.header-btn-text strong {
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.header-btn-arrow {
  width: 26px;
  height: 26px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
  font-size: 10px;
  transition: var(--transition);
}

.header-btn:hover .header-btn-arrow {
  transform: translateX(3px);
}


/* Mobile menu button */

.navbar-toggler {
  width: 48px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--sky);
  box-shadow: none !important;
}

.menu-line {
  width: 100%;
  height: 2px;
  display: block;
  margin: 5px 0;
  border-radius: 10px;
  background: var(--navy);
  transition: var(--transition);
}

.navbar-toggler[aria-expanded="true"] .menu-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .menu-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .menu-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* Desktop dropdown hover */

@media (min-width: 1200px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    animation: dropdownFade 0.26s ease;
  }

  .navbar .dropdown:hover .dropdown-arrow {
    color: var(--white);
    border-color: var(--green);
    background: var(--green);
    transform: rotate(180deg);
  }

  @keyframes dropdownFade {
    from {
      opacity: 0;
      transform: translateY(12px);
    }

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

  .navbar .services-dropdown:hover > .services-menu {
    animation: servicesDropdownFade 0.26s ease;
  }

  @keyframes servicesDropdownFade {
    from {
      opacity: 0;
      transform: translate(-42%, 12px);
    }

    to {
      opacity: 1;
      transform: translate(-42%, 0);
    }
  }
}


/* Header responsive */

@media (max-width: 1399.98px) {
  .navbar-brand {
    width: 205px;
    margin-right: 12px;
  }

  .navbar-nav .nav-link {
    padding-right: 8px !important;
    padding-left: 8px !important;
    font-size: 12px;
  }

  

  .header-btn {
    min-width: 180px;
    margin-left: 10px;
  }
}

@media (max-width: 1199.98px) {
  .topbar-note {
    display: none;
  }

  .main-header .navbar {
    min-height: 82px;
    padding: 5px 0;
  }

  .navbar-brand img,
  .main-header.scrolled .navbar-brand img {
    height: 68px;
  }

  .navbar-collapse {
    max-height: calc(100vh - 120px);
    margin-top: 7px;
    padding: 16px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .navbar-nav {
    align-items: stretch !important;
    gap: 0;
  }

  .navbar-nav .nav-link,
  .main-header.scrolled .navbar-nav .nav-link {
    min-height: auto;
    padding: 13px 10px !important;
    justify-content: space-between;
    border-bottom: 1px solid rgba(8, 52, 93, 0.08);
  }

  

  .dropdown-arrow {
    margin-left: auto;
  }

  .dropdown-menu {
    min-width: 100%;
    width: 100%;
    margin: 7px 0 10px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: none;
    background: #f8fcff;
  }

  .dropdown-menu::before {
    display: none;
  }

  

  .services-menu .dropdown-item,
  .gallery-dropdown .dropdown-item {
    background: var(--white);
  }

  .dropdown-menu-header {
    align-items: flex-start;
  }

  
  .header-btn {
    width: 100%;
    max-width: 270px;
    margin: 16px 0 2px;
  }

  .min-vh-hero {
    padding-top: 165px;
  }
}

@media (max-width: 991.98px) {
  .topbar-contact {
    gap: 15px;
  }
}

@media (max-width: 767.98px) {
  .topbar {
    display: none;
  }

  .main-header {
    top: 0;
  }

  .main-header .navbar {
    min-height: 74px;
  }

  .navbar-brand {
    width: 185px;
  }

  .navbar-brand img,
  .main-header.scrolled .navbar-brand img {
    height: 58px;
  }

  
}

@media (max-width: 575.98px) {
  .navbar-brand {
    width: 165px;
  }

  .navbar-toggler {
    width: 44px;
    height: 42px;
  }

}
/* ---------------------- HERO ---------------------- */

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.05);
  transition: transform 7s ease;
}

.carousel-item.active .hero-bg {
  transform: scale(1);
}

.hero-slide-one .hero-bg {
  background-image: url("https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=2000&q=88");
  background-position: center 42%;
}

.hero-slide-two .hero-bg {
  background-image: url("https://images.unsplash.com/photo-1609840114035-3c981b782dfe?auto=format&fit=crop&w=2000&q=88");
  background-position: center 45%;
}

.hero-slide-three .hero-bg {
  background-image: url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&w=2000&q=88");
  background-position: center;
}

.hero-overlay {
  z-index: 1;
}

.hero-slide-one .hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 36, 63, 0.96) 0%, rgba(8, 52, 93, 0.86) 42%, rgba(8, 52, 93, 0.25) 75%, rgba(8, 52, 93, 0.18) 100%),
    linear-gradient(0deg, rgba(4, 29, 51, 0.46), transparent 55%);
}

.hero-slide-two .hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 39, 70, 0.96) 0%, rgba(7, 62, 105, 0.83) 48%, rgba(47, 125, 195, 0.14) 100%),
    linear-gradient(0deg, rgba(4, 29, 51, 0.42), transparent 55%);
}

.hero-slide-three .hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 34, 59, 0.95) 0%, rgba(8, 52, 93, 0.79) 48%, rgba(88, 185, 71, 0.12) 100%),
    linear-gradient(0deg, rgba(4, 29, 51, 0.46), transparent 58%);
}

.hero-container {
  position: relative;
  z-index: 4;
}

.min-vh-hero {
  min-height: 650px;
  padding-top: 110px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 730px;
}

.hero-eyebrow {
  width: fit-content;
  margin-bottom: 22px;
  padding: 7px 15px 7px 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #eaf7ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.eyebrow-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 8px 20px rgba(88, 185, 71, 0.35);
}

.hero-content h1,
.hero-content h2 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--white);
  font-family: "Manrope", serif;
  font-size: clamp(52px, 5.4vw, 82px);
  font-weight: 700;
  letter-spacing: -2.7px;
  line-height: 1.02;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.16);
}

.hero-content h1 span,
.hero-content h2 span {
  display: block;
  color: #aaf19d;
  font-style: italic;
  font-weight: 600;
}

.hero-content p {
  max-width: 625px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.btn-primary-custom {
  min-height: 57px;
  padding: 10px 20px 10px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  overflow: hidden;
  position: relative;
  color: var(--white);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 15px 35px rgba(88, 185, 71, 0.3);
  font-size: 14px;
  font-weight: 800;
  transition: var(--transition);
}

.btn-primary-custom::before {
  position: absolute;
  top: -60%;
  left: -40%;
  width: 30px;
  height: 180%;
  content: "";
  background: rgba(255, 255, 255, 0.33);
  transform: rotate(25deg);
  transition: left 0.55s ease;
}

.btn-primary-custom:hover {
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(88, 185, 71, 0.38);
}

.btn-primary-custom:hover::before {
  left: 120%;
}

.btn-primary-custom i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.17);
}

.btn-video {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-video span {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-video:hover {
  color: #b9f6ae;
}

.btn-video:hover span {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
  transform: scale(1.08);
}



.hero-info-card {
  max-width: 380px;
  margin-left: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px 6px 28px 28px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.info-card-top {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.75);
}

.info-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: var(--primary);
}

.available-dot {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: #8df57d;
  box-shadow: 0 0 0 6px rgba(141, 245, 125, 0.12);
}

.hero-info-card h3 {
  margin-bottom: 20px;
  color: var(--white);
  font-family: "Manrope", serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-info-card ul {
  margin: 0 0 23px;
  padding: 0;
  list-style: none;
}

.hero-info-card li {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 12px;
  font-weight: 600;
}

.hero-info-card li i {
  color: #94ee85;
}

.hero-info-card > a {
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-weight: 800;
}

.hero-info-card > a > i {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: var(--green);
}

.hero-info-card > a small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 500;
}


.decor {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border-radius: 50%;
}

.decor-one {
  top: 17%;
  left: 47%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 35px rgba(255, 255, 255, 0.03);
}

.decor-two {
  right: -130px;
  bottom: -90px;
  width: 390px;
  height: 390px;
  background: radial-gradient(circle, rgba(88, 185, 71, 0.3), transparent 68%);
}

.decor-three {
  top: 40%;
  right: 34%;
  width: 16px;
  height: 16px;
  background: var(--green);
  box-shadow:
    56px -120px 0 -4px rgba(255, 255, 255, 0.55),
    -74px 115px 0 -2px rgba(88, 185, 71, 0.65),
    142px 90px 0 -5px rgba(255, 255, 255, 0.55);
}

.decor-four {
  top: -180px;
  right: 15%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 65px rgba(255, 255, 255, 0.025),
    inset 0 0 0 130px rgba(88, 185, 71, 0.03);
}

.decor-five {
  left: 38%;
  bottom: -160px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(47, 125, 195, 0.32), transparent 68%);
}

.custom-indicators {
  z-index: 8;
  right: auto;
  bottom: 52px;
  left: max(24px, calc((100vw - 1320px) / 2));
  width: auto;
  margin: 0;
  gap: 8px;
}

.custom-indicators [data-bs-target] {
  width: 48px;
  height: 38px;
  margin: 0;
  text-indent: 0;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 12px;
  opacity: 1;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.custom-indicators [data-bs-target] span {
  font-size: 11px;
  font-weight: 800;
}

.custom-indicators .active {
  width: 68px;
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.custom-control {
  z-index: 8;
  top: auto;
  bottom: 52px;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  opacity: 1;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.custom-control:hover {
  border-color: var(--primary);
  background: var(--primary);
}

.carousel-control-prev {
  left: auto;
  right: calc(max(24px, (100vw - 1320px) / 2) + 51px);
}

.carousel-control-next {
  right: max(24px, calc((100vw - 1320px) / 2));
}

.hero-scroll {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: 23px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero-scroll i {
  color: #9cef8f;
  font-size: 18px;
  animation: scrollMove 1.5s ease-in-out infinite;
}

@keyframes scrollMove {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}

.hero-bottom-shape {
  position: absolute;
  z-index: 7;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 72px;
  pointer-events: none;
}

.hero-bottom-shape svg {
  width: 100%;
  height: 100%;
}

.hero-bottom-shape path {
  fill: var(--white);
}

/* Animate slide content every time */
.carousel-item .hero-content > * {
  opacity: 0;
  transform: translateY(34px);
}

.carousel-item.active .hero-content > * {
  animation: heroReveal 0.78s ease forwards;
}

.carousel-item.active .hero-content > *:nth-child(1) {
  animation-delay: 0.15s;
}

.carousel-item.active .hero-content > *:nth-child(2) {
  animation-delay: 0.28s;
}

.carousel-item.active .hero-content > *:nth-child(3) {
  animation-delay: 0.4s;
}

.carousel-item.active .hero-content > *:nth-child(4) {
  animation-delay: 0.52s;
}

.carousel-item.active .hero-content > *:nth-child(5) {
  animation-delay: 0.64s;
}

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

/* ---------------------- RESPONSIVE ---------------------- */

@media (min-width: 1200px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    animation: dropdownFade 0.26s ease;
  }

  @keyframes dropdownFade {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 1399.98px) {
  .navbar-brand {
    width: 205px;
  }

  .navbar-nav .nav-link {
    padding-right: 9px !important;
    padding-left: 9px !important;
    font-size: 13px;
  }

  .navbar-nav .nav-link::after {
    right: 9px;
    left: 9px;
  }

  .header-btn {
    min-width: 165px;
    margin-left: 10px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 58px;
  }
}

@media (max-width: 1199.98px) {
  .topbar-note {
    display: none;
  }

  .main-header .navbar {
    min-height: 80px;
  }

  .navbar-brand img {
    height: 64px;
  }

  .navbar-collapse {
    max-height: calc(100vh - 120px);
    margin-top: 10px;
    padding: 16px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .navbar-nav .nav-link {
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(8, 52, 93, 0.08);
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar-nav .dropdown-toggle {
    padding-right: 36px !important;
  }

  .navbar-nav .dropdown-toggle::before {
    right: 15px;
  }

  .dropdown-menu {
    min-width: 100%;
    margin: 5px 0 10px;
    padding: 8px;
    border: 1px solid var(--border);
    box-shadow: none;
    background: #f8fcff;
  }

  .dropdown-menu::before {
    display: none;
  }

  .header-btn {
    width: 100%;
    max-width: 270px;
    margin: 16px 0 2px;
  }

  .min-vh-hero {
    padding-top: 165px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 60px;
  }
}

@media (max-width: 991.98px) {
  .topbar-contact {
    gap: 15px;
  }

  .hero-slide-one .hero-overlay,
  .hero-slide-two .hero-overlay,
  .hero-slide-three .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 32, 56, 0.96) 0%, rgba(8, 52, 93, 0.83) 68%, rgba(8, 52, 93, 0.48) 100%),
      linear-gradient(0deg, rgba(4, 29, 51, 0.5), transparent 58%);
  }

  .hero-slide,
  .min-vh-hero {
    min-height: 760px;
  }

  .hero-content {
    max-width: 680px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 58px;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .topbar {
    display: none;
  }

  .main-header {
    top: 0;
  }

  .main-header .navbar {
    min-height: 72px;
  }

  .navbar-brand {
    width: 185px;
  }

  .navbar-brand img {
    height: 56px;
  }

  .hero-slide,
  .min-vh-hero {
    min-height: 720px;
  }

  .min-vh-hero {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .hero-content h1,
  .hero-content h2 {
    margin-bottom: 19px;
    font-size: 48px;
    letter-spacing: -1.8px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.7;
  }


  .custom-indicators {
    bottom: 43px;
    left: 16px;
  }

  .custom-control {
    bottom: 43px;
  }

  .carousel-control-prev {
    right: 65px;
  }

  .carousel-control-next {
    right: 16px;
  }

  .hero-bottom-shape {
    height: 45px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    width: 165px;
  }

  .navbar-toggler {
    width: 44px;
    height: 42px;
  }

  .hero-slide,
  .min-vh-hero {
    min-height: 600px;
  }

  .hero-bg {
    background-position: 62% center !important;
  }

  .hero-slide-one .hero-overlay,
  .hero-slide-two .hero-overlay,
  .hero-slide-three .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 29, 52, 0.97) 0%, rgba(8, 52, 93, 0.87) 74%, rgba(8, 52, 93, 0.7) 100%),
      linear-gradient(0deg, rgba(4, 29, 51, 0.58), transparent 60%);
  }

  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .eyebrow-icon {
    width: 29px;
    height: 29px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 41px;
    letter-spacing: -1.4px;
    line-height: 1.05;
  }

  .hero-content p {
    margin-bottom: 26px;
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .btn-primary-custom {
    min-height: 54px;
    padding-left: 18px;
  }

  .hero-trust {
    margin-top: 28px;
  }

  .trust-text strong {
    max-width: 150px;
  }

  .custom-indicators [data-bs-target] {
    width: 40px;
  }

  .custom-indicators .active {
    width: 52px;
  }

  .custom-control {
    display: none;
  }
}

/* =====================================================
   ABOUT US SECTION
===================================================== */

.kd-about-section {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(47, 125, 195, 0.08),
      transparent 24%
    ),
    radial-gradient(
      circle at 92% 86%,
      rgba(88, 185, 71, 0.08),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fcff 100%
    );
}

/* Decorative dotted patterns */

.kd-about-pattern {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(
      circle,
      rgba(47, 125, 195, 0.25) 1.5px,
      transparent 1.5px
    );
  background-size: 17px 17px;
}

.kd-about-pattern-one {
  top: 70px;
  left: -20px;
  width: 180px;
  height: 190px;
}

.kd-about-pattern-two {
  right: -25px;
  bottom: 60px;
  width: 190px;
  height: 180px;
}


/* =====================================================
   LEFT IMAGE COMPOSITION
===================================================== */

.kd-about-visual {
  position: relative;
  min-height: 620px;
  padding: 28px 42px 50px 15px;
}

.kd-about-image-shape {
  position: absolute;
  top: 0;
  right: 65px;
  width: 78%;
  height: 88%;
  border-radius: 42% 58% 28% 72% / 40% 30% 70% 60%;
  background:
    linear-gradient(
      145deg,
      rgba(47, 125, 195, 0.15),
      rgba(88, 185, 71, 0.12)
    );
  transform: rotate(-4deg);
}

.kd-about-image-shape::before {
  position: absolute;
  inset: 20px;
  content: "";
  border: 1px solid rgba(47, 125, 195, 0.16);
  border-radius: inherit;
}

.kd-about-main-image {
  position: relative;
  z-index: 2;
  width: 84%;
  height: 525px;
  overflow: hidden;
  border: 9px solid var(--white);
  border-radius: 34px 110px 34px 34px;
  background: var(--sky);
  box-shadow:
    0 30px 75px rgba(6, 47, 82, 0.18);
}

.kd-about-main-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.kd-about-visual:hover .kd-about-main-image img {
  transform: scale(1.05);
}

.kd-about-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 55%,
      rgba(5, 36, 63, 0.5) 100%
    );
}

.kd-about-image-label {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.kd-about-image-label small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.kd-about-label-icon {
  width: 44px;
  height: 44px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  border-radius: 13px;
  background:
    linear-gradient(
      135deg,
      var(--green),
      var(--green-dark)
    );
  box-shadow:
    0 10px 25px rgba(88, 185, 71, 0.35);
}


/* Experience card */

.kd-about-experience-card {
  position: absolute;
  z-index: 5;
  top: 75px;
  right: 0;
  width: 180px;
  min-height: 150px;
  padding: 22px;
  color: var(--white);
  border: 6px solid var(--white);
  border-radius: 25px 25px 25px 6px;
  background:
    linear-gradient(
      145deg,
      var(--primary),
      var(--primary-dark)
    );
  box-shadow:
    0 22px 50px rgba(47, 125, 195, 0.28);
}

.kd-about-experience-number {
  margin-bottom: 5px;
  font-family: "Manrope", serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 0.95;
}

.kd-about-experience-number span {
  color: #a8f09c;
  font-size: 30px;
}

.kd-about-experience-text {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
}

.kd-about-experience-text strong {
  display: block;
  color: var(--white);
  font-size: 12px;
}


/* Small floating image */

.kd-about-small-image {
  position: absolute;
  z-index: 4;
  right: 26px;
  bottom: 0;
  width: 210px;
  height: 180px;
  overflow: hidden;
  border: 7px solid var(--white);
  border-radius: 24px 24px 60px 24px;
  background: var(--sky);
  box-shadow:
    0 22px 55px rgba(6, 47, 82, 0.2);
}

.kd-about-small-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kd-about-small-image-icon {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 4px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: var(--green);
}


/* Trust card */

.kd-about-trust-card {
  position: absolute;
  z-index: 6;
  bottom: 50px;
  left: 0;
  min-width: 240px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(8, 52, 93, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 18px 45px rgba(6, 47, 82, 0.14);
  backdrop-filter: blur(12px);
}

.kd-about-trust-icon {
  width: 44px;
  height: 44px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  color: var(--white);
  border-radius: 13px;
  background:
    linear-gradient(
      135deg,
      var(--green),
      var(--green-dark)
    );
}

.kd-about-trust-card strong,
.kd-about-trust-card small {
  display: block;
}

.kd-about-trust-card strong {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.kd-about-trust-card small {
  color: var(--muted);
  font-size: 9px;
}


/* Decorative dots */

.kd-about-dot {
  position: absolute;
  z-index: 3;
  display: block;
  border-radius: 50%;
}

.kd-about-dot-one {
  top: 30px;
  left: 45px;
  width: 16px;
  height: 16px;
  background: var(--green);
  box-shadow:
    0 0 0 8px rgba(88, 185, 71, 0.12);
}

.kd-about-dot-two {
  top: 24%;
  right: 15px;
  width: 9px;
  height: 9px;
  background: var(--primary);
}

.kd-about-dot-three {
  left: 35%;
  bottom: 10px;
  width: 11px;
  height: 11px;
  background: var(--green);
}


/* =====================================================
   RIGHT CONTENT
===================================================== */

.kd-about-content {
  position: relative;
  padding-left: 25px;
}

.kd-section-tag {
  width: fit-content;
  margin-bottom: 20px;
  padding: 7px 15px 7px 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  border: 1px solid rgba(47, 125, 195, 0.13);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--sky),
      var(--mint)
    );
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.kd-section-tag-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--green)
    );
  box-shadow:
    0 8px 20px rgba(47, 125, 195, 0.22);
}

.kd-about-title {
  max-width: 650px;
  margin: 0 0 23px;
  color: var(--navy);
  font-family: "Manrope", serif;
  font-size: clamp(40px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 1.08;
}

.kd-about-title span {
  display: block;
  color: var(--green-dark);
  font-style: italic;
}

.kd-about-intro {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.kd-about-description {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}


/* Feature cards */

.kd-about-features {
  margin-bottom: 27px;
}

.kd-about-feature-card {
  min-height: 170px;
  padding: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(8, 52, 93, 0.09);
  border-radius: 20px;
  background: var(--white);
  box-shadow:
    0 14px 35px rgba(6, 47, 82, 0.07);
  transition: var(--transition);
}

.kd-about-feature-card::before {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(88, 185, 71, 0.12),
      transparent 68%
    );
}

.kd-about-feature-card:hover {
  border-color: rgba(47, 125, 195, 0.18);
  transform: translateY(-6px);
  box-shadow:
    0 20px 45px rgba(6, 47, 82, 0.12);
}

.kd-about-feature-number {
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(8, 52, 93, 0.07);
  font-family: "Manrope", serif;
  font-size: 38px;
  font-weight: 700;
}

.kd-about-feature-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  color: var(--primary);
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      var(--sky),
      var(--mint)
    );
  font-size: 18px;
  transition: var(--transition);
}

.kd-about-feature-card:hover .kd-about-feature-icon {
  color: var(--white);
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--green)
    );
}

.kd-about-feature-card h4 {
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.kd-about-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}


/* Buttons and call */

.kd-about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.kd-about-btn {
  min-height: 46px;
  padding: 8px 10px 8px 22px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  position: relative;
  isolation: isolate;

  color: var(--white);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark)
  );

  box-shadow: 0 14px 32px rgba(47, 125, 195, 0.25);
  font-size: 13px;
  font-weight: 800;
  transition: var(--transition);
}

.kd-about-btn::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -50px;

  width: 90px;
  height: 100%;

  content: "";
  background: var(--green);
  transform: skewX(-20deg);
  transition: width 0.4s ease;
}

.kd-about-btn-label,
.kd-about-btn-icon {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.kd-about-btn-icon {
  width: 37px;
  height: 37px;
  display: grid;
  flex-shrink: 0;
  place-items: center;

  border-radius: 11px;
  background: rgba(255, 255, 255, 0.15);
}

.kd-about-btn:hover {
  color: var(--white);
  transform: translateY(-3px);
}

.kd-about-btn:hover .kd-about-btn-label,
.kd-about-btn:hover .kd-about-btn-icon {
  color: var(--white);
}

.kd-about-btn:hover::before {
  width: 150%;
}

.kd-about-btn:hover .kd-about-btn-icon {
  transform: translateX(3px);
}




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

@media (max-width: 1199.98px) {
  .kd-about-section {
    padding: 100px 0;
  }

  .kd-about-visual {
    min-height: 570px;
  }

  .kd-about-main-image {
    height: 475px;
  }

  .kd-about-experience-card {
    right: 5px;
    width: 165px;
  }

  .kd-about-small-image {
    width: 185px;
    height: 160px;
  }

  .kd-about-content {
    padding-left: 0;
  }

  .kd-about-title {
    font-size: 46px;
  }
}

@media (max-width: 991.98px) {
  .kd-about-visual {
    max-width: 650px;
    margin: 0 auto 30px;
  }

  .kd-about-content {
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .kd-about-section {
    padding: 80px 0;
  }

  .kd-about-visual {
    min-height: 500px;
    padding: 15px 20px 45px 5px;
  }

  .kd-about-main-image {
    width: 88%;
    height: 410px;
    border-width: 6px;
    border-radius: 25px 75px 25px 25px;
  }

  .kd-about-experience-card {
    top: 55px;
    width: 145px;
    min-height: 130px;
    padding: 17px;
    border-width: 5px;
  }

  .kd-about-experience-number {
    font-size: 47px;
  }

  .kd-about-small-image {
    right: 5px;
    width: 155px;
    height: 135px;
    border-width: 5px;
  }

  .kd-about-trust-card {
    bottom: 25px;
    min-width: 215px;
  }

  .kd-about-title {
    font-size: 40px;
  }

}

@media (max-width: 575.98px) {
  .kd-about-section {
    padding: 70px 0;
  }

  .kd-about-visual {
    min-height: 450px;
    padding-right: 0;
  }

  .kd-about-main-image {
    width: 92%;
    height: 355px;
  }

  .kd-about-image-label {
    right: 15px;
    bottom: 15px;
    left: 15px;
  }

  .kd-about-experience-card {
    top: 32px;
    right: -2px;
    width: 125px;
    min-height: 112px;
    padding: 14px;
  }

  .kd-about-experience-number {
    font-size: 40px;
  }

  .kd-about-experience-text {
    font-size: 8px;
  }

  .kd-about-experience-text strong {
    font-size: 9px;
  }

  .kd-about-small-image {
    right: 0;
    width: 130px;
    height: 115px;
  }

  .kd-about-trust-card {
    left: 4px;
    bottom: 15px;
    min-width: 190px;
    padding: 11px;
  }

  .kd-about-trust-icon {
    width: 38px;
    height: 38px;
  }

  .kd-about-title {
    font-size: 35px;
    letter-spacing: -1px;
  }

  .kd-about-intro {
    font-size: 14px;
  }

  .kd-about-feature-card {
    min-height: auto;
  }

  .kd-about-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =====================================================
   BOOK APPOINTMENT FORM SECTION
===================================================== */

.kd-appointment-section {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(47, 125, 195, 0.13),
      transparent 25%
    ),
    radial-gradient(
      circle at 92% 85%,
      rgba(88, 185, 71, 0.12),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #f4faff 0%,
      #ffffff 48%,
      #f5fcf3 100%
    );
}


/* Decorative background shapes */

.kd-appointment-bg-shape {
  position: absolute;
  pointer-events: none;
}

.kd-appointment-shape-one {
  top: 45px;
  left: -60px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(47, 125, 195, 0.12);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 38px rgba(47, 125, 195, 0.025),
    inset 0 0 0 78px rgba(88, 185, 71, 0.025);
}

.kd-appointment-shape-two {
  right: -20px;
  bottom: 40px;
  width: 170px;
  height: 170px;
  opacity: 0.7;
  background-image:
    radial-gradient(
      circle,
      rgba(88, 185, 71, 0.28) 1.5px,
      transparent 1.5px
    );
  background-size: 17px 17px;
}


/* Main form container */

.kd-appointment-form-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  margin: 0 auto;
  padding: 1px;
  border-radius: 34px;
  background:
    linear-gradient(
      135deg,
      rgba(47, 125, 195, 0.34),
      rgba(255, 255, 255, 0.4),
      rgba(88, 185, 71, 0.3)
    );
  box-shadow:
    0 35px 90px rgba(6, 47, 82, 0.15);
}

.kd-appointment-form-wrapper::before {
  position: absolute;
  top: -18px;
  right: 70px;
  width: 95px;
  height: 36px;
  content: "";
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--primary),
      var(--green)
    );
  opacity: 0.17;
  transform: rotate(-8deg);
}

.kd-appointment-form {
  padding: 52px;
  overflow: hidden;
  position: relative;
  border-radius: 33px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.kd-appointment-form::before {
  position: absolute;
  top: -100px;
  right: -90px;
  width: 290px;
  height: 290px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(47, 125, 195, 0.12),
      transparent 67%
    );
}

.kd-appointment-form::after {
  position: absolute;
  bottom: -130px;
  left: -110px;
  width: 300px;
  height: 300px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(88, 185, 71, 0.12),
      transparent 67%
    );
}


/* Form heading */

.kd-appointment-form-header {
  max-width: 710px;
  margin: 0 auto 37px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.kd-appointment-form-tag {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 7px 15px 7px 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  border: 1px solid rgba(47, 125, 195, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--sky),
      var(--mint)
    );
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.kd-appointment-form-tag > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--green)
    );
  box-shadow:
    0 8px 20px rgba(47, 125, 195, 0.22);
}

.kd-appointment-form-header h2 {
  margin: 0 0 15px;
  color: var(--navy);
  font-family: "Manrope", serif;
  font-size: clamp(39px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.08;
}

.kd-appointment-form-header h2 span {
  color: var(--green-dark);
  font-style: italic;
}

.kd-appointment-form-header p {
  max-width: 610px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}


/* Form controls */

.kd-form-group {
  position: relative;
  z-index: 2;
}

.kd-form-group label {
  margin: 0 0 8px 4px;
  display: block;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.kd-form-group label > span {
  color: var(--green-dark);
}

.kd-input-wrap {
  min-height: 58px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 52, 93, 0.11);
  border-radius: 15px;
  background: #fbfdff;
  transition: var(--transition);
}

.kd-input-wrap::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  content: "";
  background:
    linear-gradient(
      90deg,
      var(--primary),
      var(--green)
    );
  transform: translateX(-50%);
  transition: width 0.35s ease;
}

.kd-input-wrap:focus-within {
  border-color: rgba(47, 125, 195, 0.3);
  background: var(--white);
  box-shadow:
    0 12px 30px rgba(6, 47, 82, 0.09);
  transform: translateY(-2px);
}

.kd-input-wrap:focus-within::after {
  width: 100%;
}

.kd-input-icon {
  width: 52px;
  height: 100%;
  min-height: 56px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  position: relative;
  color: var(--primary);
  font-size: 15px;
}

.kd-input-icon::after {
  position: absolute;
  top: 14px;
  right: 0;
  bottom: 14px;
  width: 1px;
  content: "";
  background: rgba(8, 52, 93, 0.09);
}

.kd-input-wrap:focus-within .kd-input-icon {
  color: var(--green-dark);
}

.kd-input-wrap .form-control,
.kd-input-wrap .form-select {
  min-height: 56px;
  padding: 14px 16px;
  color: var(--text);
  border: 0;
  border-radius: 0;
  outline: none;
  background-color: transparent;
  box-shadow: none !important;
  font-size: 12px;
  font-weight: 600;
}

.kd-input-wrap .form-control::placeholder {
  color: #9aabba;
  opacity: 1;
}

.kd-input-wrap .form-select {
  padding-right: 42px;
  cursor: pointer;
}

.kd-select-wrap::before {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 17px;
  content: "\f107";
  color: var(--green-dark);
  font-family: "FontAwesome";
  font-size: 14px;
  pointer-events: none;
  transform: translateY(-50%);
}

.kd-select-wrap .form-select {
  position: relative;
  z-index: 2;
  background-image: none;
}

.kd-textarea-wrap {
  align-items: flex-start;
}

.kd-textarea-wrap .kd-input-icon {
  height: 58px;
}

.kd-textarea-wrap .form-control {
  min-height: 125px;
  padding-top: 18px;
  resize: vertical;
}


/* Date input */

.kd-input-wrap input[type="date"] {
  cursor: pointer;
}

.kd-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.55;
}


/* Consent checkbox */

.kd-form-consent {
  width: fit-content;
  margin: 7px 0 3px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.kd-form-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kd-custom-checkbox {
  width: 23px;
  height: 23px;
  display: grid;
  flex: 0 0 23px;
  place-items: center;
  color: transparent;
  border: 1px solid rgba(8, 52, 93, 0.16);
  border-radius: 7px;
  background: var(--white);
  font-size: 9px;
  transition: var(--transition);
}

.kd-form-consent input:checked + .kd-custom-checkbox {
  color: var(--white);
  border-color: var(--green);
  background:
    linear-gradient(
      135deg,
      var(--green),
      var(--green-dark)
    );
  box-shadow:
    0 7px 18px rgba(88, 185, 71, 0.22);
}

.kd-form-consent input:focus-visible + .kd-custom-checkbox {
  outline: 3px solid rgba(47, 125, 195, 0.18);
}

.kd-consent-text {
  max-width: 720px;
  padding-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
}


/* Submit button */

.kd-appointment-submit {
  min-width: 245px;
  min-height: 58px;
  margin-top: 7px;
  padding: 8px 9px 8px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  color: var(--white);
  border: 0;
  border-radius: 15px;
  outline: none;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark)
    );
  box-shadow:
    0 16px 36px rgba(47, 125, 195, 0.27);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.kd-appointment-submit::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -55px;
  width: 100px;
  height: 100%;
  content: "";
  background: var(--green);
  transform: skewX(-20deg);
  transition: width 0.45s ease;
}

.kd-submit-label,
.kd-submit-icon {
  position: relative;
  z-index: 2;
}

.kd-submit-icon {
  width: 39px;
  height: 39px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  transition: var(--transition);
}

.kd-appointment-submit:hover {
  color: var(--white);
  transform: translateY(-4px);
  box-shadow:
    0 21px 45px rgba(47, 125, 195, 0.34);
}

.kd-appointment-submit:hover::before {
  width: 145%;
}

.kd-appointment-submit:hover .kd-submit-icon {
  transform: translateX(3px);
}


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

@media (max-width: 991.98px) {
  .kd-appointment-section {
    padding: 95px 0;
  }

  .kd-appointment-form {
    padding: 42px 35px;
  }
}

@media (max-width: 767.98px) {
  .kd-appointment-section {
    padding: 80px 0;
  }

  .kd-appointment-form-wrapper {
    border-radius: 25px;
  }

  .kd-appointment-form {
    padding: 35px 24px;
    border-radius: 24px;
  }

  .kd-appointment-form-header {
    margin-bottom: 30px;
    text-align: left;
  }

  .kd-appointment-form-tag {
    margin-right: 0;
    margin-left: 0;
  }

  .kd-appointment-form-header h2 {
    font-size: 40px;
  }
}

@media (max-width: 575.98px) {
  .kd-appointment-section {
    padding: 68px 0;
  }

  .kd-appointment-form {
    padding: 28px 16px;
  }

  .kd-appointment-form-header h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .kd-input-wrap {
    min-height: 54px;
  }

  .kd-input-wrap .form-control,
  .kd-input-wrap .form-select {
    min-height: 52px;
    font-size: 11px;
  }

  .kd-input-icon {
    width: 47px;
    min-height: 52px;
  }

  .kd-appointment-submit {
    width: 100%;
    min-width: 0;
  }
}

/* =====================================================
   SERVICES SECTION
===================================================== */

.kd-services-section {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 6% 8%,
      rgba(47, 125, 195, 0.09),
      transparent 23%
    ),
    radial-gradient(
      circle at 94% 92%,
      rgba(88, 185, 71, 0.09),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f7fbff 100%
    );
}

.kd-services-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(47, 125, 195, 0.2),
      rgba(88, 185, 71, 0.2),
      transparent
    );
}


/* Decorative elements */

.kd-services-decoration {
  position: absolute;
  pointer-events: none;
}

.kd-services-decoration-one {
  top: 85px;
  left: -60px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(47, 125, 195, 0.11);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 35px rgba(47, 125, 195, 0.025),
    inset 0 0 0 70px rgba(88, 185, 71, 0.02);
}

.kd-services-decoration-two {
  right: 20px;
  bottom: 50px;
  width: 170px;
  height: 170px;
  opacity: 0.65;
  background-image:
    radial-gradient(
      circle,
      rgba(47, 125, 195, 0.25) 1.5px,
      transparent 1.5px
    );
  background-size: 17px 17px;
}


/* Heading */

.kd-services-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 52px;
}

.kd-services-title {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-family: "Manrope", serif;
  font-size: clamp(42px, 4.4vw, 49px);
  font-weight: 700;
  letter-spacing: -1.9px;
  line-height: 1.07;
}

.kd-services-title span {
  display: block;
  color: var(--green-dark);
  font-style: italic;
}

.kd-services-description {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}


/* Services grid */

.kd-services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}


/* Service card */

.kd-service-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(8, 52, 93, 0.09);
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    0 18px 45px rgba(6, 47, 82, 0.08);
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.kd-service-card:hover {
  border-color: rgba(47, 125, 195, 0.18);
  transform: translateY(-10px);
  box-shadow:
    0 30px 65px rgba(6, 47, 82, 0.15);
}


/* Featured service */

.kd-service-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.kd-service-card-featured .kd-service-image {
  height: 100%;
  min-height: 430px;
}

.kd-service-card-featured .kd-service-content {
  padding: 38px 31px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.kd-service-card-featured .kd-service-content h3 {
  font-size: 28px;
}

.kd-service-card-featured .kd-service-content p {
  font-size: 13px;
}


/* Image */

.kd-service-image {
  height: 245px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(
      135deg,
      var(--sky),
      var(--mint)
    );
}

.kd-service-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  transition:
    transform 0.8s ease,
    filter 0.8s ease;
}

.kd-service-card:hover .kd-service-image img {
  transform: scale(1.08);
  filter: saturate(1.05);
}

.kd-service-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 36, 63, 0.02) 25%,
      rgba(5, 36, 63, 0.64) 100%
    );
}

/* Service content */

.kd-service-content {
  padding: 25px;
  position: relative;
}

.kd-service-content::before {
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 110px;
  height: 110px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(88, 185, 71, 0.11),
      transparent 68%
    );
}

.kd-service-content h3 {
  margin: 0 0 11px;
  position: relative;
  z-index: 2;
  color: var(--navy);
  font-family: "Manrope", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  transition: var(--transition);
}

.kd-service-card:hover .kd-service-content h3 {
  color: var(--primary-dark);
}

.kd-service-content p {
  margin: 0 0 20px;
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

/* Read More button */
.kd-service-btn {
  width: fit-content;
  min-height: 42px;
  padding: 5px 6px 5px 15px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  isolation: isolate;
  color: var(--primary-dark);
  border: 1px solid rgba(47, 125, 195, 0.14);
  border-radius: 12px;
  background: var(--sky);
  font-size: 11px;
  font-weight: 800;
  transition: var(--transition);
}

.kd-service-btn::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -40px;
  width: 66px;
  height: 100%;
  content: "";
  background: var(--green);
  transform: skewX(-20deg);
  transition: width 0.42s ease;
}

.kd-service-btn-label,
.kd-service-btn-icon {
  position: relative;
  z-index: 2;
}

.kd-service-btn-icon {
  width: 31px;
  height: 31px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  color: var(--white);
  border-radius: 9px;
  background: var(--primary);
  transition: var(--transition);
}

.kd-service-btn:hover {
  color: var(--white);
  border-color: var(--green);
  transform: translateY(-2px);
}

.kd-service-btn:hover::before {
  width: 145%;
}

.kd-service-btn:hover .kd-service-btn-label {
  color: var(--white);
}

.kd-service-btn:hover .kd-service-btn-icon {
  background: rgba(255, 255, 255, 0.17);
  transform: translateX(2px);
}


/* View all services */

.kd-services-footer {
  margin-top: 46px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.kd-all-services-btn {
  min-width: 220px;
  min-height: 57px;
  padding: 8px 9px 8px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  color: var(--white);
  border-radius: 15px;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark)
    );
  box-shadow:
    0 16px 36px rgba(47, 125, 195, 0.27);
  font-size: 12px;
  font-weight: 800;
  transition: var(--transition);
}

.kd-all-services-btn::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -55px;
  width: 100px;
  height: 100%;
  content: "";
  background: var(--green);
  transform: skewX(-20deg);
  transition: width 0.45s ease;
}

.kd-all-services-label,
.kd-all-services-icon {
  position: relative;
  z-index: 2;
}

.kd-all-services-icon {
  width: 39px;
  height: 39px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  transition: var(--transition);
}

.kd-all-services-btn:hover {
  color: var(--white);
  transform: translateY(-4px);
  box-shadow:
    0 21px 45px rgba(47, 125, 195, 0.34);
}

.kd-all-services-btn:hover::before {
  width: 145%;
}

.kd-all-services-btn:hover .kd-all-services-label {
  color: var(--white);
}

.kd-all-services-btn:hover .kd-all-services-icon {
  transform: translateX(3px);
}


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

@media (max-width: 1199.98px) {
  .kd-services-section {
    padding: 100px 0;
  }

  .kd-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kd-service-card-featured {
    grid-column: span 2;
  }
}

@media (max-width: 991.98px) {
  .kd-services-heading {
    margin-bottom: 42px;
  }

  .kd-services-description {
    max-width: 620px;
  }

  .kd-service-card-featured {
    display: block;
  }

  .kd-service-card-featured .kd-service-image {
    min-height: 360px;
  }

  .kd-service-card-featured .kd-service-content {
    padding: 28px;
  }
}

@media (max-width: 767.98px) {
  .kd-services-section {
    padding: 80px 0;
  }

  .kd-services-title {
    font-size: 42px;
  }

  .kd-services-grid {
    grid-template-columns: 1fr;
  }

  .kd-service-card-featured {
    grid-column: span 1;
  }

  .kd-service-card-featured .kd-service-image {
    min-height: 0;
    height: 285px;
  }

  .kd-service-image {
    height: 285px;
  }
}

@media (max-width: 575.98px) {
  .kd-services-section {
    padding: 68px 0;
  }

  .kd-services-title {
    font-size: 35px;
    letter-spacing: -1px;
  }

  .kd-service-image,
  .kd-service-card-featured .kd-service-image {
    height: 240px;
  }

  .kd-service-content,
  .kd-service-card-featured .kd-service-content {
    padding: 22px 19px;
  }

  .kd-service-card-featured .kd-service-content h3,
  .kd-service-content h3 {
    font-size: 21px;
  }

  .kd-all-services-btn {
    width: 100%;
  }
}

/* =====================================================
   CREATIVE DARK ORBIT COUNTER SECTION
===================================================== */

.kd-stats-section {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(47, 125, 195, 0.18),
      transparent 35%
    ),
    radial-gradient(
      circle at 10% 10%,
      rgba(47, 125, 195, 0.22),
      transparent 27%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(88, 185, 71, 0.15),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #021827 0%,
      #042a48 48%,
      #063a60 100%
    );
}


/* Bottom colour line */

.kd-stats-section::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent 5%,
      var(--primary) 38%,
      var(--green) 62%,
      transparent 95%
    );
}


/* =====================================================
   BACKGROUND EFFECTS
===================================================== */

.kd-stats-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.15) 1px,
      transparent 1px
    );
  background-size: 28px 28px;
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      black 18%,
      black 82%,
      transparent
    );
}

.kd-stats-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(20px);
}

.kd-stats-glow-left {
  top: -170px;
  left: -180px;
  width: 480px;
  height: 480px;
  background:
    radial-gradient(
      circle,
      rgba(47, 125, 195, 0.27),
      transparent 68%
    );
}

.kd-stats-glow-right {
  right: -190px;
  bottom: -200px;
  width: 500px;
  height: 500px;
  background:
    radial-gradient(
      circle,
      rgba(88, 185, 71, 0.2),
      transparent 68%
    );
}


/* =====================================================
   HEADING
===================================================== */

.kd-stats-heading {
  max-width: 900px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 4;
  text-align: center;
}

.kd-stats-eyebrow {
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #aaf09e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.kd-stats-eyebrow::before,
.kd-stats-eyebrow::after {
  width: 48px;
  height: 1px;
  display: block;
  content: "";
}

.kd-stats-eyebrow::before {
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--primary)
    );
}

.kd-stats-eyebrow::after {
  background:
    linear-gradient(
      90deg,
      var(--green),
      transparent
    );
}

.kd-stats-heading h2 {
  margin: 0;
  color: var(--white);
  font-family: "Manrope", serif;
  font-size: clamp(43px, 4.8vw, 46px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.06;
}

.kd-stats-heading h2 span {
  display: block;
  color: #a7ef9a;
  font-style: italic;
  font-weight: 600;
}


/* =====================================================
   ORBIT LAYOUT
===================================================== */

.kd-stats-orbit {
  max-width: 1080px;
  height: 475px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}


/* Large orbit rings */

.kd-stats-orbit-line {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.kd-stats-orbit-line-one {
  width: 610px;
  height: 315px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) rotate(-7deg);
}

.kd-stats-orbit-line-two {
  width: 820px;
  height: 390px;
  border: 1px dashed rgba(88, 185, 71, 0.16);
  transform: translate(-50%, -50%) rotate(8deg);
}


/* =====================================================
   CENTER ELEMENT
===================================================== */

.kd-stats-center {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 185px;
  height: 185px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.kd-stats-center::before {
  position: absolute;
  inset: 20px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.035)
    );
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.26),
    inset 0 0 45px rgba(47, 125, 195, 0.13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.kd-stats-center-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.kd-stats-ring-one {
  inset: 0;
  border: 1px solid rgba(47, 125, 195, 0.3);
  animation: kdStatsSpin 14s linear infinite;
}

.kd-stats-ring-one::before {
  position: absolute;
  top: 16px;
  left: 25px;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: var(--primary);
  box-shadow:
    0 0 20px rgba(47, 125, 195, 0.85);
}

.kd-stats-ring-two {
  inset: 12px;
  border: 1px dashed rgba(88, 185, 71, 0.35);
  animation: kdStatsSpinReverse 18s linear infinite;
}

.kd-stats-ring-two::before {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: var(--green);
  box-shadow:
    0 0 18px rgba(88, 185, 71, 0.85);
}

.kd-stats-ring-three {
  inset: 34px;
  background:
    radial-gradient(
      circle,
      rgba(47, 125, 195, 0.25),
      rgba(88, 185, 71, 0.08) 55%,
      transparent 70%
    );
  animation: kdStatsPulse 2.8s ease-in-out infinite;
}

.kd-stats-center-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 4;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--green)
    );
  box-shadow:
    0 18px 42px rgba(47, 125, 195, 0.32);
  font-size: 27px;
  transform: rotate(-8deg);
  transition: var(--transition);
}

.kd-stats-center:hover .kd-stats-center-icon {
  transform: rotate(0) scale(1.08);
}


/* Center animations */

@keyframes kdStatsSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes kdStatsSpinReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes kdStatsPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}


/* =====================================================
   COUNTER ITEMS
===================================================== */

.kd-stats-item {
  width: 280px;
  min-height: 135px;
  padding: 25px 28px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.11),
      rgba(255, 255, 255, 0.035)
    );
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    background 0.45s ease;
}

.kd-stats-item::before {
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 155px;
  height: 155px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(88, 185, 71, 0.18),
      transparent 68%
    );
}

.kd-stats-item::after {
  position: absolute;
  top: 0;
  left: 24px;
  width: 72px;
  height: 3px;
  content: "";
  border-radius: 0 0 10px 10px;
  background:
    linear-gradient(
      90deg,
      var(--primary),
      var(--green)
    );
}

.kd-stats-item:hover {
  border-color: rgba(132, 230, 118, 0.34);
  background:
    linear-gradient(
      145deg,
      rgba(47, 125, 195, 0.19),
      rgba(88, 185, 71, 0.07)
    );
  box-shadow:
    0 32px 75px rgba(0, 0, 0, 0.32);
}


/* Item placement */

.kd-stats-item-one {
  top: 15px;
  left: 20px;
}

.kd-stats-item-two {
  top: 15px;
  right: 20px;
}

.kd-stats-item-three {
  bottom: 75px;
  left: 70px;
}

.kd-stats-item-four {
  right: 70px;
  bottom: 75px;
}


/* Hover directions */

.kd-stats-item-one:hover,
.kd-stats-item-three:hover {
  transform: translate(-8px, -7px);
}

.kd-stats-item-two:hover,
.kd-stats-item-four:hover {
  transform: translate(8px, -7px);
}


/* Decorative dot */

.kd-stats-item-dot {
  position: absolute;
  top: 18px;
  right: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow:
    0 0 0 6px rgba(88, 185, 71, 0.1),
    0 0 18px rgba(88, 185, 71, 0.75);
}


/* Number */

.kd-stats-value {
  margin-bottom: 9px;
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 3;
  font-family: "Manrope", serif;
  line-height: 1;
}

.kd-counter-number {
  color: var(--white);
  font-size: 55px;
  font-weight: 700;
  letter-spacing: -2px;
}

.kd-stats-suffix {
  margin: 4px 0 0 4px;
  color: #9cef8f;
  font-size: 25px;
  font-weight: 700;
}

.kd-stats-item h3 {
  margin: 0;
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, 0.67);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  transition: var(--transition);
}

.kd-stats-item:hover h3 {
  color: var(--white);
}


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

@media (max-width: 1199.98px) {
  .kd-stats-orbit {
    max-width: 920px;
  }

  .kd-stats-item {
    width: 245px;
  }

  .kd-stats-item-three {
    left: 35px;
  }

  .kd-stats-item-four {
    right: 35px;
  }
}


@media (max-width: 991.98px) {
  .kd-stats-section {
    padding: 90px 0;
  }

  .kd-stats-orbit {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .kd-stats-center,
  .kd-stats-orbit-line {
    display: none;
  }

  .kd-stats-item {
    width: 100%;
    min-height: 150px;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .kd-stats-item:hover {
    transform: translateY(-7px);
  }
}


@media (max-width: 767.98px) {
  .kd-stats-heading {
    margin-bottom: 42px;
  }

  .kd-stats-heading h2 {
    font-size: 42px;
  }
}


@media (max-width: 575.98px) {
  .kd-stats-section {
    padding: 70px 0;
  }

  .kd-stats-heading h2 {
    font-size: 35px;
    letter-spacing: -1px;
  }

  .kd-stats-eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }

  .kd-stats-eyebrow::before,
  .kd-stats-eyebrow::after {
    width: 28px;
  }

  .kd-stats-orbit {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kd-stats-item {
    min-height: 135px;
    padding: 22px;
  }

  .kd-counter-number {
    font-size: 49px;
  }
}

/* =====================================================
   CREATIVE 3-CARD BLOG SECTION
===================================================== */

.kd-blog3-section {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 5% 15%,
      rgba(47, 125, 195, 0.1),
      transparent 24%
    ),
    radial-gradient(
      circle at 95% 87%,
      rgba(88, 185, 71, 0.09),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f6fbff 100%
    );
}

.kd-blog3-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(47, 125, 195, 0.2),
      rgba(88, 185, 71, 0.22),
      transparent
    );
}


/* Background lighting */

.kd-blog3-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.kd-blog3-glow-left {
  top: 120px;
  left: -170px;
  width: 390px;
  height: 390px;
  background:
    radial-gradient(
      circle,
      rgba(47, 125, 195, 0.1),
      transparent 68%
    );
}

.kd-blog3-glow-right {
  right: -180px;
  bottom: 20px;
  width: 420px;
  height: 420px;
  background:
    radial-gradient(
      circle,
      rgba(88, 185, 71, 0.1),
      transparent 68%
    );
}


/* Dotted decorations */

.kd-blog3-dots {
  position: absolute;
  width: 145px;
  height: 145px;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(
      circle,
      rgba(47, 125, 195, 0.27) 1.5px,
      transparent 1.5px
    );
  background-size: 16px 16px;
}

.kd-blog3-dots-left {
  top: 125px;
  left: 25px;
}

.kd-blog3-dots-right {
  right: 28px;
  bottom: 65px;
  background-image:
    radial-gradient(
      circle,
      rgba(88, 185, 71, 0.3) 1.5px,
      transparent 1.5px
    );
}


/* =====================================================
   CENTER HEADING
===================================================== */

.kd-blog3-heading {
  max-width: 830px;
  margin: 0 auto 58px;
  position: relative;
  z-index: 3;
  text-align: center;
}

.kd-blog3-subtitle {
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--primary-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.kd-blog3-subtitle > span {
  width: 45px;
  height: 1px;
  display: block;
}

.kd-blog3-subtitle > span:first-child {
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--primary)
    );
}

.kd-blog3-subtitle > span:last-child {
  background:
    linear-gradient(
      90deg,
      var(--green),
      transparent
    );
}

.kd-blog3-heading h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-family: "Manrope", serif;
  font-size: clamp(43px, 4.7vw, 44px);
  font-weight: 700;
  letter-spacing: -1.9px;
  line-height: 1.06;
}

.kd-blog3-heading h2 span {
  display: block;
  color: var(--green-dark);
  font-style: italic;
  font-weight: 600;
}

.kd-blog3-heading p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}


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

.kd-blog3-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
}


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

.kd-blog3-card {
  min-width: 0;
  padding: 1px;
  position: relative;
  border-radius: 29px;
  background:
    linear-gradient(
      145deg,
      rgba(47, 125, 195, 0.25),
      rgba(255, 255, 255, 0.75),
      rgba(88, 185, 71, 0.25)
    );
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.kd-blog3-card-middle {
  transform: translateY(-16px);
}

.kd-blog3-card:hover {
  z-index: 4;
  transform: translateY(-12px);
  filter: drop-shadow(
    0 24px 28px rgba(5, 44, 76, 0.14)
  );
}

.kd-blog3-card-middle:hover {
  transform: translateY(-26px);
}


/* Inner card */

.kd-blog3-card-inner {
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 20px 55px rgba(6, 47, 82, 0.1);
}

.kd-blog3-card-inner::before {
  position: absolute;
  z-index: 3;
  right: -65px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  content: "";
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(88, 185, 71, 0.12),
      transparent 68%
    );
}


/* Top accent */

.kd-blog3-card-inner::after {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: 0;
  height: 4px;
  content: "";
  border-radius: 0 0 20px 20px;
  background:
    linear-gradient(
      90deg,
      var(--primary),
      var(--green)
    );
  transform: translateX(-50%);
  transition: width 0.5s ease;
}

.kd-blog3-card:hover .kd-blog3-card-inner::after {
  width: 72%;
}


/* =====================================================
   IMAGE
===================================================== */

.kd-blog3-image {
  height: 270px;
  display: block;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border-radius: 27px 27px 45px 10px;
  background:
    linear-gradient(
      135deg,
      var(--sky),
      var(--mint)
    );
}

.kd-blog3-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 0.85s ease,
    filter 0.85s ease;
}

.kd-blog3-card:hover .kd-blog3-image img {
  transform: scale(1.08);
  filter: saturate(1.07);
}

.kd-blog3-image-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(4, 35, 60, 0.02) 32%,
      rgba(4, 35, 60, 0.69) 100%
    );
}

/* =====================================================
   CARD CONTENT
===================================================== */

.kd-blog3-content {
  padding: 27px 25px 29px;
  position: relative;
  z-index: 2;
}

.kd-blog3-meta {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 15px;
}

.kd-blog3-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.kd-blog3-meta i {
  color: var(--green-dark);
}

.kd-blog3-content h3 {
  min-height: 56px;
  /* margin: 0 0 13px; */
  color: var(--navy);
  font-family: "Manrope", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  transition: var(--transition);
}

.kd-blog3-card:hover .kd-blog3-content h3 {
  color: var(--primary-dark);
}

.kd-blog3-content p {
  min-height: 44px;
  /* margin: 0 0 21px; */
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}


/* =====================================================
   READ MORE BUTTON
===================================================== */

.kd-blog3-btn {
  width: fit-content;
  min-height: 43px;
  padding: 5px 6px 5px 15px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-dark);
  border: 1px solid rgba(47, 125, 195, 0.15);
  border-radius: 12px;
  background: var(--sky);
  font-size: 10px;
  font-weight: 800;
  transition: var(--transition);
}

.kd-blog3-btn-icon {
  width: 31px;
  height: 31px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  color: var(--white);
  border-radius: 9px;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--green)
    );
  transition: var(--transition);
}

.kd-blog3-btn:hover {
  color: var(--green-dark);
  border-color: rgba(88, 185, 71, 0.25);
  background: var(--mint);
  transform: translateY(-2px);
}

.kd-blog3-btn:hover .kd-blog3-btn-icon {
  transform: translateX(3px);
}

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

@media (max-width: 1199.98px) {
  .kd-blog3-section {
    padding: 100px 0;
  }

  .kd-blog3-grid {
    gap: 20px;
  }

  .kd-blog3-image {
    height: 235px;
  }

  .kd-blog3-content {
    padding: 24px 20px 26px;
  }

  .kd-blog3-content h3 {
    font-size: 20px;
  }
}


@media (max-width: 991.98px) {
  .kd-blog3-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kd-blog3-card-middle {
    transform: none;
  }

  .kd-blog3-card:last-child {
    grid-column: 1 / -1;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }

  .kd-blog3-card-middle:hover {
    transform: translateY(-12px);
  }
}


@media (max-width: 767.98px) {
  .kd-blog3-section {
    padding: 80px 0;
  }

  .kd-blog3-heading {
    margin-bottom: 44px;
  }

  .kd-blog3-heading h2 {
    font-size: 42px;
  }

  .kd-blog3-grid {
    grid-template-columns: 1fr;
  }

  .kd-blog3-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .kd-blog3-content h3,
  .kd-blog3-content p {
    min-height: 0;
  }
}


@media (max-width: 575.98px) {
  .kd-blog3-section {
    padding: 68px 0;
  }

  .kd-blog3-heading h2 {
    font-size: 35px;
    letter-spacing: -1px;
  }

  .kd-blog3-heading p {
    font-size: 11px;
  }

  .kd-blog3-image {
    height: 240px;
  }

  .kd-blog3-content {
    padding: 22px 18px 24px;
  }

  .kd-blog3-content h3 {
    font-size: 21px;
  }

  .kd-blog3-view-all {
    width: 100%;
  }
}

/* =====================================================
   KARM DENTAL CREATIVE FOOTER
===================================================== */

.kd-footer {
  position: relative;
  padding: 0 0 24px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 5% 20%,
      rgba(47, 125, 195, 0.25),
      transparent 27%
    ),
    radial-gradient(
      circle at 94% 86%,
      rgba(88, 185, 71, 0.16),
      transparent 26%
    ),
    linear-gradient(
      135deg,
      #021827 0%,
      #052a48 48%,
      #06375a 100%
    );
}

.kd-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px
    );
  background-size: 58px 58px;
}

.kd-footer::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--primary),
      var(--green),
      transparent
    );
}


/* Disable unwanted global anchor effects */

.kd-footer a::before,
.kd-footer a::after {
  content: none;
}


/* =====================================================
   BACKGROUND DECORATIONS
===================================================== */

.kd-footer-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(15px);
}

.kd-footer-glow-left {
  top: -190px;
  left: -170px;
  width: 500px;
  height: 500px;
  background:
    radial-gradient(
      circle,
      rgba(47, 125, 195, 0.28),
      transparent 68%
    );
}

.kd-footer-glow-right {
  right: -180px;
  bottom: -190px;
  width: 520px;
  height: 520px;
  background:
    radial-gradient(
      circle,
      rgba(88, 185, 71, 0.2),
      transparent 68%
    );
}

.kd-footer-dots {
  position: absolute;
  width: 145px;
  height: 145px;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.55) 1.4px,
      transparent 1.4px
    );
  background-size: 16px 16px;
}

.kd-footer-dots-left {
  top: 270px;
  left: 22px;
}

.kd-footer-dots-right {
  right: 25px;
  bottom: 120px;
  background-image:
    radial-gradient(
      circle,
      rgba(137, 231, 122, 0.65) 1.4px,
      transparent 1.4px
    );
}


/* Call button */

.kd-footer-call-btn {
  min-height: 56px;
  padding: 8px 17px 8px 8px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition);
}

.kd-footer-call-icon {
  width: 39px;
  height: 39px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  color: var(--primary-dark);
  border-radius: 11px;
  background: var(--white);
}

.kd-footer-call-content {
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.kd-footer-call-content small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 8px;
  font-weight: 600;
}

.kd-footer-call-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

/* =====================================================
   MAIN FOOTER
===================================================== */

.kd-footer-main {
  padding: 82px 0 62px;
  position: relative;
  z-index: 3;
}


/* Footer logo */

.kd-footer-logo {
  width: 220px;
  margin-bottom: 23px;
  display: inline-block;
  padding: 13px 17px;
  border-radius: 17px;
  background: var(--white);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.15);
}

.kd-footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.kd-footer-brand p {
  max-width: 370px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.61);
  font-size: 14px;
  line-height: 1.85;
}


/* Social links */

.kd-footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kd-footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  transition: var(--transition);
}

.kd-footer-social a:hover {
  color: var(--white);
  border-color: transparent;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--green)
    );
  box-shadow:
    0 12px 27px rgba(47, 125, 195, 0.24);
  transform: translateY(-4px) rotate(-5deg);
}


/* Footer headings */

.kd-footer-column h3 {
  margin: 0 0 24px;
  padding-bottom: 13px;
  position: relative;
  color: var(--white);
  font-family: "Manrope", serif;
  font-size: 18px;
  font-weight: 700;
}

.kd-footer-column h3::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 47px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--primary),
      var(--green)
    );
}

.kd-footer-column h3::after {
  position: absolute;
  bottom: -3px;
  left: 49px;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--green);
  box-shadow:
    0 0 12px rgba(88, 185, 71, 0.7);
}


/* Footer links */

.kd-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kd-footer-links li + li {
  margin-top: 12px;
}

.kd-footer-links a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.61);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.kd-footer-links a i {
  color: var(--green);
  font-size: 11px;
  transition: var(--transition);
}

.kd-footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.kd-footer-links a:hover i {
  color: #b4f4aa;
}


/* =====================================================
   CONTACT DETAILS
===================================================== */

.kd-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kd-footer-contact-item {
  min-height: 55px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  transition: var(--transition);
}

a.kd-footer-contact-item:hover {
  color: var(--white);
  border-color: rgba(88, 185, 71, 0.24);
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.kd-footer-contact-icon {
  width: 37px;
  height: 37px;
  display: grid;
  flex: 0 0 37px;
  place-items: center;
  color: var(--white);
  border-radius: 11px;
  background:
    linear-gradient(
      135deg,
      rgba(47, 125, 195, 0.95),
      rgba(88, 185, 71, 0.88)
    );
  font-size: 16px;
}

.kd-footer-contact-item > span:last-child {
  color: rgba(255, 255, 255, 0.83);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.kd-footer-contact-item small {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}



/* =====================================================
   BOTTOM FOOTER
===================================================== */

.kd-footer-bottom {
  padding: 24px 2px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 3;
  border-top: 0.7px solid #fff;
}

.kd-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 14px;
  font-weight: 600;
}

.kd-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 13px;
}

.kd-footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.kd-footer-bottom-links a:hover {
  color: #a9ef9d;
}

.kd-footer-bottom-links > span {
  width: 4px;
  height: 4px;
  display: block;
  border-radius: 50%;
  background: var(--green);
}


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

@media (max-width: 1199.98px) {
  .kd-footer-appointment {
    grid-template-columns: auto 1fr;
  }

  .kd-footer-appointment-actions {
    grid-column: 1 / -1;
    padding-left: 97px;
  }
}


@media (max-width: 991.98px) {
  .kd-footer-main {
    padding: 70px 0 55px;
  }

}


@media (max-width: 767.98px) {
  .kd-footer-appointment {
    padding: 27px 22px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .kd-footer-appointment-icon {
    margin: 0 auto;
  }

  .kd-footer-appointment-actions {
    grid-column: auto;
    padding-left: 0;
    justify-content: center;
    flex-wrap: wrap;
  }

  .kd-footer-appointment-content h2 {
    margin: 0 auto;
  }

  .kd-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}


@media (max-width: 575.98px) {
  .kd-footer-appointment {
    border-radius: 0 0 24px 24px;
  }

  .kd-footer-appointment-content h2 {
    font-size: 29px;
  }

  .kd-footer-appointment-actions,
  .kd-footer-call-btn,
  .kd-footer-book-btn {
    width: 100%;
  }

  .kd-footer-call-btn,
  .kd-footer-book-btn {
    justify-content: center;
  }

  .kd-footer-main {
    padding: 60px 0 48px;
  }

  .kd-footer-logo {
    width: 200px;
  }


  .kd-footer-bottom-links {
    flex-wrap: wrap;
  }
}