/* Font style */
.cs-font {
  font-family: 'Poppins', sans-serif;
}

/* Font style */

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 1.5s ease;
}

.fade-out {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.4s ease;
}

/* Optional: basic styling */
.hero-section {
  max-width: 700px;
}



/* Make slides flex so children can stretch */
.swiper-slide {
  display: flex;
}


.border-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background-color: #fff;
}


.post-prev-title a {
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  -webkit-box-orient: vertical;
  overflow: hidden;
}





/* ===============================
   CASE STUDY SIDEBAR (NEW NAMES)
   =============================== */

.swiper-slide {
  padding: 5px;
}


.case-sidebar-card {
  background: #f7f8fc;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #eee;
}


.case-sidebar-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: #11171c;
}

.case-sidebar-list {
  font-family: 'Poppins', sans-serif;
}

.case-sidebar-list .case-sidebar-item {
  background: transparent;
  border: none;
  padding: 14px 16px;
  margin-bottom: 8px;
  border-radius: 10px;
  font-weight: 500;
  color: #11171c;
  transition: all 0.3s ease;
  cursor: pointer;
}


.case-sidebar-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(210, 163, 90, 0.12);
  color: #D2A35A;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s ease;
}


.case-sidebar-item:hover {
  transform: translateX(4px);
  color: #D2A35A;
}


.case-sidebar-active {
  background: #D2A35A !important;
  color: #000 !important;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(210, 163, 90, 0.25);
}

.case-sidebar-active .case-sidebar-icon {
  background: #000;
  color: #fff;
}


/* ===============================
   CASE STUDY SIDEBAR 1 DARK
   =============================== */

.case-sidebar-1 {
  background: #1b2228;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Title */

.case-sidebar-1-title {
  font-weight: 600;
  margin-bottom: 18px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* List */

.case-sidebar-1-list {
  font-family: 'Poppins', sans-serif;
}

/* Item */

.case-sidebar-1-item {
  background: transparent;
  border: none;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 12px;
  font-weight: 500;
  color: #cfd6dd;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Icon */

.case-sidebar-1-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: rgba(210, 163, 90, 0.12);
  border-radius: 7px;
  transition: 0.3s ease;
}

/* Hover */

.case-sidebar-1-item:hover {
  transform: translateX(4px);
  color: #D2A35A;
}

/* Active */

.case-sidebar-1-active {
  background: #D2A35A !important;
  color: #000 !important;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(210, 163, 90, 0.25);
}

.case-sidebar-1-active .case-sidebar-1-icon {
  background: #000;
}





/* Arrow list */
.caret-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.caret-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: #11171c;
  line-height: 1.7;
}

.caret-icon {
  color: #D2A35A;
  font-size: 14px;
  margin-top: 6px;
  transition: 0.3s ease;
}

/* subtle professional hover */
.caret-list li:hover .caret-icon {
  transform: translateX(4px);
}


/* sub arrow list */
.caret-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.caret-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: #11171c;
  line-height: 1.7;
}

.caret-icon {
  color: #D2A35A;
  font-size: 14px;
  margin-top: 6px;
}


.caret-sub-list {
  list-style: none;
  padding-left: 20px;
  margin-top: 10px;
}

.caret-sub-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 15px;
}


.caret-sub-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #D2A35A;
}




/* ================================
   CASE STUDY SWIPER STYLES
   ================================= */

