html[data-theme-color="skin-1"] {
  --font-base: "Poppins", sans-serif;
  --font-title: "Poppins", sans-serif;
  --default-font-family: "Poppins", sans-serif;
  --primary: #7bc043;
  --primarydark: #5c9d31;
  --primary-rgb: 123, 192, 67;
  --primarylight: #eef8e8;
  --body-color: #4d5871;
  --body-bg: #ffffff;
  --heading-color: #13233f;
  --secondary: #123764;
  --secondarydark: #0b2444;
  --secondary-rgb: 18, 55, 100;
  --light: #f4f9f3;
  --header-height: 86px;
  --card-radius: 22px;
  --service-card-gradient: linear-gradient(90deg, rgba(18, 55, 100, 0.78) 0%, rgba(123, 192, 67, 0.82) 100%);
  --icon-bx-gradient: 180deg, #ffffff 0%, #f0f8ea 100%;
  --shadow-20: 0 20px 50px rgba(18, 55, 100, 0.1);
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  color: var(--body-color);
  background: #ffffff;
}

button,
input,
select,
textarea {
  font-family: var(--font-base);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-title,
.btn {
  font-family: var(--font-title);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.btn-lg {
  min-height: 60px;
}

.cs-header .main-bar {
  width: 100%;
  min-height: var(--header-height);
}

.cs-header .container-fluid {
  gap: clamp(14px, 2vw, 28px);
  max-width: 1400px;
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.4vw, 54px);
}

.cs-header .navbar-nav {
  align-items: center;
  gap: 2px;
}

.cs-header .navbar-nav > li > a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding-inline: clamp(10px, 1.05vw, 18px) !important;
}

.cs-header .extra-nav .btn {
  min-height: 48px;
}

.cs-header .logo-dark {
  width: clamp(190px, 17.5vw, 238px) !important;
  height: var(--header-height) !important;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.cs-header .logo-dark img {
  display: block;
  width: 100%;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
  transition: filter 220ms ease, max-height 220ms ease;
}

.cs-header:not(.is-fixed) .logo-dark img {
  filter: brightness(0) invert(1) drop-shadow(0 3px 14px rgba(0, 0, 0, 0.34));
}

.cs-header nav.header-nav {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 38px rgba(18, 55, 100, 0.12);
}

.sticky-header-wrapper.is-fixed .logo-dark {
  box-shadow: none;
}

.sticky-header-wrapper.is-fixed .main-bar {
  min-height: 76px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 35px rgba(18, 55, 100, 0.1);
  backdrop-filter: blur(14px);
}

.sticky-header-wrapper.is-fixed .container-fluid {
  min-height: 76px;
}

.sticky-header-wrapper.is-fixed .logo-dark {
  height: 76px !important;
}

.sticky-header-wrapper.is-fixed .logo-dark img {
  max-height: 54px;
  filter: none;
}

.cs-header .navbar-nav > li {
  position: relative;
}

.cs-header .sub-menu,
.cs-header .mega-menu {
  top: calc(100% + 12px) !important;
  left: 0 !important;
  min-width: 292px;
  width: max-content !important;
  max-width: min(340px, calc(100vw - 32px));
  padding: 13px 10px !important;
  border: 1px solid rgba(18, 55, 100, 0.08);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(18, 55, 100, 0.14);
  translate: 0 10px !important;
  transform: translateY(10px) !important;
  z-index: 99999 !important;
}

.cs-header .navbar-nav > li:nth-child(3) > .sub-menu {
  min-width: 318px;
}

.cs-header .navbar-nav > li:nth-child(4) > .sub-menu {
  min-width: 300px;
}

.cs-header .navbar-nav > li:hover > .sub-menu,
.cs-header .navbar-nav > li:hover > .mega-menu,
.cs-header .navbar-nav > li:focus-within > .sub-menu,
.cs-header .navbar-nav > li:focus-within > .mega-menu {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  translate: 0 0 !important;
  transform: translateY(0) !important;
}

.cs-header .sub-menu li a,
.cs-header .mega-menu li a {
  display: flex !important;
  align-items: center;
  min-height: 38px;
  padding: 8px 18px !important;
  border-radius: 12px;
  color: var(--body-color) !important;
  line-height: 1.35 !important;
  white-space: nowrap;
}

.cs-header .sub-menu li a:hover,
.cs-header .sub-menu li a.active,
.cs-header .mega-menu li a:hover,
.cs-header .mega-menu li a.active {
  color: var(--secondary) !important;
  background: rgba(var(--primary-rgb), 0.12);
}

.cs-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--secondary);
  padding: 150px 0 92px;
}

