/* ================================================
   Mahim Project — Home Page
   ================================================ */

/* ===== HERO ===== */
.hero {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--nav-h);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-left {
  padding: 4rem 4% 4rem 8%;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-eyebrow span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: var(--heading);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  max-width: 480px;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.7s 0.4s ease both;
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--blue);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.3rem;
  font-weight: 500;
}

/* Right Side Image Styling */
.hero-right {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 4% 2rem 0;
}

.hero-image-wrapper {
  width: 100%;
  height: 80vh;
  max-height: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
  padding: 1.5rem 5%;
}

.trust-bar .inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-bar-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  margin-right: 1rem;
}

.trust-items {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--body);
}

.trust-item svg { 
  color: var(--blue); 
  flex-shrink: 0; 
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview { 
  background: var(--white); 
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-tile {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.25rem;
  background: var(--white);
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-tile::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.service-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}

.service-tile:hover::before { 
  transform: scaleX(1); 
}

.tile-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tile-icon svg { 
  width: 24px; 
  height: 24px; 
  color: var(--blue); 
}

.service-tile h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

.service-tile p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: 1.5rem;
}

.tile-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.service-tile:hover .tile-link { 
  gap: 0.7rem; 
}

/* ===== WHY MAHIM ===== */
.why-section {
  background: var(--off-white);
  padding: 6rem 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-section .inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.why-points { 
  display: flex; 
  flex-direction: column; 
  gap: 1.75rem; 
  margin-top: 2.5rem; 
}

.why-point {
  display: flex;
  gap: 1.25rem;
}

.why-point-icon {
  width: 40px; height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.why-point-icon svg { 
  width: 18px; 
  height: 18px; 
  color: var(--blue); 
}

.why-point-body h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.3rem;
}

.why-point-body p { 
  font-size: 0.88rem; 
  color: var(--body); 
  line-height: 1.6; 
}

/* Stat card block */
.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stat-card {
  background: var(--white);
  padding: 2.25rem;
}

.stat-card-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  color: var(--blue);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.stat-card.accent-card {
  background: var(--blue);
}

.stat-card.accent-card .stat-card-num { 
  color: var(--white); 
}

.stat-card.accent-card .stat-card-label { 
  color: rgba(255,255,255,0.6); 
}

/* ===== RECENT PROJECTS STRIP ===== */
.project-strip { 
  background: var(--white); 
}

.project-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-thumb-card {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.project-thumb-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.project-thumb-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--blue-light);
}

.project-thumb-img svg { 
  width: 100%; 
  height: 100%; 
}

.project-thumb-info {
  padding: 1.4rem 1.5rem;
  background: var(--white);
}

.project-thumb-type {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.project-thumb-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  color: var(--heading);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-thumb-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== MOBILE & RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-left {
    padding: 3rem 5%;
  }

  .hero-right {
    padding: 0 5% 3rem 5%;
  }

  .hero-image-wrapper {
    height: 350px;
  }

  .services-overview-grid { 
    grid-template-columns: 1fr 1fr; 
  }

  .why-section .inner { 
    grid-template-columns: 1fr; 
    gap: 3rem; 
  }

  .project-strip-grid { 
    grid-template-columns: 1fr 1fr; 
  }
}

@media (max-width: 640px) {
  .services-overview-grid { 
    grid-template-columns: 1fr; 
  }

  .project-strip-grid { 
    grid-template-columns: 1fr; 
  }

  .stat-cards { 
    grid-template-columns: 1fr 1fr; 
  }

  .hero-stats { 
    gap: 1.5rem; 
  }
}