/* Wrapper */
.case-slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Horizontal scroll container */
.case-slider-viewport {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 10%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.case-slider-viewport::-webkit-scrollbar {
  display: none;
}

/* Each Card */
.case-card {
  flex: 0 0 70%;
  /* Mobile = 1.5 visible */
  height: 220px;
  border-radius: 16px;
  scroll-snap-align: center;
  background: linear-gradient(135deg,
      rgba(210, 163, 90, 0.2),
      rgba(17, 23, 28, 0.8));
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  transition: 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Active Card */
.case-card.active {
  transform: scale(1.05);
  border: 2px solid #D2A35A;
}

/* Card Title */
.case-card-overlay h5 {
  color: #ffffff;
  font-weight: 600;
  margin: 0;
}

/* Description Section */
.case-description {
  margin-top: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.case-description h3 {
  color: #11171c;
  font-weight: 700;
}

.case-description p {
  margin-top: 15px;
  color: #555;
  line-height: 1.7;
}

/* Navigation Buttons */
.peek-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 23, 28, 0.7);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

.peek-prev {
  left: 0;
}

.peek-next {
  right: 0;
}

/* Desktop View */
@media (min-width: 992px) {
  .case-card {
    flex: 0 0 30%;
    /* Show 3+ on large screens */
  }
}

/* ================================
   END CASE STUDY SWIPER STYLES
   ================================= */




/* ===============================
   SERVICE DETAIL + SIDEBAR
================================ */

.services-sidebar {
  background: #11171c;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'Poppins', sans-serif;
}

.sidebar-title {
  margin-bottom: 20px;
  font-weight: 600;
  color: #D2A35A;
}

.custom-list .list-group-item {
  background: transparent;
  border: none;
  color: #ddd;
  padding: 14px 0;
  cursor: pointer;
  transition: 0.3s ease;
}

.custom-list .list-group-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-list .list-group-item:hover {
  color: #D2A35A;
  transform: translateX(4px);
}

.active-service {
  color: #D2A35A !important;
  font-weight: 600;
}

/* Mobile spacing */
@media (max-width: 991px) {
  .services-sidebar {
    margin-bottom: 20px;
  }
}

/* Active service highlight */
.active-service {
  color: #D2A35A !important;
  font-weight: 600;
}

/* ===============================
   END SERVICE DETAIL + SIDEBAR
================================ */




/* =========================================
   HOMEPAGE SERVICES GRID (Improved)
========================================= */


/* ===============================
   SERVICES HOME SECTION
================================ */

.services-home-section {
  padding: 100px 0;
  background: #f8f9fb;
  font-family: 'Poppins', sans-serif;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* CARD */

.service-card-home {
  position: relative;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  display: flex;
  padding: 30px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  font-family: 'Poppins', sans-serif;
}

/* REMOVE HOVER LINE */
.service-card-home,
.service-card-home:hover,
.service-card-home:focus,
.service-card-home:active {
  text-decoration: none;
  border: none;
}

/* OVERLAY */

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(17, 23, 28, 0.65),
      rgba(17, 23, 28, 0.85));
  transition: 0.4s ease;
}

.service-card-home:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.service-card-home:hover .service-overlay {
  background: linear-gradient(rgba(210, 163, 90, 0.35),
      rgba(17, 23, 28, 0.9));
}

/* CONTENT */

.service-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: white;
  font-family: 'Poppins', sans-serif;
}

/* TITLE */

.service-top h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}

/* DESCRIPTION (slightly bigger now) */

.service-description {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

  font-family: 'Poppins', sans-serif;
}

/* BUTTON */

.service-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 50px;
  background: white;
  color: #11171c;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.service-btn:hover {
  background: #D2A35A;
  color: white;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-home {
    height: 300px;
  }
}

/* SECTION TITLE */

.service-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 25px;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.service-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #c9a74d;
  margin-top: 12px;
  font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
  .service-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 25px;
    position: relative;
    font-family: 'Poppins', sans-serif;
  }

  .service-title::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: #c9a74d;
    margin-top: 12px;
    font-family: 'Poppins', sans-serif;
  }
}





/* ===================== CASE STUDY HERO STYLES - BEGINNING ===================== */

/* HERO TITLE */
.case-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  max-width: 480px;
}

/* Subtitle */
.case-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c9a74d;
  font-weight: 600;
}

/* Hero Image */
.case-hero-image {
  width: 100%;
  max-width: 380px;
  height: 520px;
  object-fit: cover;
}

/* Divider Line */
.case-divider {
  border-top: 1px solid #e6e6e6;
}

/* Section Titles (Situation / Approach / Outcome) */
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #1e2a38;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .case-title {
    font-size: 36px;
    max-width: 100%;
  }
}

/* ===================== CASE STUDY HERO STYLES - END ===================== */




/* ================= CASE STUDY CARD STYLE - BEGIN ================= */

.post-prev-container {
  border-radius: 12px;
  overflow: hidden;
  /* important so image follows radius */
  border: 1px solid #e9e9e9;
  /* optional subtle border */
  background: #fff;
  transition: all 0.3s ease;
}

/* Optional subtle hover lift */
.post-prev-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ================= CASE STUDY CARD STYLE - END ================= */



.case-swiper .post-prev-container {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}


.cs-item {
  background: #0b0b0b;
  /* padding: 25px; */
  border-radius: 8px;
  transition: transform .25s ease, box-shadow .25s ease;
  font-family: 'Poppins', sans-serif;
}

.cs-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.cs-item .post-prev-title,
.cs-item .post-prev-title a {
  color: #fff !important;
}

.cs-item .post-prev-title a:hover {
  color: #D2A35A !important;
}




/* Section with soft transparent fade */
.cs-divider {
  position: relative;
  background-color: transparent !important;
  overflow: hidden;
}

/* Soft dark fade overlay */
/* .cs-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
} */

.cs-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* .cs-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
} */

/* Make sure content sits above the overlay */
.cs-divider .container {
  position: relative;
  z-index: 2;
}