.cs-page-hero {
  min-height: 430px;
  padding: 132px 0 72px;
}

.cs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 36, 68, 0.82) 0%, rgba(10, 36, 68, 0.58) 48%, rgba(10, 36, 68, 0.28) 100%);
  z-index: 1;
}

.cs-hero img.cs-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cs-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.cs-hero-content {
  position: relative;
  z-index: 2;
  max-width: 730px;
}

.cs-hero-feature-card {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.cs-hero-mini-swiper {
  overflow: hidden;
  border-radius: 20px;
}

.cs-hero-mini-swiper .swiper-slide {
  position: relative;
  height: 278px;
  overflow: hidden;
}

.cs-hero-mini-swiper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-hero-mini-swiper span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(18, 55, 100, 0.82);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

.cs-hero-feature-meta {
  padding: 18px 6px 4px;
}

.cs-hero-feature-meta strong,
.cs-hero-feature-meta p {
  color: #ffffff;
}

.cs-hero-feature-meta strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.cs-hero-feature-meta p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.cs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.cs-kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

.cs-hero h1 {
  color: #ffffff;
  font-size: clamp(2.55rem, 5.6vw, 4.45rem);
  line-height: 1.08;
  margin-bottom: 24px;
}

.cs-page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.15rem);
}

.cs-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 610px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.cs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.cs-hero .btn-secondary,
.cs-section-dark .btn-secondary,
footer .footer-middle .btn-secondary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--secondary);
}

.cs-hero .btn-secondary:hover,
.cs-section-dark .btn-secondary:hover,
footer .footer-middle .btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.cs-section {
  padding: 88px 0;
}

main > .cs-hero:not(.cs-page-hero) + .cs-section {
  z-index: 2;
  margin-top: -64px;
  padding-top: 0;
  padding-bottom: 78px;
}

main > .cs-hero:not(.cs-page-hero) + .cs-section .container {
  position: relative;
  z-index: 3;
}

.cs-section-sm {
  padding: 64px 0;
}

.cs-section-muted {
  background: var(--light);
}

.cs-section-dark {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.88);
}

.cs-section-dark h1,
.cs-section-dark h2,
.cs-section-dark h3,
.cs-section-dark h4,
.cs-section-dark p,
.cs-section-dark li,
.cs-section-dark a:not(.btn) {
  color: #ffffff;
}

.cs-section-dark .cs-kicker,
.cs-hero .cs-kicker {
  color: #b8ee86;
}

.cs-section-title {
  max-width: 820px;
  margin-bottom: 38px;
}

.cs-section-title h2 {
  margin-bottom: 14px;
}

.cs-section-title h2,
.cs-kicker + h2,
.cs-contact-grid h2 {
  color: var(--secondary);
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

.cs-section-dark .cs-kicker + h2,
.cs-feature-panel .cs-kicker + h2 {
  color: #ffffff;
}

.cs-feature-panel .cs-kicker + h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.cs-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

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

.cs-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cs-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cs-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(18, 55, 100, 0.08);
  border-radius: var(--card-radius);
  box-shadow: 0 18px 55px rgba(18, 55, 100, 0.08);
  height: 100%;
}

.cs-card-pad {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: clamp(24px, 2.35vw, 32px);
}

.cs-card-img {
  display: block;
  flex: none;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.cs-icon-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.45vw, 34px);
  min-height: 100%;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.cs-icon-card h3 {
  min-height: 2.45em;
}

.cs-icon-card p,
.cs-card-pad p {
  line-height: 1.7;
}

.cs-icon-card .cs-link,
.cs-card-pad .cs-link {
  margin-top: auto;
  padding-top: 10px;
}

.cs-card-pad .btn,
.cs-sidebar .btn {
  align-self: flex-start;
}

.cs-icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 65px rgba(18, 55, 100, 0.12);
}

.cs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--primarylight);
  color: var(--primarydark);
  font-size: 1.35rem;
}

.cs-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primarydark);
  font-weight: 700;
}

.cs-link i {
  font-size: 0.8rem;
}

.cs-list {
  display: grid;
  gap: 13px;
}

.cs-list li {
  position: relative;
  padding-left: 30px;
  line-height: 1.65;
}

.cs-list li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 2px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary);
}

.cs-photo-stack {
  position: relative;
  min-height: 520px;
}

.cs-photo-stack img {
  position: absolute;
  width: 68%;
  height: 72%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(18, 55, 100, 0.16);
}

