/* ========================================
   CASE STUDY - Matching Custom Software Page Style
======================================== */

/* ---------- HERO + GALLERY SECTION (Side by Side) ---------- */
.cs-hero-gallery-section {
  background: #ffffff;
  padding-top: 30px;
  padding-bottom: 30px;
}

.cs-hero-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.cs-hero-left {
  text-align: left;
}

/* Title with gradient - matching service pages */
.cs-hero-left .cs-hero-title {
  font-family: var(--tp-ff-platform);
  font-size: 46px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(
    90deg,
    #ce403d 0%,
    #ce403d 40%,
    #2a2f36 50%,
    #ce403d 60%,
    #ce403d 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  margin: 0 0 20px 0;
}

/* Short Description */
.cs-hero-shortdesc {
  font-family: p_r;
  font-size: 18px;
  line-height: 1.7;
  color: #141414;;
  margin-bottom: 25px;
}

/* Industry Chip */
.cs-industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(206,64,61,0.1);
  border: 1px solid rgba(206,64,61,0.2);
  border-radius: 30px;
  font-family: p_m;
  font-size: 14px;
  color: #ce403d;
}

.cs-industry-chip i {
  font-size: 13px;
}

/* Services Chips */
.cs-services-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cs-service-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-family: p_m;
  font-size: 13px;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.cs-service-chip:hover {
  border-color: #ce403d;
  color: #ce403d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(206, 64, 61, 0.15);
}

.cs-service-chip i {
  color: #ce403d;
  font-size: 12px;
}

/* Filter Tabs Styling (from our_work_v2) */
.tabs.our_work_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.tabs.our_work_nav .tab {
  padding: 12px 24px;
  background: #f1f5f9;
  border: none;
  border-radius: 8px;
  font-family: p_m;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tabs.our_work_nav .tab:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.tabs.our_work_nav .tab.active {
  background: #ce403d;
  color: #ffffff;
}

/* Tags Container */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

/* Tag Red Styling */
.tag_red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  font-family: p_r;
  font-size: 14px;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tag_red:hover {
  background: #ce403d;
  border-color: #ce403d;
  color: #ffffff;
}

.tag_red img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Subtitle for filter sections */
.dgm-hero-subtitle {
  font-family: p_m;
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 15px;
  text-transform: capitalize;
}

/* Tab Content */
.tab-content {
  padding-top: 10px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ---------- GALLERY IN HERO ---------- */
.cs-hero-right {
  position: relative;
}

/* Slider */
.cs-gallery-slider {
  position: relative;
  margin-bottom: 20px;
}

.cs-slider-main {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 12px;
  /* background: #f5f5f5; */
}

.cs-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  /* Prevent hidden slides from catching clicks */
  pointer-events: none;
}

.cs-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Device Frame */
.cs-slide-frame {
  background: #1a1a2e;
  padding: 10px 10px 18px;
  border-radius: 14px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.18);
  max-width: 100%;
}

.cs-slide-frame img {
  display: block;
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  border-radius: 6px;
  background: #f5f5f5;
}

.cs-slide-frame {
  cursor: pointer;
}

/* Slider Controls */
.cs-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #141414;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all 0.3s;
}

.cs-slider-btn:hover {
  background: #ce403d;
  color: #fff;
}

.cs-slider-prev { left: 10px; }
.cs-slider-next { right: 10px; }

/* View All Button */
.cs-viewall-wrap {
  text-align: center;
}

.cs-btn-viewall {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: #ce403d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: p_m;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.cs-btn-viewall:hover {
  background: #a0302e;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(206,64,61,0.25);
}

/* ---------- DESCRIPTION SECTION ---------- */
.cs-desc-section {
  padding: 80px 0;
  background: #ffffff;
}

