/* SECTIONS */
.section {
    padding: clamp(30px, 4.166667vw, 80px) clamp(15px, 2.604167vw, 50px);
}

.section-light {
    background: var(--grey-50);
}

.section-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--elite);
    margin-bottom: 8px;
}

.section-heading {
    color: var(--navy);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    line-height: 1.2;
    font-size: clamp(20px, 2.08vw, 40px);
    font-weight: 800;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--grey-500);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* INDUSTRY SOLUTIONS - CHINT-inspired accordion expand */
.solutions-section {
    padding: 0;
    overflow: hidden;
}

.solutions-header {
    background: linear-gradient(135deg, #0D8A72 0%, #076B58 100%);
    padding: clamp(30px, 2.604167vw, 50px) clamp(15px, 2.604167vw, 50px) 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.solutions-header::before {
    content: '';
    display: block;
    width: 4px;
    height: 32px;
    background: var(--elite-glow);
    border-radius: 2px;
}

.solutions-header h2 {
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    font-size: clamp(20px, 2.08vw, 40px);
    font-weight: 800;
}

.solutions-grid {
    display: flex;
    min-height: 380px;
}

.sol-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex: 1;
    transition: flex 0.5s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
    color: inherit;
    display: block;
}

.sol-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sol-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

/* Default: small title at bottom */
.sol-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    z-index: 2;
    transition: all 0.5s ease;
}

.sol-content h3 {
    color: #fff;
    font-size: clamp(16px, 1.25vw, 24px);
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.3;
    transition: all 0.4s ease;
}

.sol-content p {
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease 0.1s;
    margin-top: 0;
}

.sol-content .sol-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease 0.15s;
    padding-bottom: 0;
    border-bottom: none;
}

.sol-divider {
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}


@media (min-width: 991px) {
/* Hover: expand card, reveal content */
.solutions-grid:hover .sol-card {
    flex: 0.7;
}

.solutions-grid .sol-card:hover {
    flex: 2.5;
}

.sol-card:hover::before {
    background: linear-gradient(180deg, rgb(13 138 114 / 30%) 0%, rgb(255 255 255 / 92%) 100%);
}

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

.sol-card:hover .sol-content {
    padding: 32px 28px;
}

.sol-card:hover .sol-content h3 {
    color: var(--grey-900);
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.sol-card:hover .sol-content p {
    color: var(--grey-500);
    max-height: 80px;
    opacity: 1;
    margin-top: 0;
}

.sol-card:hover .sol-content .sol-arrow {
    color: var(--elite);
    max-height: 30px;
    opacity: 1;
    margin-top: 14px;
    padding-bottom: 4px;
    border-bottom: 1.5px solid var(--elite);
}

.sol-card:hover .sol-divider {
    opacity: 1;
    background: var(--grey-200);
}

.seize-customer ul:hover .sol-card {
    flex: 0.7;
}

.seize-customer ul .sol-card:hover {
    flex: 2.5;
}
}

.seize-customer ul {
    overflow: hidden;
    display: -webkit-flex;
    display: flex;
    min-height: 580px;
}



@media (max-width: 991px) {
  .solutions-header {
    padding: 28px 20px 22px;
  }
  .solutions-header::before {
    height: 26px;
  }


  .solutions-grid,
  .seize-customer ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }
  .sol-card {
    min-height: 240px;
    flex: unset !important;
  }

  .sol-card::before {
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, rgba(0, 0, 0, 0.45) 100%);
  }
  .sol-content {
    padding: 20px 15px;
  }
  .sol-content h3 {
    margin-bottom: 6px;
  }
  .sol-content p {
    max-height: 50px;
    opacity: 1;
    overflow: visible;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
  }
  .sol-content .sol-arrow {
    max-height: 22px;
    opacity: 1;
    margin-top: 8px;
    padding-bottom: 3px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.65rem;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
  }
  .sol-divider {
    opacity: 1;
  }
}

@media (max-width: 580px) {
  .solutions-header {
    padding: 24px 16px 18px;
  }
  .solutions-header::before {
    height: 22px;
    width: 3px;
  }


  .solutions-grid,
  .seize-customer ul {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .sol-card {
    min-height: 200px;
    flex: unset !important;
  }

  .sol-card::before {
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, rgba(0, 0, 0, 0.45) 100%);
  }

  .sol-content h3 {
    margin-bottom: 5px;
  }
  .sol-content p {
    max-height: 60px;
  }
  .sol-content .sol-arrow {
    max-height: 24px;
  }
  .sol-divider {
    opacity: 1;
  }
}