/* ==============================
   CASE STUDIES HERO (EXACT SAME AS WORKS)
============================== */

/* HERO AREA */
.case-hero {
  width: 100%;
  padding: 100px;
  background: #F5F5F5;
  border-bottom: 1px solid #e4e4e4;
}

.case-hero-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;              /* ✅ SAME AS WORKS */
  width: min(92%, 1200px);
  margin: auto;
  gap: 60px;
}

.case-hero-left {
  flex: 1;
  text-align: left;
}

/* BREADCRUMB */
.case-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #eef9f3;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.case-breadcrumb a,
.case-breadcrumb p {
  margin: 0;
  font-size: 16px;
  color: #4bb879;
  text-decoration: none;
}

.case-breadcrumb span {
  color: #a8d9bf;
}

/* TITLE */
.case-hero-title {
  font-size: 64px;                  /* ✅ SAME */
  line-height: 1.1;
  margin-bottom: 20px;
  color: #000;
}

/* DESCRIPTION */
.case-hero-desc {
  font-size: 21px;                  /* ✅ SAME */
  line-height: 1.6;
  color: #444;
  max-width: 500px;
}

/* RIGHT IMAGE */
.case-hero-right {
  flex: 1;
  text-align: right;
  line-height: 0;                   /* ✅ removes top gap */
}

.case-hero-right img {
  display: block;                   /* ✅ IMPORTANT */
  margin-left: auto;                /* right aligned */
  border-radius: 12px;
  height: auto;
  object-fit: contain;
}

/* ================= MOBILE (EXACT SAME AS WORKS) ================= */
@media (max-width: 768px) {

  .case-hero {
    padding: 60px 0;
    text-align: center;
  }

  .case-hero-title {
    font-size: 32px;                /* ✅ SAME */
    margin-bottom: 12px;
    text-align: center;
  }

  .case-hero-wrap {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .case-hero-left,
  .case-hero-right {
    width: 100%;
    text-align: center;
  }

  .case-breadcrumb {
    margin-left: auto;
    margin-right: auto;
  }

  .case-hero-desc {
    font-size: 18px;                /* ✅ SAME */
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .case-hero-right img {
    width: 90%;                     /* ✅ SAME */
    margin: 10px auto 0;            /* ✅ SAME */
  }
}


/* ==============================
   CASE STUDIES GRID SECTION
============================== */
.cfs-section {
  padding: 80px;
  background: #F5F5F5;
  text-align: center;
}
@media (max-width: 768px) {
  .cfs-section {
    padding: 30px;   /* less space, no overflow */
  }
}
.cfs-container {
  width: min(92%, 1200px);
  margin: auto;
}

.cfs-title {
  font-size: 48px;
  margin-bottom: 6px;
  margin-top: 0;
}
@media (max-width: 768px) {
  .cfs-title {
    font-size: 24px;      /* ✅ mobile size */
    line-height: 1.25;
    text-align: center;
  }
}
.cfs-subtitle {
  font-size: 21px;
  color: #777;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
    .cfs-subtitle {
        font-size: 18px;
        margin-bottom: 24px;
        line-height: 1.5;
    }
}
/* FILTER BUTTON STYLE */
.cfs-filter {
 display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
	justify-content: center;
}

.cfs-filter-btn {
  border: 1px solid #2C73E5;
  background: #fff;
  color: #2C73E5;
  padding: 8px 20px;
  border-radius: 18px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.cfs-filter-btn.active,
.cfs-filter-btn:hover {
  background: #2C73E5;
  color: #fff;
}


/* GRID CARDS */
.cfs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cfs-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s ease;
  border: 1px solid #f1f1f1;
}

.cfs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.09);
}
.cfs-card a {
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
}

.cfs-card a *,
.cfs-card a p,
.cfs-card a strong {
  text-decoration: none !important;
}

.cfs-content,
.cfs-content * {
  color: #1a1a1a !important;
}

/* IMAGE & CATEGORY TAG */
.cfs-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.cfs-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s ease;
  border-radius: 10px;
}

.cfs-card:hover .cfs-image img {
  transform: scale(1.05);
}

.cfs-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #2C73E5;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  z-index: 10;
}

/* CONTENT SECTION */
.cfs-content {
  padding: 22px 24px 26px;
  text-align: left;   /* force left alignment */
}

.cfs-logo {
  height: 26px;
  margin-bottom: 10px;
}

.cfs-results {
  font-size: 15px;
  margin-bottom: 4px;
}

.cfs-duration {
  font-size: 14px;
  margin-bottom: 10px;
}

.cfs-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* BUTTON */
.cfs-btn-wrap {
  margin-top: 40px;
}

.cfs-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  color: #000000;
  font-size: 14px;
  text-decoration: none;
   border: 2px solid #2C73E5;
}

.cfs-btn:hover {
  background: #F5F5F5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cfs-grid { grid-template-columns: 1fr; }
  .cfs-image img { height: 220px; }
}