.cs-photo-stack img:first-child {
  top: 0;
  right: 0;
}

.cs-photo-stack img:last-child {
  left: 0;
  bottom: 0;
  border: 10px solid #ffffff;
}

.cs-template-collage {
  position: relative;
  min-height: 540px;
  padding: 0 72px 44px 0;
}

.cs-template-collage img {
  display: block;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(18, 55, 100, 0.15);
}

.cs-collage-main {
  width: 76%;
  height: 460px;
}

.cs-collage-small {
  position: absolute;
  width: 38%;
  height: 190px;
  border: 8px solid #ffffff;
}

.cs-collage-small-top {
  top: 36px;
  right: 0;
}

.cs-collage-small-bottom {
  right: 34px;
  bottom: 0;
}

.cs-collage-badge {
  position: absolute;
  right: 18px;
  top: 46%;
  width: min(218px, 44%);
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(18, 55, 100, 0.17);
}

.cs-collage-badge strong {
  display: block;
  color: var(--secondary);
  font-size: 1.65rem;
  line-height: 1.05;
}

.cs-collage-badge span {
  display: block;
  margin-top: 5px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cs-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  min-height: 158px;
  border-radius: var(--card-radius);
  background: #ffffff;
  border: 1px solid rgba(18, 55, 100, 0.06);
  box-shadow: 0 20px 65px rgba(18, 55, 100, 0.12);
}

.cs-stat strong {
  display: block;
  color: var(--secondary);
  font-size: 2.1rem;
  line-height: 1.1;
}

.cs-stat span {
  display: block;
  margin-top: 8px;
}

.cs-stat i {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 1.35rem;
}

.cs-feature-band {
  padding-top: 72px;
}

.cs-feature-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.8fr) auto;
  gap: clamp(24px, 3.5vw, 46px);
  align-items: center;
  padding: clamp(32px, 4.5vw, 54px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--secondary) 0%, #205584 56%, var(--primarydark) 100%);
  box-shadow: 0 28px 80px rgba(18, 55, 100, 0.16);
}

.cs-feature-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../../src/images/background/bone.png");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 360px auto;
  opacity: 0.1;
  pointer-events: none;
}

.cs-feature-panel > * {
  position: relative;
  z-index: 1;
}

.cs-feature-panel h2,
.cs-feature-panel p {
  color: #ffffff;
}

.cs-feature-panel h2 {
  max-width: 680px;
  margin-bottom: 12px;
}

.cs-feature-panel p {
  max-width: 690px;
  margin: 0;
  opacity: 0.9;
}

.cs-feature-metrics {
  display: grid;
  gap: 10px;
}

.cs-feature-metrics span {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  line-height: 1.35;
}

.cs-feature-metrics strong {
  display: block;
  font-size: 1.05rem;
}

.cs-service-image-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.cs-service-image-card {
  grid-column: span 2;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 65px rgba(18, 55, 100, 0.12);
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.cs-service-image-card:nth-child(4),
.cs-service-image-card:nth-child(5) {
  grid-column: span 3;
}

.cs-service-image-card a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  min-height: 420px;
  padding: 30px;
  color: #ffffff;
}

.cs-service-image-card a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 55, 100, 0.1) 0%, rgba(18, 55, 100, 0.52) 42%, rgba(18, 55, 100, 0.9) 100%);
}

.cs-service-image-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 520ms ease;
}

.cs-service-image-card h3,
.cs-service-image-card p {
  color: #ffffff;
}

.cs-service-image-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.cs-service-image-card p {
  max-width: 520px;
  margin: 0;
  line-height: 1.62;
}

.cs-service-number {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.cs-service-image-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 86px rgba(18, 55, 100, 0.18);
}

.cs-service-image-card:hover img {
  transform: scale(1.08);
}

.cs-review-section {
  overflow: hidden;
}

.cs-review-swiper {
  overflow: visible;
  padding: 6px 6px 48px;
}

.cs-review-card {
  min-height: 310px;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(18, 55, 100, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 62px rgba(18, 55, 100, 0.1);
}

.cs-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 22px;
  color: #f8b335;
}

.cs-review-card p {
  color: var(--secondary);
  font-size: clamp(1.1rem, 1.7vw, 1.38rem);
  line-height: 1.65;
}

.cs-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.cs-review-author span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primarylight);
  color: var(--primarydark);
  font-weight: 800;
}

.cs-review-author strong {
  color: var(--secondary);
}