/* Section Title with gradient - matching service pages */
.cs-desc-section .cs-section-title {
  font-family: var(--tp-ff-platform);
  font-size: 36px;
  line-height: normal;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-image: linear-gradient(
    90deg,
    #ce403d 0%,
    #ce403d 40%,
    #2a2f36 50%,
    #ce403d 60%,
    #ce403d 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
  text-align: left;
}

.cs-business-section .cs-section-title,
.cs-tech-section .cs-section-title {
  font-family: var(--tp-ff-platform);
  font-size: 36px;
  line-height: normal;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-image: linear-gradient(
    90deg,
    #ce403d 0%,
    #ce403d 40%,
    #2a2f36 50%,
    #ce403d 60%,
    #ce403d 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
  text-align: center;
}

.cs-section-title.cs-text-center {
  text-align: center;
}

.cs-desc-text {
  font-family: p_r;
  font-size: 16px;
  line-height: 1.8;
  color: #636368;
  max-width: 100%;
}

.cs-desc-text p {
  margin-bottom: 20px;
}

/* ---------- FEATURES SECTION - Uniform Card Grid ---------- */
/* Key Features Section - Dark Blue Background with Light Card Headers */
.cs-features-section {
  padding: 60px 0 50px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.cs-features-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(206, 64, 61, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cs-features-section .cs-section-title {
  font-family: var(--tp-ff-platform);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cs-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Feature Card: Light Header (Icon+Title) | Divider | Points */
.cs-feature-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.cs-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Header: Light Background with Icon + Title */
.cs-feature-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}

.cs-feature-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, #ce403d 0%, #e05a57 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(206, 64, 61, 0.3);
}

.cs-feature-icon-box i {
  transform: translateX(1px);
}

.cs-feature-title {
  font-family: p_m;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  margin: 0;
  flex: 1;
}

/* Points Section */
.cs-feature-points {
  flex: 1;
  padding: 20px 24px;
  background: #ffffff;
}

.cs-feature-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-feature-points li {
  font-family: p_r;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  padding: 8px 0 8px 26px;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

.cs-feature-points li:last-child {
  border-bottom: none;
}

.cs-feature-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.cs-bento-desc {
  font-family: p_r;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.cs-bento-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 20px;
  background: #0f172a;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: p_m;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.cs-bento-btn:hover {
  background: #ce403d;
  gap: 12px;
}

.cs-bento-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.cs-bento-btn:hover i {
  transform: translateX(4px);
}

.cs-bento-item.accent .cs-bento-btn,
.cs-bento-item.featured .cs-bento-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.cs-bento-item.accent .cs-bento-btn:hover,
.cs-bento-item.featured .cs-bento-btn:hover {
  background: #ffffff;
  color: #0f172a;
}

/* ---------- BUSINESS SECTION ---------- */
.cs-business-section {
  padding: 60px 0;
  background: #ffffff;
}

.cs-business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

/* Business Impact Card - Reference-style KPI Tile */
.cs-business-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding: 42px 30px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  border: none;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.55);
  min-height: 300px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.cs-business-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.cs-business-card:hover {
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.75);
  transform: translateY(-6px);
}

.cs-business-card:hover::after {
  opacity: 1;
}

.cs-business-card:hover .cs-business-num,
.cs-business-card:hover h4 {
  color: #ffffff;
}

/* Icon */
.cs-business-icon {
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 0, rgba(148, 163, 184, 0.15), transparent 55%),
    #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ce403d;
  font-size: 44px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.5);
  margin-bottom: 0;
}

.cs-business-card:hover .cs-business-icon {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.7);
}

/* Content */
.cs-business-content {
  flex: 1;
  text-align: center;
}

.cs-business-num {
  font-family: var(--tp-ff-platform);
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1.2;
  margin-top: 20px;
  margin-bottom: 8px;
}

.cs-business-card h4 {
  font-family: p_r;
  font-size: 20px;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.9);
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

/* Testimonial */
.cs-testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 50px;
  background: #f8f9fa;
  border-radius: 20px;
}

.cs-quote-icon {
  font-size: 50px;
  color: #ce403d;
  opacity: 0.3;
  margin-bottom: 20px;
  display: block;
}

.cs-testimonial-text {
  font-family: p_r;
  font-size: 18px;
  line-height: 1.8;
  color: #636368;
  font-style: italic;
  margin-bottom: 30px;
}

.cs-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.cs-author-avatar {
  width: 50px;
  height: 50px;
  background: #ce403d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-family: p_m;
}

.cs-author-info {
  text-align: left;
}

.cs-author-info strong {
  display: block;
  font-family: p_m;
  font-size: 16px;
  color: #141414;
}

.cs-author-info span {
  font-family: p_r;
  font-size: 14px;
  color: #888;
}

/* ---------- TECH STACK SECTION ---------- */
.cs-tech-section {
  padding: 60px 0 80px;
  background: #f8f9fa;
  margin-bottom: 0;
}

.cs-tech-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.cs-tech-item {
  text-align: center;
  transition: transform 0.3s;
}

.cs-tech-item:hover {
  transform: translateY(-5px);
}

.cs-tech-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.cs-tech-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cs-tech-letter {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ce403d, #e05a57);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  font-family: p_m;
  margin-bottom: 12px;
  box-shadow: 0 8px 25px rgba(206,64,61,0.2);
}

.cs-tech-item span {
  font-family: p_m;
  font-size: 16px;
  color: #1e293b;
  display: block;
  margin-top: 8px;
}

a.cs-tech-item-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

a.cs-tech-item-link:hover .cs-tech-icon {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ---------- NAVIGATION ---------- */
.cs-nav-section {
  background: #141414;
  padding: 40px 0;
}

.cs-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cs-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 25px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  max-width: 300px;
}

.cs-nav-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ce403d;
  color: #fff;
}

.cs-nav-btn i {
  color: #ce403d;
  font-size: 16px;
}

