/* =========================================
   ABOUT US PAGE – HERO SECTION
========================================= */

.about-hero {
  position: relative;
  width: 100%;
  min-height: 80vh;

  background-image: url("assets/aboutus-images/ratan_marble_shop.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

/* Dark overlay for contrast */
.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58, 58, 58, 0.65),
    rgba(58, 58, 58, 0.75)
  );
  z-index: 1;
}

/* Content wrapper */
.about-hero__content {
  position: relative;
  z-index: 2;

  max-width: 760px;
  padding-top: 80px;    /* navbar offset */
  padding-bottom: 80px;
  padding-inline: 16px;

  text-align: center;
  color: #ffffff;
}

/* Main title */
.about-hero__title {
  font-family: var(--font-primary);
  font-size: 48px;
  line-height: 58px;
  letter-spacing: -1.2px;
  font-weight: 600;

  margin-bottom: 16px;
}

/* Subtitle */
.about-hero__subtitle {
  font-family: var(--font-secondary);
  font-size: 15px;
  line-height: 24px;
  letter-spacing: -0.3px;

  max-width: 560px;
  margin: 0 auto;

  opacity: 0.9;
}

/* =========================================
   TABLET (≤ 991px)
========================================= */

@media (max-width: 991px) {
  .about-hero {
    min-height: 75vh;
  }

  .about-hero__title {
    font-size: 40px;
    line-height: 50px;
  }

  .about-hero__subtitle {
    font-size: 14px;
    line-height: 22px;
  }
}

/* =========================================
   MOBILE (≤ 600px)
========================================= */

@media (max-width: 600px) {
  .about-hero {
    min-height: 70vh;
  }

  .about-hero__title {
    font-size: 32px;
    line-height: 40px;
  }

  .about-hero__subtitle {
    max-width: 90%;
  }
}

/* =========================================
   ABOUT US – HERO INFO SECTION
========================================= */

.about-hero-info {
  width: 100%;
  padding: 64px 0 72px;
  background-color: #f2f2f2; /* subtle off-white like reference */
}

.about-hero-info__text {
  max-width: 920px;
  margin: 0 auto;

  font-family: var(--font-primary);
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -0.2px;

  text-align: center;
  color: var(--text-charcoal);
}

/* Highlighted brand name */
.about-hero-info__brand {
  color: var(--primary-blue);
  font-weight: 600;
}

/* ---------- Tablet (≤ 991px) ---------- */
@media (max-width: 991px) {
  .about-hero-info {
    padding: 56px 0 64px;
  }

  .about-hero-info__text {
    font-size: 18px;
    line-height: 30px;
    padding-inline: 12px;
  }
}

/* ---------- Mobile (≤ 600px) ---------- */
@media (max-width: 600px) {
  .about-hero-info {
    padding: 48px 0 56px;
  }

  .about-hero-info__text {
    font-size: 18px;
    line-height: 26px;
  }
}

/* =========================================
   ABOUT US – WHY CHOOSE RATAN MARBLE
========================================= */

.about-why {
  width: 100%;
  padding: 72px 0 80px;

  background:
    linear-gradient(
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0.96)
    ),
    url("assets/aboutus-images/why-choose-us-bg.webp");
  background-size: cover;
  background-position: center;
}

/* Header */
.about-why__header {
  text-align: center;
  margin-bottom: 56px;
}

.about-why__title {
  font-family: var(--font-primary);
  font-size: 36px;
  line-height: 46px;
  letter-spacing: -0.6px;
  font-weight: 500;
  color: var(--text-charcoal);
  margin-bottom: 10px;
}

.about-why__subtitle {
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 22px;
  color: var(--text-charcoal);
  opacity: 0.85;
}

/* Grid */
.about-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

/* Item */
.about-why__item {
  text-align: center;
  padding-inline: 8px;
}

/* Icon circle */
.about-why__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: var(--primary-blue);
  color: #ffffff;
  border-radius: 50%;

  font-size: 22px;
}

/* Item title */
.about-why__item-title {
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: var(--text-charcoal);
  margin-bottom: 6px;
}

