/* Cleaned CSS for Trashco Refactoring */
:root {
  --primary-color: #182822;
  --secondary-color: #257830;
  --accent-color: #f29620;
  --light-bg: #f8f9fa;
  --text-color: #424242;
  --heading-font: "Outfit", sans-serif;
  --body-font: "Plus Jakarta Sans", sans-serif;
  --white: #ffffff;
  --primary-blue: #0056a0;
  --secondary-green: #106b47;
  --accent-red: #e31e24;
  --dark-green: #1a241e;
  --heading-color: #1a2b3a;
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --border-radius: 12px;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: #fff;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 700;
}

/* Section Header styling */
.section-head {
  margin-bottom: clamp(30px, 5vw, 60px);
}

.section-subtitle {
  font-family: var(--heading-font);
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.section-subtitle::before {
  content: "";
  display: block;
  width: 25px;
  height: 3px;
  background: var(--secondary-green);
  border-radius: 10px;
}

.text-center .section-subtitle {
  justify-content: center;
}

.text-center .section-subtitle::after {
  content: "";
  display: block;
  width: 25px;
  height: 3px;
  background: var(--secondary-green);
  border-radius: 10px;
}

.section-title {
  font-family: var(--heading-font);
  font-weight: 800;
  color: #1a1a1a;
  /* line-height: 1.25; */
  font-size: clamp(1rem, 4vw, 2rem);
  /* letter-spacing: -1px; */
}

.section-padding {
  padding: 80px 0;
}
@media (max-width: 1200px) {
  .section-padding {
    padding: 60px 0;
  }
}
@media (max-width: 991px) {
  .section-padding {
    padding: 50px 0;
  }
}
@media (max-width: 768px) {
  .section-padding {
    padding: 40px 0;
  }
}
@media (max-width: 576px) {
  .section-padding {
    padding: 30px 0;
  }
}
@media (max-width: 320px) {
  .section-padding {
    padding: 20px 0;
  }
}

/* Hero Slider styling */
.slide-title {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 25px;
  color: #ffffff;
}

.slide-subtitle {
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  color: #ffffff;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  box-shadow: none;
  opacity: 1;
}

.slide-subtitle::before {
  content: "";
  display: block;
  width: 35px;
  height: 3px;
  background: var(--secondary-green);
  border-radius: 10px;
}

.card,
.cms-post-carousel .cms-item {
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover,
.cms-post-carousel .cms-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover {
  color: var(--accent-color);
}
.btn {
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-fluid {
  max-width: 100%;
  height: auto;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --- New About Image Design --- */
.about-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  margin-bottom: 60px;
}

.about-img-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: clamp(350px, 45vw, 550px);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.about-img-wrapper:hover .about-img-main img {
  transform: scale(1.03);
}

.about-design-card {
  position: absolute;
  bottom: -30px;
  left: 20px;
  right: 20px;
  display: flex;
  background: white;
  border-radius: 15px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  z-index: 10;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-items {
  flex: 1;
  display: flex;
  justify-content: space-around;
  padding: 25px 15px;
  background: white;
}

.info-item {
  text-align: center;
  flex: 1;
  padding: 0 15px;
  position: relative;
}

.info-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #f0f0f0;
}

.info-item i {
  font-size: 32px;
  color: var(--secondary-green);
  margin-bottom: 12px;
  display: block;
}

.info-item p {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 991px) {
  .about-img-wrapper {
    margin-bottom: 80px;
  }
}

@media (max-width: 768px) {
  .info-item i {
    font-size: 24px;
  }
  .info-item p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .about-design-card {
    left: 10px;
    right: 10px;
  }
  .info-items {
    padding: 15px 5px;
  }
  .info-item {
    padding: 0 5px;
  }
}

/* --- Why Choose Us Section --- */
.why-choose-card {
  background: var(--white);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.why-choose-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 86, 160, 0.12);
}

.why-choose-img {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.why-choose-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.why-choose-card:hover .why-choose-img img {
  transform: scale(1.08);
}

.why-choose-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
}

.why-choose-content {
  padding: 1.8rem 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.why-choose-content h3 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  background: linear-gradient(
    to right,
    var(--primary-blue),
    var(--secondary-green)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.why-choose-content p {
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0;
}

.why-choose-content p strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* --- Clients Section --- */
.section-header h3 {
  font-size: 36px;
  color: #283d50;
  text-align: center;
  font-weight: 500;
  position: relative;
}

.section-header p {
  text-align: center;
  margin: auto;
  font-size: 15px;
  padding-bottom: 60px;
  color: #556877;
  width: 50%;
}

#clients {
  padding: 30px 0;
}

#clients .clients-wrap {
  border-top: 1px solid #d6eaff;
  border-left: 1px solid #d6eaff;
  margin-bottom: 30px;
}

#clients .client-logo {
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #d6eaff;
  border-bottom: 1px solid #d6eaff;
  overflow: hidden;
  background: #fff;
  height: 160px;
}

#clients img {
  max-width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  transition: all 0.4s ease-in-out;
}

