/* ================================================
   Mahim Project — Inner Page Styles
   (Services, Projects, About, Contact)
   ================================================ */

/* ===== SERVICES PAGE ===== */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card-full {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem;
  background: var(--white);
  transition: all 0.25s;
}

.service-card-full:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.svc-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.svc-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.svc-num {
  font-family: 'DM Serif Display', serif;
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.25rem;
}

.svc-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--heading);
}

.svc-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 1.5rem;
}

.svc-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.svc-features li {
  font-size: 0.85rem;
  color: var(--body);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.svc-features li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45em;
}

/* Process steps */
.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 4rem;
}

.process-step {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  position: relative;
}

.process-step:last-child { border-right: none; }

.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--blue);
  opacity: 0.25;
  display: block;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== PROJECTS PAGE ===== */
.projects-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 2rem 5%;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.filter-pill {
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'DM Sans', sans-serif;
}

.filter-pill.active, .filter-pill:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

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

.project-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  transition: all 0.25s;
  cursor: pointer;
}

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

.project-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--blue-light);
}

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

.project-card-body { padding: 1.5rem; }

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

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

.project-card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  color: var(--body);
  font-weight: 500;
}

/* ===== ABOUT PAGE ===== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  align-items: center;
}

.about-intro-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--heading);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.about-intro-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 1.25rem;
}

.about-intro-text blockquote {
  border-left: 3px solid var(--blue);
  padding: 0.75rem 1.5rem;
  margin: 2rem 0;
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--blue);
  font-style: italic;
  line-height: 1.5;
  background: var(--blue-light);
}

.about-highlight-box {
  background: var(--blue);
  border-radius: 6px;
  padding: 2.5rem;
  color: var(--white);
}

.about-highlight-box .label { color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; display: block; }

.about-hl-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-hl-stat {}
.about-hl-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.about-hl-label { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  transition: all 0.22s;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.value-card-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}

.value-card-icon svg { width: 22px; height: 22px; color: var(--blue); }

.value-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.value-card p { font-size: 0.875rem; color: var(--body); line-height: 1.65; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }

.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 1.75rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -1.25rem;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
  z-index: 1;
}

.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.25rem;
}

.timeline-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-aside h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--heading);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.contact-aside p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 2.5rem;
}

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-row-icon {
  width: 36px; height: 36px;
  background: var(--blue-light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-row-icon svg { width: 16px; height: 16px; color: var(--blue); }

.contact-row-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-row-value { font-size: 0.9rem; color: var(--body); font-weight: 500; }
.contact-row-value a { color: var(--blue); }
.contact-row-value a:hover { text-decoration: underline; }

.promise-box {
  background: var(--blue-light);
  border: 1px solid rgba(27,58,107,0.12);
  border-radius: 6px;
  padding: 1.5rem;
}
.promise-box p { font-size: 0.85rem; line-height: 1.65; color: var(--body); margin-top: 0.6rem; }
.promise-box strong { color: var(--heading); }

/* Form */
.quote-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.quote-form-box h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.7rem;
  color: var(--heading);
  margin-bottom: 0.4rem;
}

.quote-form-box p.sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0.02em;
}

.form-group label .req { color: #c0392b; }

input, select, textarea {
  width: 100%;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--heading);
  padding: 0.75rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.08);
}

input.err, select.err, textarea.err { border-color: #c0392b; }

input::placeholder, textarea::placeholder { color: var(--muted); font-size: 0.88rem; }

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231b3a6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select option { background: var(--white); color: var(--heading); }

textarea { resize: vertical; min-height: 110px; }

.form-error-banner {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: #c0392b;
  margin-bottom: 1rem;
}
.form-error-banner.show { display: block; }

.submit-row {
  margin-top: 0.5rem;
}

.submit-row .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
}

.submit-row .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.spinner {
  display: none;
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Success */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.form-success.show { display: block; }
.success-circle {
  width: 64px; height: 64px;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-circle svg { width: 28px; height: 28px; color: #059669; }
.form-success h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.form-success p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .services-full-grid { grid-template-columns: 1fr; }
  .projects-grid-full { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .about-hl-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .projects-grid-full { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; }
}
