:root {
  --primary: #011A44;
  --dark-navy: #00132F;
  --navy: #06285C;
  --medium-blue: #164A8A;
  --light-blue: #DCEBFA;
  --very-light-blue: #F3F8FD;
  --white: #FFFFFF;
  --text-dark: #0A1830;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #FFFFFF;
  width: 100%;
  overflow-x: hidden;
}

.hero-wrapper {
  width: 100%;
  margin-top: 90px;
  padding: 0 24px;
  /* border: 2px solid red; */
  background: #FFFFFF;
}

.hero {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  max-height: 1200px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  /* border: 2px solid yellow; */
  margin-top: 24px;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 400ms ease-out;
}

.hero:hover .hero-bg {
  transform: scale(1.02);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* background: linear-gradient(90deg, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(0, 0, 0, 0.4) 50%, 
    rgba(0, 0, 0, 0) 100%); */
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.2) 30%,
      rgba(0, 0, 0, 0) 100%); */
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 100px;
  bottom: 100px;
  max-width: 1000px;
  height: fit-content;
  width: 68%;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.05),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-heading {
  margin: 0 0 12px 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 47px;
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  margin: 12px 0 24px 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.hero-btn:focus-visible {
  outline: 2px solid var(--light-blue);
  outline-offset: 3px;
}

.hero-btn-primary {
  background: #011A43;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-btn-secondary {
  background: #ffffff;
  color: #011A43;
  border: 1px solid #011A43;
}

.client-indicator {
  position: absolute;
  z-index: 2;
  right: 100px;
  top: 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.client-indicator-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-row {
  display: flex;
  align-items: center;
}

.avatar-row img {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-left: -10px;
  transition: transform 200ms ease-out;
}

.avatar-row img:first-child {
  margin-left: 0;
}

.avatar-row img:hover {
  transform: translateY(-2px);
}

.avatar-plus {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: var(--dark-navy);
  border: 2px solid var(--white);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  margin-left: -10px;
}

.client-count {
  font-size: 46px;
  font-weight: 600;
  color: var(--white);
  line-height: 49px;
  margin: 0;
}

.client-label {
  font-size: 19px;
  line-height: 25px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 8px 0 0 0;
}

@media (prefers-reduced-motion: reduce) {

  .hero .hero-bg,
  .hero-btn,
  .avatar-row img {
    transition: none !important;
  }

  .hero:hover .hero-bg {
    transform: none;
  }
}

/* Laptop */
@media (max-width: 1439px) and (min-width: 1024px) {
  .hero {
    height: 80vh;
    min-height: 550px;
    max-height: 900px;
  }
}

/* Tablet */
@media (max-width: 1023px) and (min-width: 768px) {
  .hero {
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
  }

  .hero-heading {
    font-size: 36px;
    line-height: 44px;
  }

  .hero-content {
    left: 4%;
    width: 78%;
    padding: 32px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-wrapper {
    padding: 0 16px;
    height: auto !important;
  }

  .hero {
    position: relative;
    display: block;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    border-radius: 20px;
    margin-top: 24px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-content {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 92%;
    padding: 24px 20px;
  }

  .hero-heading {
    color: var(--white);
    margin: 0 0 16px 0;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
  }

  .client-indicator {
    position: absolute;
    top: 24px;
    right: 24px;
    bottom: auto;
    left: auto;
    margin: 0;
    z-index: 2;
    align-items: flex-end;
  }

  .avatar-row img,
  .avatar-plus {
    width: 26px;
    height: 26px;
  }

  .client-count {
    font-size: 20px;
    line-height: 26px;
  }

  .client-label {
    font-size: 10px;
    line-height: 14px;
  }

  .hero-description {
    color: var(--white);
    margin: 0 0 24px 0;
    font-size: 15px;
    line-height: 1.6;
    max-width: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
    height: 48px;
    font-size: 15px;
    padding: 0 8px;
    text-align: center;
    white-space: nowrap;
  }
}




/* ABOUT SECTION  */

.about-section {
  width: 100%;
  padding: 0;
  margin-top: 100px;
  display: flex;
  justify-content: center;
  background: #FFFFFF;
}

.about-container {
  width: min(100% - 40px, 1052px);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.about-image-wrapper {
  position: relative;
  width: 421px;
  height: 449px;
  border-radius: 24px;
  background: #EBF3FF;
  overflow: hidden;
  flex-shrink: 0;
}

.about-image-fg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.about-content {
  width: 607px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.about-label {
  width: 86px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 125%;
  color: #000000;
  margin: 0 0 8px 0;
}

.about-heading {
  width: 378px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 33.18px;
  line-height: 125%;
  color: #000000;
  margin: 0 0 8px 0;
}

.about-text {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
}

.about-text:nth-of-type(1) {
  width: 573px;
  margin: 0 0 16px 0;
}

.about-text:nth-of-type(2) {
  width: 607px;
  margin: 0;
}

.about-subheading {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 27.65px;
  line-height: 125%;
  color: #000000;
  margin-top: 10px;
  margin-bottom: 14px;
  /* border: 2px solid red; */
}

.about-subheading + .about-text {
  margin-top: 0;
}

.about-signature {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 125%;
  color: #000000;
  margin-top: 24px;
  align-self: flex-end;
  text-align: left;
  max-width: 200px;
}

/* Tablet */
@media (max-width: 1080px) {
  .about-container {
    width: 100%;
    padding: 0 24px;
    flex-direction: column;
    align-items: center;
  }

  .about-image-wrapper {
    width: 100%;
    max-width: 421px;
  }

  .about-content {
    width: 100%;
  }

  .about-signature {
    align-self: flex-start;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .about-section {
    margin-top: 32px !important;
  }

  .about-container {
    align-items: stretch;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 16px !important;
  }

  .about-content {
    display: contents !important;
  }

  .about-label {
    order: 1 !important;
    margin: 0 0 16px 0 !important;
  }

  .about-heading {
    order: 2 !important;
    margin: 0 0 24px 0 !important;
    font-size: 32px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-image-wrapper {
    order: 3 !important;
    margin: 0 0 24px 0 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 421 / 449 !important;
  }

  .about-text,
  .about-subheading,
  .about-signature {
    order: 4 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-text {
    margin: 0 0 32px 0 !important;
  }

  .about-text:last-of-type {
    margin-bottom: 0 !important;
  }

  .about-subheading {
    margin: 0 0 24px 0 !important;
    font-size: 24px !important;
  }
}

@media (max-width: 360px) {
  .about-heading {
    font-size: 28px !important;
  }
}


/* ABOUT SECTION END */



/* OUR BUSINESS DIVISION SECTIO */
:root {
  --color-primary: #011A44;
  --color-primary-dark: #00132F;
  --color-primary-mid: #06285C;
  --color-primary-light: #164A8A;
  --color-bg-tint: #DCEBFA;
  --color-bg-soft: #F3F8FD;
  --color-white: #FFFFFF;

  --color-card-bg: #F5FAFE;
  --color-image-bg: #DCE7F3;
  --color-title: #011A44;
  --color-desc: #667384;
  --color-link: #011A44;

  --radius-card: 12px;
  --gap: 16px;
  --shadow-card: 0 2px 10px rgba(1, 26, 68, 0.04);
}

/* OUR BUSINESS DIVISION SECTION START */
.divisions-section {
  width: 100%;
  padding: 0;
  margin-top: 100px;
  display: flex;
  justify-content: center;
  background: #FFFFFF;
}

.divisions-container {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.divisions-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 6vw, 33.18px);
  line-height: 125%;
  color: #000000;
  margin: 0 0 32px 0;
  text-align: left;
}

.divisions-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.division-card {
  width: calc(33.333% - 16px);
  height: auto;
  background: #F5FAFF;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.division-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.division-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #FAFDFF;
  border-radius: 24px 24px 0px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.division-card__image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.division-card:hover .division-card__image img {
  transform: scale(1.08);
}

.division-card__content {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.division-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 23px;
  color: #17212B;
  margin: 0 0 8px 0;
}

.division-card__desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #607080;
  margin: 0 0 16px 0;
  flex: 1;
  width: 330px;
  /* border:2px solid red; */
}

.division-card__cta {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 26px;
  color: #011A43;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.division-card__cta .cta-text {
  position: relative;
  display: inline-block;
}

.division-card__cta .cta-text::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.division-card__cta .arrow-icon {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.division-card:hover .division-card__cta {
  color: #011A43;
}

.division-card:hover .division-card__cta .cta-text::after {
  transform: scaleX(1);
}

.division-card:hover .division-card__cta .arrow-icon {
  transform: translateX(6px);
}

/* Tablet */
@media (max-width: 1280px) {
  .divisions-container {
    width: 100%;
    padding: 0 24px;
  }

  .divisions-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .division-card {
    width: calc(50% - 12px);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .division-card {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: auto;
  }

  .division-card__image {
    width: 100%;
  }
}

/* OUR BUSINESS DIVISION SECTION END */



/* ─── Why Choose ICS Section ─── */
.why-choose-ics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100% - 40px, 1244px);
  margin: 100px auto;
  font-family: 'Inter', sans-serif;
}

/* Left column */
.wci-left {
  width: 368px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.wci-left h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 6vw, 33.18px);
  line-height: 125%;
  color: #000000;
  margin: 0 0 24px 0;
}

.wci-left p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
  margin: 0 0 24px 0;
}

.wci-left p:last-child {
  margin-bottom: 0;
}

/* Center image */
.wci-center {
  width: 395px;
  height: 413px;
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
}

.wci-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right column */
.wci-right {
  width: 417px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wci-item {
  display: flex;
  flex-direction: column;
}

.wci-right h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
  margin: 0 0 4px 0;
}

.wci-right p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
  margin: 0;
}

/* Responsive */
@media (max-width: 1300px) {
  .why-choose-ics {
    width: 100%;
    padding: 0 24px;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }

  .wci-left,
  .wci-right {
    width: 100%;
    max-width: 600px;
  }

  .wci-center {
    align-self: center;
    max-width: 100%;
    height: auto;
    aspect-ratio: 395 / 413;
  }
}

/* Why choose ics section end */


/* TESTIMONIAL SECTION */


:root {
  --primary: #011A44;
  --dark-navy: #00132F;
  --navy: #06285C;
  --medium-blue: #164A8A;
  --light-blue: #DCEBFA;
  --very-light-blue: #F3F8FD;
  --white: #FFFFFF;
  --body-text: #111827;
  --secondary-text: #5F6670;
  --border-subtle: #EEF2F6;
  --arrow-border: #DCE5EF;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--white);
}

.testimonials-section {
  background: #FFFFFF;
  padding: 0;
  margin-top: 100px;
}

.testimonials-container {
  width: min(100% - 40px, 1248px);
  margin-inline: auto;
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.testimonials-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 6vw, 33.18px);
  line-height: 125%;
  font-weight: 700;
  color: #000000;
  margin: 0;
}

/* Arrows */
.carousel-controls {
  display: flex;
  gap: 16px;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 0.8px solid #DCE5EF;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0;
}

.carousel-arrow svg {
  stroke: #011A44;
  width: 18px;
  height: 18px;
}

/* Carousel */
.carousel-wrapper {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 550ms cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: grab;
  will-change: transform;
}

.carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

.testimonial-card {
  flex: 0 0 400px;
  width: 400px;
  height: 272px;
  background: #F5FAFF;
  border: 0.8px solid #EEF2F6;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  user-select: none;
}

.testimonial-text-wrap {
  display: flex;
  flex-direction: column;
}

.testimonial-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 23px;
  color: #111827;
  margin: 0;
  max-height: 138px;
  overflow: hidden;
}

.read-more-btn {
  background: none;
  border: none;
  padding: 8px 0 0 0;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #011A44;
  cursor: pointer;
  align-self: flex-start;
  display: none;
}

.read-more-btn.visible {
  display: inline-block;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  line-height: 14px;
}

.testimonial-role {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #4F5661;
  line-height: 12px;
}

@media (max-width: 1300px) {
  .testimonials-container {
    width: 100%;
    padding: 0 24px;
  }
}

@media (max-width: 767px) {
  .testimonial-card {
    flex: 0 0 85vw;
    width: 85vw;
    height: auto;
    min-height: 272px;
  }

  .testimonials-title {
    font-size: 26px;
  }
}



.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* TESTIMONIAL SECTION END */


/* CTA SECTION */
.cta-hero {
  position: relative;
  width: 1240px;
  height: 471px;
  margin: 100px auto;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
}

.cta-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
  z-index: 0;
}

.cta-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(109, 108, 108, 0.199);
  z-index: 1;
}

.cta-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  width: 100%;
}