.cs-review-pagination {
  position: static;
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.cs-review-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: rgba(18, 55, 100, 0.25);
  opacity: 1;
}

.cs-review-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: var(--primary);
}

.cs-team-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.cs-team-preview {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 24px;
  background: var(--secondary);
  box-shadow: 0 22px 62px rgba(18, 55, 100, 0.12);
}

.cs-team-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: top center;
  transform: scale(1);
  transition: transform 500ms ease;
}

.cs-team-preview::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(18, 55, 100, 0) 0%, rgba(18, 55, 100, 0.92) 100%);
}

.cs-team-preview div {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  left: 22px;
}

.cs-team-preview h3,
.cs-team-preview p {
  color: #ffffff;
}

.cs-team-preview h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.cs-team-preview p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cs-team-preview:hover img {
  transform: scale(1.06);
}

.cs-condition-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.cs-condition-photo {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  border-radius: 24px;
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.22);
}

.cs-condition-photo img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.cs-condition-photo .btn {
  position: absolute;
  right: 22px;
  bottom: 22px;
}

.cs-condition-accordion {
  display: grid;
  gap: 14px;
}

.cs-condition-accordion details {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.cs-condition-accordion summary {
  position: relative;
  cursor: pointer;
  padding: 22px 62px 22px 24px;
  color: #ffffff;
  font-weight: 800;
  list-style: none;
}

.cs-condition-accordion summary::-webkit-details-marker {
  display: none;
}

.cs-condition-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-50%);
}

.cs-condition-accordion details[open] summary::after {
  content: "-";
}

.cs-condition-accordion p {
  margin: 0;
  padding: 0 24px 16px;
  line-height: 1.7;
}

.cs-condition-accordion .cs-link {
  margin: 0 24px 24px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .cs-service-image-card,
  .cs-service-image-card img,
  .cs-team-preview img {
    transition: none;
  }
}

.cs-article {
  max-width: 860px;
}

.cs-article h2,
.cs-article h3,
.cs-article h4 {
  margin-top: 36px;
  margin-bottom: 14px;
}

.cs-article p {
  margin-bottom: 18px;
  font-size: 1.03rem;
  line-height: 1.8;
}

.cs-article ul {
  margin: 20px 0 24px;
}

.cs-article li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.cs-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
}

.cs-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 20px;
}

.cs-sidebar .cs-card {
  box-shadow: 0 14px 40px rgba(18, 55, 100, 0.08);
}

.cs-faq {
  display: grid;
  gap: 12px;
}

.cs-faq details {
  border: 1px solid rgba(18, 55, 100, 0.1);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(18, 55, 100, 0.05);
}

.cs-faq summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--secondary);
  font-weight: 700;
}

.cs-faq details p {
  padding: 0 24px 22px;
  margin: 0;
}

.cs-team-card img {
  height: 330px;
  object-fit: cover;
  object-position: top center;
}

.cs-team-card .cs-card-pad {
  padding: 24px;
}

.cs-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: stretch;
}

.cs-form {
  display: grid;
  gap: 16px;
}

.cs-form label {
  display: grid;
  gap: 7px;
  color: var(--secondary);
  font-weight: 600;
}

.cs-form input,
.cs-form select,
.cs-form textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(18, 55, 100, 0.14);
  border-radius: 14px;
  background: #f8fbf7;
  color: var(--secondary);
  padding: 14px 16px;
  outline: none;
}

.cs-form textarea {
  min-height: 140px;
  resize: vertical;
}

.cs-form .btn {
  justify-self: start;
  margin-top: 4px;
}

.cs-form input:focus,
.cs-form select:focus,
.cs-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
}

.cs-form-note {
  display: none;
  margin-top: 10px;
  color: var(--primarydark);
  font-weight: 700;
}

.cs-form-note.is-visible {
  display: block;
}

.cs-footer-logo {
  display: block;
  width: min(270px, 100%);
  max-width: 270px;
}

footer {
  font-family: var(--font-base);
}

footer .row {
  align-items: flex-start;
  row-gap: 32px;
}

footer > div:first-child .row {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) minmax(140px, 2fr) minmax(200px, 3fr) minmax(170px, 2fr);
  column-gap: 32px;
}

footer > div:first-child .row > div {
  width: auto !important;
  max-width: none;
}

footer h2 {
  margin-top: 0;
  color: var(--secondary);
}

footer p,
footer li {
  line-height: 1.65;
}

footer .footer-middle .row,
footer .footer-bottom .row {
  align-items: center;
}

