/* ===== Custom Mobile App Page Styles ===== */
/* Red Theme throughout */

/* Force visibility for all elements */
.ma-hero-section *,
.ma-services-section *,
.ma-process-section *,
.ma-tech-section *,
.ma-cta-section * {
  opacity: 1;
  visibility: visible;
}

/* Global Red Gradient Titles - Matching landing.css .tp-section-title */
.ma-section-title {
  color: #ce403d;
  font-family: var(--tp-ff-platform);
  letter-spacing: 1px;
  font-weight: 500;
  font-size: 50px;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
  background-image: linear-gradient(
    90deg,
    #ce403d 0%,
    #ce403d 40%,
    #2a2f36 50%,
    #ce403d 60%,
    #ce403d 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 20px;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hero Section → moved to service-common.css */

/* ===== Mobile App Services Section ===== */
.ma-services-section {
  background: #f8f9fb;
  position: relative;
}
.ma-services-header {
  text-align: center;
  margin-bottom: 50px;
}
.ma-services-subtitle {
  font-size: 18px;
  color: #636368 !important;
  font-family: p_r;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 1 !important;
  visibility: visible !important;
}
.ma-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .ma-services-grid {
    grid-template-columns: 1fr;
  }
}
.ma-service-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px 30px;
  border: 1px solid #eef0f4;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
}
.ma-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(206, 64, 61, 0.12);
  border-color: rgba(206, 64, 61, 0.3);
}
.ma-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ce403d 0%, #e85a57 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.ma-service-card:hover::before {
  transform: scaleX(1);
}
.ma-service-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.ma-service-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: rgba(206, 64, 61, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.ma-service-card:hover .ma-service-icon {
  background: #ce403d;
}
.ma-service-icon svg,
.ma-service-icon img {
  width: 28px;
  height: 28px;
  transition: all 0.3s ease;
}
.ma-service-icon svg {
  stroke: #ce403d;
}
.ma-service-card:hover .ma-service-icon svg {
  stroke: #fff;
}
.ma-service-card:hover .ma-service-icon img {
  filter: brightness(0) invert(1);
}
.ma-service-title {
  font-size: 20px;
  font-weight: 600;
  color: #141414 !important;
  font-family: p_m;
  margin-bottom: 0;
  line-height: 1.4;
  margin-top: 12px;
  opacity: 1 !important;
  visibility: visible !important;
}
.ma-service-description {
  font-size: 15px;
  color: #636368 !important;
  line-height: 1.7;
  font-family: p_r;
  margin: 0;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ===== Development Process Section ===== */
.ma-process-section {
  background: #fff;
  position: relative;
}
.ma-process-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}
.ma-process-content {
  flex: 1;
}
.ma-process-image {
  flex: 0 0 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ma-process-svg {
  width: 100%;
  max-width: 450px;
  height: auto;
}
.ma-process-header {
  margin-bottom: 50px;
  text-align: center;
}
.ma-process-subtitle {
  font-size: 18px;
  color: #636368 !important;
  font-family: p_r;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
  opacity: 1 !important;
  visibility: visible !important;
}
/* Process Steps → moved to service-common.css */

/* ===== Tech Stack Section ===== */
.ma-tech-section {
  background: #f8f9fb;
  position: relative;
}
.ma-tech-header {
  text-align: center;
  margin-bottom: 40px;
}
.ma-tech-subtitle {
  font-size: 18px;
  color: #636368 !important;
  font-family: p_r;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 1 !important;
  visibility: visible !important;
}

/* CTA Section → moved to service-common.css */

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
  /* Hero overrides → moved to service-common.css */
  .ma-process-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .ma-process-image {
    flex: none;
    width: 100%;
    order: 1;
  }
  .ma-process-content {
    order: 2;
  }
  .ma-section-title {
    font-size: 42px;
  }
}
@media (max-width: 767px) {
  /* Hero & CTA overrides → moved to service-common.css */
  .ma-section-title {
    font-size: 32px;
  }
  .ma-services-grid {
    gap: 20px;
  }
  .ma-service-card {
    padding: 25px 20px;
  }
  .ma-process-svg {
    max-width: 320px;
  }
}
@media (max-width: 480px) {
  /* Hero overrides → moved to service-common.css */
  .ma-section-title {
    font-size: 28px;
  }
}
