/* Team section background */
.cs-team_section_wrap {
  background-color: #fffeeb;
  padding: 48px 0;
  border-radius: 0;
  overflow: hidden;
}

/* Team card overlay (stronger gradient for text on images) */
.cs-team_section_wrap .cs-team.cs-style1 .cs-member_overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
}

/* Move team info below the image (style 1) */
.cs-team_section_wrap .cs-team.cs-style1 .cs-member_info {
  position: static;
  width: auto;
  padding: 14px 0 0;
}

/* Team member name (primary text) */
.cs-team_section_wrap .cs-team.cs-style1 .cs-member_name {
  color: #101010;
  margin-bottom: 4px;
}

/* Team member designation (secondary text) */
.cs-team_section_wrap .cs-team.cs-style1 .cs-member_designation {
  color: #101010;
  font-weight: 600;
}

/* Team section heading text (outside images) */
.cs-team_section_wrap .cs-section_heading .cs-section_title {
  color: #101010;
}

.cs-team_section_wrap .cs-section_heading .cs-section_subtitle {
  color: #101010;
}

/* Footer overrides */
.cs-fooer,
.cs-fooer .cs-fooer_main,
.cs-fooer .cs-bottom_footer {
  background-color: #000000;
}

/* Newsletter input uses the same green background and white text */
.cs-fooer .cs-newsletter.cs-style1 .cs-newsletter_input {
  background-color: #1d3624;
  color: #ffffff;
}

.cs-fooer .cs-newsletter.cs-style1 .cs-newsletter_input::-moz-placeholder {
  color: #ffffff;
  opacity: 1;
}

.cs-fooer .cs-newsletter.cs-style1 .cs-newsletter_input::placeholder {
  color: #ffffff;
  opacity: 1;
}

/* Hero section overrides */
.cs-hero.cs-style1 .cs-hero_subtitle,
.cs-hero.cs-style3 .cs-hero_subtitle,
.cs-hero.cs-style1.cs-type1 .cs-hero_subtitle {
  font-size: 36px !important;
  line-height: 1.5;
}

/* Keep hero background image better aligned */
.cs-hero.cs-style1.cs-bg,
.cs-hero.cs-style4.cs-bg,
.cs-hero.cs-style5.cs-bg {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}

/* Avoid fixed-attachment rendering artifacts that can look pixelized on Windows */
.cs-hero.cs-fixed_bg {
  background-attachment: scroll !important;
}

/* Better alignment for hero image blocks */
.cs-hero.cs-style8 .cs-hero_img_box img,
.cs-hero.cs-style6 .cs-hero_img img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

/* Portfolio section style 5 - remove left offset and center content on responsive */
@media (max-width: 1080px) {
  .cs-portfolio.cs-style2 .container,
  .cs-portfolio.cs-style2.cs-type1 .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .cs-portfolio.cs-style2 .cs-portfolio_img,
  .cs-portfolio.cs-style2.cs-type1 .cs-portfolio_img {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .cs-portfolio.cs-style2 .cs-section_heading.cs-style1,
  .cs-portfolio.cs-style2.cs-type1 .cs-section_heading.cs-style1 {
    padding-left: 0 !important;
    text-align: center;
  }
  .cs-portfolio.cs-style2 .cs-section_heading.cs-style1 .cs-section_title,
  .cs-portfolio.cs-style2.cs-type1 .cs-section_heading.cs-style1 .cs-section_title {
    font-size: 20px;
    line-height: 1.25;
  }
  .cs-portfolio.cs-style2 .cs-section_heading.cs-style1 .cs-btn,
  .cs-portfolio.cs-style2.cs-type1 .cs-section_heading.cs-style1 .cs-btn {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
  }
  .cs-portfolio.cs-style2 .cs-section_heading.cs-style1 .cs-text_btn,
  .cs-portfolio.cs-style2.cs-type1 .cs-section_heading.cs-style1 .cs-text_btn {
    font-size: 16px;
  }
  .cs-portfolio.cs-style2 .cs-section_heading.cs-style1 .cs-text_btn svg,
  .cs-portfolio.cs-style2.cs-type1 .cs-section_heading.cs-style1 .cs-text_btn svg {
    font-size: 18px;
    margin-left: 10px;
  }
}
/* Mobile hero subtitle size */
@media (max-width: 767px) {
  .cs-hero.cs-style1 .cs-hero_subtitle,
  .cs-hero.cs-style3 .cs-hero_subtitle,
  .cs-hero.cs-style1.cs-type1 .cs-hero_subtitle {
    font-size: 24px !important;
  }
}
/* Banner style 2 */
.cs-banner.cs-style2 {
  width: 100%;
  padding: 80px 0;
  background-color: #f5f6ef;
}

.cs-banner.cs-style2 .cs-banner_inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cs-banner.cs-style2 .cs-banner_inner > * {
  margin-bottom: 34px;
}

.cs-banner.cs-style2 .cs-banner_inner > *:last-child {
  margin-bottom: 0;
}

.cs-banner.cs-style2 .cs-banner_title {
  margin: 0 0 24px;
  text-align: center;
  color: #101010;
}

.cs-banner.cs-style2 .cs-banner_divider {
  width: 100%;
  max-width: 980px;
  height: 1px;
  background-color: #101010;
  opacity: 0.22;
  margin: 0 0 1px;
}

.cs-banner.cs-style2 .cs-banner_image {
  display: block;
  margin: 0 auto 52px;
  width: 100%;
  max-width: 980px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 10px;
}

.cs-banner.cs-style2 .cs-banner_btn_wrap {
  margin: 0;
}

.cs-banner.cs-style2 .cs-banner_outline_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 32px;
  border: 1px solid #101010;
  border-radius: 999px;
  color: #101010;
  background-color: transparent;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cs-banner.cs-style2 .cs-banner_outline_btn:hover {
  color: #101010;
  background-color: rgba(16, 16, 16, 0.08);
  border-color: #101010;
}

@media (max-width: 767px) {
  .cs-banner.cs-style2 {
    padding: 90px 0;
  }
  .cs-banner.cs-style2 .cs-banner_inner > * {
    margin-bottom: 22px;
  }
  .cs-banner.cs-style2 .cs-banner_title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .cs-banner.cs-style2 .cs-banner_divider {
    margin-bottom: 0;
  }
  .cs-banner.cs-style2 .cs-banner_image {
    margin-bottom: 34px;
  }
}