/* Item text */
.about-why__item-text {
  font-family: var(--font-secondary);
  font-size: 13px;
  line-height: 20px;
  color: var(--text-charcoal);
  opacity: 0.85;
}

/* ---------- Tablet (≤ 991px) ---------- */
@media (max-width: 991px) {
  .about-why {
    padding: 64px 0 72px;
  }

  .about-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
}

/* ---------- Mobile (≤ 600px) ---------- */
@media (max-width: 600px) {
  .about-why {
    padding: 56px 0 64px;
  }

  .about-why__title {
    font-size: 28px;
    line-height: 36px;
  }

  .about-why__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =========================================
   ABOUT US – VISIT OUR SHOWROOMS
========================================= */

.about-showrooms {
  width: 100%;
  padding: 72px 0 88px;
  background-color: #f2f2f2;
}

/* Header */
.about-showrooms__header {
  text-align: center;
  margin-bottom: 56px;
}

.about-showrooms__title {
  font-family: var(--font-primary);
  font-size: 36px;
  line-height: 46px;
  font-weight: 500;
  letter-spacing: -0.6px;
  color: var(--text-charcoal);
  margin-bottom: 10px;
}

.about-showrooms__subtitle {
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 22px;
  color: var(--text-charcoal);
  opacity: 0.85;
}

/* Grid */
.about-showrooms__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

/* Card */
.showroom-card {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.08),
    0 24px 50px rgba(15, 23, 42, 0.10);
  display: flex;
  flex-direction: column;
}

/* Image */
.showroom-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Content */
.showroom-card__content {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showroom-card__title {
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: var(--text-charcoal);
}

.showroom-card__address {
  font-family: var(--font-secondary);
  font-size: 13px;
  line-height: 20px;
  color: var(--text-charcoal);
  opacity: 0.85;
  margin-bottom: 12px;
}

/* Button */
.showroom-card__btn {
  align-self: stretch;
  text-align: center;
  padding-block: 10px;
}

/* ---------- Tablet (≤ 991px) ---------- */
@media (max-width: 991px) {
  .about-showrooms {
    padding: 64px 0 72px;
  }

  .about-showrooms__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

/* ---------- Mobile (≤ 600px) ---------- */
@media (max-width: 600px) {
  .about-showrooms {
    padding: 56px 0 64px;
  }

  .about-showrooms__title {
    font-size: 28px;
    line-height: 36px;
  }

  .about-showrooms__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .showroom-card__image {
    height: 220px;
  }
}

/* =========================================
   ABOUT US – FINAL CTA
========================================= */

.about-cta {
  width: 100%;
  padding: 72px 0;

  background:
    linear-gradient(
      rgba(255, 255, 255, 0.94),
      rgba(255, 255, 255, 0.94)
    ),
    url("assets/aboutus-images/cta-1-bg.jpg");
  background-size: cover;
  background-position: center;
}

.about-cta__content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-cta__title {
  font-family: var(--font-primary);
  font-size: 36px;
  line-height: 46px;
  font-weight: 500;
  letter-spacing: -0.6px;
  color: var(--text-charcoal);
  margin-bottom: 12px;
}

.about-cta__subtitle {
  font-family: var(--font-secondary);
  font-size: 14px;
  line-height: 22px;
  color: var(--text-charcoal);
  opacity: 0.9;
  margin-bottom: 32px;
}

/* Actions */
.about-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Tablet (≤ 991px) ---------- */
@media (max-width: 991px) {
  .about-cta {
    padding: 64px 0;
  }
}

/* ---------- Mobile (≤ 600px) ---------- */
@media (max-width: 600px) {
  .about-cta {
    padding: 56px 0;
  }

  .about-cta__title {
    font-size: 28px;
    line-height: 36px;
  }

  .about-cta__actions {
    flex-direction: column;
    gap: 12px;
  }

  .about-cta__actions .btn {
    width: 100%;
    max-width: 260px;
    margin-inline: auto;
  }
}

/* =========================================
   ABOUT US – SCROLL REVEAL (SAFE VERSION)
========================================= */

html.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

html.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