.cta-hero-content h2 {
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  margin-bottom: 12px;
  white-space: nowrap;
}

.cta-hero-content p {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 660px;
}

.cta-hero-btn {
  display: inline-block;
  background: #011A44;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  width: auto;
}

.cta-hero-btn:hover,
.cta-hero-btn:active {
  background: #142769;
}

/* Tablet */
@media (max-width: 768px) {
  .cta-hero {
    border-radius: 16px;
    min-height: 360px;
    height: auto;
    margin: 64px auto;
    width: min(100% - 48px, 1240px);
    padding: 60px 0;
  }

  .cta-hero-content h2 {
    font-size: 32px !important;
    white-space: normal !important;
    padding: 0 16px !important;
  }

  .cta-hero-content p {
    padding: 0 16px !important;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .cta-hero {
    border-radius: 14px;
    min-height: 320px;
    margin: 48px auto;
    width: min(100% - 32px, 1240px);
    padding: 50px 0;
  }

  .cta-hero-content h2 {
    margin-bottom: 16px;
  }

  .cta-hero-content p {
    margin-bottom: 24px;
  }

  .cta-hero-btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .cta-hero {
    padding: 40px 0;
  }
}

/* Landscape short-height phones */
@media (max-height: 480px) and (orientation: landscape) {
  .cta-hero {
    min-height: 280px;
    padding: 40px 0;
  }
}

/* CTA END  */




/* ICS YT SECTION START */

:root {
  --card-radius: 24px;
  --transition-speed: 600ms;
  --transition-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.ics-section * {
  box-sizing: border-box;
}

.ics-section {
  background: #ffffff;
  padding: 0;
  margin-top: 100px;
  margin-bottom: 100px;
  width: 100%;
  font-family: 'Inter', sans-serif;
}

.ics-header {
  width: min(100% - 40px, 1240px);
  margin: 0 auto 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ics-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 6vw, 33.18px);
  font-weight: 700;
  line-height: 125%;
  color: #000000;
  margin: 0;
}

.ics-nav {
  display: flex;
  gap: 16px;
}

.ics-arrow {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 0.8px solid #DCE5EF;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  padding: 0;
}

.ics-arrow:hover {
  background: #f5f5f5;
  border-color: #c9c9c9;
}

.ics-arrow:active {
  transform: scale(0.94);
}

.ics-arrow svg {
  width: 18px;
  height: 18px;
  stroke: #011A44;
  stroke-width: 1.5px;
  pointer-events: none;
}

.ics-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ics-viewport {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.ics-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  will-change: transform;
  height: 541px;
}

.ics-card {
  position: relative;
  flex: 0 0 auto;
  width: 320px;
  height: 469px;
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #FFFFFF;
  transition:
    width var(--transition-speed) var(--transition-ease),
    height var(--transition-speed) var(--transition-ease),
    opacity var(--transition-speed) var(--transition-ease),
    filter var(--transition-speed) var(--transition-ease),
    transform var(--transition-speed) var(--transition-ease),
    box-shadow var(--transition-speed) var(--transition-ease);
  flex-shrink: 0;
}

.ics-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--card-radius);
  user-select: none;
  -webkit-user-drag: none;
}

