/* ==========================================================================
   Sociapa Client Sections v3 - Modern, Responsive & Clean Styles
   ========================================================================== */

:root {
  --sc-red: #c8102e;
  --sc-red-light: #fce8eb;
  --sc-dark: #121212;
  --sc-gray-bg: #f8f9fa;
  --sc-gray-border: #e9ecef;
  --sc-gray-text: #6c757d;
  --sc-text-main: #212529;
  --sc-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --sc-hover-shadow: 0 12px 32px rgba(200, 16, 46, 0.12);
}

/* SECTION CONTAINERS */
.sc-section {
  padding: 80px 20px;
  position: relative;
  font-family: inherit;
}

.sc-section.sc-bg-light {
  background-color: var(--sc-gray-bg);
}

.sc-section.sc-bg-white {
  background-color: #ffffff;
}

.sc-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* HEADINGS */
.sc-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.sc-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--sc-red);
  background: var(--sc-red-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.sc-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--sc-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.sc-subtitle {
  font-size: 1.05rem;
  color: var(--sc-gray-text);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   OUR WORK (PORTFOLIO) CARDS
   ========================================================================== */
.sc-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.sc-work-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--sc-gray-border);
  box-shadow: var(--sc-card-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.sc-work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sc-hover-shadow);
  border-color: rgba(200, 16, 46, 0.25);
}

.sc-work-visual {
  height: 200px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--sc-gray-border);
  position: relative;
  overflow: hidden;
}

.sc-work-visual img {
  max-width: 260px;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sc-work-card:hover .sc-work-visual img {
  transform: scale(1.08);
}

.sc-work-body {
  padding: 26px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sc-work-cat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sc-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.sc-work-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sc-dark);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.sc-work-desc {
  font-size: 0.94rem;
  color: #495057;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* TAGS */
.sc-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.sc-tag-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: #495057;
  background: #eef2f5;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

/* EXPANDABLE SERVICES DELIVERED */
.sc-expandable {
  border-top: 1px dashed var(--sc-gray-border);
  padding-top: 12px;
  margin-top: auto;
}

.sc-expand-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sc-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  transition: color 0.2s ease;
}

.sc-expand-btn:hover {
  color: var(--sc-red);
}

.sc-expand-btn .sc-chevron {
  transition: transform 0.25s ease;
  font-size: 0.75rem;
  color: var(--sc-red);
}

.sc-expand-btn[aria-expanded="true"] .sc-chevron {
  transform: rotate(180deg);
}

.sc-expand-content {
  display: none;
  padding-top: 10px;
  font-size: 0.84rem;
  color: #555;
  line-height: 1.6;
}

.sc-expand-content.is-open {
  display: block;
}

.sc-services-list {
  margin: 0;
  padding-left: 18px;
}

.sc-services-list li {
  margin-bottom: 4px;
}

/* BUTTONS */
.sc-work-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--sc-gray-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sc-btn-project {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--sc-dark);
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sc-btn-project:hover {
  background: var(--sc-red);
  color: #ffffff;
  transform: translateX(2px);
}

/* ==========================================================================
   BEHIND THE WORK (TESTIMONIALS FROM TEAM) CARDS
   ========================================================================== */
.sc-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.sc-team-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--sc-gray-border);
  box-shadow: var(--sc-card-shadow);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sc-team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sc-hover-shadow);
  border-color: rgba(200, 16, 46, 0.2);
}

.sc-team-quote-icon {
  font-size: 2.8rem;
  line-height: 1;
  color: var(--sc-red);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: -10px;
}

.sc-team-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: #2b2f33;
  font-style: normal;
  margin: 0 0 24px 0;
  flex-grow: 1;
  position: relative;
}

.sc-team-author {
  border-top: 1px solid var(--sc-gray-border);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-team-designation {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sc-dark);
  letter-spacing: 0.3px;
}

.sc-team-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sc-red);
  background: var(--sc-red-light);
  padding: 4px 12px;
  border-radius: 50px;
  align-self: flex-start;
  margin-top: 4px;
}

.sc-team-brand-desc {
  font-size: 0.8rem;
  color: var(--sc-gray-text);
  margin-top: 2px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .sc-work-grid,
  .sc-team-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
  }
  
  .sc-title {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .sc-section {
    padding: 55px 15px;
  }
  
  .sc-work-grid,
  .sc-team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .sc-title {
    font-size: 1.65rem;
  }
  
  .sc-team-card {
    padding: 24px 20px;
  }
}