/* Improve text readability */
.cs-divider .section-descr {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.cs-divider-header {
  font-family: "Poppins", Sans-serif;
  font-size: 50px;
  font-weight: 700;
  text-transform: none;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #ffffff;
}

.cs-divider-descr {
  font-family: "Poppins", sans-serif;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.5px;
  color: #D2A35A;
  margin-top: 18px;
  font-style: italic;

  /* Make it stand out */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Small screens (tablets and phones) */
@media (max-width: 768px) {

  .cs-divider-header {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.5px;
    text-align: center;
    padding: 0 15px;
  }

  .cs-divider-descr {
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: 0.3px;
    padding: 0 15px;
  }

}




/* case tag */
.case-tag {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #D2A35A;
  background: rgba(210, 163, 90, 0.12);
  padding: 10px 20px;
  border-radius: 10px;
  border-left: 5px solid #D2A35A;
  margin-bottom: 18px;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}


/* CASE STUDY SIDEBAR - SERVICE LIST */

.cs-category-list li {
  margin-bottom: 10px;
}

.cs-category-link {
  color: #000;
  font-weight: 500;
  display: block;
  transition: all .3s ease;
}

.cs-category-link:hover {
  color: #D2A35A;
  transform: translateX(5px);
}


/* CASE STUDY SIDEBAR - SERVICE LIST */

.cs-service-list {
  padding-left: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.cs-service-list li {
  list-style: none;
  margin-bottom: 4px;
  /* reduced spacing */
}

.cs-service-list li a {
  color: #000 !important;
  font-size: 17px;
  font-weight: 500;
  display: block;
  padding: 3px 0;
  line-height: 1.35;
  text-decoration: none;
  transition: all .25s ease;
}

.cs-service-list li a:hover {
  color: #D2A35A !important;
  transform: translateX(4px);
}


/* CASE STUDY SIDEBAR - CONTACT SECTION */

.cs-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #000;
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}

.cs-contact-item i {
  color: #D2A35A;
  font-size: 20px;
  margin-top: 3px;
  min-width: 20px;
}

.cs-contact-item a {
  color: #000;
  text-decoration: none;
  transition: .3s;
}

.cs-contact-item a:hover {
  color: #D2A35A;
}





/* =====================================
   RICH TEXT (CMS / Quill Content)
===================================== */

.cs-rich-text {
  font-family: 'Poppins', sans-serif;
}

.cs-rich-text p {
  margin-bottom: 14px;
  line-height: 1.7;
}

.cs-rich-text h1,
.cs-rich-text h2,
.cs-rich-text h3,
.cs-rich-text h4 {
  margin-top: 25px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #111;
}

.cs-rich-text h3 {
  font-size: 20px;
}

/* Lists */

.cs-rich-text ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

.cs-rich-text ol {
  list-style: decimal;
  padding-left: 22px;
  margin-bottom: 16px;
}

.cs-rich-text li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* Quill indentation */

.cs-rich-text .ql-indent-1 {
  margin-left: 20px;
}

.cs-rich-text .ql-indent-2 {
  margin-left: 40px;
}

.cs-rich-text .ql-indent-3 {
  margin-left: 60px;
}

/* Links */

.cs-rich-text a {
  color: #D2A35A;
  text-decoration: none;
}

.cs-rich-text a:hover {
  text-decoration: underline;
}

/* Strong text */

.cs-rich-text strong {
  font-weight: 600;
}

/* Spacing fix */

.cs-rich-text p:empty {
  display: none;
}





/* =====================================
   RICH TEXT 1 (CMS / Quill Content)
===================================== */

.cs-rich-text-1 {
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

.cs-rich-text-1 p {
  margin-bottom: 14px;
  line-height: 1.7;
}

.cs-rich-text-1 h1,
.cs-rich-text-1 h2,
.cs-rich-text-1 h3,
.cs-rich-text-1 h4 {
  margin-top: 25px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #fff;
}

.cs-rich-text-1 h3 {
  font-size: 20px;
}

/* Lists */

.cs-rich-text-1 ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

.cs-rich-text-1 ol {
  list-style: decimal;
  padding-left: 22px;
  margin-bottom: 16px;
}

.cs-rich-text-1 li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* Quill indentation */

.cs-rich-text-1 .ql-indent-1 {
  margin-left: 20px;
}

.cs-rich-text-1 .ql-indent-2 {
  margin-left: 40px;
}

.cs-rich-text-1 .ql-indent-3 {
  margin-left: 60px;
}

/* Links */

.cs-rich-text-1 a {
  color: #D2A35A;
  text-decoration: none;
}

.cs-rich-text-1 a:hover {
  text-decoration: underline;
}

/* Strong text */

.cs-rich-text-1 strong {
  font-weight: 600;
}

/* Spacing fix */

.cs-rich-text-1 p:empty {
  display: none;
}