.ics-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.ics-play-icon svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
  /* visually center play triangle */
}

.ics-card:hover .ics-play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.ics-card.is-center {
  width: 337px;
  height: 541px;
  z-index: 3;
  box-shadow: none;
}

.ics-card.is-adjacent {
  opacity: 1;
  z-index: 2;
}

.ics-card.is-edge {
  opacity: 0.85;
  z-index: 1;
}

/* Mobile / tablet tuning */
@media (max-width: 1024px) {
  .ics-viewport {
    padding: 0 20px;
  }

  .ics-header {
    padding: 0 20px;
  }

  .ics-track {
    height: 390px;
  }

  .ics-card {
    width: 220px;
    height: 360px;
  }

  .ics-card.is-center {
    width: 240px;
    height: 390px;
  }
}

@media (max-width: 767px) {
  .ics-header {
    margin-bottom: 24px;
    padding: 0 16px;
    width: 100%;
  }

  .ics-track {
    height: auto;
  }

  .ics-title {
    font-size: clamp(26px, 7vw, 30px);
  }

  .ics-arrow {
    width: 36px;
    height: 36px;
  }

  .ics-viewport {
    padding: 0 16px;
    overflow-x: hidden;
    touch-action: pan-y;
  }

  .ics-card {
    width: 85vw;
    height: auto;
    aspect-ratio: 4 / 5;
    min-height: auto;
    border-radius: 16px;
  }

  .ics-card.is-center {
    width: 85vw;
    height: auto;
    aspect-ratio: 4 / 5;
    min-height: auto;
    box-shadow: none;
    z-index: 1;
  }

  .ics-card.is-adjacent {
    opacity: 1;
  }

  .ics-card.is-edge {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .ics-section * {
    box-sizing: border-box;
  }

  .ics-section {
    background: #ffffff;
    padding: 0;
    margin-top: 100px;
    margin-bottom: 100px;
    width: 100%;
    font-family: 'Inter', sans-serif;
  }

  .ics-header {
    width: min(100% - 40px, 1240px);
    margin: 0 auto 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .ics-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(24px, 6vw, 33.18px);
    font-weight: 700;
    line-height: 125%;
    color: #000000;
    margin: 0;
  }

  .ics-nav {
    display: flex;
    gap: 16px;
  }

  .ics-arrow {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 0.8px solid #DCE5EF;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    padding: 0;
  }

  .ics-arrow:hover {
    background: #f5f5f5;
    border-color: #c9c9c9;
  }

  .ics-arrow:active {
    transform: scale(0.94);
  }

  .ics-arrow svg {
    width: 18px;
    height: 18px;
    stroke: #011A44;
    stroke-width: 1.5px;
    pointer-events: none;
  }

  .ics-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .ics-viewport {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    touch-action: pan-y;
  }

  .ics-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    will-change: transform;
    height: 541px;
  }

  .ics-card {
    position: relative;
    flex: 0 0 auto;
    width: 320px;
    height: 469px;
    border-radius: var(--card-radius);
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    /* border: 1px solid #f0f0f0; */
    transition:
      width var(--transition-speed) var(--transition-ease),
      height var(--transition-speed) var(--transition-ease),
      opacity var(--transition-speed) var(--transition-ease),
      filter var(--transition-speed) var(--transition-ease),
      transform var(--transition-speed) var(--transition-ease),
      box-shadow var(--transition-speed) var(--transition-ease);
    flex-shrink: 0;
  }

  .ics-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--card-radius);
    user-select: none;
    -webkit-user-drag: none;
  }

  .ics-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 10;
  }

  .ics-play-icon svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
    /* visually center play triangle */
  }

  .ics-card:hover .ics-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .ics-card.is-center {
    width: 337px;
    height: 541px;
    z-index: 3;
    box-shadow: none;
  }

  .ics-card.is-adjacent {
    opacity: 1;
    z-index: 2;
  }

  .ics-card.is-edge {
    opacity: 0.85;
    z-index: 1;
  }

  /* Mobile / tablet tuning */
  @media (max-width: 1024px) {
    .ics-viewport {
      padding: 0 20px;
    }

    .ics-header {
      padding: 0 20px;
    }

    .ics-track {
      height: 390px;
    }

    .ics-card {
      width: 220px;
      height: 360px;
    }

    .ics-card.is-center {
      width: 240px;
      height: 390px;
    }
  }

  @media (max-width: 767px) {
    .ics-header {
      margin-bottom: 24px;
      padding: 0 16px;
      width: 100%;
    }

    .ics-track {
      height: auto;
    }

    .ics-title {
      font-size: clamp(26px, 7vw, 30px);
    }

    .ics-arrow {
      width: 36px;
      height: 36px;
    }

    .ics-viewport {
      padding: 0 16px;
      overflow-x: hidden;
      touch-action: pan-y;
    }

    .ics-card {
      width: 85vw;
      height: auto;
      aspect-ratio: 4 / 5;
      min-height: auto;
      border-radius: 16px;
    }

    .ics-card.is-center {
      width: 85vw;
      height: auto;
      aspect-ratio: 4 / 5;
      min-height: auto;
      box-shadow: none;
      z-index: 1;
    }

    .ics-card.is-adjacent {
      opacity: 1;
    }

    .ics-card.is-edge {
      opacity: 1;
    }
  }

  @media (max-width: 640px) {
    .ics-track {
      gap: 16px;
    }
  }

  /* ICS YT END */

  /* Mobile Universal Heading Override */
  @media (max-width: 767px) {

    .hero-heading,
    .about-heading,
    .about-subheading,
    .divisions-heading,
    .wci-left h1,
    .wci-item h3,
    .testimonials-title,
    .cta-hero-content h2,
    .ics-title,
    .division-card__title {
      font-size: 28px !important;
      line-height: 1.25 !important;
      margin-bottom: 24px !important;
    }

    .hero-heading br {
      display: none;
    }

    .hero-description,
    .about-text,
    .wci-left p,
    .wci-item p,
    .division-card__desc,
    .cta-hero-content p {
      margin-bottom: 24px !important;
    }

    .about-text:last-of-type,
    .wci-item p:last-of-type,
    .division-card__desc:last-of-type {
      margin-bottom: 0 !important;
    }

    .about-section,
    .divisions-section,
    .why-choose-ics,
    .testimonials-section,
    .cta-hero,
    .ics-section {
      margin-top: 48px !important;
    }

    .why-choose-ics,
    .cta-hero,
    .ics-section {
      margin-bottom: 48px !important;
    }

    .hero-wrapper,
    .about-container,
    .divisions-container,
    .why-choose-ics,
    .testimonials-container,
    .cta-hero,
    .ics-header,
    .ics-viewport {
      padding-left: 16px !important;
      padding-right: 16px !important;
    }

    .cta-hero {
      padding-top: 48px !important;
      padding-bottom: 48px !important;
      height: auto !important;
    }

    .divisions-grid {
      display: flex !important;
      flex-direction: column !important;
      gap: 24px !important;
    }

    .why-choose-ics {
      display: flex !important;
      flex-direction: column !important;
      gap: 24px !important;
      align-items: flex-start !important;
    }

    .wci-left,
    .wci-right {
      width: 100% !important;
      max-width: 100% !important;
    }
  }

  @media (max-width: 767px) {

    .testimonials-header,
    .ics-header {
      margin-bottom: 24px !important;
    }

    .testimonials-title,
    .ics-title {
      margin-bottom: 0 !important;
    }
  }

  @media (max-width: 767px) {
    .wci-center {
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
    }

    .why-choose-ics {
      margin-bottom: 24px !important;
    }

    .testimonials-section {
      margin-top: 0 !important;
    }
  }

  @media (max-width: 767px) {

    /* Comprehensive reset for the gap issues */
    .why-choose-ics {
      display: flex !important;
      flex-direction: column !important;
      justify-content: flex-start !important;
      gap: 24px !important;
      margin-bottom: 24px !important;
      padding-bottom: 0 !important;
      height: auto !important;
      min-height: 0 !important;
    }

    .testimonials-section {
      margin-top: 0 !important;
      padding-top: 0 !important;
    }

    .wci-left {
      margin-bottom: 0 !important;
    }

    .wci-center {
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    .wci-center img {
      height: auto !important;
      object-fit: contain !important;
    }

    .wci-right {
      margin: 0 !important;
      padding: 0 !important;
    }

    .wci-item:last-child {
      margin-bottom: 0 !important;
    }
  }

  @media (max-width: 767px) {

    /* 1. Force EXACT 24px margin below all headings */
    .hero-heading,
    .about-heading,
    .about-subheading,
    .divisions-heading,
    .card-title,
    .wci-left h1,
    .wci-item h3,
    .wci-right h3,
    .testimonials-title,
    .cta-hero-content h2,
    .ics-title {
      margin-bottom: 24px !important;
      padding-bottom: 0 !important;
    }

    /* 2. Remove margin-top from the immediate next content to prevent double spacing / margin compounding */
    .hero-heading+*,
    .about-heading+*,
    .about-subheading+*,
    .divisions-heading+*,
    .card-title+*,
    .wci-left h1+*,
    .wci-item h3+*,
    .wci-right h3+*,
    .cta-hero-content h2+* {
      margin-top: 0 !important;
    }
  }

  @media (max-width: 767px) {

    .wci-item h3,
    .wci-right h3 {
      font-size: 24px !important;
      line-height: 1.3 !important;
    }
  }

  @media (max-width: 767px) {

    /* Enforce exact 24px gaps in the WCI section */
    .wci-item {
      gap: 0 !important;
    }

    .wci-item p,
    .wci-right p {
      margin-top: 0 !important;
      margin-bottom: 0 !important;
      padding-top: 0 !important;
      padding-bottom: 0 !important;
    }

    .wci-right {
      gap: 24px !important;
      /* The space between items */
    }

    .wci-item h3,
    .wci-right h3 {
      margin-bottom: 24px !important;
      padding-bottom: 0 !important;
    }
  }

  /* Restore Navbar Clearance for Hero Section */
  body.page-home {
    padding-top: 100px !important;
  }

  body.page-home .hero-wrapper {
    margin-top: 0 !important;
  }

  @media (max-width: 1100px) {
    body.page-home {
      padding-top: 78px !important;
    }

    body.page-home .hero-wrapper {
      margin-top: 0 !important;
    }
  }
}