footer .footer-middle {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondarydark) 100%);
  color: rgba(255, 255, 255, 0.88);
}

footer .footer-middle h2,
footer .footer-middle p {
  color: #ffffff;
}

footer .footer-middle .lg\:text-end {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

footer .footer-middle .btn {
  margin: 0 !important;
}

footer .footer-bottom p {
  margin-bottom: 0;
}

.cs-map {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 20px;
}

.cs-mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cs-mini-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.92rem;
}

.cs-blog-card img {
  height: 245px;
  object-fit: cover;
}

.cs-privacy h3,
.cs-privacy h4 {
  margin-top: 30px;
}

.cs-privacy ul {
  margin: 14px 0 24px 20px;
  list-style: disc;
}

.cs-placeholder-comment {
  display: none;
}

.scroll-top.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 1199px) {
  .cs-header .container-fluid {
    padding-inline: 20px;
  }

  .cs-header .logo-dark {
    width: clamp(178px, 19vw, 210px) !important;
  }

  .cs-header .navbar-nav > li > a {
    padding-inline: 10px !important;
    font-size: 0.95rem !important;
  }

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

  .cs-service-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-service-image-card,
  .cs-service-image-card:nth-child(4),
  .cs-service-image-card:nth-child(5) {
    grid-column: auto;
  }

  .cs-team-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .cs-header .logo-dark {
    width: 190px !important;
    height: 70px !important;
    max-width: 190px;
  }

  .cs-header .main-bar,
  .cs-header .container-fluid {
    min-height: 70px;
  }

  .cs-header .logo-dark img {
    max-height: 54px;
  }

  .cs-header nav.header-nav {
    width: min(88vw, 320px);
    left: -340px !important;
    border-radius: 0;
    box-shadow: 16px 0 45px rgba(18, 55, 100, 0.16);
  }

  .cs-header nav.header-nav.show {
    left: 0 !important;
  }

  .cs-header .navbar-nav {
    gap: 0;
  }

  .cs-header .navbar-nav > li > a {
    min-height: 48px;
    padding-inline: 0 !important;
    font-size: 1rem !important;
  }

  .cs-header .sub-menu,
  .cs-header .mega-menu {
    position: static !important;
    width: 100% !important;
    min-width: 100%;
    max-width: none;
    padding: 8px 0 12px 12px !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    translate: 0 0 !important;
    transform: none !important;
  }

  .cs-header .sub-menu li a,
  .cs-header .mega-menu li a {
    min-height: 44px;
    padding: 10px 12px !important;
    white-space: normal;
  }

  .cs-header .extra-nav {
    display: none !important;
  }

  footer > div:first-child .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer .footer-middle .lg\:text-end {
    justify-content: flex-start;
  }

  .cs-detail-layout,
  .cs-contact-grid,
  .cs-grid-2,
  .cs-grid-3 {
    grid-template-columns: 1fr;
  }

  .cs-sidebar {
    position: static;
  }

  .cs-photo-stack {
    min-height: 420px;
    margin-top: 24px;
  }

  .cs-hero-layout,
  .cs-feature-panel,
  .cs-condition-layout {
    grid-template-columns: 1fr;
  }

  .cs-hero-feature-card {
    max-width: 520px;
  }

  .cs-feature-panel {
    align-items: start;
  }

  .cs-feature-panel .btn {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .cs-hero,
  .cs-page-hero {
    min-height: 640px;
    padding: 126px 0 64px;
  }

  .cs-hero .container {
    padding-inline: 22px;
  }

  main .cs-section > .container {
    padding-inline: 20px;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .row > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .cs-hero-content {
    max-width: 100%;
  }

  .cs-hero-layout {
    display: block;
  }

  .cs-hero-feature-card {
    display: none;
  }

  .cs-hero h1 {
    font-size: clamp(2.05rem, 9vw, 2.62rem);
    line-height: 1.12;
    text-wrap: balance;
  }

  .cs-hero p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.68;
  }

  .cs-section {
    padding: 64px 0;
  }

  main > .cs-hero:not(.cs-page-hero) + .cs-section {
    margin-top: -42px;
    padding-bottom: 56px;
  }

  .cs-grid-4 {
    grid-template-columns: 1fr;
  }

  .cs-service-image-grid,
  .cs-team-preview-grid {
    grid-template-columns: 1fr;
  }

  .cs-card-pad,
  .cs-icon-card {
    padding: 22px;
  }

  .cs-template-collage {
    min-height: 420px;
    padding: 0 42px 38px 0;
  }

  .cs-collage-main {
    width: 82%;
    height: 335px;
  }

  .cs-collage-small {
    width: 42%;
    height: 142px;
    border-width: 6px;
  }

  .cs-collage-small-top {
    top: 24px;
  }

  .cs-collage-small-bottom {
    right: 12px;
  }

  .cs-collage-badge {
    right: 0;
    top: auto;
    bottom: 128px;
    width: min(190px, 54%);
    padding: 14px;
  }

  .cs-feature-band {
    padding-top: 56px;
  }

  .cs-feature-panel {
    padding: 26px;
    border-radius: 22px;
  }

  .cs-feature-panel .btn,
  .cs-feature-metrics,
  .cs-condition-photo .btn {
    width: 100%;
  }

  .cs-service-image-card,
  .cs-service-image-card a {
    min-height: 360px;
  }

  .cs-service-image-card a {
    padding: 24px;
  }

  .cs-review-card {
    min-height: auto;
  }

  .cs-team-preview,
  .cs-team-preview img {
    min-height: 390px;
  }

  .cs-condition-photo img {
    height: 310px;
  }

  .cs-condition-photo .btn {
    position: static;
    margin: 16px;
  }

  .cs-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btn {
    white-space: normal;
  }

  .cs-form .btn,
  footer .footer-middle .btn {
    width: 100%;
  }

  footer .footer-middle .lg\:text-end {
    justify-content: stretch;
  }

  footer > div:first-child .row {
    grid-template-columns: 1fr;
  }

  .cs-photo-stack {
    min-height: 350px;
  }
}

@keyframes csFadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes csHeroImageIn {
  from {
    opacity: 0.72;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.wow {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  animation-fill-mode: both;
}

.wow.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.fadeInUp.is-visible {
  animation-name: csFadeInUp;
  animation-duration: var(--cs-wow-duration, 0.8s);
  animation-delay: var(--cs-wow-delay, 0s);
}

.cs-template-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 820px;
  padding: 150px 0 142px;
  overflow: hidden;
  background: var(--secondary);
}

.cs-template-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 24, 48, 0.96) 0%, rgba(14, 44, 78, 0.92) 42%, rgba(14, 44, 78, 0.4) 68%, rgba(14, 44, 78, 0.05) 100%);
}