.cs-nav-btn span {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cs-nav-btn small {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cs-nav-btn span > span:last-child {
  font-family: p_m;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-nav-all {
  padding: 16px 40px;
  background: #ce403d;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-family: p_m;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}

.cs-nav-all:hover {
  background: #a0302e;
  color: #fff;
}

/* ---------- LIGHTBOX ---------- */
.cs-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  flex-direction: column;
}

.cs-lightbox.active {
  display: flex;
}

.cs-lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: #ce403d;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.cs-lightbox-close:hover {
  transform: rotate(90deg);
  background: #a0302e;
}

.cs-lightbox-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 20px;
  overflow: hidden;
}

.cs-lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.2s ease;
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.cs-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: rgba(0,0,0,0.5);
}

.cs-zoom-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border-left: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
}

.cs-lightbox-bar button {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-lightbox-bar button:hover {
  background: #ce403d;
}

.cs-lightbox-bar span {
  color: #fff;
  font-family: p_m;
  font-size: 14px;
  min-width: 60px;
  text-align: center;
}

.cs-lightbox-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 15px;
  overflow-x: auto;
  background: rgba(0,0,0,0.3);
}

.cs-lightbox-thumb {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  flex-shrink: 0;
  transition: all 0.3s;
}

.cs-lightbox-thumb:hover,
.cs-lightbox-thumb.active {
  border-color: #ce403d;
  opacity: 1;
}

.cs-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .cs-hero-gallery-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cs-hero-left {
    text-align: center;
  }
  
  .cs-hero-left .cs-hero-title {
    font-size: 38px;
  }
  
  .cs-slider-main {
    height: 400px;
  }
  
  .cs-slide-frame img {
    max-height: 340px;
  }
  
  .cs-desc-section .cs-section-title,
  .cs-business-section .cs-section-title,
  .cs-tech-section .cs-section-title {
    font-size: 38px;
  }
  
  .cs-business-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .cs-tech-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
  }
  
  .cs-tech-item {
    padding: 24px 16px;
  }
  
  .cs-tech-icon,
  .cs-tech-letter {
    width: 80px;
    height: 80px;
    font-size: 36px;
  }
  
  .cs-features-list {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .cs-features-section .cs-section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  .cs-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .cs-feature-card {
    padding: 0;
  }
  
  .cs-feature-header {
    padding: 16px 20px;
  }
  
  .cs-feature-pill {
    padding: 6px 6px 6px 6px;
  }
  
  .cs-feature-circle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 18px;
  }
  
  .cs-feature-pill-title {
    font-size: 14px;
  }
  
  .cs-business-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 15px;
  }
  
  .cs-business-card {
    padding: 18px;
    gap: 12px;
  }
  
  .cs-business-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 20px;
    border-radius: 12px;
  }
  
  .cs-business-num {
    font-size: 24px;
  }
  
  .cs-business-card h4 {
    font-size: 13px;
  }
  
  .cs-nav-btn {
    max-width: 220px;
  }
}

@media (max-width: 767px) {
  .cs-hero-gallery-section {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .cs-hero-left .cs-hero-title {
    font-size: 24px;
  }
  
  .cs-hero-shortdesc {
    font-size: 11px;
    line-height: 1.5;
  }
  
  /* Fix: plain p tags in project-details sections */
  .cs-desc-section p,
  .cs-feature-section p,
  .cs-business-section p,
  .cs-tech-section p,
  .cs-testimonial-section p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  
  .cs-slider-main {
    height: 320px;
  }
  
  .cs-slide-frame {
    padding: 8px 8px 15px;
  }
  
  .cs-slide-frame img {
    max-height: 260px;
  }
  
  .cs-slider-btn {
    width: 36px;
    height: 36px;
  }
  
  .cs-desc-section .cs-section-title,
  .cs-business-section .cs-section-title,
  .cs-tech-section .cs-section-title {
    font-size: 26px;
  }
  
  .cs-tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 15px;
  }
  
  .cs-tech-item {
    padding: 20px 15px;
    border-radius: 16px;
  }
  
  .cs-tech-icon,
  .cs-tech-letter {
    width: 70px;
    height: 70px;
    font-size: 32px;
    border-radius: 16px;
  }
  
  .cs-tech-item span {
    font-size: 14px;
  }
  
  .cs-features-section {
    padding: 50px 0;
  }
  
  .cs-features-section .cs-section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }
  
  .cs-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 15px;
  }
  
  .cs-feature-card {
    padding: 0;
  }
  
  .cs-feature-header {
    padding: 14px 18px;
    gap: 12px;
  }
  
  .cs-feature-icon-box {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 8px;
  }
  
  .cs-feature-title {
    font-size: 15px;
  }
  
  .cs-feature-points {
    padding: 16px 18px;
  }
  
  .cs-feature-points li {
    font-size: 13px;
    padding: 6px 0 6px 24px;
  }
  
  .cs-testimonial {
    padding: 40px 25px;
  }
  
  .cs-testimonial-text {
    font-size: 16px;
  }
  
  .cs-nav-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .cs-nav-btn {
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }
}

.footer-area {
    padding-top: 0 !important;
}

