﻿/* =====================================================
   Home Page — About Features & Demo Sections
  Green: #42C0F8 | Matches project design system
   ===================================================== */

/* ---------- About Features Section ---------- */
.had-section {
  padding: 72px 0;
  background: #fff;
  overflow: hidden;
}

.had-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.had-header {
  text-align: center;
  margin-bottom: 56px;
}

.had-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px;
  font-family: "Dana", sans-serif;
}

.had-header p {
  font-size: 15px;
  color: #1A3A5C;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
  font-family: "Dana", sans-serif;
}

.had-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  max-width: 1080px;
  margin: 0 auto;
}

.had-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(300px);
  z-index: 0;
  background: rgba(66, 192, 248, 0.08);
  pointer-events: none;
}

.had-card {
  position: relative;
  z-index: 1;
}

.had-card-icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  background: #E8F5FC;
  border: 1px solid #B8E2F8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.had-card:hover .had-card-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(66, 192, 248, 0.15);
}

.had-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #42C0F8;
}

.had-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #374151;
  margin: 20px 0 8px;
  font-family: "Dana", sans-serif;
}

.had-card p {
  font-size: 14px;
  color: #1A3A5C;
  line-height: 1.8;
  margin: 0;
  font-family: "Dana", sans-serif;
}

@media (max-width: 1024px) {
  .had-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }
}

@media (max-width: 640px) {
  .had-section {
    padding: 48px 0;
  }

  .had-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 8px;
  }

  .had-header h2 {
    font-size: 24px;
  }
}

/* ---------- Demo / What We Do Section ---------- */
.hdw-section {
  padding: 72px 0;
  background: #fff;
}

.hdw-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 64px;
}

.hdw-image-side {
  flex-shrink: 0;
  position: relative;
}

.hdw-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(66, 192, 248, 0.2);
}

.hdw-image-card img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

.hdw-avatars-card {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.hdw-avatars-stack {
  display: flex;
  align-items: center;
}

.hdw-avatars-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  margin-left: -12px;
  transition: transform 0.3s ease;
  position: relative;
}

.hdw-avatars-stack img:first-child {
  margin-left: 0;
}

.hdw-avatars-stack img:hover {
  transform: translateY(-4px);
  z-index: 10;
}

.hdw-avatars-stack .hdw-avatar-more {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #42C0F8;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -12px;
  transition: transform 0.3s ease;
}

.hdw-avatars-stack .hdw-avatar-more:hover {
  transform: translateY(-4px);
}

.hdw-avatars-text {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  font-family: "Dana", sans-serif;
}

.hdw-text-side {
  flex: 1;
  min-width: 0;
}

.hdw-text-side h2 {
  font-size: 22px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  margin: 0 0 12px;
  font-family: "Dana", sans-serif;
}

.hdw-gradient-line {
  width: 96px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #42C0F8, #B8E2F8);
  margin-bottom: 32px;
}

.hdw-text-side p {
  font-size: 15px;
  color: #4b5563;
  line-height: 2;
  margin: 0 0 16px;
  font-family: "Dana", sans-serif;
}

.hdw-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #42C0F8, #42C0F8);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  font-family: "Dana", sans-serif;
}

.hdw-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(66, 192, 248, 0.3);
}

.hdw-cta-btn svg {
  transition: transform 0.25s ease;
}

.hdw-cta-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .hdw-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hdw-image-side {
    width: 100%;
    flex-shrink: 1;
  }

  .hdw-image-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hdw-avatars-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    padding: 12px 16px;
    gap: 10px;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
    border-radius: 12px;
  }

  .hdw-avatars-stack img {
    width: 36px;
    height: 36px;
    margin-left: -10px;
    border-width: 2px;
  }

  .hdw-avatars-stack img:first-child {
    margin-left: 0;
  }

  .hdw-avatars-stack .hdw-avatar-more {
    width: 36px;
    height: 36px;
    font-size: 10px;
    margin-left: -10px;
    border-width: 2px;
  }

  .hdw-avatars-text {
    font-size: 12px;
    white-space: nowrap;
  }

  .hdw-gradient-line {
    margin-left: auto;
    margin-right: auto;
  }

  .hdw-text-side h2 {
    font-size: 20px;
  }

  .hdw-cta-btn {
    margin-left: auto;
    margin-right: auto;
  }
}



