/* KS Cloud Tech on Daltech — keep theme UI intact */
.header-logo img,
.offcanvas__logo img,
.widget-head img,
.logo img {
  max-height: 56px;
  height: auto;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.footer-section .widget-head img,
.footer-section.section-bg-3 .widget-head img {
  max-height: 52px;
  height: auto;
  width: auto;
  max-width: 260px;
  filter: brightness(0) invert(1);
}
.preloader .animation-preloader .spinner {
  border-top-color: var(--theme, #166FD3);
}
.header-1 .logo img,
.header-2 .logo img,
.header-3 .logo img,
.header-4 .logo img {
  max-height: 56px;
  height: auto;
  width: auto;
  max-width: 280px;
}
.header-1 .header-main,
.header-3 .header-main,
.header-2 .header-main {
  min-height: 88px;
}
/* Soft-hide preloader if JS load stalls */
.preloader.loaded {
  pointer-events: none;
}

/* ===== Top bar: full-width clean black ===== */
.header-top-section,
.header-top-section-2,
.header-top-section-3 {
  background-color: #000 !important;
  padding: 12px 0 !important;
  width: 100%;
  display: block !important;
}
.header-top-section::before,
.header-top-section-2::before,
.header-top-section-3::before {
  display: none !important;
}
.header-top-section .container-fluid {
  width: 100%;
  max-width: 100%;
  padding-left: clamp(16px, 3vw, 40px);
  padding-right: clamp(16px, 3vw, 40px);
}
.header-top-section .header-top-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.header-top-section .contact-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.header-top-section .contact-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  line-height: 1.4;
  color: #fff !important;
}
.header-top-section .contact-list li i {
  color: #fff !important;
  margin-right: 0 !important;
}
.header-top-section .contact-list li a {
  color: #fff !important;
}
.header-top-section .contact-list li a:hover {
  color: #3c72fc !important;
}
.header-top-section .contact-list--left li {
  max-width: min(720px, 58vw);
}
.header-top-section .contact-list--right {
  flex-shrink: 0;
  margin-left: auto;
}

@media (max-width: 767px) {
  .header-top-section .contact-list--left {
    display: none !important;
  }
  .header-top-section .header-top-wrapper {
    justify-content: flex-end;
  }
  .header-top-section .contact-list--right {
    margin-left: 0;
    flex-wrap: wrap;
  }
}

/* ===== Clean hero slider (no frame shape, controlled type) ===== */
.hero-1 .frame-shape {
  display: none !important;
}
.hero-1--clean .hero-content h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.75rem) !important;
  line-height: 1.15 !important;
  max-width: 16ch;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-1--clean .hero-content h4 {
  margin-bottom: 1.1rem !important;
  font-size: 1.05rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-1--clean .hero-content h4::before {
  width: 120px !important;
  height: 4px !important;
  bottom: -8px !important;
  left: 0 !important;
  background-size: contain !important;
}
.hero-1--clean .hero-text {
  margin: 1.1rem 0 0 !important;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.hero-1--clean .hero-button {
  margin-top: 1.75rem !important;
}
@media (max-width: 575px) {
  .hero-1--clean .hero-content h1 {
    max-width: none;
  }
  .hero-1--clean .hero-content h4::before {
    left: 50% !important;
    transform: translateX(-50%);
  }
}

/* ===== Three pillars (EQW content) ===== */
.feature-section--pillars .single-feature-items {
  align-items: flex-start;
  gap: 1.25rem;
  min-height: 100%;
}
.feature-section--pillars .single-feature-items .content {
  flex: 1;
  min-width: 0;
  padding-right: 0.5rem;
}
.feature-section--pillars .single-feature-items .content h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.75rem);
  line-height: 1.25;
}
.feature-section--pillars .single-feature-items .content p {
  margin: 0;
  max-width: 28rem;
  color: var(--text, #686868);
  font-size: 15px;
  line-height: 1.6;
}
.feature-section--pillars .single-feature-items .icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-section--pillars .single-feature-items .icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
@media (max-width: 575px) {
  .feature-section--pillars .single-feature-items .content {
    padding-right: 0;
  }
  .feature-section--pillars .single-feature-items .content p {
    margin: 0 auto;
  }
}

/* ===== Clean About (EQW Who We Are) ===== */
.about-section--clean.fix {
  overflow: visible;
}
.about-section--clean .about-image-items--clean {
  position: relative;
  padding: 0 0 48px;
  max-width: 500px;
  margin-right: 28px;
}
.about-wrapper .about-image-items.about-image-items--clean::before {
  display: none !important;
}
.about-section--clean .about-image-main {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(22, 111, 211, 0.12);
}
.about-section--clean .about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-section--clean .about-image-side {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  max-width: 220px;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
  z-index: 2;
  background: #fff;
}
.about-section--clean .about-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-section--clean .about-content .section-title h2 {
  max-width: 18ch;
  line-height: 1.25;
}
.about-section--clean .about-lead {
  margin: 1.25rem 0 0.75rem;
  color: var(--header, #0f0d1d);
  font-weight: 600;
  font-size: 1.05rem;
}
.about-section--clean .about-content > p {
  margin-bottom: 0.9rem;
  line-height: 1.7;
}
.about-section--clean .about-list--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
}
.about-section--clean .about-list--grid li {
  margin: 0 !important;
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  font-weight: 500;
  line-height: 1.4;
}
.about-section--clean .about-list--grid li i {
  color: var(--theme, #166FD3);
  margin-top: 0.2rem;
}
.about-section--clean .about-button {
  margin-top: 0.25rem;
}
@media (max-width: 991px) {
  .about-section--clean .about-image-items--clean {
    margin: 0 auto 1.5rem;
    max-width: 420px;
  }
  .about-section--clean .about-content .section-title h2 {
    max-width: none;
  }
}
@media (max-width: 575px) {
  .about-section--clean .about-image-items--clean {
    margin-right: auto;
    padding-bottom: 36px;
  }
  .about-section--clean .about-image-side {
    max-width: 150px;
    border-width: 4px;
  }
  .about-section--clean .about-list--grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Trusted / Why Learn With Us ===== */
.trusted-client-section--ks .trusted-content .section-title h2 {
  line-height: 1.25;
}
.trusted-client-section--ks .trusted-content > p {
  max-width: 38rem;
  line-height: 1.7;
}
.trusted-client-section--ks .tab-content-items .pro-items {
  display: none;
}
.trusted-client-section--ks .icon-area .icon i {
  font-size: 1.75rem;
  color: var(--theme, #166FD3);
}

/* ===== Service carousel polish ===== */
.service-section .service-card-items .service-content .content h3 {
  max-width: 12ch;
  line-height: 1.25;
}
.service-section .service-card-items .service-content .content p {
  max-width: 22ch;
  line-height: 1.45;
}
.service-section .service-card-items .service-image {
  background-position: center center;
  background-size: cover;
}

/* ===== Service detail pages ===== */
.service-details--ks .details-image img,
.service-details--ks .details-image-2 img,
.service-details--ks .video-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}
.service-details--ks .details-content h3 {
  line-height: 1.25;
  margin-bottom: 1rem;
}
.service-details--ks .service-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--header, #0f0d1d);
  line-height: 1.6;
}
.service-details--ks .details-content p {
  line-height: 1.75;
}
.service-details--ks .service-metric {
  background: #f6f8fc;
  border: 1px solid rgba(22, 111, 211, 0.08);
  border-radius: 10px;
  padding: 1.1rem 1rem;
  text-align: center;
  height: 100%;
}
.service-details--ks .service-metric h3 {
  margin: 0 0 0.35rem;
  color: var(--theme, #166FD3);
  font-size: 1.35rem;
}
.service-details--ks .service-metric p {
  margin: 0;
  font-size: 0.9rem;
}
.service-details--ks .service-metrics-row {
  margin: 1.5rem 0 1.75rem;
}
.service-details--ks .video-image .video-box {
  display: none;
}
.service-details--ks .service-details-stats .stat {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.service-details--ks .service-details-stats .stat:last-child {
  border-bottom: 0;
}
.service-details--ks .service-details-stats strong {
  display: block;
  color: var(--theme, #166FD3);
  margin-bottom: 0.15rem;
}
.service-details--ks .service-contact-widget {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 10px;
  background: var(--theme, #166FD3);
  color: #fff;
}
.service-details--ks .service-contact-widget h4,
.service-details--ks .service-contact-widget p,
.service-details--ks .service-contact-widget a {
  color: #fff;
}
.service-details--ks .service-contact-widget a {
  display: block;
  margin-top: 0.55rem;
  font-weight: 600;
}
.service-details--ks .about-button .theme-btn {
  margin-bottom: 0.75rem;
}

/* ===== Blog pages ===== */
.blog-wrapper .section-title p {
  max-width: 46rem;
  margin: 0.85rem auto 0;
  line-height: 1.7;
}
.blog-wrapper .single-blog-post .post-content h2 {
  line-height: 1.3;
}
.blog-wrapper .single-blog-post .post-content p,
.blog-wrapper .blog-post-details .post-content p {
  line-height: 1.75;
}
.blog-wrapper .main-sidebar .popular-posts .post-content h5 {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ===== FAQ page ===== */
.faq-page--ks .section-title h2 {
  line-height: 1.25;
  max-width: 14ch;
}
.faq-page--ks .faq-wrapper > .row > .col-lg-5 > p {
  max-width: 34rem;
  line-height: 1.7;
}
.faq-page-cta {
  margin-top: 0.5rem;
}
.faq-page-cta__meta {
  margin-top: 1.25rem;
  line-height: 1.7;
  font-size: 0.98rem;
}
.faq-page-cta__meta a {
  color: var(--theme, #166FD3);
  font-weight: 600;
}
.faq-page--ks .accordion-body {
  line-height: 1.7;
}

/* ===== Breadcrumb (sitewide) ===== */
.breadcrumb-wrapper {
  background-position: center center;
  background-size: cover;
}
.breadcrumb-wrapper::before {
  background: linear-gradient(90deg, rgba(8, 20, 40, 0.78), rgba(22, 111, 211, 0.45)) !important;
}

/* ===== Contact page ===== */
.contact-main-area .section-title h2 {
  line-height: 1.25;
  max-width: 16ch;
}
.contact-main-area .contact-content > p {
  max-width: 36rem;
  line-height: 1.7;
}
.contact-main-area .info-items .content p,
.contact-main-area .info-items .content a {
  line-height: 1.55;
}
.contact-main-area .contact-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 280px;
}
.contact-form-items .form-clt input[type="tel"] {
  width: 100%;
}

/* ===== About page (distinct from homepage) ===== */
.about-page-story .section-title h2 {
  line-height: 1.25;
  max-width: 18ch;
}
.about-page-kicker {
  margin: 1.5rem 0 0.75rem;
  color: var(--theme, #166FD3);
  font-size: 1.05rem;
  font-weight: 700;
}
.about-page-story p {
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-page-media {
  position: relative;
  max-width: 520px;
  padding-bottom: 48px;
  margin-right: 24px;
}
.about-page-media > img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  box-shadow: 0 18px 50px rgba(22, 111, 211, 0.12);
}
.about-page-media__accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  max-width: 220px;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
  background: #fff;
}
.about-page-media__accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-page-title-center {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.about-page-card {
  height: 100%;
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid rgba(22, 111, 211, 0.08);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 13, 29, 0.04);
}
.about-page-card--accent {
  background: var(--theme, #166FD3);
  border-color: transparent;
  color: #fff;
}
.about-page-card--accent h3,
.about-page-card--accent p,
.about-page-card--accent .about-page-card__icon i {
  color: #fff;
}
.about-page-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 111, 211, 0.1);
  margin-bottom: 1.25rem;
}
.about-page-card--accent .about-page-card__icon {
  background: rgba(255, 255, 255, 0.15);
}
.about-page-card__icon i {
  font-size: 1.75rem;
  color: var(--theme, #166FD3);
}
.about-page-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}
.about-page-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.98rem;
}
.about-page-offer .title-section-area {
  align-items: flex-start;
  margin-bottom: 2rem;
}
.about-page-offer-lead {
  max-width: 28rem;
  margin: 0;
  line-height: 1.7;
}
.about-page-offer-item {
  height: 100%;
  padding: 2rem 1.75rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 13, 29, 0.05);
}
.about-page-offer-item .icon {
  font-size: 2.5rem;
  color: var(--theme, #166FD3);
  margin-bottom: 1rem;
  line-height: 1;
}
.about-page-offer-item h4 {
  margin-bottom: 0.75rem;
}
.about-page-offer-item p {
  margin: 0;
  line-height: 1.65;
}
.about-page-offer-item--cta .theme-btn {
  margin-top: 1.25rem;
}
.about-page-approach-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin: 1.5rem 0 1.75rem;
}
.about-page-approach-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-page-approach-list li {
  margin-bottom: 0.65rem;
}
.about-page-approach .manage-image {
  min-height: 420px;
  border-radius: 10px;
  overflow: hidden;
}
@media (max-width: 991px) {
  .about-page-story .section-title h2 {
    max-width: none;
  }
  .about-page-media {
    margin: 0 auto 1rem;
  }
}
@media (max-width: 575px) {
  .about-page-media__accent {
    max-width: 150px;
    border-width: 4px;
  }
  .about-page-offer .title-section-area {
    flex-direction: column;
  }
}

/* Footer design credit (replaces bottom link menu) */
.footer-bottom .footer-design-credit {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--white, #fff);
}
.footer-bottom .footer-design-credit a {
  color: var(--theme, #3c72fc);
  font-weight: 700;
  text-decoration: none;
}
.footer-bottom .footer-design-credit a:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  .footer-bottom .footer-wrapper {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* Honeypot fields must never appear in the layout */
.ks-hp,
form div[aria-hidden="true"]:has(input[name="website"]) {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Floating Call + WhatsApp */
.ks-float-actions {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ks-float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
  position: relative;
}
.ks-float-btn i {
  font-size: 22px;
  line-height: 1;
}
.ks-float-btn span {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ks-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.28);
}
.ks-float-btn:hover span {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.ks-float-call {
  background: #3c72fc;
}
.ks-float-call:hover {
  background: #2f5fd6;
}
.ks-float-wa {
  background: #25d366;
}
.ks-float-wa:hover {
  background: #1ebe57;
}
@media (max-width: 575px) {
  .ks-float-actions {
    right: 14px;
    bottom: 18px;
  }
  .ks-float-btn {
    width: 48px;
    height: 48px;
  }
  .ks-float-btn i {
    font-size: 20px;
  }
  .ks-float-btn span {
    display: none;
  }
}
/* Keep clear of theme scroll-up control if present */
.scroll-icon {
  right: 22px !important;
  bottom: 150px !important;
}
@media (max-width: 575px) {
  .scroll-icon {
    right: 14px !important;
    bottom: 130px !important;
  }
}