@media (max-width: 768px) {
  .section-header p {
    width: 90%;
  }
}

/* --- Modern Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.modern-service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.service-img-container {
  position: relative;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #111d27;
}

.service-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

.service-img-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
}

.modern-service-card:hover .service-img-container img {
  transform: scale(1.1);
}

.service-icn-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90px;
  height: 110px;
  background-color: #111d27;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
  border-top-right-radius: 20px;
  z-index: 2;
}

.service-icn-box i {
  color: white;
  font-size: 38px;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  opacity: 0;
}

.service-info-card {
  position: relative;
  margin-top: -100px;
  margin-left: 90px;
  background: white;
  padding: 10px 35px;
  border-radius: 20px;
  border-top-left-radius: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  z-index: 3;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.modern-service-card:hover .service-info-card {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 86, 160, 0.15);
}

.service-info-card h3 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.service-info-card p {
  color: #424242;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-info-card hr {
  border: 0;
  border-top: 1px solid #f0f0f0;
  margin: 0 0 25px 0;
}

.explore-btn {
  font-family: var(--heading-font);
  font-weight: 800;
  color: var(--heading-color);
  text-decoration: none;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s ease;
}

.explore-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.explore-btn:hover {
  color: var(--primary-blue);
}

.explore-btn:hover i {
  transform: translateX(8px);
}

@media (max-width: 1199px) {
  .service-info-card {
    padding: 35px 25px;
  }
  .service-info-card h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .service-img-container {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .service-info-card {
    margin-left: 50px;
  }
  .service-icn-box {
    width: 80px;
  }
}

.section-btn-wrap {
  text-align: center;
  margin-top: 60px;
}

/* --- Segments Slider --- */
.segments-section-light {
  background-color: #ffffff;
  padding: 80px 0 100px;
  overflow: hidden;
}

.segments-section-light .section-title {
  color: #000000d0;
}

.segment-slider-container {
  padding: 20px 0 0px;
}

.segment-modern-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #f2f2f2;
  border-top: 4px solid var(--primary-blue);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.segment-modern-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 86, 160, 0.1);
  border-color: rgba(0, 86, 160, 0.1);
}

.segment-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.segment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.segment-modern-card:hover .segment-img img {
  transform: scale(1.1);
}

.segment-content {
  padding: 30px 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
}

