
/* IMS PHP Web Landing - responsive overrides */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  margin: 0;
}

.brand,
.brand-text,
.hero-content,
.hero-title-content,
.nav-container {
  min-width: 0;
}

.brand-text h2,
.hero-title-content h1,
.section-heading h2 {
  overflow-wrap: anywhere;
}

.brand-logo,
.hero-logo {
  max-width: 100%;
  height: auto;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {

  .nav-container,
  .hero-container,
  .features-container,
  .steps-container,
  .about-container,
  .contact-container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .features-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .steps-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .step-arrow {
    display: none;
  }
}

/* Smartphone */
@media (max-width: 767px) {

  .nav-container,
  .hero-container,
  .features-container,
  .steps-container,
  .about-container,
  .contact-container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-text h2 {
    font-size: clamp(11px, 3vw, 16px);
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-title-content h1 {
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.15;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .features-container,
  .steps-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .feature-card,
  .step-card {
    min-width: 0;
  }

  .step-arrow {
    display: none;
  }

  .hero-slogan {
    max-width: 100%;
  }

  .section-heading h2 {
    font-size: clamp(24px, 6vw, 36px);
  }
}

