/**
 * Laureate Smart & Compact Industries Section Styles
 *
 * @package Laureate
 * @version 1.0.0
 */

:root {
  --sc-blue: #0a2248;       
  --sc-green: #1d960c;      
  --sc-bg: #ffffff;         
  --sc-card-bg: #f8fafc;
  --sc-text: #475569;
  --sc-border: #e2e8f0;
}

.evo-smart-industries,
.evo-smart-industries * {
  box-sizing: border-box;
}

/* --- Compact Section Padding --- */
.evo-smart-industries {
  padding: 70px 24px;
  background-color: var(--sc-bg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.evo-sc-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Space-Saving Split Header --- */
.evo-sc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 40px;
}

.sc-header-left {
  max-width: 550px;
}

.sc-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(29, 150, 12, 0.08);
  color: var(--sc-green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  border: 1px solid rgba(29, 150, 12, 0.15);
}

.sc-header-left h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--sc-blue);
  margin: 0;
  letter-spacing: -0.5px;
}

.sc-header-right {
  max-width: 480px;
  padding-bottom: 6px;
}

.sc-header-right p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sc-text);
  margin: 0;
}

/* --- High-Density Grid (4x2) --- */
.evo-sc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px; /* Compact Gap */
}

/* --- Minimalist Smart Cards --- */
.sc-card {
  background: var(--sc-card-bg);
  border: 1px solid var(--sc-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.sc-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px rgba(10, 34, 72, 0.06);
  transform: translateY(-4px);
}

/* Small Premium Box for White SVGs */
.sc-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0a2248 0%, #17386e 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(10, 34, 72, 0.15);
  transition: transform 0.3s ease;
}

.sc-card:hover .sc-icon-box {
  transform: scale(1.05);
  background: linear-gradient(135deg, #1d960c 0%, #25b912 100%);
}

.sc-icon-box img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Typography */
.sc-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--sc-blue);
  margin: 0 0 8px;
}

.sc-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--sc-text);
  margin: 0;
}

/* --- Mobile Responsiveness --- */
@media(max-width: 991px) {
  .evo-sc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
  }
  .evo-sc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media(max-width: 600px) {
  .evo-smart-industries {
    padding: 50px 20px;
  }
  .sc-header-left h2 {
    font-size: 28px;
  }
  .evo-sc-grid {
    grid-template-columns: 1fr;
  }
  .sc-card {
    flex-direction: row; /* Horizontal layout on mobile for max compactness */
    align-items: center;
    gap: 16px;
    padding: 20px;
  }
  .sc-icon-box {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}
