/* ==========================================================================
   HOMEPAGE STYLES (css/pages/home.css)
   Scoped styling for Invento Engineering Homepage (index.html)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PROOF STRIP (.home-proof-strip)
   -------------------------------------------------------------------------- */
.home-proof-strip {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--brand-blue, #0056b3);
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.home-proof-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #ffffff;
}

.home-proof-icon {
  font-size: 2rem;
  color: #ffffff;
  flex-shrink: 0;
}

.home-proof-details {
  text-align: left;
  line-height: 1.3;
}

.home-proof-num {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-display, inherit);
  letter-spacing: -0.02em;
}

.home-proof-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}


/* --------------------------------------------------------------------------
   2. CORE ENGINEERING DIVISIONS (.home-divisions-sec)
   -------------------------------------------------------------------------- */
.home-divisions-sec {
  background: var(--bg-subtle, #f8fafc);
  border-top: 1px solid var(--border-subtle, #e2e8f0);
  border-bottom: 1px solid var(--border-subtle, #e2e8f0);
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.division-card {
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-subtle, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(15, 23, 42, 0.05));
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.division-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 10px 25px -5px rgba(15, 23, 42, 0.08));
  border-color: var(--border-medium, #cbd5e1);
}

.division-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.division-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  background: var(--brand-blue-lt, #eef6ff);
  color: var(--brand-blue, #0056b3);
}

.division-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary, #0f172a);
}

.division-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: var(--brand-blue, #0056b3);
  font-weight: 700;
}

.division-desc {
  font-size: 0.95rem;
  color: var(--text-secondary, #334155);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.division-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.division-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary, #334155);
  line-height: 1.5;
}

.division-list li i {
  color: var(--brand-blue, #0056b3);
  margin-top: 3px;
  flex-shrink: 0;
}

.division-footer {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.division-footer .btn {
  flex: 1;
  min-width: 130px;
  text-align: center;
  justify-content: center;
}


/* --------------------------------------------------------------------------
   3. ENGINEERING CAPABILITIES (.home-capabilities-sec)
   -------------------------------------------------------------------------- */
.home-capabilities-sec {
  background: linear-gradient(135deg, #0a1829 0%, #11284a 100%);
  position: relative;
  overflow: hidden;
  padding: 85px 0;
  color: #ffffff;
}

.home-capabilities-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .home-capabilities-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.home-capabilities-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 1rem;
}

.home-capabilities-title {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: var(--font-display, inherit);
}

.home-capabilities-sub {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: left;
}

.home-capabilities-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.home-capabilities-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: #ffffff;
}

.home-capabilities-item i {
  color: #38bdf8;
  font-size: 1.15rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.home-capabilities-img-wrap {
  position: relative;
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-capabilities-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* --------------------------------------------------------------------------
   4. FEATURED PRODUCTS (.home-products-sec)
   -------------------------------------------------------------------------- */
.home-products-sec {
  background: var(--bg-subtle, #f8fafc);
  border-bottom: 1px solid var(--border-subtle, #e2e8f0);
}

.home-products-cta-wrap {
  text-align: center;
  margin-top: 2.75rem;
}


/* --------------------------------------------------------------------------
   5. FEATURED PROJECTS (.home-projects-sec)
   -------------------------------------------------------------------------- */
.home-projects-sec {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle, #e2e8f0);
}

.home-project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-project-thumb {
  height: 200px;
  width: 100%;
  background: var(--border-subtle, #e2e8f0);
  overflow: hidden;
}

.home-project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.home-project-card:hover .home-project-img {
  transform: scale(1.04);
}

.home-project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.home-project-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary, #0f172a);
}

.home-project-desc {
  font-size: 0.875rem;
  color: var(--text-secondary, #334155);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.home-project-actions {
  margin-top: auto;
}


/* --------------------------------------------------------------------------
   6. WHY INVENTO ADVANTAGE (.home-why-sec)
   -------------------------------------------------------------------------- */
.home-why-sec {
  background: var(--bg-subtle, #f8fafc);
  border-bottom: 1px solid var(--border-subtle, #e2e8f0);
}

.home-why-card {
  text-align: center;
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(15, 23, 42, 0.05));
  background: #ffffff;
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--border-subtle, #e2e8f0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md, 0 10px 25px -5px rgba(15, 23, 42, 0.08));
}

.home-why-icon {
  font-size: 2.2rem;
  color: var(--brand-blue, #0056b3);
  margin-bottom: 1rem;
}

.home-why-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary, #0f172a);
}

.home-why-desc {
  font-size: 0.875rem;
  color: var(--text-secondary, #334155);
  line-height: 1.6;
  margin: 0;
}


/* --------------------------------------------------------------------------
   7. TECHNICAL INSIGHTS (.home-insights-sec)
   -------------------------------------------------------------------------- */
.home-insights-sec {
  background: #ffffff;
}

.home-insight-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.home-insight-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.home-insight-title a {
  color: var(--text-primary, #0f172a);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-insight-title a:hover {
  color: var(--brand-blue, #0056b3);
}

.home-insight-desc {
  font-size: 0.875rem;
  color: var(--text-secondary, #334155);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.home-insight-link {
  font-size: 0.875rem;
  color: var(--brand-blue, #0056b3);
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.home-insight-link:hover {
  gap: 10px;
}


/* --------------------------------------------------------------------------
   8. CONVERSION CTA STRIP (.home-cta-sec)
   -------------------------------------------------------------------------- */
.home-cta-sec {
  background: var(--brand-blue, #0056b3);
  padding: 80px 0;
  text-align: center;
}

.home-cta-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-weight: 800;
  font-family: var(--font-display, inherit);
}

.home-cta-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.home-cta-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-discuss {
  background: #ffffff;
  color: var(--brand-blue, #0056b3);
  font-weight: 800;
  padding: 1.1rem 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm, 4px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-cta-discuss:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.home-projects-sub {
  margin: 0 auto 2.5rem;
}

.home-projects-cta {
  text-align: center;
  margin-top: 3rem;
}
