/*
 * Appikr layout refinement
 * Conservative compatibility layer: preserves original markup, page content,
 * headers, footer and brand palette while correcting spacing and responsiveness.
 */
:root {
  --appikr-navy: #050748;
  --appikr-blue: #11acee;
  --appikr-indigo: #324aa9;
  --appikr-pink: #ff1f8e;
  --appikr-paper: #f7f9fd;
  --appikr-ink: #101534;
  --appikr-muted: #666b82;
  --appikr-line: rgba(50, 74, 169, .13);
  --appikr-shadow: 0 14px 42px rgba(28, 39, 91, .09);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  color: var(--appikr-ink);
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

.menuIcon {
  appearance: none;
  border: 0;
  background: transparent;
}

.common-heading,
.inner-heading {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.common-heading h2,
.inner-heading h2 {
  letter-spacing: -.025em;
  text-wrap: balance;
}

.common-heading p,
.inner-heading p,
.header-heading p,
p {
  text-wrap: pretty;
}

/* Preserve original section structure; only normalize inconsistent spacing. */
.pad-tb,
.about-agency,
.dg-service2,
.specialized-offers,
.work-category,
.badges-section,
.dg-portfolio-section,
.about-video-section,
.about-sec-app,
.mission-panl,
.clients-section,
.leader-section,
.faqs-section,
.service-section-app,
.appikr-process,
.tech-stack,
.testinomial-section,
.blog-page {
  height: auto;
}

.pad-tb {
  padding-top: clamp(64px, 7vw, 100px);
  padding-bottom: clamp(64px, 7vw, 100px);
}

/* Keep imagery complete instead of imposing crops or fixed heights. */
.about-image,
.image-block,
.img-block,
.statistics-img,
.service-image,
.portfolio-image,
[class*="image-"] {
  max-width: 100%;
}

.about-image img,
.image-block img,
.img-block img,
.statistics-img img,
.service-image img,
.portfolio-image img,
.dg-portfolio-section img,
.about-agency img,
.about-sec-app img,
.work-category img,
.badges-section img,
.clients-section img,
.leader-section img {
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
}

.hero-card-web img,
.inner-hero-card-web img {
  max-width: 100%;
  height: auto;
}

/* Quiet card polish without changing grid/column behavior. */
.s-block,
.service-card-app,
.item-grid,
.case-study-1,
.process-content,
.address-block,
.item-point,
.card-1,
.wide-block {
  border-color: var(--appikr-line);
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(28, 39, 91, .07);
}

.s-block,
.service-card-app,
.item-grid,
.process-content,
.address-block,
.item-point,
.card-1 {
  height: 100%;
}

.s-block:hover,
.service-card-app:hover,
.item-grid:hover,
.case-study-1:hover,
.item-point:hover {
  box-shadow: var(--appikr-shadow);
  transform: translateY(-3px);
}

.s-block,
.service-card-app,
.item-grid,
.case-study-1,
.item-point {
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn-main,
.lnk,
.custom-btn,
.whatsapp {
  white-space: nowrap;
}

input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  max-width: 100%;
  border-radius: 8px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Original About page: retain three-column content and restore natural images. */
.about-video-section .row {
  align-items: stretch;
}

.about-video-section .about-image,
.about-video-section .about-image img {
  width: 100%;
  height: auto;
}

.about-video-section .about-image img {
  object-fit: contain;
}

.about-video-section .video-cnt {
  height: 100%;
}

.about-video-section .video-cnt-right li {
  margin-bottom: 18px;
}

/* Keep portfolio and client assets centered without enlarging them. */
.portfolio-10 .industry-workfor,
.clients-logo,
.badges-section .img-badge,
.technology-logo,
.tech-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients-logo img,
.badges-section .img-badge img,
.technology-logo img,
.tech-logo img {
  width: auto;
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}

/* Tables and long copy must stay within the content column. */
table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-content,
.policy-content,
.terms-content {
  overflow-wrap: anywhere;
}

/* Fill the original 601–767px responsive gap in city.css. */
@media (min-width: 601px) and (max-width: 767px) {
  .cst_navbar {
    display: none;
  }

  .open .cst_navbar {
    display: block;
    padding: 80px 0 0;
  }

  .menuIcon {
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    top: 40px;
    right: 20px;
  }

  .mobile_logo {
    display: block;
  }

  .mobile_logo img {
    width: 140px;
  }

  .cst_logo {
    display: none;
  }

  .cst_navbar_tab {
    display: flex;
    flex-direction: column;
  }

  .cst_header {
    top: -100%;
    transition: top .35s ease;
  }

  .open .cst_header {
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #fff;
  }

  .open .cst_header .cst_navbar_tab .nav-link {
    padding: 8px 16px;
    color: #666;
    line-height: 2.35;
  }

  .menu-content {
    margin-left: 0;
    overflow-y: auto;
    padding: 10px 0 24px;
  }

  .open.mystyle .menu-content {
    top: 0;
    visibility: visible;
    opacity: 1;
  }

  .tabcontent {
    padding: 40px 28px 30px;
  }
}

@media (max-width: 991px) {
  .pad-tb {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-card-web,
  .inner-hero-card-web {
    height: auto !important;
    min-height: 680px !important;
    padding-top: 130px;
    padding-bottom: 70px !important;
  }

  .hero-heading-sec h1,
  .inner-hero-heading h1 {
    font-size: clamp(36px, 7vw, 54px) !important;
    line-height: 1.08 !important;
  }

  .about-video-section .about-image,
  .about-video-section .about-image img {
    height: auto;
  }

  .about-video-section .about-image {
    margin-bottom: 24px;
  }

  .about-video-section .video-cnt-left {
    padding: 32px 22px;
  }

  .about-video-section .video-cnt-right {
    padding: 20px 10px;
  }

  h2.extra-lg {
    font-size: clamp(42px, 9vw, 64px);
    line-height: 1.05;
  }

  .service-card-app,
  .s-block,
  .item-grid,
  .item-point,
  .process-content {
    margin-bottom: 24px;
  }

  .cta-area,
  .cta-bg {
    height: auto !important;
  }
}

@media (max-width: 767px) {
  .container,
  .container-fluid {
    padding-right: 20px;
    padding-left: 20px;
  }

  .pad-tb {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-card-web,
  .inner-hero-card-web {
    min-height: 620px !important;
    padding-top: 120px;
    padding-bottom: 54px !important;
  }

  .hero-heading-sec h1,
  .inner-hero-heading h1 {
    font-size: clamp(32px, 10vw, 44px) !important;
    line-height: 1.12 !important;
  }

  .hero-heading-sec > p,
  .inner-hero-heading > p,
  p.sm-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .common-heading h2,
  .inner-heading h2 {
    margin-bottom: 24px;
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 1.2 !important;
  }

  .row {
    margin-right: -10px;
    margin-left: -10px;
  }

  [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
  }

  .btn-main,
  .lnk,
  .custom-btn {
    max-width: 100%;
    padding-right: 22px;
    padding-left: 22px;
    white-space: normal;
  }

  .portfolio-10 .list-inline {
    column-count: 1;
  }

  .about-video-section .video-cnt,
  .about-video-section .video-cnt-left,
  .about-video-section .video-cnt-right {
    padding: 24px 16px;
  }

  .about-video-section .video-cnt-right li {
    padding: 16px 0;
  }

  .s-block,
  .service-card-app,
  .item-grid,
  .case-study-1,
  .process-content,
  .address-block,
  .item-point,
  .card-1,
  .wide-block {
    height: auto;
  }

  .statistics {
    align-items: flex-start;
  }

  .statistics-img {
    flex: 0 0 auto;
  }
}

@media (max-width: 420px) {
  .container,
  .container-fluid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-card-web,
  .inner-hero-card-web {
    min-height: 580px !important;
  }

  .hero-heading-sec h1,
  .inner-hero-heading h1 {
    font-size: clamp(30px, 10.5vw, 40px) !important;
  }

  .menu-content .tabcontent {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