.cs-template-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 55, 100, 0) 0%, rgba(18, 55, 100, 0.64) 100%);
}

.cs-template-hero .container {
  position: relative;
  z-index: 2;
}

.cs-hero-effect-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  width: 59%;
  background-position: center;
  background-size: cover;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
  animation: csHeroImageIn 900ms ease both;
  transition: background-image 260ms ease, transform 900ms ease;
}

.cs-hero-effect-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 55, 100, 0.34) 0%, rgba(18, 55, 100, 0.08) 44%, rgba(18, 55, 100, 0.12) 100%);
}

.hero-banner-swiper {
  width: min(100%, 760px);
  margin: 0;
  overflow: visible;
}

.hero-banner-swiper .swiper-slide {
  min-height: 515px;
  display: flex;
  align-items: center;
}

.cs-template-hero-content {
  max-width: 735px;
}

.cs-template-hero-content .cs-kicker {
  color: #b8ee86;
}

.cs-template-hero-content h1,
.cs-template-hero-content .cs-hero-heading {
  max-width: 720px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(2.55rem, 5.45vw, 4.72rem);
  line-height: 1.04;
  font-weight: 800;
}

.cs-template-hero-content p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.75;
}

.cs-template-hero .btn-secondary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--secondary);
}

.cs-template-hero .btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.cs-template-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 34px;
}

.cs-template-hero-stats span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(14px);
}

.cs-template-hero-stats i {
  grid-row: span 2;
  color: var(--primary);
  font-size: 1.4rem;
}

.cs-template-hero-stats strong {
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.1;
}

.cs-template-hero-stats em {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.25;
}