.segment-content h4 {
  color: var(--primary-blue, #0056a0);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.segment-modern-card:hover .segment-content h4 {
  color: var(--accent-color, #f8941e);
}

.segment-content p {
  color: #424242;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Custom Pagination for Light Theme */
.segments-section-light .swiper-pagination-bullet {
  background: var(--primary-blue, #0056a0);
  opacity: 0.15;
  transition: all 0.3s ease;
}

.segments-section-light .swiper-pagination-bullet-active {
  background: var(--accent-color, #f8941e);
  opacity: 1;
  width: 30px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .segment-img {
    height: 200px;
  }
  .segments-section-light {
    padding: 60px 0 80px;
  }
}

/* --- Dark Modern Why Choose Us --- */
.choose-us-dark {
  background-color: #0056a0;
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.choose-us-dark .section-head {
  margin-bottom: 80px;
}

.choose-us-dark .section-subtitle {
  color: #fff;
}

.choose-us-dark .section-subtitle::before,
.choose-us-dark .section-subtitle::after {
  background: var(--accent-color);
}

.choose-us-dark .section-title {
  color: white;
}

.choose-us-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.choose-us-media {
  flex: 0 0 45%;
  position: relative;
}

.choose-us-img-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.choose-us-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* Orange Overlay badge */
.choose-us-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--accent-color);
  color: white;
  padding: 30px 40px;
  border-top-left-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 5;
}

.badge-icon {
  font-size: 40px;
}

.badge-text {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Timeline/Steps */
.steps-column {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.step-item {
  position: relative;
  padding-right: 20px;
  margin-bottom: 20px;
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step-info h4 {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.step-number {
  color: #257830;
  font-size: 2.5rem;
  font-weight: 800;
  opacity: 0.6;
  line-height: 1;
  font-family: var(--heading-font);
}

.step-item p {
  color: #e7e7e7;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1200px) {
  .choose-us-grid {
    flex-direction: column;
  }
  .choose-us-media {
    flex: 0 0 100%;
    width: 100%;
  }
  .choose-us-badge {
    padding: 20px 30px;
  }
}

@media (max-width: 991px) {
  .steps-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .choose-us-dark {
    padding: 80px 0;
  }
  .choose-us-badge {
    position: relative;
    border-radius: 10px;
    margin-top: 20px;
    right: auto;
    bottom: auto;
  }
}

/* --- Centered Text-Only Testimonial --- */
.testimonial-area {
  z-index: 1;
}

.testimonial-modern-item {
  padding: 20px 0;
}

.testimonial-nav-centered {
  position: absolute;
  top: 50%;
  left: -60px;
  right: -60px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.testi-nav-item {
  width: 50px;
  height: 50px;
  background: white;
  border: 1px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--primary-blue);
}

.testi-nav-item:hover {
  background: var(--primary-blue);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 86, 160, 0.2);
}

.testimonial-pagination {
  margin-top: 40px;
  position: static !important;
}

.testimonial-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--primary-blue);
  opacity: 0.2;
}

.testimonial-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  width: 30px;
  border-radius: 10px;
}

@media (max-width: 1100px) {
  .testimonial-nav-centered {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
}

/* Responsive Two-Column Grid */
.two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .two-column-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Management Team Section --- */
.management-section {
  position: relative;
  background-color: var(--white);
  padding:0 0 80px 0;
  overflow: hidden;
}

.management-header {
  background-color: #00412b; /* Dark theme color from image */
  padding: 80px 0 100px;
  position: relative;
  z-index: 2;
}

.management-title {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 15px;
}

.management-subtitle {
  color: #e0e0e0;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 400;
}

.management-header .container {
  position: relative;
  z-index: 20; /* Ensures text is always readable above shapes */
}

.management-body {
  position: relative;
  z-index: 20;
  margin-top: -60px;
}

.management-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  background: transparent;
  padding: 0;
}

.management-member {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); /* Clean modern card shadow instead of outer bound border */
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.member-img-wrap {
  width: 250px;
  flex-shrink: 0;
  text-align: center;
}

.founder-cutout {
  width: 100%;
  max-width: 220px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: contain;
}

.member-name {
  color: var(--accent-red);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.member-role {
  color: #666;
  font-size: 1rem;
  font-weight: 600;
  display: block;
}

.member-desc {
  flex: 1;
}

.member-desc p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
  text-align: justify;
}

/* Specific Layout Adjustments */
@media (min-width: 992px) {
  .member-right .member-desc {
    padding-right: 40px;
  }
  .member-left .member-desc {
    padding-left: 20px;
  }
}

@media (max-width: 991px) {
  .management-member,
  .member-right {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .member-desc p {
    text-align: left;
  }

  /* Force image to top on mobile for right-aligned member */
  .member-right {
    flex-direction: column;
  }

  /* Keep image on top when reverse applied */
  .member-right .member-img-wrap {
    order: -1;
  }

  .management-header {
    padding: 60px 0 80px;
  }

  .management-member {
    padding: 30px;
    gap: 25px;
  }
}
