/* ═══════════════════════════════════════════════════
   MCH Enterprises — ABOUT, SERVICES & WHY US
   File: css/sections.css
════════════════════════════════════════════════════ */

/* ══════════════ ABOUT ══════════════ */
#about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* About – Image Side */
.about-images {
  position: relative;
}

.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-main:hover img {
  transform: scale(1.04);
}

.about-img-small {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
}

.about-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  top: 24px;
  left: -20px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.35);
  text-align: center;
  animation: floatY 3.5s ease-in-out infinite;
}

.about-badge-float .num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.about-badge-float .lbl {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 500;
}

/* About – Content Side */
.about-content .section-subtitle {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 36px;
}

.point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.point-icon {
  width: 42px;
  height: 42px;
  background: var(--bg2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 17px;
  flex-shrink: 0;
  transition: var(--transition);
}

.point-item:hover .point-icon {
  background: var(--primary);
  color: #fff;
}

.point-text h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--text);
}

.point-text p {
  font-size: 13px;
  color: var(--text-muted);
}

.about-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ══════════════ SERVICES ══════════════ */
#services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.service-img {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(13, 71, 161, 0.6));
  pointer-events: none;
}

.service-icon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  backdrop-filter: blur(8px);
}

.service-body {
  padding: 18px 20px 22px;
}

.service-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.service-body p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.service-card:hover .service-link {
  gap: 8px;
}

/* ══════════════ WHY CHOOSE US ══════════════ */
#why {
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-intro .section-subtitle {
  margin-bottom: 36px;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--bg2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--primary);
  color: #fff;
}

.why-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.why-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Why – Image Side */
.why-image-side {
  position: relative;
}

.why-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
  box-shadow: var(--shadow-lg);
}

.why-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-review-float {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  animation: floatY 4s ease-in-out infinite;
}

.why-review-float .stars {
  color: #FFB300;
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.why-review-float p {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.why-review-float span {
  font-size: 11px;
  color: var(--text-muted);
}