.cs-hero-control-panel {
  position: absolute;
  right: clamp(20px, 5vw, 86px);
  bottom: 42px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto auto minmax(220px, 330px);
  gap: 16px;
  align-items: center;
  width: min(620px, calc(100vw - 40px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.cs-hero-fraction {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 84px;
  color: #ffffff;
  font-weight: 800;
}

.hero-banner-slider__current {
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
}

.hero-banner-slider__total,
.cs-hero-fraction-separator {
  color: rgba(255, 255, 255, 0.78);
}

.cs-hero-arrow-row {
  display: flex;
  gap: 8px;
}

.cs-hero-arrow-row button,
.cs-team-arrows button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--secondary);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.cs-hero-arrow-row button:hover,
.cs-team-arrows button:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-banner-swiper-thumbs {
  width: 100%;
  overflow: hidden;
}

.hero-banner-swiper-thumbs .swiper-slide {
  height: 76px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 220ms ease, border-color 220ms ease;
}

.hero-banner-swiper-thumbs .swiper-slide-thumb-active {
  border-color: var(--primary);
  opacity: 1;
}

.hero-banner-swiper-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-section-title-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.cs-service-carousel-section {
  overflow: hidden;
}

.cs-container-left {
  width: min(100%, calc(1320px + max(0px, (100vw - 1320px) / 2)));
  margin-left: max(20px, calc((100vw - 1320px) / 2));
  overflow: hidden;
  padding: 4px 0 10px;
}

.service-swiper-4 {
  overflow: visible;
  padding-right: clamp(20px, 4vw, 70px);
}

.cs-service-carousel-card {
  height: 500px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--secondary);
  box-shadow: 0 22px 65px rgba(18, 55, 100, 0.12);
}

.cs-service-carousel-card a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 30px;
  color: #ffffff;
}

.cs-service-carousel-card a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 55, 100, 0.08) 0%, rgba(18, 55, 100, 0.36) 42%, rgba(18, 55, 100, 0.92) 100%);
}

.cs-service-carousel-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 560ms ease;
}

.cs-service-carousel-card .cs-service-number {
  top: 24px;
  left: 24px;
}

.cs-service-card-content {
  transform: translateY(26px);
  transition: transform 300ms ease;
}

.cs-service-card-content span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cs-service-card-content h3,
.cs-service-card-content p {
  color: #ffffff;
}

.cs-service-card-content h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 1.7vw, 1.72rem);
}

.cs-service-card-content p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  line-height: 1.6;
  transition: max-height 320ms ease, opacity 260ms ease;
}

.cs-service-hover-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 240ms ease, transform 240ms ease;
}

.cs-service-carousel-card:hover img {
  transform: scale(1.08);
}

.cs-service-carousel-card:hover .cs-service-card-content {
  transform: translateY(0);
}

.cs-service-carousel-card:hover .cs-service-card-content p {
  max-height: 160px;
  opacity: 1;
}

.cs-service-carousel-card:hover .cs-service-hover-arrow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cs-testimonial-template-section {
  overflow: hidden;
}

.cs-testimonial-track {
  margin-top: 4px;
  overflow: hidden;
}

.testimonial-swiper9 {
  overflow: visible;
  padding: 8px 0 14px;
}

.cs-testimonial-template-card {
  min-height: 340px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid rgba(18, 55, 100, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 62px rgba(18, 55, 100, 0.1);
}

.cs-testimonial-template-card p {
  color: var(--secondary);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.72;
}

.cs-testimonial-template-card .cs-review-author i {
  margin-left: auto;
  color: rgba(var(--secondary-rgb), 0.18);
  font-size: 2rem;
}

.cs-team-template-section {
  overflow: hidden;
}

.cs-team-template-layout {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: clamp(28px, 4.8vw, 70px);
  align-items: center;
}

.cs-team-copy-panel {
  min-width: 0;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: 28px;
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 76px rgba(18, 55, 100, 0.18);
}

.team-content-swiper {
  overflow: hidden;
}

.team-content-swiper .swiper-slide {
  min-height: 345px;
}

.team-content-swiper h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(2rem, 3.3vw, 3.15rem);
  line-height: 1.05;
}

.team-content-swiper p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.team-content-swiper .cs-team-role {
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 800;
}

.cs-team-copy-panel .cs-kicker {
  color: #b8ee86;
}

.cs-team-arrows {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.cs-team-image-panel {
  min-width: 0;
}

.team-image-swiper {
  overflow: visible;
  padding: 4px 0;
}

.team-image-swiper .swiper-slide {
  width: 370px;
  transition: opacity 300ms ease, transform 300ms ease;
}

.team-image-swiper .swiper-slide-next,
.team-image-swiper .swiper-slide-next + .swiper-slide {
  opacity: 0.62;
  transform: scale(0.88);
}

.cs-team-image-card {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--secondary);
  box-shadow: 0 24px 70px rgba(18, 55, 100, 0.13);
}

.cs-team-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1);
  transition: transform 520ms ease;
}

.cs-team-image-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(18, 55, 100, 0) 0%, rgba(18, 55, 100, 0.92) 100%);
}