/* ================================
   TABLET RESPONSIVE ONLY
   768px - 1024px
================================ */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Global Tablet Containers */
  .about-container,
  .divisions-container,
  .testimonials-container,
  .cta-hero,
  .ics-header {
    width: 94% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Section Spacing */
  .about-section,
  .divisions-section,
  .why-choose-ics,
  .testimonials-section,
  .cta-hero,
  .ics-section {
    margin-top: 50px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Hero Section (Tablet Grid Stack matching image) */
  .hero-wrapper {
    padding: 0 16px !important;
    height: auto !important;
  }

  .hero {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: max-content !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 0 !important;
    margin-top: 24px !important;
    background: none !important;
    overflow: visible !important;
  }

  .hero::before,
  .hero::after {
    display: none !important;
  }

  .hero-content {
    display: contents !important;
  }

  .hero-heading {
    grid-row: 1 !important;
    grid-column: 1 !important;
    color: var(--text-dark) !important;
    margin: 0 0 20px 0 !important;
    font-size: 36px !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
  }

  .hero .hero-bg {
    grid-row: 2 !important;
    grid-column: 1 !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    /* Made image taller per user request */
    border-radius: 20px !important;
    object-fit: cover !important;
    margin-bottom: 24px !important;
  }

  .client-indicator {
    grid-row: 2 !important;
    grid-column: 1 !important;
    position: relative !important;
    top: 20px !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;
    align-self: start !important;
    justify-self: end !important;
    margin: 0 !important;
    z-index: 2 !important;
    align-items: flex-end !important;
  }

  /* Client indicator text size adjustment to match screenshot */
  .client-count {
    font-size: 32px !important;
    line-height: 1.1 !important;
  }

  .client-label {
    font-size: 14px !important;
  }

  .avatar-row img {
    width: 36px !important;
    height: 36px !important;
  }

  .avatar-plus {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }

  .hero-description {
    grid-row: 3 !important;
    grid-column: 1 !important;
    color: var(--text-dark) !important;
    margin: 0 0 24px 0 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
  }

  .hero-actions {
    grid-row: 4 !important;
    grid-column: 1 !important;
    display: flex !important;
    gap: 16px !important;
    width: 100% !important;
    justify-content: flex-start !important;
    margin-bottom: 32px !important;
  }

  .hero-btn {
    width: auto !important;
    padding: 0 24px !important;
  }

  /* About ICS Section */
  .about-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 40px !important;
  }

  .about-image-wrapper {
    width: 38% !important;
    max-width: none !important;
    height: 400px;
    aspect-ratio: 421 / 449 !important;
  }

  .about-content {
    width: 58% !important;
    max-width: none !important;
  }

  .about-heading,
  .about-text,
  .about-subheading {
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-heading {
    font-size: 28px !important;
  }

  /* Business Divisions */
  .divisions-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 24px !important;
  }

  .division-card {
    width: 100% !important;
  }

  .division-card__content {
    padding: 24px !important;
  }

  .division-card__title {
    font-size: 22px !important;
  }

  .division-card__desc {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .division-card__cta {
    font-size: 15px !important;
  }

  /* Why Choose ICS */
  .why-choose-ics {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px 32px !important;
    align-items: center !important;
  }

  .wci-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
  }

  .wci-center {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .wci-center img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .wci-right {
    grid-column: 1 / span 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .wci-item h3,
  .wci-right h3 {
    font-size: 20px !important;
  }

  /* Testimonials */
  .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2) !important;
    width: calc((100% - 24px) / 2) !important;
    min-width: 0 !important;
  }

  /* CTA Banner */
  .cta-hero-content {
    max-width: 80% !important;
  }

  .cta-hero-content h2 {
    font-size: 36px !important;
    white-space: normal !important;
  }
}