.cs-team-image-card div {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
}

.cs-team-image-card h3,
.cs-team-image-card p {
  color: #ffffff;
}

.cs-team-image-card h3 {
  margin-bottom: 4px;
  font-size: 1.28rem;
}

.cs-team-image-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cs-team-image-card:hover img {
  transform: scale(1.06);
}

.cs-template-collage {
  padding-right: 92px;
}

.cs-collage-main {
  border-top-left-radius: 92px;
  border-bottom-right-radius: 92px;
}

.cs-collage-small-top {
  border-top-right-radius: 70px;
}

.cs-collage-small-bottom {
  border-bottom-left-radius: 70px;
}

@media (max-width: 1199px) {
  .cs-template-hero {
    min-height: 780px;
  }

  .cs-template-hero-content h1,
  .cs-template-hero-content .cs-hero-heading {
    max-width: 650px;
  }

  .cs-hero-control-panel {
    grid-template-columns: auto auto 1fr;
    width: min(560px, calc(100vw - 40px));
  }

  .cs-team-template-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .cs-template-hero {
    min-height: auto;
    padding: 132px 0 210px;
  }

  .cs-hero-effect-container {
    width: 100%;
    opacity: 0.36;
    clip-path: none;
  }

  .cs-template-hero::before {
    background: rgba(7, 24, 48, 0.84);
  }

  .hero-banner-swiper {
    width: 100%;
  }

  .hero-banner-swiper .swiper-slide {
    min-height: 500px;
  }

  .cs-hero-control-panel {
    right: 20px;
    left: 20px;
    bottom: 32px;
    grid-template-columns: auto 1fr;
    width: auto;
  }

  .hero-banner-swiper-thumbs {
    grid-column: 1 / -1;
  }

  .cs-container-left {
    margin-left: 20px;
  }
}

@media (max-width: 767px) {
  .cs-template-hero {
    padding: 118px 0 198px;
  }

  .hero-banner-swiper .swiper-slide {
    min-height: 485px;
  }

  .cs-template-hero-content h1,
  .cs-template-hero-content .cs-hero-heading {
    font-size: clamp(2.05rem, 9vw, 2.72rem);
    line-height: 1.12;
  }

  .cs-template-hero-content p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .cs-template-hero-stats {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 26px;
  }

  .cs-template-hero-stats span {
    min-height: auto;
    padding: 14px;
  }

  .cs-hero-control-panel {
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .hero-banner-slider__current {
    font-size: 1.6rem;
  }

  .cs-hero-arrow-row {
    justify-self: end;
  }

  .cs-hero-arrow-row button,
  .cs-team-arrows button {
    width: 42px;
    height: 42px;
  }

  .hero-banner-swiper-thumbs .swiper-slide {
    height: 58px;
    border-radius: 12px;
  }

  .cs-container-left {
    width: calc(100% - 20px);
    margin-left: 20px;
  }

  .cs-service-carousel-card {
    height: 430px;
  }

  .cs-service-carousel-card a {
    padding: 24px;
  }

  .cs-service-card-content {
    transform: none;
  }

  .cs-service-card-content p {
    max-height: 150px;
    opacity: 1;
  }

  .cs-service-hover-arrow {
    top: 26px;
    right: 24px;
    left: auto;
    width: 52px;
    height: 52px;
    opacity: 1;
    transform: none;
  }

  .cs-service-carousel-card:hover .cs-service-hover-arrow {
    transform: none;
  }

  .cs-testimonial-template-card {
    min-height: auto;
  }

  .cs-team-copy-panel {
    padding: 26px;
    border-radius: 22px;
  }

  .team-content-swiper .swiper-slide {
    min-height: auto;
  }

  .team-image-swiper .swiper-slide {
    width: min(82vw, 330px);
  }

  .team-image-swiper .swiper-slide-next,
  .team-image-swiper .swiper-slide-next + .swiper-slide {
    opacity: 1;
    transform: none;
  }

  .cs-team-image-card {
    height: 430px;
  }

  .cs-template-collage {
    padding-right: 42px;
  }

  .cs-collage-main {
    border-top-left-radius: 56px;
    border-bottom-right-radius: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wow,
  .fadeInUp.is-visible,
  .cs-hero-effect-container,
  .cs-service-carousel-card img,
  .cs-service-card-content,
  .cs-service-card-content p,
  .cs-service-hover-arrow,
  .cs-team-image-card img {
    animation: none;
    transition: none;
  }
}
